CVE-2026-31509
Circular Locking Dependency in Linux Kernel NFC Component Fixed
Publication date: 2026-04-22
Last updated on: 2026-04-28
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 3.2 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | From 5.11 (inc) to 5.15.203 (exc) |
| linux | linux_kernel | From 3.2.1 (inc) to 5.10.253 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.1.168 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.18.21 (exc) |
| linux | linux_kernel | From 6.19 (inc) to 6.19.11 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.6.131 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.80 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-667 | The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's NFC subsystem, specifically in the nci_close_device function. The issue is a circular locking dependency caused by nci_close_device flushing two work queues (rx_wq and tx_wq) while holding a mutex lock (req_lock). Meanwhile, a function running on the rx_wq (nci_rx_work) can also attempt to acquire the same req_lock, creating a circular dependency that can lead to deadlocks.
The fix involves moving the flush of the rx_wq work queue until after the req_lock has been released, preventing the circular locking dependency and potential deadlock.
How can this vulnerability impact me? :
This vulnerability can cause deadlocks in the Linux kernel's NFC subsystem, which may lead to system instability or crashes when using NFC features. Specifically, the circular locking dependency can cause the kernel to hang or become unresponsive during NFC device closure operations.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is fixed by moving the flush of rx_wq after the req_lock has been released in the Linux kernel NFC nci_close_device function.
To mitigate this vulnerability, update your Linux kernel to a version that includes this fix.