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.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- Low impact
- Availability
- High impact
References
- git.kernel.org/stable/c/2485f44ee0a2229cca2c503f1f4327500edc4ed0
- git.kernel.org/stable/c/1a170c0166ad01ffa37df3b3daacc1a3c57ef23c
- git.kernel.org/stable/c/9376e6cb0632f72ac8e4b71ac6d9cc1064f89875
- git.kernel.org/stable/c/cd320aa1731f55485c43fd4c915e7ba65e17956e
- git.kernel.org/stable/c/b15cdee03544769dfb58f62f558fe2603f2e1fa8
- git.kernel.org/stable/c/f0b879f1830212cda3284ec91475769a93635756
- git.kernel.org/stable/c/a49133d06bd2d1425c6d497f1699e2ce8cd56695
- git.kernel.org/stable/c/b5b8c81836e2bec7b444dfa2b14fd14e912e9d63
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.