CVE-2024-41075 cachefiles: add consistency check for copen/cread

High 7.8 Published Updated

A local attacker can crash the Linux system by sending malicious copen or cread requests to the cachefiles subsystem due to missing consistency checks.

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

CVE-2024-41075 is a high-severity denial of service vulnerability in Linux kernel, published on 29 Jul 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:

cachefiles: add consistency check for copen/cread

This prevents malicious processes from completing random copen/cread requests and crashing the system. Added checks are listed below:

* Generic, copen can only complete open requests, and cread can only complete read requests. * For copen, ondemand_id must not be 0, because this indicates that the request has not been read by the daemon. * For cread, the object corresponding to fd and req should be the same.

Which versions are affected by CVE-2024-41075?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-41075?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-41075 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-41075, DEBIAN-CVE-2024-41075, GHSA-5p8g-h9f2-v3vj, ROOT-OS-UBUNTU-2204-CVE-2024-41075, UBUNTU-CVE-2024-41075.

Is CVE-2024-41075 in your software?

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

Check your SBOMs for free