CVE-2026-139180
publishedpppoe: wait for RCU readers before reusing a socket
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux72cdc67e7fa74931b055df3a76852bab551f1a04 to < d965589317516d8a2fe2cb1f8c21df8a98f4f206 · 72cdc67e7fa74931b055df3a76852bab551f1a04 to < 65cb39815f8ab6e65f86c58f4e1d58da017c716a · 72cdc67e7fa74931b055df3a76852bab551f1a04 to < e7b01bc0202a57f1b7dcdf19b2ffab6b781d47f8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 72cdc67e7fa74931b055df3a76852bab551f1a04 to < d965589317516d8a2fe2cb1f8c21df8a98f4f206 (affected · git)72cdc67e7fa74931b055df3a76852bab551f1a04 to < 65cb39815f8ab6e65f86c58f4e1d58da017c716a (affected · git)72cdc67e7fa74931b055df3a76852bab551f1a04 to < e7b01bc0202a57f1b7dcdf19b2ffab6b781d47f8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
pppoe: wait for RCU readers before reusing a socket
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ac25038630bd054305559ac8c2442543b61d57274021073fa84c99d9d50e143c
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record