CVE-2024-36934CWE-787

CVE-2024-36934

High · published May 30, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
22.7
In the wild
Unconfirmed
What it is

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

bna: ensure the copied buf is NUL terminated

Currently, we allocate a nbytes-sized kernel buffer and copy nbytes from

userspace to that buffer. Later, we use sscanf on this buffer but we don't

ensure that the string is terminated inside the buffer, this can lead to

OOB read when using sscanf. Fix this issue by using memdup_user_nul

instead of memdup_user.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00311 · 22.7th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2024-05-30T20:15Z
Affected products (14)
ProductVersionsFixed in
linux/linux_kernel≥ 3.3, < 4.19.3144.19.314
linux/linux_kernel≥ 4.20, < 5.4.2765.4.276
linux/linux_kernel≥ 5.5, < 5.10.2175.10.217
linux/linux_kernel≥ 5.11, < 5.15.1595.15.159
linux/linux_kernel≥ 5.16, < 6.1.916.1.91
linux/linux_kernel≥ 6.2, < 6.6.316.6.31
linux/linux_kernel≥ 6.7, < 6.8.106.8.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (21)
https://git.kernel.org/stable/c/06cb37e2ba6441888f24566a997481d4197b4e32 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0f560240b4cc25d3de527deb257cdf072c0102a9 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1518b2b498a0109eb6b15755169d3b6607356b35 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/6f0f19b79c085cc891c418b768f26f7004bd51a4 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/80578ec10335bc15ac35fd1703c22aab34e39fdd · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/bd502ba81cd1d515deddad7dbc6b812b14b97147 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/e19478763154674c084defc62ae0d64d79657f91 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/06cb37e2ba6441888f24566a997481d4197b4e32 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/0f560240b4cc25d3de527deb257cdf072c0102a9 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1518b2b498a0109eb6b15755169d3b6607356b35 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/6f0f19b79c085cc891c418b768f26f7004bd51a4 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/80578ec10335bc15ac35fd1703c22aab34e39fdd · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/bd502ba81cd1d515deddad7dbc6b812b14b97147 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/e19478763154674c084defc62ae0d64d79657f91 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20240912-0007/ · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-613116.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 30 MAY 15:29Z
    bna: ensure the copied buf is NUL terminated
    cvelistv5