Lucene search

K
cveLinuxCVE-2024-43854
HistoryAug 17, 2024 - 10:15 a.m.

CVE-2024-43854

2024-08-1710:15:10
CWE-401
Linux
web.nvd.nist.gov
29
linux kernel
integrity buffer
vulnerability
media
metadata
kmalloc
kernel memory
pi metadata
non-pi metadata
__gfp_zero flag
allocations
writes
cve-2024-43854

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

5.0%

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

block: initialize integrity buffer to zero before writing it to media

Metadata added by bio_integrity_prep is using plain kmalloc, which leads
to random kernel memory being written media. For PI metadata this is
limited to the app tag that isn’t used by kernel generated metadata,
but for non-PI metadata the entire buffer leaks kernel memory.

Fix this by adding the __GFP_ZERO flag to allocations for writes.

Affected configurations

Nvd
Vulners
Node
linuxlinux_kernelRange2.6.275.15.165
OR
linuxlinux_kernelRange5.166.1.103
OR
linuxlinux_kernelRange6.26.6.44
OR
linuxlinux_kernelRange6.76.10.3
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": [
      "block/bio-integrity.c"
    ],
    "versions": [
      {
        "version": "7ba1ba12eeef",
        "lessThan": "9f4af4cf08f9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7ba1ba12eeef",
        "lessThan": "129f95948a96",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7ba1ba12eeef",
        "lessThan": "3fd11fe4f207",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7ba1ba12eeef",
        "lessThan": "cf6b45ea7a8d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7ba1ba12eeef",
        "lessThan": "d418313bd8f5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7ba1ba12eeef",
        "lessThan": "23a19655fb56",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7ba1ba12eeef",
        "lessThan": "ebc0e91ba76d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7ba1ba12eeef",
        "lessThan": "899ee2c3829c",
        "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/bio-integrity.c"
    ],
    "versions": [
      {
        "version": "2.6.27",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.27",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.322",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.284",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.226",
        "lessThanOrEqual": "5.10.*",
        "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"
      }
    ]
  }
]

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

5.0%