# CVE-2024-45021: memcg_write_event_control(): fix a user-triggerable oops

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-09-11T15:13:55.211Z
- Modified: 2026-08-05T11:37:45.912Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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).

(As written by CVE List.)

## Affected

- Linux Linux: from 0dea116876eefc9c7ca9c5d74fe665481e499fa3 before fa5bfdf6cb5846a00e712d630a43e3cf55ccb411; from 0dea116876eefc9c7ca9c5d74fe665481e499fa3 before 1b37ec85ad95b612307627758c6018cd9d92cca8; from 0dea116876eefc9c7ca9c5d74fe665481e499fa3 before ad149f5585345e383baa65f1539d816cd715fd3b; from 0dea116876eefc9c7ca9c5d74fe665481e499fa3 before 0fbe2a72e853a1052abe9bc2b7df8ddb102da227; from 0dea116876eefc9c7ca9c5d74fe665481e499fa3 before 43768fa80fd192558737e24ed6548f74554611d7; from 0dea116876eefc9c7ca9c5d74fe665481e499fa3 before f1aa7c509aa766080db7ab3aec2e31b1df09e57c; from 0dea116876eefc9c7ca9c5d74fe665481e499fa3 before 21b578f1d599edb87462f11113c5b0fc7a04ac61; from 0dea116876eefc9c7ca9c5d74fe665481e499fa3 before 046667c4d3196938e992fba0dfcde570aa85cd0e; 2.6.34 (not affected: before 2.6.34; from 4.19.321 up to 4.19.*; from 5.4.283 up to 5.4.*; from 5.10.225 up to 5.10.*; from 5.15.166 up to 5.15.*; from 6.1.107 up to 6.1.*; from 6.6.48 up to 6.6.*; from 6.10.7 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 2.6.34 before 4.19.321; from 4.20 before 5.4.283; from 5.5 before 5.10.225; from 5.11 before 5.15.166; from 5.16 before 6.1.107; from 6.2 before 6.6.48; from 6.7 before 6.10.7; 6.11

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/fa5bfdf6cb5846a00e712d630a43e3cf55ccb411> (patch)
- <https://git.kernel.org/stable/c/1b37ec85ad95b612307627758c6018cd9d92cca8> (patch)
- <https://git.kernel.org/stable/c/ad149f5585345e383baa65f1539d816cd715fd3b> (patch)
- <https://git.kernel.org/stable/c/0fbe2a72e853a1052abe9bc2b7df8ddb102da227> (patch)
- <https://git.kernel.org/stable/c/43768fa80fd192558737e24ed6548f74554611d7> (patch)
- <https://git.kernel.org/stable/c/f1aa7c509aa766080db7ab3aec2e31b1df09e57c> (patch)
- <https://git.kernel.org/stable/c/21b578f1d599edb87462f11113c5b0fc7a04ac61> (patch)
- <https://git.kernel.org/stable/c/046667c4d3196938e992fba0dfcde570aa85cd0e> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-45021](https://www.cve.org/CVERecord?id=CVE-2024-45021), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-45021](https://nvd.nist.gov/vuln/detail/CVE-2024-45021), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-45021 · Whole record: https://cve.day/CVE-2024-45021.json · Rebuilt by cve.day 2026-11-25T22:58:45.311Z
