Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-26622
HistoryMar 04, 2024 - 7:15 a.m.

CVE-2024-26622

2024-03-0407:15:11
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
1083
linux kernel
uaf
write bug
tomoyo_write_control
vulnerability
cve-2024-26622

6.2 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.4%

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

tomoyo: fix UAF write bug in tomoyo_write_control()

Since tomoyo_write_control() updates head->write_buf when write()
of long lines is requested, we need to fetch head->write_buf after
head->io_sem is held. Otherwise, concurrent write() requests can
cause use-after-free-write and double-free problems.

Affected configurations

Vulners
Node
linuxlinux_kernelRange3.15.10.212
OR
linuxlinux_kernelRange5.11.05.15.151
OR
linuxlinux_kernelRange5.16.06.1.81
OR
linuxlinux_kernelRange6.2.06.6.21
OR
linuxlinux_kernelRange6.7.06.7.9
OR
linuxlinux_kernelRange6.8.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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": [
      "security/tomoyo/common.c"
    ],
    "versions": [
      {
        "version": "bd03a3e4c9a9",
        "lessThan": "a23ac1788e2c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bd03a3e4c9a9",
        "lessThan": "7d930a4da179",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bd03a3e4c9a9",
        "lessThan": "3bfe04c1273d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bd03a3e4c9a9",
        "lessThan": "2caa60507948",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bd03a3e4c9a9",
        "lessThan": "6edefe1b6c29",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bd03a3e4c9a9",
        "lessThan": "2f03fc340cac",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "security/tomoyo/common.c"
    ],
    "versions": [
      {
        "version": "3.1",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "3.1",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.212",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.151",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.81",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.21",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.9",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.2 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.4%