{"id":"CVE-2024-38381","summary":"nfc: nci: Fix uninit-value in nci_rx_work","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: nci: Fix uninit-value in nci_rx_work\n\nsyzbot reported the following uninit-value access issue [1]\n\nnci_rx_work() parses received packet from ndev-\u003erx_q. It should be\nvalidated header size, payload size and total packet size before\nprocessing the packet. If an invalid packet is detected, it should be\nsilently discarded.","modified":"2026-04-16T00:08:29.219862363Z","published":"2024-06-21T10:18:12.302Z","related":["CGA-2qp7-6757-fmgc","SUSE-SU-2024:2372-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2973-1","SUSE-SU-2024:3559-1","SUSE-SU-2024:3566-1","SUSE-SU-2024:3591-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38381.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/017ff397624930fd7ac7f1761f3c9d6a7100f68c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/406cfac9debd4a6d3dc5d9258ee086372a8c08b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/485ded868ed62ceb2acb3a459d7843fd71472619"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad4d196d2008c7f413167f0a693feb4f0439d7fe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4a87abf588536d1cdfb128595e6e680af5cf3ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e53a7f8afcbd2886f2a94c5d56757328109730ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8c8e0d0d214c877fbad555df5b3ed558cd9b0c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f80b786ab0550d0020191a59077b2c7e069db2d1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38381.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38381"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"11387b2effbb55f58dc2111ef4b4b896f2756240"},{"fixed":"406cfac9debd4a6d3dc5d9258ee086372a8c08b6"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"03fe259649a551d336a7f20919b641ea100e3fff"},{"fixed":"485ded868ed62ceb2acb3a459d7843fd71472619"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c"},{"fixed":"f80b786ab0550d0020191a59077b2c7e069db2d1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ac68d9fa09e410fa3ed20fb721d56aa558695e16"},{"fixed":"ad4d196d2008c7f413167f0a693feb4f0439d7fe"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7"},{"fixed":"e8c8e0d0d214c877fbad555df5b3ed558cd9b0c3"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a946ebee45b09294c8b0b0e77410b763c4d2817a"},{"fixed":"e53a7f8afcbd2886f2a94c5d56757328109730ea"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d24b03535e5eb82e025219c2f632b485409c898f"},{"fixed":"017ff397624930fd7ac7f1761f3c9d6a7100f68c"},{"fixed":"e4a87abf588536d1cdfb128595e6e680af5cf3ed"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"8948e30de81faee87eeee01ef42a1f6008f5a83a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38381.json"}}],"schema_version":"1.7.5"}