CVE-2025-71079

net: nfc: fix deadlock between nfc_unregister_device and rfkill_fop_write

CVE-2025-71079 is fixed in 18 products on 1 platform, first by DEBIAN-CVE-2025-71079, released January 13, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.5
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0011
1st percentile

In the Linux kernel, the following vulnerability has been resolved: net: nfc: fix deadlock between nfc_unregister_device and rfkill_fop_write A deadlock can occur between nfc_unregister_device() and rfkill_fop_write() due to lock ordering inversion between device_lock and rfkill_global_mutex. The problematic lock order is: Thread A (rfkill_fop_write): rfkill_fop_write() mutex_lock(&rfkill_global_mutex) rfkill_set_block() nfc_rfkill_set_block() nfc_dev_down() device_lock(&dev->dev) <- waits for device_lock Thread B (nfc_unregister_device): nfc_unregister_device() device_lock(&dev->dev) rfkill_unregister() mutex_lock(&rfkill_global_mutex) <- waits for rfkill_global_mutex This creates a classic ABBA deadlock scenario. Fix this by moving rfkill_unregister() and rfkill_destroy() outside the device_lock critical section. Store the rfkill pointer in a local variable before releasing the lock, then call rfkill_unregister() after releasing device_lock. This change is safe because rfkill_fop_write() holds rfkill_global_mutex while calling the rfkill callbacks, and rfkill_unregister() also acquires rfkill_global_mutex before cleanup. Therefore, rfkill_unregister() will wait for any ongoing callback to complete before proceeding, and device_del() is only called after rfkill_unregister() returns, preventing any use-after-free. The similar lock ordering in nfc_register_device() (device_lock -> rfkill_global_mutex via rfkill_register) is safe because during registration the device is not yet in rfkill_list, so no concurrent rfkill operations can occur on this device.

Where it's fixed

ProductFixed inFixReleased
Linux
dtb-aarch64 · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-64kb · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-64kb · sles 15.7 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1 Feb 11, 2026
kernel-64kb · sles 16.0 6.12.0-160000.26.1 SUSE-SU-2026:20599-1 Feb 27, 2026
kernel-azure · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-azure · sles 15.7 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1 Feb 12, 2026
kernel-azure · sles 16.0 6.12.0-160000.26.1 SUSE-SU-2026:20599-1 Feb 27, 2026
kernel-default · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-default · sles 15.7 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1 Feb 11, 2026
kernel-default · sles 16.0 6.12.0-160000.26.1 SUSE-SU-2026:20599-1 Feb 27, 2026
kernel-default-base · opensuse-leap 16.0 6.12.0-160000.26.1.160000.2.7 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-default-base · sles 15.7 6.4.0-150700.53.31.1.150700.17.21.1 SUSE-SU-2026:0447-1 Feb 11, 2026
kernel-default-base · sles 16.0 6.12.0-160000.26.1.160000.2.7 SUSE-SU-2026:20599-1 Feb 27, 2026
kernel-docs · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-docs · sles 15.7 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1 Feb 11, 2026
kernel-docs · sles 16.0 6.12.0-160000.26.1 SUSE-SU-2026:20599-1 Feb 27, 2026
kernel-kvmsmall · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-kvmsmall · sles 16.0 6.12.0-160000.26.1 SUSE-SU-2026:20599-1 Feb 27, 2026
kernel-livepatch-SLE15-SP7-RT_Update_9 · sles 15.7 1-150700.1.3.2 SUSE-SU-2026:0587-1 Feb 20, 2026
kernel-livepatch-SLE15-SP7_Update_9 · sles 15.7 1-150700.15.3.1 SUSE-SU-2026:0447-1 Feb 11, 2026
kernel-obs-build · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-obs-build · sles 15.7 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1 Feb 11, 2026
kernel-obs-qa · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-obs-qa · sles 16.0 6.12.0-160000.26.1 SUSE-SU-2026:20599-1 Feb 27, 2026
kernel-rt · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-source · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-source · sles 15.7 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1 Feb 11, 2026
kernel-source · sles 16.0 6.12.0-160000.26.1 SUSE-SU-2026:20599-1 Feb 27, 2026
kernel-source-azure · sles 15.7 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1 Feb 12, 2026
kernel-syms · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-syms · sles 15.7 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1 Feb 11, 2026
kernel-syms · sles 16.0 6.12.0-160000.26.1 SUSE-SU-2026:20599-1 Feb 27, 2026
kernel-syms-azure · sles 15.7 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1 Feb 12, 2026
kernel-zfcpdump · opensuse-leap 16.0 6.12.0-160000.26.1 OPENSUSE-SU-2026:20287-1 Feb 27, 2026
kernel-zfcpdump · sles 15.7 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1 Feb 11, 2026
kernel-zfcpdump · sles 16.0 6.12.0-160000.26.1 SUSE-SU-2026:20599-1 Feb 27, 2026
linux · Debian 12.15 (bookworm) 6.1.162-1 DEBIAN-CVE-2025-71079 Jan 13, 2026
linux · Debian 13.5 (trixie) 6.12.69-1 DEBIAN-CVE-2025-71079 Jan 13, 2026
linux · Debian 14 6.18.5-1 DEBIAN-CVE-2025-71079 Jan 13, 2026