CVE-2024-39470
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 628adb842bd5e1c2c598534a7a022b8235289de6 before 5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9, from 8186fff7ab649085e2c60d032d9a20a85af1d87c before 7a1b2d138189375ed1dcd7d0851118230221bd1d, from 8186fff7ab649085e2c60d032d9a20a85af1d87c before d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4, 9c2ac5e0ea7899411fd900d4681890722a020735, from 6.6.18 before 6.6.34, from 6.7.4 before 6.8, 6.8
Not affected: before 6.8, from 6.6.34 up to 6.6.*, from 6.9.5 up to 6.9.*, from 6.10 up to *
CVE List
linux linux_kernelfrom 6.6.18 before 6.6.34, from 6.8 before 6.9.5NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: eventfs: se corrige una posible desreferencia de puntero nulo en eventfs_find_events() En la función eventfs_find_events, existe un posible puntero nulo que puede deberse a la llamada a update_events_attr que realizará algunas operaciones en los miembros de la estructura ei cuando ei es NULL. Por lo tanto, cuando se establece ei->is_freed, se devuelve NULL directamente.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-39470 changed 2026-05-23CVE Terms of Use
NVDCVE-2024-39470 changed 2026-06-17Public domain