Lucene search

K
cvelistLinuxCVELIST:CVE-2024-39470
HistoryJun 25, 2024 - 2:28 p.m.

CVE-2024-39470 eventfs: Fix a possible null pointer dereference in eventfs_find_events()

2024-06-2514:28:56
Linux
www.cve.org
5
linux kernel
vulnerability
eventfs
null pointer
dereference
fix
security
flaw

0.0004 Low

EPSS

Percentile

15.7%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/tracefs/event_inode.c"
    ],
    "versions": [
      {
        "version": "628adb842bd5",
        "lessThan": "5ade5fbdbbb1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8186fff7ab64",
        "lessThan": "7a1b2d138189",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8186fff7ab64",
        "lessThan": "d4e9a968738b",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/tracefs/event_inode.c"
    ],
    "versions": [
      {
        "version": "6.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.8",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.34",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.5",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2024-39470