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

High 7.1 Published Updated

A local attacker can trigger a kernel oops in the memory control group subsystem by writing to a specific file, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-45021?

CVE-2024-45021 is a high-severity vulnerability in Linux kernel, published on 11 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-476

Which versions are affected by CVE-2024-45021?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-45021?

Apply the vendor's patch.

Is CVE-2024-45021 being exploited?

There is no known exploitation of CVE-2024-45021 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-49170, AZL-49242, BELL-CVE-2024-45021, DEBIAN-CVE-2024-45021, GHSA-5m73-3pch-86m2, UBUNTU-CVE-2024-45021.

Is CVE-2024-45021 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free