Skip to content
7.8 High

CVE-2024-56606 In the Linux kernel, the following vulnerability has been resolved: af_packet: avoid erroring out after sock_init_data()…

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.

Affected products and versions

Product Affected versions Fixed in
Linux 6.13 earliest → < 6.13 6.13
Linux 6.12 earliest → < 6.12.5 6.12.5
Linux 6.6 earliest → < 6.6.66 6.6.66
Linux 6.1 earliest → < 6.1.120 6.1.120
Linux 5.15 earliest → < 5.15.174 5.15.174
Linux 5.10 earliest → < 5.10.231 5.10.231
Linux 5.4 earliest → < 5.4.287 5.4.287
Linux 3.14 No fix stated
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
Show the 5 other branches
Product Affected versions Fixed in
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
RUGGEDCOM RST2428P 3.2 earliest → < 3.2 3.2
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 3.2 earliest → < 3.2 3.2
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.2 earliest → < 3.2 3.2

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE