# CVE-2023-54288: wifi: mac80211: fortify the spinlock against deadlock by interrupt

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 10, 2026-11-26)
- **Published:** 2025-12-30T12:23:27.765Z
- **Modified:** 2026-06-17T06:47:09.820Z

## Who should check

- Anyone running Linux \>= 7b8fe53d2a1da48db02ae961b29b8ee2f5515861, \< c79d794a2cd76eca47b2491c5030be9a6418c5d6; \>= 4444bc2116aecdcde87dce80373540adc8bd478b, \< 6df3eafa31b3ee4f0cba601ca857019964355034; \>= 4444bc2116aecdcde87dce80373540adc8bd478b, \< ef6e1997da63ad0ac3fe33153fec9524c9ae56c9; \>= 6.1.9, \< 6.1.30
- Anyone running Linux 6.2

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211: fortify the spinlock against deadlock by interrupt

In the function ieee80211\_tx\_dequeue() there is a particular locking
sequence:

begin:
	spin\_lock(&local-\>queue\_stop\_reason\_lock);
	q\_stopped = local-\>queue\_stop\_reasons\[q\];
	spin\_unlock(&local-\>queue\_stop\_reason\_lock);

However small the chance (increased by ftracetest), an asynchronous
interrupt can occur in between of spin\_lock() and spin\_unlock(),
and the interrupt routine will attempt to lock the same
&local-\>queue\_stop\_reason\_lock again.

This will cause a costly reset of the CPU and the wifi device or an
altogether hang in the single CPU and single core scenario.

The only remaining spin\_lock(&local-\>queue\_stop\_reason\_lock) that
did not disable interrupts was patched, which should prevent any
deadlocks on the same CPU/core and the same wifi device.

This is the probable trace of the deadlock:

kernel: ================================
kernel: WARNING: inconsistent lock state
kernel: 6.3.0-rc6-mt-20230401-00001-gf86822a1170f \#4 Tainted: G        W
kernel: --------------------------------
kernel: inconsistent {IN-SOFTIRQ-W} -\> {SOFTIRQ-ON-W} usage.
kernel: kworker/5:0/25656 \[HC0\[0\]:SC0\[0\]:HE1:SE1\] takes:
kernel: ffff9d6190779478 (&local-\>queue\_stop\_reason\_lock){+.?.}-{2:2}, at: return\_to\_handler+0x0/0x40
kernel: {IN-SOFTIRQ-W} state was registered at:
kernel:   lock\_acquire+0xc7/0x2d0
kernel:   \_raw\_spin\_lock+0x36/0x50
kernel:   ieee80211\_tx\_dequeue+0xb4/0x1330 \[mac80211\]
kernel:   iwl\_mvm\_mac\_itxq\_xmit+0xae/0x210 \[iwlmvm\]
kernel:   iwl\_mvm\_mac\_wake\_tx\_queue+0x2d/0xd0 \[iwlmvm\]
kernel:   ieee80211\_queue\_skb+0x450/0x730 \[mac80211\]
kernel:   \_\_ieee80211\_xmit\_fast.constprop.66+0x834/0xa50 \[mac80211\]
kernel:   \_\_ieee80211\_subif\_start\_xmit+0x217/0x530 \[mac80211\]
kernel:   ieee80211\_subif\_start\_xmit+0x60/0x580 \[mac80211\]
kernel:   dev\_hard\_start\_xmit+0xb5/0x260
kernel:   \_\_dev\_queue\_xmit+0xdbe/0x1200
kernel:   neigh\_resolve\_output+0x166/0x260
kernel:   ip\_finish\_output2+0x216/0xb80
kernel:   \_\_ip\_finish\_output+0x2a4/0x4d0
kernel:   ip\_finish\_output+0x2d/0xd0
kernel:   ip\_output+0x82/0x2b0
kernel:   ip\_local\_out+0xec/0x110
kernel:   igmpv3\_sendpack+0x5c/0x90
kernel:   igmp\_ifc\_timer\_expire+0x26e/0x4e0
kernel:   call\_timer\_fn+0xa5/0x230
kernel:   run\_timer\_softirq+0x27f/0x550
kernel:   \_\_do\_softirq+0xb4/0x3a4
kernel:   irq\_exit\_rcu+0x9b/0xc0
kernel:   sysvec\_apic\_timer\_interrupt+0x80/0xa0
kernel:   asm\_sysvec\_apic\_timer\_interrupt+0x1f/0x30
kernel:   \_raw\_spin\_unlock\_irqrestore+0x3f/0x70
kernel:   free\_to\_partial\_list+0x3d6/0x590
kernel:   \_\_slab\_free+0x1b7/0x310
kernel:   kmem\_cache\_free+0x52d/0x550
kernel:   putname+0x5d/0x70
kernel:   do\_sys\_openat2+0x1d7/0x310
kernel:   do\_sys\_open+0x51/0x80
kernel:   \_\_x64\_sys\_openat+0x24/0x30
kernel:   do\_syscall\_64+0x5c/0x90
kernel:   entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc
kernel: irq event stamp: 5120729
kernel: hardirqs last  enabled at (5120729): \[\<ffffffff9d149936\>\] trace\_graph\_return+0xd6/0x120
kernel: hardirqs last disabled at (5120728): \[\<ffffffff9d149950\>\] trace\_graph\_return+0xf0/0x120
kernel: softirqs last  enabled at (5069900): \[\<ffffffff9cf65b60\>\] return\_to\_handler+0x0/0x40
kernel: softirqs last disabled at (5067555): \[\<ffffffff9cf65b60\>\] return\_to\_handler+0x0/0x40
kernel:
        other info that might help us debug this:
kernel:  Possible unsafe locking scenario:
kernel:        CPU0
kernel:        ----
kernel:   lock(&local-\>queue\_stop\_reason\_lock);
kernel:   \<Interrupt\>
kernel:     lock(&local-\>queue\_stop\_reason\_lock);
kernel:
         \*\*\* DEADLOCK \*\*\*
kernel: 8 locks held by kworker/5:0/25656:
kernel:  \#0: ffff9d618009d138 ((wq\_completion)events\_freezable){+.+.}-{0:0}, at: process\_one\_work+0x1ca/0x530
kernel:  \#1: ffffb1ef4637fe68 ((work\_completion)(&local-\>restart\_work)){+.+.}-{0:0}, at: process\_one\_work+0x1ce/0x530
kernel:  \#2: ffffffff9f166548 (rtnl\_mutex){+.+.}-{3:3}, at: return\_to\_handler+0x0/0x40
kernel:  \#3: ffff9d619
---truncated---

## Affected and fixed versions

- Linux: \>= 7b8fe53d2a1da48db02ae961b29b8ee2f5515861, \< c79d794a2cd76eca47b2491c5030be9a6418c5d6; \>= 4444bc2116aecdcde87dce80373540adc8bd478b, \< 6df3eafa31b3ee4f0cba601ca857019964355034; \>= 4444bc2116aecdcde87dce80373540adc8bd478b, \< ef6e1997da63ad0ac3fe33153fec9524c9ae56c9; \>= 6.1.9, \< 6.1.30 (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- Upgrade Linux to 6.1.30 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54288. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54288.md
Affected: Linux >= 7b8fe53d2a1da48db02ae961b29b8ee2f5515861, < c79d794a2cd76eca47b2491c5030be9a6418c5d6; >= 4444bc2116aecdcde87dce80373540adc8bd478b, < 6df3eafa31b3ee4f0cba601ca857019964355034; >= 4444bc2116aecdcde87dce80373540adc8bd478b, < ef6e1997da63ad0ac3fe33153fec9524c9ae56c9; >= 6.1.9, < 6.1.30; Linux …
Fixed in: Linux 6df3eafa31b3ee4f0cba601ca857019964355034, Linux 6.1.30

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54288 being exploited?

There is no confirmed exploitation: CVE-2023-54288 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54288?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54288?

Linux \>= 7b8fe53d2a1da48db02ae961b29b8ee2f5515861, \< c79d794a2cd76eca47b2491c5030be9a6418c5d6; \>= 4444bc2116aecdcde87dce80373540adc8bd478b, \< 6df3eafa31b3ee4f0cba601ca857019964355034; \>= 4444bc2116aecdcde87dce80373540adc8bd478b, \< ef6e1997da63ad0ac3fe33153fec9524c9ae56c9; \>= 6.1.9, \< 6.1.30; Linux 6.2.

### Is there a fix for CVE-2023-54288?

Yes. Fixed in Linux 6df3eafa31b3ee4f0cba601ca857019964355034, Linux 6.1.30. Upgrade Linux to 6.1.30 or later.

### How do I check if I'm affected by CVE-2023-54288?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c79d794a2cd76eca47b2491c5030be9a6418c5d6>
- other: <https://git.kernel.org/stable/c/6df3eafa31b3ee4f0cba601ca857019964355034>
- other: <https://git.kernel.org/stable/c/ef6e1997da63ad0ac3fe33153fec9524c9ae56c9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54288>

HTML: <https://flawdb.com/CVE-2023-54288> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54288>
