{"id":"CVE-2024-39470","summary":"eventfs: Fix a possible null pointer dereference in eventfs_find_events()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\neventfs: Fix a possible null pointer dereference in eventfs_find_events()\n\nIn function eventfs_find_events,there is a potential null pointer\nthat may be caused by calling update_events_attr which will perform\nsome operations on the members of the ei struct when ei is NULL.\n\nHence,When ei-\u003eis_freed is set,return NULL directly.","modified":"2026-04-16T04:41:43.118132236Z","published":"2024-06-25T14:28:56.258Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39470.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a1b2d138189375ed1dcd7d0851118230221bd1d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39470.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39470"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"628adb842bd5e1c2c598534a7a022b8235289de6"},{"fixed":"5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8186fff7ab649085e2c60d032d9a20a85af1d87c"},{"fixed":"7a1b2d138189375ed1dcd7d0851118230221bd1d"},{"fixed":"d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"9c2ac5e0ea7899411fd900d4681890722a020735"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39470.json"}}],"schema_version":"1.7.5"}