What’s Vulnerable › Vulnerabilities
CVE-2024-39470: eventfs: Fix a possible null pointer dereference in eventfs_find_events()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-06-25 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: eventfs: Fix a possible null pointer dereference in eventfs_find_events() In function eventfs_find_events,there is a potential null pointer that may be caused by calling update_events_attr which will perform some operations on the members of the ei struct when ei is NULL. Hence,When ei->is_freed is set,return NULL directly.
Affected products
- Linux kernel: from 6.6.18 before 6.6.34; from 6.8 before 6.9.5 — fixed in 6.6.34, 6.9.5
How to fix
Upgrade to a fixed version: Linux kernel 6.6.34, 6.9.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9
- https://git.kernel.org/stable/c/7a1b2d138189375ed1dcd7d0851118230221bd1d
- https://git.kernel.org/stable/c/d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4
- https://git.kernel.org/stable/c/5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9
- https://git.kernel.org/stable/c/7a1b2d138189375ed1dcd7d0851118230221bd1d
- https://git.kernel.org/stable/c/d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4
Get alerted when CVE-2024-39470 or the next vulnerability affects your stack