PT-2024-6978
CVE-2024-40954
·
Published
2024-06-20
·
Updated
2026-11-06
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A use-after-free issue exists in the networking code of the Linux kernel. The problem occurs when socket creation fails, leaving a dangling
sk pointer. This can be triggered by attaching an fentry probe to the sock release() function that calls the bpf get socket cookie() helper, and then executing a traceroute -I command on a freshly booted virtual machine. The flaw is located within the sk common release() function in the net/core/sock.c module. A use-after-free is a condition where a program continues to use a pointer after the memory it points to has been freed, which can lead to crashes or unauthorized data access.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