CVE-2024-56603: net: af_can: do not leave a dangling sk pointer in can_create()
Vulnerability summary
CVE-2024-56603 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.8% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 51 · Related 45Timeline
- 27-12-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: net: af_can: do not leave a dangling sk pointer in can_create() On error can_create() frees the allocated sk object, but sock_init_data() has already attached it to the provided sock object. This will leave a dangling sk pointer in the sock object and may cause use-after-free later.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu135 products
- linuxAll versions (No fix recorded) | < 5.4.0-211.231 | < 5.15.0-135.146 | < 6.8.0-58.60
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1142.152 | < 5.15.0-1080.87 | < 6.8.0-1027.29
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 0d66548a10cbbe0ef256852d63d30603f0f73f9b, < 884ae8bcee749be43a071d6ed2d89058dbd2425c | ≥ 0d66548a10cbbe0ef256852d63d30603f0f73f9b, < ce39b5576785bb3e66591145aad03d66bc3e778d | ≥ 0d66548a10cbbe0ef256852d63d30603f0f73f9b, < 1fe625f12d090d69f3f084990c7e4c1ff94bfe5f | ≥ 0d66548a10cbbe0ef256852d63d30603f0f73f9b, < 5947c9ac08f0771ea8ed64186b0d52e9029cb6c0 | ≥ 0d66548a10cbbe0ef256852d63d30603f0f73f9b, < db207d19adbac96058685f6257720906ad41d215 | ≥ 0d66548a10cbbe0ef256852d63d30603f0f73f9b, < 8df832e6b945e1ba61467d7f1c9305e314ae92fe | ≥ 0d66548a10cbbe0ef256852d63d30603f0f73f9b, < 811a7ca7320c062e15d0f5b171fe6ad8592d1434 | 2.6.25
- linux_kernel< 5.4.287 | ≥ 5.5, < 5.10.231 | ≥ 5.11, < 5.15.174 | ≥ 5.16, < 6.1.120 | ≥ 6.2, < 6.6.66 | ≥ 6.7, < 6.12.5
Debian1 product
- linux< 6.1.123-1 | < 6.12.5-1
3 vendors · 138 products