CVE-2024-45021
memcg_write_event_control(): fix a user-triggerable oops
Mitigation
- Upgrade Linux to 046667c4d3196938e992fba0dfcde570aa85cd0e or later.
Who should check
- Anyone running Linux >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < fa5bfdf6cb5846a00e712d630a43e3cf55ccb411; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 1b37ec85ad95b612307627758c6018cd9d92cca8; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < ad149f5585345e383baa65f1539d816cd715fd3b; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 0fbe2a72e853a1052abe9bc2b7df8ddb102da227; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 43768fa80fd192558737e24ed6548f74554611d7; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < f1aa7c509aa766080db7ab3aec2e31b1df09e57c; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 21b578f1d599edb87462f11113c5b0fc7a04ac61; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 046667c4d3196938e992fba0dfcde570aa85cd0e
- Anyone running Linux 2.6.34
Vulnerability facts
- Affected
- Linux >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < fa5bfdf6cb5846a00e712d630a43e3cf55ccb411; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 1b37ec85ad95b612307627758c6018cd9d92cca8; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < ad149f5585345e383baa65f1539d816cd715fd3b; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 0fbe2a72e853a1052abe9bc2b7df8ddb102da227; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 43768fa80fd192558737e24ed6548f74554611d7; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < f1aa7c509aa766080db7ab3aec2e31b1df09e57c; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 21b578f1d599edb87462f11113c5b0fc7a04ac61; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 046667c4d3196938e992fba0dfcde570aa85cd0e; Linux 2.6.34
- Fixed in
- Linux 1b37ec85ad95b612307627758c6018cd9d92cca8, Linux 0fbe2a72e853a1052abe9bc2b7df8ddb102da227, Linux 43768fa80fd192558737e24ed6548f74554611d7, Linux 21b578f1d599edb87462f11113c5b0fc7a04ac61, Linux 046667c4d3196938e992fba0dfcde570aa85cd0e
- 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.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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: None
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: memcg_write_event_control(): fix a user-triggerable oops we are *not* guaranteed that anything past the terminating NUL is mapped (let alone initialized with anything sane).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < fa5bfdf6cb5846a00e712d630a43e3cf55ccb411; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 1b37ec85ad95b612307627758c6018cd9d92cca8; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < ad149f5585345e383baa65f1539d816cd715fd3b; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 0fbe2a72e853a1052abe9bc2b7df8ddb102da227; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 43768fa80fd192558737e24ed6548f74554611d7; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < f1aa7c509aa766080db7ab3aec2e31b1df09e57c; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 21b578f1d599edb87462f11113c5b0fc7a04ac61; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 046667c4d3196938e992fba0dfcde570aa85cd0e | — | cvelist |
| Linux | 2.6.34 | — | 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-45021. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-45021.md Affected: Linux >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < fa5bfdf6cb5846a00e712d630a43e3cf55ccb411; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 1b37ec85ad95b612307627758c6018cd9d92cca8; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < ad149f5585345e383baa65f1539d816cd715fd3b; >= 0dea116876eefc9c7ca9c5d… Fixed in: Linux 1b37ec85ad95b612307627758c6018cd9d92cca8, Linux 0fbe2a72e853a1052abe9bc2b7df8ddb102da227, Linux 43768fa80fd192558737e24ed6548f74554611d7, Linux 21b578f1d599edb87462f11113c5b0fc7a04ac61, Linux 046667c4d3196938e992fba0dfcde570aa85cd0e 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/fa5bfdf6cb5846a00e712d630a43e3cf55ccb411
- https://git.kernel.org/stable/c/1b37ec85ad95b612307627758c6018cd9d92cca8
- https://git.kernel.org/stable/c/ad149f5585345e383baa65f1539d816cd715fd3b
- https://git.kernel.org/stable/c/0fbe2a72e853a1052abe9bc2b7df8ddb102da227
- https://git.kernel.org/stable/c/43768fa80fd192558737e24ed6548f74554611d7
- https://git.kernel.org/stable/c/f1aa7c509aa766080db7ab3aec2e31b1df09e57c
- https://git.kernel.org/stable/c/21b578f1d599edb87462f11113c5b0fc7a04ac61
- https://git.kernel.org/stable/c/046667c4d3196938e992fba0dfcde570aa85cd0e
FAQ
Is CVE-2024-45021 being exploited?
There is no confirmed exploitation: CVE-2024-45021 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-45021?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-45021?
Linux >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < fa5bfdf6cb5846a00e712d630a43e3cf55ccb411; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 1b37ec85ad95b612307627758c6018cd9d92cca8; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < ad149f5585345e383baa65f1539d816cd715fd3b; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 0fbe2a72e853a1052abe9bc2b7df8ddb102da227; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 43768fa80fd192558737e24ed6548f74554611d7; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < f1aa7c509aa766080db7ab3aec2e31b1df09e57c; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 21b578f1d599edb87462f11113c5b0fc7a04ac61; >= 0dea116876eefc9c7ca9c5d74fe665481e499fa3, < 046667c4d3196938e992fba0dfcde570aa85cd0e; Linux 2.6.34.
Is there a fix for CVE-2024-45021?
Yes. Fixed in Linux 1b37ec85ad95b612307627758c6018cd9d92cca8, Linux 0fbe2a72e853a1052abe9bc2b7df8ddb102da227, Linux 43768fa80fd192558737e24ed6548f74554611d7, Linux 21b578f1d599edb87462f11113c5b0fc7a04ac61, Linux 046667c4d3196938e992fba0dfcde570aa85cd0e. Upgrade Linux to 046667c4d3196938e992fba0dfcde570aa85cd0e or later.
How do I check if I'm affected by CVE-2024-45021?
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.