{"api_version":"1","generated_at":"2026-12-01T14:13:23+00:00","cve":"CVE-2026-139180","urls":{"html":"https://cve.report/CVE-2026-139180","api":"https://cve.report/api/cve/CVE-2026-139180.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139180","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139180"},"summary":{"title":"pppoe: wait for RCU readers before reusing a socket","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npppoe: wait for RCU readers before reusing a socket\n\nWhen pppoe_connect() disconnects or reuses a socket, it removes the old\nsession from the hash table and resets the socket's fields. An RCU\nreader that reached the entry before it was unlinked can still be using\nits address, ifindex or next pointer.\n\nIf sockets A and B share a hash bucket with A preceding B, a concurrent\n__get_item() looking for B can be traversing A when it is removed.\nClearing A->next then makes the lookup miss B and drop the packet.\nReinserting A can similarly redirect the reader into another hash chain.\n\nCall synchronize_net() after unlinking the old session and before\nclearing its fields. This allows existing receive-path and\n/proc/net/pppoe readers to finish before the socket is cleared or reused.\n\nThis was found by Sashiko's static analysis, and reproduced on a VM\nstress test with KCSAN.\n\n BUG: KCSAN: data-race in hash_item+0x1c/0x60\n\n race at unknown origin, with read to 0xffff888000a1c566 of 2 bytes by task 147 on cpu 2:\n  hash_item+0x1c/0x60\n  pppoe_seq_next+0x112/0x1b0\n  seq_read_iter+0x595/0x700\n  seq_read+0xb0/0xe0\n  proc_reg_read+0xd0/0xf0\n  vfs_read+0xbd/0x220\n  ksys_read+0xa9/0x100\n  __x64_sys_read+0x47/0x60\n  x64_sys_call+0x98/0x1fd0\n  do_syscall_64+0x5b/0x260\n  entry_SYSCALL_64_after_hwframe+0x4b/0x53\n\n value changed: 0x0002 -> 0x0000","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:37","updated_at":"2026-11-30 14:18:37"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d965589317516d8a2fe2cb1f8c21df8a98f4f206","name":"https://git.kernel.org/stable/c/d965589317516d8a2fe2cb1f8c21df8a98f4f206","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/65cb39815f8ab6e65f86c58f4e1d58da017c716a","name":"https://git.kernel.org/stable/c/65cb39815f8ab6e65f86c58f4e1d58da017c716a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e7b01bc0202a57f1b7dcdf19b2ffab6b781d47f8","name":"https://git.kernel.org/stable/c/e7b01bc0202a57f1b7dcdf19b2ffab6b781d47f8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139180","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139180","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 72cdc67e7fa74931b055df3a76852bab551f1a04 d965589317516d8a2fe2cb1f8c21df8a98f4f206 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 72cdc67e7fa74931b055df3a76852bab551f1a04 65cb39815f8ab6e65f86c58f4e1d58da017c716a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 72cdc67e7fa74931b055df3a76852bab551f1a04 e7b01bc0202a57f1b7dcdf19b2ffab6b781d47f8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ppp/pppoe.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d965589317516d8a2fe2cb1f8c21df8a98f4f206","status":"affected","version":"72cdc67e7fa74931b055df3a76852bab551f1a04","versionType":"git"},{"lessThan":"65cb39815f8ab6e65f86c58f4e1d58da017c716a","status":"affected","version":"72cdc67e7fa74931b055df3a76852bab551f1a04","versionType":"git"},{"lessThan":"e7b01bc0202a57f1b7dcdf19b2ffab6b781d47f8","status":"affected","version":"72cdc67e7fa74931b055df3a76852bab551f1a04","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ppp/pppoe.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.18"},{"lessThan":"6.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npppoe: wait for RCU readers before reusing a socket\n\nWhen pppoe_connect() disconnects or reuses a socket, it removes the old\nsession from the hash table and resets the socket's fields. An RCU\nreader that reached the entry before it was unlinked can still be using\nits address, ifindex or next pointer.\n\nIf sockets A and B share a hash bucket with A preceding B, a concurrent\n__get_item() looking for B can be traversing A when it is removed.\nClearing A->next then makes the lookup miss B and drop the packet.\nReinserting A can similarly redirect the reader into another hash chain.\n\nCall synchronize_net() after unlinking the old session and before\nclearing its fields. This allows existing receive-path and\n/proc/net/pppoe readers to finish before the socket is cleared or reused.\n\nThis was found by Sashiko's static analysis, and reproduced on a VM\nstress test with KCSAN.\n\n BUG: KCSAN: data-race in hash_item+0x1c/0x60\n\n race at unknown origin, with read to 0xffff888000a1c566 of 2 bytes by task 147 on cpu 2:\n  hash_item+0x1c/0x60\n  pppoe_seq_next+0x112/0x1b0\n  seq_read_iter+0x595/0x700\n  seq_read+0xb0/0xe0\n  proc_reg_read+0xd0/0xf0\n  vfs_read+0xbd/0x220\n  ksys_read+0xa9/0x100\n  __x64_sys_read+0x47/0x60\n  x64_sys_call+0x98/0x1fd0\n  do_syscall_64+0x5b/0x260\n  entry_SYSCALL_64_after_hwframe+0x4b/0x53\n\n value changed: 0x0002 -> 0x0000"}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:19.225Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d965589317516d8a2fe2cb1f8c21df8a98f4f206"},{"url":"https://git.kernel.org/stable/c/65cb39815f8ab6e65f86c58f4e1d58da017c716a"},{"url":"https://git.kernel.org/stable/c/e7b01bc0202a57f1b7dcdf19b2ffab6b781d47f8"}],"title":"pppoe: wait for RCU readers before reusing a socket","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139180","datePublished":"2026-11-30T13:32:19.225Z","dateReserved":"2026-11-30T13:22:15.918Z","dateUpdated":"2026-11-30T13:32:19.225Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:37","lastModifiedDate":"2026-11-30 14:18:37","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139180","Ordinal":"1","Title":"pppoe: wait for RCU readers before reusing a socket","CVE":"CVE-2026-139180","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139180","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\npppoe: wait for RCU readers before reusing a socket\n\nWhen pppoe_connect() disconnects or reuses a socket, it removes the old\nsession from the hash table and resets the socket's fields. An RCU\nreader that reached the entry before it was unlinked can still be using\nits address, ifindex or next pointer.\n\nIf sockets A and B share a hash bucket with A preceding B, a concurrent\n__get_item() looking for B can be traversing A when it is removed.\nClearing A->next then makes the lookup miss B and drop the packet.\nReinserting A can similarly redirect the reader into another hash chain.\n\nCall synchronize_net() after unlinking the old session and before\nclearing its fields. This allows existing receive-path and\n/proc/net/pppoe readers to finish before the socket is cleared or reused.\n\nThis was found by Sashiko's static analysis, and reproduced on a VM\nstress test with KCSAN.\n\n BUG: KCSAN: data-race in hash_item+0x1c/0x60\n\n race at unknown origin, with read to 0xffff888000a1c566 of 2 bytes by task 147 on cpu 2:\n  hash_item+0x1c/0x60\n  pppoe_seq_next+0x112/0x1b0\n  seq_read_iter+0x595/0x700\n  seq_read+0xb0/0xe0\n  proc_reg_read+0xd0/0xf0\n  vfs_read+0xbd/0x220\n  ksys_read+0xa9/0x100\n  __x64_sys_read+0x47/0x60\n  x64_sys_call+0x98/0x1fd0\n  do_syscall_64+0x5b/0x260\n  entry_SYSCALL_64_after_hwframe+0x4b/0x53\n\n value changed: 0x0002 -> 0x0000","Type":"Description","Title":"pppoe: wait for RCU readers before reusing a socket"}]}}}