VDB

CVE-2024-56601

CVE-2024-56601 PUBLISHED CVSS 7.8 HIGH

net: inet: do not leave a dangling sk pointer in inet_create()

Reported by linux · Published December 27, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftoolAmazon Linux6.1.124-134.200.amzn2023
kernel-headersAmazon Linux6.1.124-134.200.amzn2023
kernel-tools-develAmazon Linux6.1.124-134.200.amzn2023
python3-perfAmazon Linux6.1.124-134.200.amzn2023
kernelAmazon Linux6.1.124-134.200.amzn2023
kernel-livepatch-6.1.124-134.200Amazon Linux1.0-0.amzn2023
kernel-libbpfAmazon Linux6.1.124-134.200.amzn2023
kernel-toolsAmazon Linux6.1.124-134.200.amzn2023
linux_kernellinux6.12.5, 6.6.66, 6.1.120, 5.15.174, 5.10.231, 5.4.287
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.4.287
amazon:2023bpftool0
amazon:2023kernel-headers0
amazon:2023kernel-tools-devel0
amazon:2023python3-perf0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.124-134.2000
amazon:2023kernel-libbpf0
amazon:2023kernel-tools0
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 5.15.174, 6.12.5
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-devel0
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
amazon:2023kernel-modules-extra-common0
amazon:2023perf0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0

…and 4 more

Timeline

  • Dec 27, 2024 CVE Published
  • Dec 28, 2024 EPSS Score (30 in total, the first dated here)
  • Dec 28, 2024 Coalition ESS Score (20 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Dec 29, 2025 Security Advisory (438 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (356 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-56601
vulnetix vdb fixes CVE-2024-56601

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56601/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›