A vulnerability was found in Linux Kernel up to 5.15.161/6.1.95/6.6.35/6.9.6. It has been declared as critical. This vulnerability affects the function __sock_release in the library /arch/x86/include/asm/atomic64_64.h. The manipulation leads to use after free.

This vulnerability was named CVE-2024-40954. The attack needs to be approached within the local network. There is no exploit available.

It is recommended to upgrade the affected component.