CVE-2024-36934 bna: ensure the copied buf is NUL terminated
HighCVSS 7.8
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Linux KernelUbuntuDebian
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.
Upgrade path
15 packages: 14 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 6.1.94-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +20 more | 6.1.94-1 | Fixed |
| debian/linux(Debian 13) | < 6.8.11-1 | 6.8.11-1 | Fixed |
| debian/linux(Debian 14) | < 6.8.11-1 | 6.8.11-1 | Fixed |
| Linux kernel | < 4.19.314; < 5.4.276; < 5.10.217; < 5.15.159 +26 more | 0f560240b4cc25d3de527deb257cdf072c0102a9, 4.19.314, 5.4.276, 5.10.217, 5.15.159, 6.1.91, 6.6.31, 6.8.10, 6.9, 06cb37e2ba6441888f24566a997481d4197b4e32, 6f0f19b79c085cc891c418b768f26f7004bd51a4, 8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f, 1518b2b498a0109eb6b15755169d3b6607356b35, 80578ec10335bc15ac35fd1703c22aab34e39fdd, bd502ba81cd1d515deddad7dbc6b812b14b97147, e19478763154674c084defc62ae0d64d79657f91 | Fixed |
| Siemens RUGGEDCOM RST2428P | < V3.1 | V3.1 | Fixed |
| Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family | < V3.1 | V3.1 | Fixed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-118.128 | 5.15.0-118.128 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-40.40 | 6.8.0-40.40 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1064.69 | 5.15.0-1064.69 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1060.63 | 5.15.0-1060.63 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1009.10 | 6.8.0-1009.10 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | < 6.1.94-1 | 6.1.94-1 |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:13) | < 6.8.11-1 | 6.8.11-1 |
Show 42 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:14) | < 6.8.11-1 | 6.8.11-1 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-118.128 | 5.15.0-118.128 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1064.69 | 5.15.0-1064.69 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1060.63 | 5.15.0-1060.63 |
| Linux kernel | >= 7afc5dbde09104b023ce04465ba71aaba0fc4346, < bd502ba81cd1d515deddad7dbc6b812b14b97147 | bd502ba81cd1d515deddad7dbc6b812b14b97147 |
| Linux kernel | >= 7afc5dbde09104b023ce04465ba71aaba0fc4346, < 80578ec10335bc15ac35fd1703c22aab34e39fdd | 80578ec10335bc15ac35fd1703c22aab34e39fdd |
| Linux kernel | >= 7afc5dbde09104b023ce04465ba71aaba0fc4346, < 6f0f19b79c085cc891c418b768f26f7004bd51a4 | 6f0f19b79c085cc891c418b768f26f7004bd51a4 |
| Linux kernel | >= 7afc5dbde09104b023ce04465ba71aaba0fc4346, < 0f560240b4cc25d3de527deb257cdf072c0102a9 | 0f560240b4cc25d3de527deb257cdf072c0102a9 |
| Linux kernel | >= 7afc5dbde09104b023ce04465ba71aaba0fc4346, < 06cb37e2ba6441888f24566a997481d4197b4e32 | 06cb37e2ba6441888f24566a997481d4197b4e32 |
| Linux kernel | >= 7afc5dbde09104b023ce04465ba71aaba0fc4346, < e19478763154674c084defc62ae0d64d79657f91 | e19478763154674c084defc62ae0d64d79657f91 |
| Linux kernel | >= 7afc5dbde09104b023ce04465ba71aaba0fc4346, < 1518b2b498a0109eb6b15755169d3b6607356b35 | 1518b2b498a0109eb6b15755169d3b6607356b35 |
| Linux kernel | >= 7afc5dbde09104b023ce04465ba71aaba0fc4346, < 8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f | 8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f |
| Linux kernel | = 3.3 | No fix listed |
| Linux kernel | < 4.19.314 | 4.19.314 |
| Linux kernel | < 5.4.276 | 5.4.276 |
| Linux kernel | < 5.10.217 | 5.10.217 |
| Linux kernel | < 5.15.159 | 5.15.159 |
| Linux kernel | < 6.1.91 | 6.1.91 |
| Linux kernel | < 6.6.31 | 6.6.31 |
| Linux kernel | < 6.8.10 | 6.8.10 |
| Linux kernel | < 6.9 | 6.9 |
| Siemens RUGGEDCOM RST2428P | < V3.1 | V3.1 |
| Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family | < V3.1 | V3.1 |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-40.40 | 6.8.0-40.40 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1009.10 | 6.8.0-1009.10 |
| Linux kernel | >= 3.3, < 4.19.314 | 4.19.314 |
| Linux kernel | >= 4.20, < 5.4.276 | 5.4.276 |
| Linux kernel | >= 5.5, < 5.10.217 | 5.10.217 |
| Linux kernel | >= 5.11, < 5.15.159 | 5.15.159 |
| Linux kernel | >= 5.16, < 6.1.91 | 6.1.91 |
| Linux kernel | >= 6.2, < 6.6.31 | 6.6.31 |
| Linux kernel | >= 6.7, < 6.8.10 | 6.8.10 |
| Linux kernel | = 6.9-rc1 | No fix listed |
| Linux kernel | = 6.9-rc2 | No fix listed |
| Linux kernel | = 6.9-rc3 | No fix listed |
| Linux kernel | = 6.9-rc4 | No fix listed |
| Linux kernel | = 6.9-rc5 | No fix listed |
| Linux kernel | = 6.9-rc6 | No fix listed |
| debian linux | = 10.0 | No fix listed |
References
- Debian Security Tracker CVE-2024-36934 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6949-1 vendor-advisory
- USN-6950-1 vendor-advisory
- USN-6951-1 vendor-advisory
- USN-6952-1 vendor-advisory
- USN-6953-1 vendor-advisory
- USN-6955-1 vendor-advisory
- USN-6956-1 vendor-advisory
- USN-6957-1 vendor-advisory
- USN-6950-2 vendor-advisory
- USN-6950-3 vendor-advisory
- USN-6949-2 vendor-advisory
- USN-6952-2 vendor-advisory
- USN-6951-2 vendor-advisory
- USN-6951-3 vendor-advisory
- USN-6950-4 vendor-advisory
- USN-6951-4 vendor-advisory
- USN-6979-1 vendor-advisory
- USN-7019-1 vendor-advisory
- USN-7496-1 vendor-advisory
- USN-7496-3 vendor-advisory
- USN-7496-4 vendor-advisory
- USN-7496-5 vendor-advisory
- USN-7506-1 vendor-advisory
- USN-7506-2 vendor-advisory
- USN-7506-3 vendor-advisory
- USN-7506-4 vendor-advisory
- www.cve.org
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- lists.debian.org third-party-advisory
- lists.debian.org third-party-advisory
- security.netapp.com third-party-advisory
- cert-portal.siemens.com
- cert-portal.siemens.com
- ENISA EUVD EUVD-2024-36284 third-party-advisory