CVE-2024-36015 ppdev: Add an error check in register_device

High 7.8 Published Updated

A missing error check in the Linux kernel ppdev driver can lead to the use of an invalid index, potentially causing a system crash or 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-36015?

CVE-2024-36015 is a high-severity vulnerability in Linux kernel, published on 29 May 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:

ppdev: Add an error check in register_device

In register_device, the return value of ida_simple_get is unchecked, in witch ida_simple_get will use an invalid index value.

To address this issue, index should be checked after ida_simple_get. When the index value is abnormal, a warning message should be printed, the port should be dropped, and the value should be recorded.

Weakness: CWE-129

Which versions are affected by CVE-2024-36015?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-36015?

Apply the vendor's patch.

Is CVE-2024-36015 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-36015, DEBIAN-CVE-2024-36015, UBUNTU-CVE-2024-36015.

Is CVE-2024-36015 in your software?

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

Check your SBOMs for free