CVE-2026-99958
published high CVSS 3.1 · 7.3pppoe: delete session hash entries by pointer match
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2485f44ee0a2229cca2c503f1f4327500edc4ed0 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1a170c0166ad01ffa37df3b3daacc1a3c57ef23c · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9376e6cb0632f72ac8e4b71ac6d9cc1064f89875 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cd320aa1731f55485c43fd4c915e7ba65e17956e · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b15cdee03544769dfb58f62f558fe2603f2e1fa8 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f0b879f1830212cda3284ec91475769a93635756 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a49133d06bd2d1425c6d497f1699e2ce8cd56695 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b5b8c81836e2bec7b444dfa2b14fd14e912e9d63 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: pppoe: delete session hash entries by pointer match pppoe_connect() copies the requested PPPoE address to a socket before attempting to insert the socket into the session hash table. If the tuple already exists, __set_item() returns -EALREADY, but the copied address and ifindex remain set on the failed socket. Closing that socket then deletes the existing socket's hash entry through pppoe_release(), preventing it from receiving further session traffic. An unprivileged process in the same network namespace can trigger this through a duplicate connection attempt. To avoid the accidental delete, pass the pppox_sock to __delete_item(), and unlink only an entry whose pointer matches the requested socket.
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.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- Scenarios
- en: AV:L - The patched __delete_item()/delete_item() is reached from pppoe_release() (close(2)) and from pppoe_connect()'s "Delete old binding" path (connect(2)) on a local AF_PPPOX socket. The stale tuple comes from the attacker's own sockaddr_pppox, not from a received frame. AC:L - Deterministic, with no race. The attacker reads the victim's sid, MAC and dev from /proc/net/pppoe (0444, pppoe_seq_show). connect(T) returns -EALREADY and leaves pppoe_pa/ifindex set. close() or a second connect(T) then unlinks the victim's entry, and the second connect inserts the attacker's socket in its place. PR:L - pppox_create(), pppoe_create(), pppoe_connect() and ppp_register_net_channel() contain no capability check, so any unprivileged account in init_net can do this. A user namespace does not help, because pppoe_net's hash_table is per netns, but no privilege is needed. UI:N - No victim action is needed. The victim's pppd socket only has to hold an established session, which /proc/net/pppoe already lists. The attacker's own connect()/close() calls delete the entry and take over the tuple. S:U - The effect stays inside the kernel's PPPoE session demultiplexing (pppoe_rcv/__get_item) in the same network namespace. No VM, IOMMU or sandbox boundary is crossed. C:H - After the second connect(T), pppoe_rcv()'s __get_item() resolves the victim's session to the attacker's CONNECTED but unBOUND socket. pppoe_rcv_core() queues every inbound PPP frame (the host's WAN traffic, including NAT'd LAN replies on a router) for pppoe_recvmsg(), and unprivileged users otherwise cannot sniff that traffic. I:L - pppoe_sendmsg() on the hijacked socket emits attacker-chosen PPP frames (LCP Terminate, IPCP, raw IP sourced from the host's address) with the victim's sid to the AC. Outbound injection is the only integrity effect: frames delivered to the host cannot be altered, and no kernel memory is corrupted. A:H - Once the victim's entry is unlinked, pppoe_rcv() drops, or diverts, all of its session frames and pppoe_disc_rcv() ignores its PADT. The host's PPP link loses all inbound traffic until pppd times out, or indefinitely without LCP echo, and the attack can be repeated on every redial.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2485f44ee0a2229cca2c503f1f4327500edc4ed0 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1a170c0166ad01ffa37df3b3daacc1a3c57ef23c (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9376e6cb0632f72ac8e4b71ac6d9cc1064f89875 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cd320aa1731f55485c43fd4c915e7ba65e17956e (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b15cdee03544769dfb58f62f558fe2603f2e1fa8 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f0b879f1830212cda3284ec91475769a93635756 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a49133d06bd2d1425c6d497f1699e2ce8cd56695 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b5b8c81836e2bec7b444dfa2b14fd14e912e9d63 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1a170c0166ad01ffa37df3b3daacc1a3c57ef23c
- https://git.kernel.org/stable/c/2485f44ee0a2229cca2c503f1f4327500edc4ed0
- https://git.kernel.org/stable/c/9376e6cb0632f72ac8e4b71ac6d9cc1064f89875
- https://git.kernel.org/stable/c/a49133d06bd2d1425c6d497f1699e2ce8cd56695
- https://git.kernel.org/stable/c/b15cdee03544769dfb58f62f558fe2603f2e1fa8
- https://git.kernel.org/stable/c/b5b8c81836e2bec7b444dfa2b14fd14e912e9d63
- https://git.kernel.org/stable/c/cd320aa1731f55485c43fd4c915e7ba65e17956e
- https://git.kernel.org/stable/c/f0b879f1830212cda3284ec91475769a93635756
Provider assertions
1Linux · cna
pppoe: delete session hash entries by pointer match
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 15db1eba64c60315c415c4a16d9fa8ab200e7ef1ba731102c431feebac8d6215
- Ingested
- 01 Dec 2026, 05:47:23 UTC
- Source record
- Official CVE record