# CVE-2024-56601: net: inet: do not leave a dangling sk pointer in inet_create()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-12-27T14:51:07.358Z
- Modified: 2026-10-15T01:19:17.067Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f8a3f255f7509a209292871715cda03779640c8d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2bc34d8c8898ae9fddf4612501aabb22d76c2b2c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3e8258070b0f2aba66b3ef18883de229674fb288; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b4513cfd3a10c03c660d5d3d26c2e322efbfdd9b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 25447c6aaa7235f155292b0c58a067347e8ae891; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 691d6d816f93b2a1008c14178399061466e674ef; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9365fa510c6f82e3aa550a09d0c5c6b44dbc78ff; 2.6.12 (not affected: before 2.6.12; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.66 up to 6.6.*; from 6.12.5 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.66; from 6.7 before 6.12.5

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/f8a3f255f7509a209292871715cda03779640c8d> (patch)
- <https://git.kernel.org/stable/c/2bc34d8c8898ae9fddf4612501aabb22d76c2b2c> (patch)
- <https://git.kernel.org/stable/c/3e8258070b0f2aba66b3ef18883de229674fb288> (patch)
- <https://git.kernel.org/stable/c/b4513cfd3a10c03c660d5d3d26c2e322efbfdd9b> (patch)
- <https://git.kernel.org/stable/c/25447c6aaa7235f155292b0c58a067347e8ae891> (patch)
- <https://git.kernel.org/stable/c/691d6d816f93b2a1008c14178399061466e674ef> (patch)
- <https://git.kernel.org/stable/c/9365fa510c6f82e3aa550a09d0c5c6b44dbc78ff> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-56601](https://www.cve.org/CVERecord?id=CVE-2024-56601), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-56601](https://nvd.nist.gov/vuln/detail/CVE-2024-56601), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-56601 · Whole record: https://cve.day/CVE-2024-56601.json · Rebuilt by cve.day 2026-11-25T22:58:50.474Z
