CVE-2026-139180

pppoe: wait for RCU readers before reusing a socket

Published Nov 30, 2026 CVSS 3.1 · 4.7 Medium EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

pppoe: wait for RCU readers before reusing a socket

When pppoe_connect() disconnects or reuses a socket, it removes the old
session from the hash table and resets the socket's fields. An RCU
reader that reached the entry before it was unlinked can still be using
its address, ifindex or next pointer.

If sockets A and B share a hash bucket with A preceding B, a concurrent
__get_item() looking for B can be traversing A when it is removed.
Clearing A->next then makes the lookup miss B and drop the packet.
Reinserting A can similarly redirect the reader into another hash chain.

Call synchronize_net() after unlinking the old session and before
clearing its fields. This allows existing receive-path and
/proc/net/pppoe readers to finish before the socket is cleared or reused.

This was found by Sashiko's static analysis, and reproduced on a VM
stress test with KCSAN.

BUG: KCSAN: data-race in hash_item+0x1c/0x60

race at unknown origin, with read to 0xffff888000a1c566 of 2 bytes by task 147 on cpu 2:
hash_item+0x1c/0x60
pppoe_seq_next+0x112/0x1b0
seq_read_iter+0x595/0x700
seq_read+0xb0/0xe0
proc_reg_read+0xd0/0xf0
vfs_read+0xbd/0x220
ksys_read+0xa9/0x100
__x64_sys_read+0x47/0x60
x64_sys_call+0x98/0x1fd0
do_syscall_64+0x5b/0x260
entry_SYSCALL_64_after_hwframe+0x4b/0x53

value changed: 0x0002 -> 0x0000

Analysis

AI-generated

Technical impact

In the Linux kernel, the PPPoE module removes or reuses a session socket in pppoe_connect() without awaiting ongoing RCU reader activity. If a reader had already accessed the socket entry before it is unlinked, the kernel clears the socket’s next pointer, causing subsequent hash lookups to miss the correct session. This race condition can redirect or drop PPPoE packets, resulting in connectivity loss for affected sessions.

Affected Systems

The flaw resides in the core Linux kernel’s PPPoE networking code. Any system running a kernel that lacks the synchronize_net() change applied before clearing the socket is vulnerable. Because the advisory does not list a specific version range, operators should treat all kernels before the commit fixing the issue (for example, earlier than 6.6 before the patch) as susceptible. The specific affected version range is inferred because the advisory does not specify it.

Risk and Exploitability

The vulnerability is a data race that does not grant code execution or privilege escalation. An attacker would need local access to trigger PPPoE disconnects or session reuse, typically by controlling the PPPoE daemon or network configuration. No CVSS or EPSS score is available and the flaw is not listed in CISA’s KEV catalog, indicating a lack of documented public exploitation. Consequently, the risk is considered moderate to low, but it can cause a denial of service for PPPoE connectivity on affected systems. These risk assessments are inferred from the lack of exploitation evidence in public reports.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel release that includes the synchronize_net() fix applied before clearing the PPPoE socket.
  • Apply the specific kernel patch (commit 65cb39815f8) to existing kernels if an upgrade is not immediately possible.
  • If neither upgrade nor patching can be performed, disable PPPoE service or restrict its use to prevent frequent disconnect/reconnect cycles until a patch is applied.

Generated by OpenCVE AI on December 1, 2026 at 09:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-754
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: pppoe: wait for RCU readers before reusing a socket When pppoe_connect() disconnects or reuses a socket, it removes the old session from the hash table and resets the socket's fields. An RCU reader that reached the entry before it was unlinked can still be using its address, ifindex or next pointer. If sockets A and B share a hash bucket with A preceding B, a concurrent __get_item() looking for B can be traversing A when it is removed. Clearing A->next then makes the lookup miss B and drop the packet. Reinserting A can similarly redirect the reader into another hash chain. Call synchronize_net() after unlinking the old session and before clearing its fields. This allows existing receive-path and /proc/net/pppoe readers to finish before the socket is cleared or reused. This was found by Sashiko's static analysis, and reproduced on a VM stress test with KCSAN. BUG: KCSAN: data-race in hash_item+0x1c/0x60 race at unknown origin, with read to 0xffff888000a1c566 of 2 bytes by task 147 on cpu 2: hash_item+0x1c/0x60 pppoe_seq_next+0x112/0x1b0 seq_read_iter+0x595/0x700 seq_read+0xb0/0xe0 proc_reg_read+0xd0/0xf0 vfs_read+0xbd/0x220 ksys_read+0xa9/0x100 __x64_sys_read+0x47/0x60 x64_sys_call+0x98/0x1fd0 do_syscall_64+0x5b/0x260 entry_SYSCALL_64_after_hwframe+0x4b/0x53 value changed: 0x0002 -> 0x0000
Title pppoe: wait for RCU readers before reusing a socket
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-366

    Race Condition within a Thread

  • CWE-754

    Improper Check for Unusual or Exceptional Conditions

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:32 PM