Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-36931
HistoryMay 30, 2024 - 4:15 p.m.

CVE-2024-36931

2024-05-3016:15:16
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
25
linux kernel
vulnerability
resolved
s390/cio
buffer
oob read
memdup_user_nul
nvd

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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

s390/cio: Ensure the copied buf is NUL terminated

Currently, we allocate a lbuf-sized kernel buffer and copy lbuf from
userspace to that buffer. Later, we use scanf on this buffer but we don’t
ensure that the string is terminated inside the buffer, this can lead to
OOB read when using scanf. Fix this issue by using memdup_user_nul instead.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.135.15.159
OR
linuxlinux_kernelRange5.16.06.1.91
OR
linuxlinux_kernelRange6.2.06.6.31
OR
linuxlinux_kernelRange6.7.06.8.10
OR
linuxlinux_kernelRange6.9.0

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/s390/cio/cio_inject.c"
    ],
    "versions": [
      {
        "version": "a4f17cc72671",
        "lessThan": "c9d48ce16330",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a4f17cc72671",
        "lessThan": "10452edd175f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a4f17cc72671",
        "lessThan": "84b38f488366",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a4f17cc72671",
        "lessThan": "06759ebaf75c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a4f17cc72671",
        "lessThan": "da7c622cddd4",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/s390/cio/cio_inject.c"
    ],
    "versions": [
      {
        "version": "5.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.13",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.159",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.91",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.31",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.10",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%