CVE-2024-39470

eventfs: Fix a possible null pointer dereference in eventfs_find_events()

MEDIUM
5.5
CVSS Score
Published: June 25, 2024 at 02:28 PM UTC
Updated: June 17, 2026 at 07:41 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.7.46.6.18 ≤ v < 6.6.346.7.4 ≤ v < 6.86.8 ≤ v < 6.106.8 ≤ v < 6.9.56.6.186.7.46.8628adb842bd5e1c2c598534a7a022b8235289de68186fff7ab649085e2c60d032d9a20a85af1d87c9c2ac5e0ea7899411fd900d4681890722a020735
Vendor states this is fixed in 5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9 (fixed)
Vendor states this is fixed in 7a1b2d138189375ed1dcd7d0851118230221bd1d (fixed)
Vendor states this is fixed in d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4 (fixed)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.34 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)
Vendor states this is fixed in 6.9.5 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7a1b2d138189375ed1dcd7d0851118230221bd1d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card