CVE-2024-36934
bna: ensure the copied buf is NUL terminated
Reported by linux · Published May 30, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e19478763154674c084defc62ae0d64d79657f91, 80578ec10335bc15ac35fd1703c22aab34e39fdd, 6f0f19b79c085cc891c418b768f26f7004bd51a4, 3.3, 1518b2b498a0109eb6b15755169d3b6607356b35, 0f560240b4cc25d3de527deb257cdf072c0102a9, 06cb37e2ba6441888f24566a997481d4197b4e32 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7afc5dbde09104b023ce04465ba71aaba0fc4346, 7afc5dbde09104b023ce04465ba71aaba0fc4346, 7afc5dbde09104b023ce04465ba71aaba0fc4346 |
| Linux | Linux | 3.3, 0, 4.19.314 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| Linux | Linux | 6.6.31, 7afc5dbde09104b023ce04465ba71aaba0fc4346, 7afc5dbde09104b023ce04465ba71aaba0fc4346 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| linux | linux_kernel | 3.3, 3.3, 3.3 |
| Siemens | RUGGEDCOM RST2428P | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 |
Timeline
- May 30, 2024 CVE Published
- May 31, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (14 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 9, 2026 Security Advisory (350 in total, the first dated here)
- Jan 9, 2026 CVE Updated
- Mar 30, 2026 Distribution Patch (254 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-36934
vulnetix vdb fixes CVE-2024-36934
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-36934/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html url
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html url
- https://security.netapp.com/advisory/ntap-20240912-0007/ url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html url