CVE-2024-39490
ipv6: sr: fix missing sk_buff release in seg6_input_core
Mitigation
- Upgrade Linux to 5447f9708d9e4c17a647b16a9cb29e9e02820bd9 or later.
Who should check
- Anyone running Linux >= af3b5158b89d3bab9be881113417558c71b71ca4, < e8688218e38111ace457509d8f0cad75f79c1a7a; >= af3b5158b89d3bab9be881113417558c71b71ca4, < 8f1fc3b86eaea70be6abcae2e9aa7e7b99453864; >= af3b5158b89d3bab9be881113417558c71b71ca4, < f4df8c7670a73752201cbde215254598efdf6ce8; >= af3b5158b89d3bab9be881113417558c71b71ca4, < f5fec1588642e415a3d72e02140160661b303940; >= af3b5158b89d3bab9be881113417558c71b71ca4, < 5447f9708d9e4c17a647b16a9cb29e9e02820bd9
- Anyone running Linux 4.12
Vulnerability facts
- Affected
- Linux >= af3b5158b89d3bab9be881113417558c71b71ca4, < e8688218e38111ace457509d8f0cad75f79c1a7a; >= af3b5158b89d3bab9be881113417558c71b71ca4, < 8f1fc3b86eaea70be6abcae2e9aa7e7b99453864; >= af3b5158b89d3bab9be881113417558c71b71ca4, < f4df8c7670a73752201cbde215254598efdf6ce8; >= af3b5158b89d3bab9be881113417558c71b71ca4, < f5fec1588642e415a3d72e02140160661b303940; >= af3b5158b89d3bab9be881113417558c71b71ca4, < 5447f9708d9e4c17a647b16a9cb29e9e02820bd9; Linux 4.12
- Fixed in
- Linux 8f1fc3b86eaea70be6abcae2e9aa7e7b99453864, Linux 5447f9708d9e4c17a647b16a9cb29e9e02820bd9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.2 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: fix missing sk_buff release in seg6_input_core The seg6_input() function is responsible for adding the SRH into a packet, delegating the operation to the seg6_input_core(). This function uses the skb_cow_head() to ensure that there is sufficient headroom in the sk_buff for accommodating the link-layer header. In the event that the skb_cow_header() function fails, the seg6_input_core() catches the error but it does not release the sk_buff, which will result in a memory leak. This issue was introduced in commit af3b5158b89d ("ipv6: sr: fix BUG due to headroom too small after SRH push") and persists even after commit 7a3f5b0de364 ("netfilter: add netfilter hooks to SRv6 data plane"), where the entire seg6_input() code was refactored to deal with netfilter hooks. The proposed patch addresses the identified memory leak by requiring the seg6_input_core() function to release the sk_buff in the event that skb_cow_head() fails.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= af3b5158b89d3bab9be881113417558c71b71ca4, < e8688218e38111ace457509d8f0cad75f79c1a7a; >= af3b5158b89d3bab9be881113417558c71b71ca4, < 8f1fc3b86eaea70be6abcae2e9aa7e7b99453864; >= af3b5158b89d3bab9be881113417558c71b71ca4, < f4df8c7670a73752201cbde215254598efdf6ce8; >= af3b5158b89d3bab9be881113417558c71b71ca4, < f5fec1588642e415a3d72e02140160661b303940; >= af3b5158b89d3bab9be881113417558c71b71ca4, < 5447f9708d9e4c17a647b16a9cb29e9e02820bd9 | — | cvelist |
| Linux | 4.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-39490. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-39490.md Affected: Linux >= af3b5158b89d3bab9be881113417558c71b71ca4, < e8688218e38111ace457509d8f0cad75f79c1a7a; >= af3b5158b89d3bab9be881113417558c71b71ca4, < 8f1fc3b86eaea70be6abcae2e9aa7e7b99453864; >= af3b5158b89d3bab9be881113417558c71b71ca4, < f4df8c7670a73752201cbde215254598efdf6ce8; >= af3b5158b89d3bab9be8811… Fixed in: Linux 8f1fc3b86eaea70be6abcae2e9aa7e7b99453864, Linux 5447f9708d9e4c17a647b16a9cb29e9e02820bd9 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/e8688218e38111ace457509d8f0cad75f79c1a7a
- https://git.kernel.org/stable/c/8f1fc3b86eaea70be6abcae2e9aa7e7b99453864
- https://git.kernel.org/stable/c/f4df8c7670a73752201cbde215254598efdf6ce8
- https://git.kernel.org/stable/c/f5fec1588642e415a3d72e02140160661b303940
- https://git.kernel.org/stable/c/5447f9708d9e4c17a647b16a9cb29e9e02820bd9
FAQ
Is CVE-2024-39490 being exploited?
There is no confirmed exploitation: CVE-2024-39490 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-39490?
Medium: CVSS 6.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-39490?
Linux >= af3b5158b89d3bab9be881113417558c71b71ca4, < e8688218e38111ace457509d8f0cad75f79c1a7a; >= af3b5158b89d3bab9be881113417558c71b71ca4, < 8f1fc3b86eaea70be6abcae2e9aa7e7b99453864; >= af3b5158b89d3bab9be881113417558c71b71ca4, < f4df8c7670a73752201cbde215254598efdf6ce8; >= af3b5158b89d3bab9be881113417558c71b71ca4, < f5fec1588642e415a3d72e02140160661b303940; >= af3b5158b89d3bab9be881113417558c71b71ca4, < 5447f9708d9e4c17a647b16a9cb29e9e02820bd9; Linux 4.12.
Is there a fix for CVE-2024-39490?
Yes. Fixed in Linux 8f1fc3b86eaea70be6abcae2e9aa7e7b99453864, Linux 5447f9708d9e4c17a647b16a9cb29e9e02820bd9. Upgrade Linux to 5447f9708d9e4c17a647b16a9cb29e9e02820bd9 or later.
How do I check if I'm affected by CVE-2024-39490?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.