{"id":"CVE-2026-90221","summary":"nfc: nci: fix use of uninitialized memory in CORE_INIT_RSP parsing","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: nci: fix use of uninitialized memory in CORE_INIT_RSP parsing\n\nnci_core_init_rsp_packet_v1() and nci_core_init_rsp_packet_v2() parse\nthe CORE_INIT_RSP packet without validating that the skb contains\nenough data. A malformed response (e.g. injected via virtual_ncidev)\ncan declare a large num_supported_rf_interfaces while providing\ninsufficient data, causing reads of uninitialized slab memory. This\nis later used in nci_init_complete_req(), triggering a KMSAN\nuninit-value warning.\n\nAdd skb length checks before accessing packet fields:\n- Validate the skb has at least 1 byte for the status field.\n- Validate the skb can hold the fixed-size header before parsing.\n- In v2, bounds-check each variable-length rf_interface entry and its\n  extension parameters within the parsing loop.\n- In v1, verify the skb is large enough for both the variable-length\n  rf_interfaces array and the trailing rsp_2 structure.","modified":"2026-09-19T03:47:25.465548972Z","published":"2026-09-17T16:07:32.070Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90221.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2f434478771a4ebdd535033561c0590bcde39753"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4f0483bbcdaccc9d4aee30df7351863334cecfa7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5487f04c1ccbfa15aa6e531eb1ec9c9ec9c7bf31"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d44b897bff84edcd4814899314d661ad4956a8e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/baed3fdf6ed2195c56f25ae18a086b938dcd3983"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bbe68e8249e2c76d65adfd9224fa95f1ca0fbe4e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d56575a2595ee1f597f39e8a1cfb67ed3501678d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90221.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90221"},{"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":"bcd684aace34fedbd473fbd9b21ed06b0c2d2212"},{"fixed":"baed3fdf6ed2195c56f25ae18a086b938dcd3983"},{"fixed":"2f434478771a4ebdd535033561c0590bcde39753"},{"fixed":"5487f04c1ccbfa15aa6e531eb1ec9c9ec9c7bf31"},{"fixed":"bbe68e8249e2c76d65adfd9224fa95f1ca0fbe4e"},{"fixed":"4f0483bbcdaccc9d4aee30df7351863334cecfa7"},{"fixed":"7d44b897bff84edcd4814899314d661ad4956a8e"},{"fixed":"d56575a2595ee1f597f39e8a1cfb67ed3501678d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90221.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90221.json"}}],"schema_version":"1.9.0"}