Lucene search

K
cveLinuxCVE-2024-46780
HistorySep 18, 2024 - 8:15 a.m.

CVE-2024-46780

2024-09-1808:15:05
Linux
web.nvd.nist.gov
8
linux kernel
nilfs2
sysfs
superblock
mutual exclusion
memory access

AI Score

6.7

Confidence

Low

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.

Affected configurations

Vulners
Node
linuxlinux_kernelRange3.174.19.322
OR
linuxlinux_kernelRange4.20.05.4.284
OR
linuxlinux_kernelRange5.5.05.10.226
OR
linuxlinux_kernelRange5.11.05.15.167
OR
linuxlinux_kernelRange5.16.06.1.110
OR
linuxlinux_kernelRange6.2.06.6.51
OR
linuxlinux_kernelRange6.7.06.10.10
OR
linuxlinux_kernelRange6.11.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

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"
      }
    ]
  }
]

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

13.8%

Related for CVE-2024-46780