{"id":"CVE-2024-39470","state":"PUBLISHED","title":"eventfs: Fix a possible null pointer dereference in eventfs_find_events()","description":"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->is_freed is set,return NULL directly.","publishedAt":"2024-06-25T14:28:56.258Z","updatedAt":"2026-05-23T15:50:05.880Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"628adb842bd5e1c2c598534a7a022b8235289de6","status":"affected","lessThan":"5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9","versionType":"git"},{"version":"8186fff7ab649085e2c60d032d9a20a85af1d87c","status":"affected","lessThan":"7a1b2d138189375ed1dcd7d0851118230221bd1d","versionType":"git"},{"version":"8186fff7ab649085e2c60d032d9a20a85af1d87c","status":"affected","lessThan":"d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4","versionType":"git"},{"version":"9c2ac5e0ea7899411fd900d4681890722a020735","status":"affected","versionType":"git"},{"version":"6.6.18","status":"affected","lessThan":"6.6.34","versionType":"semver"},{"version":"6.7.4","status":"affected","lessThan":"6.8","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/tracefs/event_inode.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.6.34","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.5","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/tracefs/event_inode.c"]}],"references":["https://git.kernel.org/stable/c/5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9","https://git.kernel.org/stable/c/7a1b2d138189375ed1dcd7d0851118230221bd1d","https://git.kernel.org/stable/c/d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/39xxx/CVE-2024-39470.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-39470","state":"PUBLISHED","datePublished":"2024-06-25T14:28:56.258Z","dateUpdated":"2026-05-23T15:50:05.880Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-06-25T14:23:23.745Z"},"containers":{"cna":{"title":"eventfs: Fix a possible null pointer dereference in eventfs_find_events()","descriptions":[{"lang":"en","value":"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->is_freed is set,return NULL directly."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"628adb842bd5e1c2c598534a7a022b8235289de6","status":"affected","lessThan":"5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9","versionType":"git"},{"version":"8186fff7ab649085e2c60d032d9a20a85af1d87c","status":"affected","lessThan":"7a1b2d138189375ed1dcd7d0851118230221bd1d","versionType":"git"},{"version":"8186fff7ab649085e2c60d032d9a20a85af1d87c","status":"affected","lessThan":"d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4","versionType":"git"},{"version":"9c2ac5e0ea7899411fd900d4681890722a020735","status":"affected","versionType":"git"},{"version":"6.6.18","status":"affected","lessThan":"6.6.34","versionType":"semver"},{"version":"6.7.4","status":"affected","lessThan":"6.8","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/tracefs/event_inode.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.6.34","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.5","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/tracefs/event_inode.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9"},{"url":"https://git.kernel.org/stable/c/7a1b2d138189375ed1dcd7d0851118230221bd1d"},{"url":"https://git.kernel.org/stable/c/d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:50:05.880Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.18","versionEndExcluding":"6.6.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.9.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7.4"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/5ade5fbdbbb1f023bb70730ba4d74146c8bc7eb9","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/7a1b2d138189375ed1dcd7d0851118230221bd1d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d4e9a968738bf66d3bb852dd5588d4c7afd6d7f4","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:26:14.966Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-39470","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T17:07:52.051745Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:34:41.664Z"}}]}}}