In the Linux kernel, the following vulnerability has been resolved:
net: inet: do not leave a dangling sk pointer in inet_create()
sock_init_data() attaches the allocated sk object to the provided sock
object. If inet_create() fails later, the sk object is freed, but the
sock object retains the dangling pointer, which may create use-after-free
later.
Clear the sk pointer in the sock object on error.
Metrics
Affected Vendors & Products
References
History
Tue, 14 Jan 2025 15:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Linux
Linux linux Kernel |
|
Weaknesses | CWE-416 | |
CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
Vendors & Products |
Linux
Linux linux Kernel |
|
Metrics |
cvssV3_1
|
cvssV3_1
|
Thu, 09 Jan 2025 14:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
Fri, 27 Dec 2024 15:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | In the Linux kernel, the following vulnerability has been resolved: net: inet: do not leave a dangling sk pointer in inet_create() sock_init_data() attaches the allocated sk object to the provided sock object. If inet_create() fails later, the sk object is freed, but the sock object retains the dangling pointer, which may create use-after-free later. Clear the sk pointer in the sock object on error. | |
Title | net: inet: do not leave a dangling sk pointer in inet_create() | |
References |
|
|
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-12-27T14:51:07.358Z
Updated: 2024-12-27T14:51:07.358Z
Reserved: 2024-12-27T14:03:06.011Z
Link: CVE-2024-56601
Vulnrichment
No data.
NVD
Status : Analyzed
Published: 2024-12-27T15:15:19.527
Modified: 2025-01-14T15:17:45.150
Link: CVE-2024-56601
Redhat