CVE-2024-56601

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56601
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56601.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56601
Downstream
Related
Published
2024-12-27T14:51:07.358Z
Modified
2025-11-28T02:33:54.608978Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
net: inet: do not leave a dangling sk pointer in inet_create()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

sockinitdata() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56601.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
f8a3f255f7509a209292871715cda03779640c8d
Fixed
2bc34d8c8898ae9fddf4612501aabb22d76c2b2c
Fixed
3e8258070b0f2aba66b3ef18883de229674fb288
Fixed
b4513cfd3a10c03c660d5d3d26c2e322efbfdd9b
Fixed
25447c6aaa7235f155292b0c58a067347e8ae891
Fixed
691d6d816f93b2a1008c14178399061466e674ef
Fixed
9365fa510c6f82e3aa550a09d0c5c6b44dbc78ff

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.12
Fixed
5.4.287
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.231
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.174
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.120
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.66
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.5