Description
In the Linux kernel, the following vulnerability has been resolved:

rhashtable: clear stale iter->p on table restart

rhashtable_walk_start_check() has two restart paths when resuming a walk.
When iter->walker.tbl is valid, it re-validates iter->p against the table
and sets iter->p = NULL if the object is gone. When iter->walker.tbl is
NULL (table was freed during resize), it resets slot and skip but forgets
to clear iter->p.

rhashtable_walk_next() then dereferences the stale iter->p, reading
freed memory. This is a use-after-free.

Any caller that does multi-fragment rhashtable walks across
walk_stop/walk_start boundaries is affected. Concrete cases include
netlink_diag (__netlink_diag_dump in net/netlink/diag.c) and TIPC
(tipc_nl_sk_walk in net/tipc/socket.c).

Crash stack (netlink_diag):
BUG: KASAN: slab-use-after-free in rhashtable_walk_next+0x365/0x3c0
Read of size 8 at addr ffff88801a9d2438 (freed kmalloc-2k, offset 1080)
Call Trace:
rhashtable_walk_next+0x365/0x3c0 (lib/rhashtable.c:1016)
__netlink_diag_dump+0x160/0x760 (net/netlink/diag.c:122)
netlink_diag_dump+0xc2/0x240
netlink_dump+0x5bc/0x1270
netlink_recvmsg+0x7a3/0x980
sock_recvmsg+0x1bc/0x200
__sys_recvfrom+0x1d4/0x2c0
Published: 2026-08-04
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the Linux kernel’s rhashtable implementation leaves the iterator pointer stale after a table restart; the iterator is later dereferenced, resulting in a use‑After‑Free that crashes the kernel. The fault originates during rhashtable_walk_start_check and is uncovered when subsequent walks access the freed memory. The crash is manifested as a KASAN error or kernel panic, disabling kernel functionality.

Affected Systems

The vulnerability exists in all Linux kernel builds that use the rhashtable data structure and were released before the patch commit identified in the provided references. Distributions that ship unpatched kernels, such as older stable releases, are impacted. The flaw is triggered by components that perform multi‑fragment rhashtable walks across start/stop boundaries, including netlink diagnostics and TIPC socket walks.

Risk and Exploitability

The EPSS score is less than 1 % and the CVE is not listed in the CISA KEV catalog, indicating a low publicly observed exploitation probability. The CVSS score of 7.8 classifies it as high severity. Based on the description, it is inferred that the flaw requires local or privileged access to the affected kernel in order to trigger a rhashtable walk that encounters a freed object. While the primary impact is denial of service via kernel crash, the use‑After‑Free could be leveraged for privilege escalation if an attacker obtains sufficient control over the affected walk.

Generated by OpenCVE AI on August 8, 2026 at 18:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the system to a Linux kernel version that includes the rhashtable fix, such as any release updated to the patch commit available at https://git.kernel.org/stable/c/3ff7c1dbf722cf3fa538672452ba182318e0fcc3
  • If an updated kernel is not available, disable or unload modules or features that invoke the vulnerable rhashtable walk, for example the netlink diagnostic and TIPC socket walk routines, until a kernel upgrade can be applied
  • Continuously monitor kernel logs for KASAN or panic indications and configure automated alerts for any such events

Generated by OpenCVE AI on August 8, 2026 at 18:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6415-1 linux security update
History

Wed, 19 Aug 2026 16:45:00 +0000


Sun, 09 Aug 2026 18:45:00 +0000


Sat, 08 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 08 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 08 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Tue, 04 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 04 Aug 2026 06:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: rhashtable: clear stale iter->p on table restart rhashtable_walk_start_check() has two restart paths when resuming a walk. When iter->walker.tbl is valid, it re-validates iter->p against the table and sets iter->p = NULL if the object is gone. When iter->walker.tbl is NULL (table was freed during resize), it resets slot and skip but forgets to clear iter->p. rhashtable_walk_next() then dereferences the stale iter->p, reading freed memory. This is a use-after-free. Any caller that does multi-fragment rhashtable walks across walk_stop/walk_start boundaries is affected. Concrete cases include netlink_diag (__netlink_diag_dump in net/netlink/diag.c) and TIPC (tipc_nl_sk_walk in net/tipc/socket.c). Crash stack (netlink_diag): BUG: KASAN: slab-use-after-free in rhashtable_walk_next+0x365/0x3c0 Read of size 8 at addr ffff88801a9d2438 (freed kmalloc-2k, offset 1080) Call Trace: rhashtable_walk_next+0x365/0x3c0 (lib/rhashtable.c:1016) __netlink_diag_dump+0x160/0x760 (net/netlink/diag.c:122) netlink_diag_dump+0xc2/0x240 netlink_dump+0x5bc/0x1270 netlink_recvmsg+0x7a3/0x980 sock_recvmsg+0x1bc/0x200 __sys_recvfrom+0x1d4/0x2c0
Title rhashtable: clear stale iter->p on table restart
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-19T16:28:34.797Z

Reserved: 2026-07-19T15:36:31.797Z

Link: CVE-2026-64563

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-04T07:16:31.220

Modified: 2026-08-19T17:20:16.117

Link: CVE-2026-64563

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-08T19:00:10Z

Weaknesses