CVE-2024-50203
bpf, arm64: Fix address emission with tag-based KASAN enabled
Mitigation
- Upgrade Linux to 6.11 or later.
Who should check
- Anyone running Linux >= 077149478497b2f00ff4fd9da2c892defa6418d8, < 9e80f366ebfdfafc685fe83a84c34f7ef01cbe88; >= d9664e6ff040798a46cdc5d401064f55b8676c83, < f521c2a0c0c4585f36d912bf62c852b88682c4f2; >= 19d3c179a37730caf600a97fed3794feac2b197b, < 7db1a2121f3c7903b8e397392beec563c3d00950; >= 19d3c179a37730caf600a97fed3794feac2b197b, < a552e2ef5fd1a6c78267cd4ec5a9b49aa11bbb1c; 6d218fcc707d6b2c3616b6cd24b948fd4825cfec; >= 6.10.3, < 6.11
- Anyone running Linux 6.11
Vulnerability facts
- Affected
- Linux >= 077149478497b2f00ff4fd9da2c892defa6418d8, < 9e80f366ebfdfafc685fe83a84c34f7ef01cbe88; >= d9664e6ff040798a46cdc5d401064f55b8676c83, < f521c2a0c0c4585f36d912bf62c852b88682c4f2; >= 19d3c179a37730caf600a97fed3794feac2b197b, < 7db1a2121f3c7903b8e397392beec563c3d00950; >= 19d3c179a37730caf600a97fed3794feac2b197b, < a552e2ef5fd1a6c78267cd4ec5a9b49aa11bbb1c; 6d218fcc707d6b2c3616b6cd24b948fd4825cfec; >= 6.10.3, < 6.11; Linux 6.11
- Fixed in
- Linux 9e80f366ebfdfafc685fe83a84c34f7ef01cbe88, Linux 7db1a2121f3c7903b8e397392beec563c3d00950, Linux 6.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- CWE
- CWE-787
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: bpf, arm64: Fix address emission with tag-based KASAN enabled When BPF_TRAMP_F_CALL_ORIG is enabled, the address of a bpf_tramp_image struct on the stack is passed during the size calculation pass and an address on the heap is passed during code generation. This may cause a heap buffer overflow if the heap address is tagged because emit_a64_mov_i64() will emit longer code than it did during the size calculation pass. The same problem could occur without tag-based KASAN if one of the 16-bit words of the stack address happened to be all-ones during the size calculation pass. Fix the problem by assuming the worst case (4 instructions) when calculating the size of the bpf_tramp_image address emission.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 077149478497b2f00ff4fd9da2c892defa6418d8, < 9e80f366ebfdfafc685fe83a84c34f7ef01cbe88; >= d9664e6ff040798a46cdc5d401064f55b8676c83, < f521c2a0c0c4585f36d912bf62c852b88682c4f2; >= 19d3c179a37730caf600a97fed3794feac2b197b, < 7db1a2121f3c7903b8e397392beec563c3d00950; >= 19d3c179a37730caf600a97fed3794feac2b197b, < a552e2ef5fd1a6c78267cd4ec5a9b49aa11bbb1c; 6d218fcc707d6b2c3616b6cd24b948fd4825cfec; >= 6.10.3, < 6.11 | — | cvelist |
| Linux | 6.11 | — | 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-50203. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-50203.md Affected: Linux >= 077149478497b2f00ff4fd9da2c892defa6418d8, < 9e80f366ebfdfafc685fe83a84c34f7ef01cbe88; >= d9664e6ff040798a46cdc5d401064f55b8676c83, < f521c2a0c0c4585f36d912bf62c852b88682c4f2; >= 19d3c179a37730caf600a97fed3794feac2b197b, < 7db1a2121f3c7903b8e397392beec563c3d00950; >= 19d3c179a37730caf600a97… Fixed in: Linux 9e80f366ebfdfafc685fe83a84c34f7ef01cbe88, Linux 7db1a2121f3c7903b8e397392beec563c3d00950, Linux 6.11 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
FAQ
Is CVE-2024-50203 being exploited?
There is no confirmed exploitation: CVE-2024-50203 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-50203?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-50203?
Linux >= 077149478497b2f00ff4fd9da2c892defa6418d8, < 9e80f366ebfdfafc685fe83a84c34f7ef01cbe88; >= d9664e6ff040798a46cdc5d401064f55b8676c83, < f521c2a0c0c4585f36d912bf62c852b88682c4f2; >= 19d3c179a37730caf600a97fed3794feac2b197b, < 7db1a2121f3c7903b8e397392beec563c3d00950; >= 19d3c179a37730caf600a97fed3794feac2b197b, < a552e2ef5fd1a6c78267cd4ec5a9b49aa11bbb1c; 6d218fcc707d6b2c3616b6cd24b948fd4825cfec; >= 6.10.3, < 6.11; Linux 6.11.
Is there a fix for CVE-2024-50203?
Yes. Fixed in Linux 9e80f366ebfdfafc685fe83a84c34f7ef01cbe88, Linux 7db1a2121f3c7903b8e397392beec563c3d00950, Linux 6.11. Upgrade Linux to 6.11 or later.
How do I check if I'm affected by CVE-2024-50203?
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.