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.
https://git.kernel.org/stable/c/f0b879f1830212cda3284ec91475769a93635756
https://git.kernel.org/stable/c/cd320aa1731f55485c43fd4c915e7ba65e17956e
https://git.kernel.org/stable/c/b5b8c81836e2bec7b444dfa2b14fd14e912e9d63
https://git.kernel.org/stable/c/b15cdee03544769dfb58f62f558fe2603f2e1fa8
https://git.kernel.org/stable/c/a49133d06bd2d1425c6d497f1699e2ce8cd56695
https://git.kernel.org/stable/c/9376e6cb0632f72ac8e4b71ac6d9cc1064f89875
https://git.kernel.org/stable/c/2485f44ee0a2229cca2c503f1f4327500edc4ed0
https://git.kernel.org/stable/c/1a170c0166ad01ffa37df3b3daacc1a3c57ef23c