High severity · published Dec 27, 2024
CVE-2024-56601
net: inet: do not leave a dangling sk pointer in inet_create()
7.8
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 16% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
before 5.4.287; 5.5 before 5.10.231; 5.11 before 5.15.174; 5.16 before 6.1.120; 6.2 before 6.6.66; 6.7 before 6.12.5 · source: NVD
LI
Linux · Linux
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f8a3f255f7509a209292871715cda03779640c8d; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2bc34d8c8898ae9fddf4612501aabb22d76c2b2c; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3e8258070b0f2aba66b3ef18883de229674fb288; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b4513cfd3a10c03c660d5d3d26c2e322efbfdd9b; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 25447c6aaa7235f155292b0c58a067347e8ae891; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 691d6d816f93b2a1008c14178399061466e674ef; +2 more · source: vendor
RR
RUGGEDCOM RST2428P · Siemens
before V3.2 · source: CISA
SX
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · Siemens
before V3.2 · source: CISA
SX
SCALANCE XCM-/XRM-/XCH-/XRH-300 family · Siemens
before V3.2 · source: CISA
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-56601
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-56601
Patch
https://git.kernel.org/stable/c/25447c6aaa7235f155292b0c58a067347e8ae891
Patch
https://git.kernel.org/stable/c/2bc34d8c8898ae9fddf4612501aabb22d76c2b2c
Patch
https://git.kernel.org/stable/c/3e8258070b0f2aba66b3ef18883de229674fb288
Patch
https://git.kernel.org/stable/c/691d6d816f93b2a1008c14178399061466e674ef
Patch
https://git.kernel.org/stable/c/9365fa510c6f82e3aa550a09d0c5c6b44dbc78ff
Patch
https://git.kernel.org/stable/c/b4513cfd3a10c03c660d5d3d26c2e322efbfdd9b
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
