High severity · published Dec 27, 2024
CVE-2024-56606
af_packet: avoid erroring out after sock_init_data() in packet_create()
7.8
CVSS
0.2%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved:
af_packet: avoid erroring out after sock_init_data() in packet_create()
After sock_init_data() the allocated sk object is attached to the provided
sock object. On error, packet_create() frees the sk object leaving the
dangling pointer in the sock object on return. Some other code may try
to use this pointer and cause use-after-free.
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
b013840810c221f2b0cf641d01531526052dc1fb before 71b22837a5e55ac27d6a14b9cdf2326587405c4f; b013840810c221f2b0cf641d01531526052dc1fb before 1dc1e1db927056cb323296e2294a855cd003dfe7; b013840810c221f2b0cf641d01531526052dc1fb before 132e615bb1d7cdec2d3cfbdec2efa630e923fd21; b013840810c221f2b0cf641d01531526052dc1fb before a6cf750b737374454a4e03a5ed449a3eb0c96414; b013840810c221f2b0cf641d01531526052dc1fb before 157f08db94123e2ba56877dd0ac88908b13a5dd0; b013840810c221f2b0cf641d01531526052dc1fb before fd09880b16d33aa5a7420578e01cd79148fa9829; +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-56606
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-56606
Patch
https://git.kernel.org/stable/c/132e615bb1d7cdec2d3cfbdec2efa630e923fd21
Patch
https://git.kernel.org/stable/c/157f08db94123e2ba56877dd0ac88908b13a5dd0
Patch
https://git.kernel.org/stable/c/1dc1e1db927056cb323296e2294a855cd003dfe7
Patch
https://git.kernel.org/stable/c/46f2a11cb82b657fd15bab1c47821b635e03838b
Patch
https://git.kernel.org/stable/c/71b22837a5e55ac27d6a14b9cdf2326587405c4f
Patch
https://git.kernel.org/stable/c/a6cf750b737374454a4e03a5ed449a3eb0c96414
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
