Lucene search

K
cvelistLinuxCVELIST:CVE-2024-41033
HistoryJul 29, 2024 - 2:31 p.m.

CVE-2024-41033 cachestat: do not flush stats in recency check

2024-07-2914:31:48
Linux
www.cve.org
5
linux kernel
cachestat
vulnerability

EPSS

0

Percentile

9.4%

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

cachestat: do not flush stats in recency check

syzbot detects that cachestat() is flushing stats, which can sleep, in its
RCU read section (see 1). This is done in the workingset_test_recent()
step (which checks if the folio’s eviction is recent).

Move the stat flushing step to before the RCU read section of cachestat,
and skip stat flushing during the recency check.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "include/linux/swap.h",
      "mm/filemap.c",
      "mm/workingset.c"
    ],
    "versions": [
      {
        "version": "b00684722262",
        "lessThan": "1d1ba14e00d2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b00684722262",
        "lessThan": "5a4d8944d6b1",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "include/linux/swap.h",
      "mm/filemap.c",
      "mm/workingset.c"
    ],
    "versions": [
      {
        "version": "6.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.8",
        "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"
      }
    ]
  }
]

EPSS

0

Percentile

9.4%

Related for CVELIST:CVE-2024-41033