Linux kernel NFC deadlock between unregister and rfkill write
CVE-2025-71079Medium
A deadlock can occur in the Linux kernel when nfc_unregister_device() and rfkill_fop_write() execute concurrently due to lock ordering inversion between device_lock and rfkill_global_mutex. An attacker with access to rfkill device files could trigger rfkill_fop_write() whilst the NFC subsystem is unregistering a device, causing the kernel to hang. The fix moves rfkill_unregister() and rfkill_destroy() outside the device_lock critical section to prevent the lock ordering inversion.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 4.4.293, before 4.5
- linux linux kernel: from 4.9.291, before 4.10
- linux linux kernel: from 4.14.256, before 4.15
- linux linux kernel: from 4.19.218, before 4.20
- linux linux kernel: from 5.4.162, before 5.5
- linux linux kernel: from 5.10.82, before 5.10.248
- linux linux kernel: from 5.15.5, before 5.15.198
- linux linux kernel: from 5.16.1, before 6.1.160
- linux linux kernel: from 6.2, before 6.6.120
- linux linux kernel: from 6.7, before 6.12.64
- linux linux kernel: from 6.13, before 6.18.4
- linux linux kernel: 5.16
- linux linux kernel: 6.19
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)