Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42299
HistoryAug 17, 2024 - 9:09 a.m.

CVE-2024-42299 fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed

2024-08-1709:09:06
Linux
www.cve.org
2
linux kernel
ntfs file system
log page size

EPSS

0

Percentile

16.3%

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

fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed

If an NTFS file system is mounted to another system with different
PAGE_SIZE from the original system, log->page_size will change in
log_replay(), but log->page_{mask,bits} don’t change correspondingly.
This will cause a panic because “u32 bytes = log->page_size - page_off”
will get a negative value in the later read_log_page().

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/ntfs3/fslog.c"
    ],
    "versions": [
      {
        "version": "b46acd6a6a62",
        "lessThan": "0484adcb5fbc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b46acd6a6a62",
        "lessThan": "b90ceffdc975",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b46acd6a6a62",
        "lessThan": "2cac0df3324b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b46acd6a6a62",
        "lessThan": "0a4ae2644e2a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b46acd6a6a62",
        "lessThan": "2fef55d8f783",
        "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/ntfs3/fslog.c"
    ],
    "versions": [
      {
        "version": "5.15",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.15",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.165",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.103",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.44",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.3",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

16.3%

Related for CVELIST:CVE-2024-42299