Lucene search

K
cvelistLinuxCVELIST:CVE-2024-46780
HistorySep 18, 2024 - 7:12 a.m.

CVE-2024-46780 nilfs2: protect references to superblock parameters exposed in sysfs

2024-09-1807:12:36
Linux
www.cve.org
1
nilfs2
vulnerability
linux kernel
superblock parameters
sysfs
mutual exclusion
memory access

EPSS

0

Percentile

13.8%

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: protect references to superblock parameters exposed in sysfs

The superblock buffers of nilfs2 can not only be overwritten at runtime
for modifications/repairs, but they are also regularly swapped, replaced
during resizing, and even abandoned when degrading to one side due to
backing device issues. So, accessing them requires mutual exclusion using
the reader/writer semaphore “nilfs->ns_sem”.

Some sysfs attribute show methods read this superblock buffer without the
necessary mutual exclusion, which can cause problems with pointer
dereferencing and memory access, so fix it.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/nilfs2/sysfs.c"
    ],
    "versions": [
      {
        "version": "da7141fb78db",
        "lessThan": "b90beafac059",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "da7141fb78db",
        "lessThan": "ba97ba173f96",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "da7141fb78db",
        "lessThan": "157c0d94b4c4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "da7141fb78db",
        "lessThan": "b14e7260bb69",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "da7141fb78db",
        "lessThan": "19cfeba0e4b8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "da7141fb78db",
        "lessThan": "8c6e43b3d5f1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "da7141fb78db",
        "lessThan": "962562d4c70c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "da7141fb78db",
        "lessThan": "683408258917",
        "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/nilfs2/sysfs.c"
    ],
    "versions": [
      {
        "version": "3.17",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "3.17",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.322",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.284",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.226",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.167",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.110",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.51",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.10",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

13.8%

Related for CVELIST:CVE-2024-46780