# CVE-2024-26612: netfs, fscache: Prevent Oops in fscache_put_cache()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-02-29T15:52:17.001Z
- Modified: 2026-06-17T07:17:53.653Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

netfs, fscache: Prevent Oops in fscache_put_cache()

This function dereferences "cache" and then checks if it's
IS_ERR_OR_NULL().  Check first, then dereference.

(As written by CVE List.)

## Affected

- Linux Linux: from 9549332df4ed4e761a1d41c83f2c25d28bb22431 before 82a9bc343ba019665d3ddc1d9a180bf0e0390cf3; from 9549332df4ed4e761a1d41c83f2c25d28bb22431 before 1c45256e599061021e2c848952e50f406457e448; from 9549332df4ed4e761a1d41c83f2c25d28bb22431 before 4200ad3e46ce50f410fdda302745489441bc70f0; from 9549332df4ed4e761a1d41c83f2c25d28bb22431 before 3be0b3ed1d76c6703b9ee482b55f7e01c369cc68; 5.17 (not affected: before 5.17; from 6.1.76 up to 6.1.*; from 6.6.15 up to 6.6.*; from 6.7.3 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.17 before 6.1.76; from 6.2 before 6.6.15; from 6.7 before 6.7.3; 6.8

## References

- <https://git.kernel.org/stable/c/82a9bc343ba019665d3ddc1d9a180bf0e0390cf3> (patch)
- <https://git.kernel.org/stable/c/1c45256e599061021e2c848952e50f406457e448> (patch)
- <https://git.kernel.org/stable/c/4200ad3e46ce50f410fdda302745489441bc70f0> (patch)
- <https://git.kernel.org/stable/c/3be0b3ed1d76c6703b9ee482b55f7e01c369cc68> (patch)

## Sources

- CVE List: [CVE-2024-26612](https://www.cve.org/CVERecord?id=CVE-2024-26612), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26612](https://nvd.nist.gov/vuln/detail/CVE-2024-26612), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26612 · Whole record: https://cve.day/CVE-2024-26612.json · Rebuilt by cve.day 2026-11-25T22:58:37.400Z
