CVE-2024-41074: cachefiles: Set object to close if ondemand_id < 0 in copen

Published Jul 29, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

cachefiles: Set object to close if ondemandid < 0 in copen

If copen is maliciously called in the user mode, it may delete the request corresponding to the random id. And the request may have not been read yet.

Note that when the object is set to reopen, the open request will be done with the still reopen state in above case. As a result, the request corresponding to this object is always skipped in selectreq function, so the read request is never completed and blocks other process.

Fix this issue by simply set object to close if its id < 0 in copen.

Affected Software

8 affected componentsFixes available
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
Linux Linux kernel>=5.19<6.1.101
Linux Linux kernel>=6.2<6.6.42
Linux Linux kernel>=6.7<6.9.11
Linux Linux kernel=6.10-rc1
Linux Linux kernel=6.10-rc2
Linux Linux kernel=6.10-rc3

Event History

Jul 29, 2024
CVE Published
via MITRE·02:57 PM
Data Sourced
via MITRE·02:57 PM
Description
Data Sourced
via NVD·03:15 PM
Description
Data Sourced
via NVD·03:15 PM
RemedySeverityWeaknessAffected Software
Apr 27, 2025
Data Sourced
via Ubuntu·12:32 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-41074?

CVE-2024-41074 is considered a high-severity vulnerability due to its potential impact on system integrity.

2

How do I fix CVE-2024-41074?

To remediate CVE-2024-41074, update to the specified patched versions of the Linux kernel provided in the affected software list.

3

Which Linux kernel versions are affected by CVE-2024-41074?

CVE-2024-41074 affects Linux kernel versions up to and including 5.10.226-1.

4

Can CVE-2024-41074 be exploited remotely?

CVE-2024-41074 requires malicious calls from user mode, indicating that exploitation is not typically remote.

5

Are there any recommended mitigations for CVE-2024-41074?

The most effective mitigation for CVE-2024-41074 is to ensure all systems are updated to the secure versions of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203