CVE-2026-99958: pppoe: delete session hash entries by pointer match
In the Linux kernel, the following vulnerability has been resolved:
pppoe: delete session hash entries by pointer match
pppoeconnect() copies the requested PPPoE address to a socket before attempting to insert the socket into the session hash table. If the tuple already exists, setitem() 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 pppoerelease(), 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 pppoxsock to deleteitem(), and unlink only an entry whose pointer matches the requested socket.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In PPPoE session hash deletion, pass the pppox_sock to __delete_item() and unlink only an entry whose pointer matches the requested socket.