CVE-2024-53061 media: s5p-jpeg: prevent buffer overflows

High 7.3 Published Updated

An integer underflow in the s5p-jpeg driver allows buffer overflows, potentially leading to denial of service or code execution in the Linux kernel.

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

CVE-2024-53061 is a high-severity vulnerability in Linux kernel, published on 19 Nov 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:

media: s5p-jpeg: prevent buffer overflows

The current logic allows word to be less than 2. If this happens, there will be buffer overflows, as reported by smatch. Add extra checks to prevent it.

While here, remove an unused word = 0 assignment.

Weakness: CWE-191

Which versions are affected by CVE-2024-53061?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53061?

Apply the vendor's patch.

Is CVE-2024-53061 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-53861, AZL-53930, BELL-CVE-2024-53061, DEBIAN-CVE-2024-53061, GHSA-78xf-x743-mmc6, UBUNTU-CVE-2024-53061.

Is CVE-2024-53061 in your software?

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

Check your SBOMs for free