# CVE-2026-31551: wifi: mac80211: Fix static\_branch\_dec() underflow for aql\_disable.

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **CWE:** CWE-191
- **Published:** 2026-04-24T14:33:18.230Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 787152497ac763deab16f6f4b7ce79aaeb3eb7e8; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 8bb90ff77326c34e75b573b1febdd9586fec5aba; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 256f7d4c11235d0569f78413c41dc89d2dc1557c; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 29a1a350afcd28a2150bd73b8bd83eac3480f13e; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 5ba05436f15d16ae7ab04b880e8bf8d440be892b; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< b24763d32d5b4ada766deca4b42d6766272fef0c; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< b94ae8e0d5fe1bdbbfdc3854ff6ce98f6876a828
- Anyone running Linux 5.12

## Description

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

wifi: mac80211: Fix static\_branch\_dec() underflow for aql\_disable.

syzbot reported static\_branch\_dec() underflow in aql\_enable\_write(). \[0\]

The problem is that aql\_enable\_write() does not serialise concurrent
write()s to the debugfs.

aql\_enable\_write() checks static\_key\_false(&aql\_disable.key) and
later calls static\_branch\_inc() or static\_branch\_dec(), but the
state may change between the two calls.

aql\_disable does not need to track inc/dec.

Let's use static\_branch\_enable() and static\_branch\_disable().

\[0\]:
val == 0
WARNING: kernel/jump\_label.c:311 at \_\_static\_key\_slow\_dec\_cpuslocked.part.0+0x107/0x120 kernel/jump\_label.c:311, CPU\#0: syz.1.3155/20288
Modules linked in:
CPU: 0 UID: 0 PID: 20288 Comm: syz.1.3155 Tainted: G     U       L      syzkaller \#0 PREEMPT(full)
Tainted: \[U\]=USER, \[L\]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
RIP: 0010:\_\_static\_key\_slow\_dec\_cpuslocked.part.0+0x107/0x120 kernel/jump\_label.c:311
Code: f2 c9 ff 5b 5d c3 cc cc cc cc e8 54 f2 c9 ff 48 89 df e8 ac f9 ff ff eb ad e8 45 f2 c9 ff 90 0f 0b 90 eb a2 e8 3a f2 c9 ff 90 \<0f\> 0b 90 eb 97 48 89 df e8 5c 4b 33 00 e9 36 ff ff ff 0f 1f 80 00
RSP: 0018:ffffc9000b9f7c10 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffffff9b3e5d40 RCX: ffffffff823c57b4
RDX: ffff8880285a0000 RSI: ffffffff823c5846 RDI: ffff8880285a0000
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000000a
R13: 1ffff9200173ef88 R14: 0000000000000001 R15: ffffc9000b9f7e98
FS:  00007f530dd726c0(0000) GS:ffff8881245e3000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001140 CR3: 000000007cc4a000 CR4: 00000000003526f0
Call Trace:
 \<TASK\>
 \_\_static\_key\_slow\_dec\_cpuslocked kernel/jump\_label.c:297 \[inline\]
 \_\_static\_key\_slow\_dec kernel/jump\_label.c:321 \[inline\]
 static\_key\_slow\_dec+0x7c/0xc0 kernel/jump\_label.c:336
 aql\_enable\_write+0x2b2/0x310 net/mac80211/debugfs.c:343
 short\_proxy\_write+0x133/0x1a0 fs/debugfs/file.c:383
 vfs\_write+0x2aa/0x1070 fs/read\_write.c:684
 ksys\_pwrite64 fs/read\_write.c:793 \[inline\]
 \_\_do\_sys\_pwrite64 fs/read\_write.c:801 \[inline\]
 \_\_se\_sys\_pwrite64 fs/read\_write.c:798 \[inline\]
 \_\_x64\_sys\_pwrite64+0x1eb/0x250 fs/read\_write.c:798
 do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
 do\_syscall\_64+0xc9/0xf80 arch/x86/entry/syscall\_64.c:94
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7f530cf9aeb9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f530dd72028 EFLAGS: 00000246 ORIG\_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007f530d215fa0 RCX: 00007f530cf9aeb9
RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000010
RBP: 00007f530d008c1f R08: 0000000000000000 R09: 0000000000000000
R10: 4200000000000005 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f530d216038 R14: 00007f530d215fa0 R15: 00007ffde89fb978
 \</TASK\>

