Lucene search

K
cvelistLinuxCVELIST:CVE-2024-38663
HistoryJun 24, 2024 - 1:50 p.m.

CVE-2024-38663 blk-cgroup: fix list corruption from resetting io stat

2024-06-2413:50:51
Linux
www.cve.org
3
linux kernel
blk-cgroup
vulnerability fix
list corruption

0.0004 Low

EPSS

Percentile

15.7%

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

blk-cgroup: fix list corruption from resetting io stat

Since commit 3b8cc6298724 (“blk-cgroup: Optimize blkcg_rstat_flush()”),
each iostat instance is added to blkcg percpu list, so blkcg_reset_stats()
can’t reset the stat instance by memset(), otherwise the llist may be
corrupted.

Fix the issue by only resetting the counter part.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "block/blk-cgroup.c"
    ],
    "versions": [
      {
        "version": "3b8cc6298724",
        "lessThan": "d4a60298ac34",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3b8cc6298724",
        "lessThan": "89bb36c72e19",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3b8cc6298724",
        "lessThan": "6da668063279",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "block/blk-cgroup.c"
    ],
    "versions": [
      {
        "version": "6.2",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.2",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.33",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.4",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2024-38663