CVE-2026-31552

Source
https://cve.org/CVERecord?id=CVE-2026-31552
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31552.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-31552
Downstream
Published
2026-04-24T14:33:19.065Z
Modified
2026-07-15T01:48:54.936088151Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
wifi: wlcore: Return -ENOMEM instead of -EAGAIN if there is not enough headroom
Details

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

wifi: wlcore: Return -ENOMEM instead of -EAGAIN if there is not enough headroom

Since upstream commit e75665dd0968 ("wifi: wlcore: ensure skb headroom before skbpush"), wl1271txallocate() and with it wl1271preparetxframe() returns -EAGAIN if pskbexpandhead() fails. However, in wlcoretxworklocked(), a return value of -EAGAIN from wl1271preparetxframe() is interpreted as the aggregation buffer being full. This causes the code to flush the buffer, put the skb back at the head of the queue, and immediately retry the same skb in a tight while loop.

Because wlcoretxworklocked() holds wl->mutex, and the retry happens immediately with GFPATOMIC, this will result in an infinite loop and a CPU soft lockup. Return -ENOMEM instead so the packet is dropped and the loop terminates.

The problem was found by an experimental code review agent based on gemini-3.1-pro while reviewing backports into v6.18.y.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31552.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
88295a55fefe5414e64293638b6f7549646e58ed
Fixed
980f793645540ca7a6318165cc12f49d5febeb99
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cd89a4656c03f8db0c57350aaec69cd3cfaa3522
Fixed
12f9eef39e49716c763714bfda835a733d5f6dea
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
745a0810dbc96a0471e5f5e627ba1e978c3116d4
Fixed
ceb46b40b021d21911ff8608ce4ed33c1264ad2f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b167312390fdd461c81ead516f2b0b44e83a9edb
Fixed
a6dc74209462c4fe5a88718d2f3a5286886081c8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
71de0b6e04bbee5575caf9a1e4d424e7dcc50018
Fixed
cfa64e2b3717be1da7c4c1aff7268a009e8c1610
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
689a7980e4788e13e766763d53569fb78dea2513
Fixed
46c670ff1ff466e5eccb3940f726586473dc053c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e75665dd096819b1184087ba5718bd93beafff51
Fixed
f2c06d718a7b85cbc59ceaa2ff3f46b178ac709c
Fixed
deb353d9bb009638b7762cae2d0b6e8fdbb41a69
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5.10.250
Fixed
5.10.253
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5.15.200
Fixed
5.15.203
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.1.163
Fixed
6.1.167
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.6.124
Fixed
6.6.130
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.12.70
Fixed
6.12.78
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.18.10
Fixed
6.18.20

Affected versions

v5.*
v5.10.250
v5.10.251
v5.10.252
v5.15.200
v5.15.201
v5.15.202
v6.*
v6.1.163
v6.1.164
v6.1.165
v6.1.166
v6.12.70
v6.12.71
v6.12.72
v6.12.73
v6.12.74
v6.12.75
v6.12.76
v6.12.77
v6.18.10
v6.18.11
v6.18.12
v6.18.13
v6.18.14
v6.18.15
v6.18.16
v6.18.17
v6.18.18
v6.18.19
v6.6.124
v6.6.125
v6.6.126
v6.6.127
v6.6.128
v6.6.129

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31552.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.253
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.203
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.167
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.130
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.78
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.20
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31552.json"