## Affected and fixed versions

- Linux: \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 787152497ac763deab16f6f4b7ce79aaeb3eb7e8; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 8bb90ff77326c34e75b573b1febdd9586fec5aba; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 256f7d4c11235d0569f78413c41dc89d2dc1557c; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 29a1a350afcd28a2150bd73b8bd83eac3480f13e; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 5ba05436f15d16ae7ab04b880e8bf8d440be892b; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< b24763d32d5b4ada766deca4b42d6766272fef0c; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< b94ae8e0d5fe1bdbbfdc3854ff6ce98f6876a828 (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-31551.md
Affected: Linux >= e908435e402aff23c9b0b3c59c7cd12b08b681b0, < 787152497ac763deab16f6f4b7ce79aaeb3eb7e8; >= e908435e402aff23c9b0b3c59c7cd12b08b681b0, < 8bb90ff77326c34e75b573b1febdd9586fec5aba; >= e908435e402aff23c9b0b3c59c7cd12b08b681b0, < 256f7d4c11235d0569f78413c41dc89d2dc1557c; >= e908435e402aff23c9b0b3c…
Fixed in: Linux 787152497ac763deab16f6f4b7ce79aaeb3eb7e8, Linux 8bb90ff77326c34e75b573b1febdd9586fec5aba, Linux 256f7d4c11235d0569f78413c41dc89d2dc1557c, Linux 29a1a350afcd28a2150bd73b8bd83eac3480f13e, Linux 5ba05436f15d16ae7ab04b880e8bf8d440be892b

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-2026-31551 being exploited?

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

### How serious is CVE-2026-31551?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31551?

Linux \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 787152497ac763deab16f6f4b7ce79aaeb3eb7e8; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 8bb90ff77326c34e75b573b1febdd9586fec5aba; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 256f7d4c11235d0569f78413c41dc89d2dc1557c; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 29a1a350afcd28a2150bd73b8bd83eac3480f13e; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< 5ba05436f15d16ae7ab04b880e8bf8d440be892b; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< b24763d32d5b4ada766deca4b42d6766272fef0c; \>= e908435e402aff23c9b0b3c59c7cd12b08b681b0, \< b94ae8e0d5fe1bdbbfdc3854ff6ce98f6876a828; Linux 5.12.

### Is there a fix for CVE-2026-31551?

Yes. Fixed in Linux 787152497ac763deab16f6f4b7ce79aaeb3eb7e8, Linux 8bb90ff77326c34e75b573b1febdd9586fec5aba, Linux 256f7d4c11235d0569f78413c41dc89d2dc1557c, Linux 29a1a350afcd28a2150bd73b8bd83eac3480f13e, Linux 5ba05436f15d16ae7ab04b880e8bf8d440be892b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-31551?

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

- patch: <https://git.kernel.org/stable/c/787152497ac763deab16f6f4b7ce79aaeb3eb7e8>
- patch: <https://git.kernel.org/stable/c/8bb90ff77326c34e75b573b1febdd9586fec5aba>
- patch: <https://git.kernel.org/stable/c/256f7d4c11235d0569f78413c41dc89d2dc1557c>
- patch: <https://git.kernel.org/stable/c/29a1a350afcd28a2150bd73b8bd83eac3480f13e>
- patch: <https://git.kernel.org/stable/c/5ba05436f15d16ae7ab04b880e8bf8d440be892b>
- patch: <https://git.kernel.org/stable/c/b24763d32d5b4ada766deca4b42d6766272fef0c>
- patch: <https://git.kernel.org/stable/c/b94ae8e0d5fe1bdbbfdc3854ff6ce98f6876a828>

## 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-2026-31551>

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