nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.85, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 6a2968aaf50c7a22fced77a5e24aa636281efca8 · fixed in 11387b2effbb55f58dc2111ef4b4b896f2756240; From 6a2968aaf50c7a22fced77a5e24aa636281efca8 · fixed in 03fe259649a551d336a7f20919b641ea100e3fff; From 6a2968aaf50c7a22fced77a5e24aa636281efca8 · fixed in 755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c; From 6a2968aaf50c7a22fced77a5e24aa636281efca8 · fixed in ac68d9fa09e410fa3ed20fb721d56aa558695e16; From 6a2968aaf50c7a22fced77a5e24aa636281efca8 · fixed in b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7; From 6a2968aaf50c7a22fced77a5e24aa636281efca8 · fixed in a946ebee45b09294c8b0b0e77410b763c4d2817a; From 6a2968aaf50c7a22fced77a5e24aa636281efca8 · fixed in 8948e30de81faee87eeee01ef42a1f6008f5a83a; From 6a2968aaf50c7a22fced77a5e24aa636281efca8 · fixed in d24b03535e5eb82e025219c2f632b485409c898f
- Linux Linux
3.2
- KernelLinux
From 3.2.0 · fixed in 4.19.312; From 4.20.0 · fixed in 5.4.274; From 5.5.0 · fixed in 5.10.215; From 5.11.0 · fixed in 5.15.154; From 5.16.0 · fixed in 6.1.85; From 6.2.0 · fixed in 6.6.26; From 6.7.0 · fixed in 6.8.5
References 8
git.kernel.org
- stable/c/11387b2effbb55f58dc2111ef4b4b896f2756240
- stable/c/03fe259649a551d336a7f20919b641ea100e3fff
- stable/c/755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c
- stable/c/ac68d9fa09e410fa3ed20fb721d56aa558695e16
- stable/c/b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7
- stable/c/a946ebee45b09294c8b0b0e77410b763c4d2817a
- stable/c/8948e30de81faee87eeee01ef42a1f6008f5a83a
- stable/c/d24b03535e5eb82e025219c2f632b485409c898f