Back to CVE records
High 7.8Published May 30, 2024

CVE-2024-36934bna: ensure the copied buf is NUL terminated

Updated under an hour ago ()

Does this affect you?

It affects Linux and 8 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 7afc5dbde09104b023ce04465ba71aaba0fc4346 before bd502ba81cd1d515deddad7dbc6b812b14b97147; from 7afc5dbde09104b023ce04465ba71aaba0fc4346 before 80578ec10335bc15ac35fd1703c22aab34e39fdd; 7afc5dbde09104b023ce04465ba71aaba0fc4346 builds before 6f0f19b79c085cc891c418b768f26f7004bd51a4; 7afc5dbde09104b023ce04465ba71aaba0fc4346 builds before 0f560240b4cc25d3de527deb257cdf072c0102a9; 7afc5dbde09104b023ce04465ba71aaba0fc4346 builds before 06cb37e2ba6441888f24566a997481d4197b4e32; from 7afc5dbde09104b023ce04465ba71aaba0fc4346 before e19478763154674c084defc62ae0d64d79657f91; from 7afc5dbde09104b023ce04465ba71aaba0fc4346 before 1518b2b498a0109eb6b15755169d3b6607356b35; from 7afc5dbde09104b023ce04465ba71aaba0fc4346 before 8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f
CNA record
Siemens RUGGEDCOM RST2428P
siemens:ruggedcom_rst2428p (from the name)
before V3.1
CISA ADP
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
siemens:scalance_xc_300_xr_300_xc_400_xr_500wg_xr_500_family (from the name)
all versions not affected
CISA ADP
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family
siemens:scalance_xcm_xrm_xch_xrh_300_family (from the name)
before V3.1
CISA ADP
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
siemens:simatic_s7_1500_cpu_1518_4_pn_dp_mfp (from the name)
from V3.1.0 before V3.1.5
CISA ADP
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
siemens:simatic_s7_1500_cpu_1518f_4_pn_dp_mfp (from the name)
from V3.1.0 before V3.1.5
CISA ADP
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
siemens:siplus_s7_1500_cpu_1518_4_pn_dp_mfp (from the name)
from V3.1.0 before V3.1.5
CISA ADP
linux linux_kernel
linux:linux_kernel
from 3.3 before 4.19.314; from 4.20 before 5.4.276; from 5.5 before 5.10.217; from 5.11 before 5.15.159; from 5.16 before 6.1.91; from 6.2 before 6.6.31; from 6.7 before 6.8.10; 6.9; and 5 more ranges
NVD
debian debian_linux
debian:debian_linux
10.0
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • third-party-advisory
  • third-party-advisory
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.