High severity · published May 30, 2024
CVE-2024-36934
bna: ensure the copied buf is NUL terminated
7.8
CVSS
0.3%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 24% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
3.3 before 4.19.314; 4.20 before 5.4.276; 5.5 before 5.10.217; 5.11 before 5.15.159; 5.16 before 6.1.91; 6.2 before 6.6.31; +7 more · source: NVD
LI
Linux · Linux
7afc5dbde09104b023ce04465ba71aaba0fc4346 before bd502ba81cd1d515deddad7dbc6b812b14b97147; 7afc5dbde09104b023ce04465ba71aaba0fc4346 before 80578ec10335bc15ac35fd1703c22aab34e39fdd; 7afc5dbde09104b023ce04465ba71aaba0fc4346 before 6f0f19b79c085cc891c418b768f26f7004bd51a4; 7afc5dbde09104b023ce04465ba71aaba0fc4346 before 0f560240b4cc25d3de527deb257cdf072c0102a9; 7afc5dbde09104b023ce04465ba71aaba0fc4346 before 06cb37e2ba6441888f24566a997481d4197b4e32; 7afc5dbde09104b023ce04465ba71aaba0fc4346 before e19478763154674c084defc62ae0d64d79657f91; +3 more · source: vendor
DL
Debian Linux · Debian
10.0 · source: NVD
RR
RUGGEDCOM RST2428P · Siemens
before V3.1 · source: CISA
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5 · source: CISA