Lucene search

K
cveLinuxCVE-2024-41034
HistoryJul 29, 2024 - 3:15 p.m.

CVE-2024-41034

2024-07-2915:15:11
Linux
web.nvd.nist.gov
44
linux kernel
nilfs2
vulnerability
fix
rename operation
broken directory

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

13.5%

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

nilfs2: fix kernel bug on rename operation of broken directory

Syzbot reported that in rename directory operation on broken directory on
nilfs2, __block_write_begin_int() called to prepare block write may fail
BUG_ON check for access exceeding the folio/page size.

This is because nilfs_dotdot(), which gets parent directory reference
entry (“…”) of the directory to be moved or renamed, does not check
consistency enough, and may return location exceeding folio/page size for
broken directories.

Fix this issue by checking required directory entries (“.” and “…”) in
the first chunk of the directory in nilfs_dotdot().

Affected configurations

Vulners
Node
linuxlinux_kernelRange2.6.304.19.318
OR
linuxlinux_kernelRange4.20.05.4.280
OR
linuxlinux_kernelRange5.5.05.10.222
OR
linuxlinux_kernelRange5.11.05.15.163
OR
linuxlinux_kernelRange5.16.06.1.100
OR
linuxlinux_kernelRange6.2.06.6.41
OR
linuxlinux_kernelRange6.7.06.9.10
OR
linuxlinux_kernelRange6.10.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/dir.c"
    ],
    "versions": [
      {
        "version": "2ba466d74ed7",
        "lessThan": "ff9767ba2cb9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2ba466d74ed7",
        "lessThan": "24c1c8566a9b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2ba466d74ed7",
        "lessThan": "a9a466a69b85",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2ba466d74ed7",
        "lessThan": "7000b438dda9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2ba466d74ed7",
        "lessThan": "1a8879c0771a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2ba466d74ed7",
        "lessThan": "60f61514374e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2ba466d74ed7",
        "lessThan": "298cd810d7fb",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2ba466d74ed7",
        "lessThan": "a9e1ddc09ca5",
        "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/dir.c"
    ],
    "versions": [
      {
        "version": "2.6.30",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.30",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.318",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.280",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.222",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.163",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.100",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.41",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.10",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

13.5%