CVE-2024-35915 nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet
- 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:
nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet
syzbot reported the following uninit-value access issue [1][2]:
nci_rx_work() parses and processes received packet. When the payload
length is zero, each message type handler reads uninitialized payload
and KMSAN detects this issue. The receipt of a packet with a zero-size
payload is considered unexpected, and therefore, such packets should be
silently discarded.
This patch resolved this issue by checking payload size before calling
each message type handler codes.
Upgrade path
11 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 6.1.85-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +16 more | 6.1.85-1 | Fixed |
| debian/linux(Debian 13) | < 6.8.9-1 | 6.8.9-1 | Fixed |
| debian/linux(Debian 14) | < 6.8.9-1 | 6.8.9-1 | Fixed |
| Linux kernel | < 4.19.312; < 5.4.274; < 5.10.215; < 5.15.154 +21 more | 03fe259649a551d336a7f20919b641ea100e3fff, 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.85, 6.6.26, 6.8.5, 6.9, 755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c, 8948e30de81faee87eeee01ef42a1f6008f5a83a, 11387b2effbb55f58dc2111ef4b4b896f2756240, a946ebee45b09294c8b0b0e77410b763c4d2817a, ac68d9fa09e410fa3ed20fb721d56aa558695e16, b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7, d24b03535e5eb82e025219c2f632b485409c898f | Fixed |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1.1 | V1.1.1 | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-116.126 | 5.15.0-116.126 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-38.38 | 6.8.0-38.38 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1062.67 | 5.15.0-1062.67 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1058.61 | 5.15.0-1058.61 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1007.7 | 6.8.0-1007.7 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | < 6.1.85-1 | 6.1.85-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:13) | < 6.8.9-1 | 6.8.9-1 |
| debian/linux(Debian:14) | < 6.8.9-1 | 6.8.9-1 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-116.126 | 5.15.0-116.126 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1062.67 | 5.15.0-1062.67 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1058.61 | 5.15.0-1058.61 |
Show 29 more
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux kernel | >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 11387b2effbb55f58dc2111ef4b4b896f2756240 | 11387b2effbb55f58dc2111ef4b4b896f2756240 |
| Linux kernel | >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 03fe259649a551d336a7f20919b641ea100e3fff | 03fe259649a551d336a7f20919b641ea100e3fff |
| Linux kernel | >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c | 755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c |
| Linux kernel | >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < ac68d9fa09e410fa3ed20fb721d56aa558695e16 | ac68d9fa09e410fa3ed20fb721d56aa558695e16 |
| Linux kernel | >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7 | b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7 |
| Linux kernel | >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < a946ebee45b09294c8b0b0e77410b763c4d2817a | a946ebee45b09294c8b0b0e77410b763c4d2817a |
| Linux kernel | >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 8948e30de81faee87eeee01ef42a1f6008f5a83a | 8948e30de81faee87eeee01ef42a1f6008f5a83a |
| Linux kernel | >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < d24b03535e5eb82e025219c2f632b485409c898f | d24b03535e5eb82e025219c2f632b485409c898f |
| Linux kernel | = 3.2 | No fix listed |
| Linux kernel | < 4.19.312 | 4.19.312 |
| Linux kernel | < 5.4.274 | 5.4.274 |
| Linux kernel | < 5.10.215 | 5.10.215 |
| Linux kernel | < 5.15.154 | 5.15.154 |
| Linux kernel | < 6.1.85 | 6.1.85 |
| Linux kernel | < 6.6.26 | 6.6.26 |
| Linux kernel | < 6.8.5 | 6.8.5 |
| Linux kernel | < 6.9 | 6.9 |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1.1 | V1.1.1 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-38.38 | 6.8.0-38.38 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1007.7 | 6.8.0-1007.7 |
| Linux kernel | >= 3.2, < 4.19.312 | 4.19.312 |
| Linux kernel | >= 4.20, < 5.4.274 | 5.4.274 |
| Linux kernel | >= 5.5, < 5.10.215 | 5.10.215 |
| Linux kernel | >= 5.11, < 5.15.154 | 5.15.154 |
| Linux kernel | >= 5.16, < 6.1.85 | 6.1.85 |
| Linux kernel | >= 6.2, < 6.6.26 | 6.6.26 |
| Linux kernel | >= 6.7, < 6.8.5 | 6.8.5 |
| Linux kernel | = 6.9-rc1 | No fix listed |
| debian linux | = 10.0 | No fix listed |
References
- Debian Security Tracker CVE-2024-35915 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6893-1 vendor-advisory
- USN-6896-1 vendor-advisory
- USN-6898-1 vendor-advisory
- USN-6893-2 vendor-advisory
- USN-6896-2 vendor-advisory
- USN-6898-2 vendor-advisory
- USN-6896-3 vendor-advisory
- USN-6898-3 vendor-advisory
- USN-6896-4 vendor-advisory
- USN-6896-5 vendor-advisory
- USN-6893-3 vendor-advisory
- USN-6898-4 vendor-advisory
- USN-6917-1 vendor-advisory
- USN-6919-1 vendor-advisory
- USN-6918-1 vendor-advisory
- USN-6927-1 vendor-advisory
- USN-7019-1 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 mailing-list
- lists.debian.org mailing-list
- cert-portal.siemens.com
- ENISA EUVD EUVD-2024-35633 third-party-advisory