CVE-2024-53106 ima: fix buffer overrun in ima_eventdigest_init_common

High 7.3 Published Updated

A buffer overrun in the Linux kernel's IMA subsystem allows attackers to potentially execute arbitrary code or cause a system crash.

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-53106?

CVE-2024-53106 is a high-severity memory corruption vulnerability in Linux kernel, published on 2 Dec 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:

ima: fix buffer overrun in ima_eventdigest_init_common

Function ima_eventdigest_init() calls ima_eventdigest_init_common() with HASH_ALGO__LAST which is then used to access the array hash_digest_size[] leading to buffer overrun. Have a conditional statement to handle this.

Weakness: CWE-787

Which versions are affected by CVE-2024-53106?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53106?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-53106 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-53106, DEBIAN-CVE-2024-53106, GHSA-w9xm-h8j7-2chv, UBUNTU-CVE-2024-53106.

Is CVE-2024-53106 in your software?

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

Check your SBOMs for free