CVE-2026-80794

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
19/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> nfc: nci: fix uninit-value in the RF discover/activated NTF handlers<br /> <br /> nci_rf_discover_ntf_packet() and nci_rf_intf_activated_ntf_packet() each<br /> parse a notification into an on-stack struct (nci_rf_discover_ntf /<br /> nci_rf_intf_activated_ntf) that is not initialised. The RF<br /> technology-specific parameters are only extracted when<br /> rf_tech_specific_params_len is non-zero, so a notification that reports a<br /> zero length leaves the rf_tech_specific_params union uninitialised - and<br /> both handlers then pass it to nci_add_new_protocol(), which reads it:<br /> <br /> - discover: nci_add_new_target() -&gt; nci_add_new_protocol();<br /> - activated: nci_target_auto_activated() -&gt; nci_add_new_protocol().<br /> <br /> nci_add_new_protocol() uses nfca_poll-&gt;nfcid1_len as both a branch<br /> condition and a memcpy() length and copies nfcid1/sens_res/sel_res into<br /> ndev-&gt;targets, which is later exposed to user space via NFC_CMD_GET_TARGET.<br /> <br /> BUG: KMSAN: uninit-value in nci_add_new_protocol+0x624/0x6c0<br /> nci_add_new_protocol+0x624/0x6c0<br /> nci_ntf_packet+0x25b2/0x3c30<br /> nci_rx_work+0x318/0x5d0<br /> process_scheduled_works+0x84b/0x17a0<br /> worker_thread+0xc10/0x11b0<br /> kthread+0x376/0x500<br /> Local variable ntf.i created at:<br /> nci_ntf_packet+0xbc2/0x3c30<br /> <br /> Zero-initialise both on-stack notifications so the union reads back as<br /> zero when no technology-specific parameters are present.

Impact