CVE-2026-31552

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

7.5 high EPSS 0.52%

Published 24 Apr 2026 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2026-31552

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31552 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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 skb_push"), wl1271_tx_allocate() and with it wl1271_prepare_tx_frame() returns -EAGAIN if pskb_expand_head() fails. However, in wlcore_tx_work_locked(), a return value of -EAGAIN from wl1271_prepare_tx_frame() 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 wlcore_tx_work_locked() holds wl->mutex, and the retry happens immediately with GFP_ATOMIC, 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.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.52%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 45.7% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 88295a55fefe5414e64293638b6f7549646e58ed, before 980f793645540ca7a6318165cc12f49d5febeb99
affected from cd89a4656c03f8db0c57350aaec69cd3cfaa3522, before 12f9eef39e49716c763714bfda835a733d5f6dea
affected from 745a0810dbc96a0471e5f5e627ba1e978c3116d4, before ceb46b40b021d21911ff8608ce4ed33c1264ad2f
affected from b167312390fdd461c81ead516f2b0b44e83a9edb, before a6dc74209462c4fe5a88718d2f3a5286886081c8
affected from 71de0b6e04bbee5575caf9a1e4d424e7dcc50018, before cfa64e2b3717be1da7c4c1aff7268a009e8c1610
affected from 689a7980e4788e13e766763d53569fb78dea2513, before 46c670ff1ff466e5eccb3940f726586473dc053c
affected from e75665dd096819b1184087ba5718bd93beafff51, before f2c06d718a7b85cbc59ceaa2ff3f46b178ac709c
affected from e75665dd096819b1184087ba5718bd93beafff51, before deb353d9bb009638b7762cae2d0b6e8fdbb41a69
affected from 5.10.250, before 5.10.253
affected from 5.15.200, before 5.15.203
affected from 6.1.163, before 6.1.167
affected from 6.6.124, before 6.6.130
affected from 6.12.70, before 6.12.78
affected from 6.18.10, before 6.18.20
Other versions: unaffected
Linux
affected 6.19
unaffected before 6.19
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.167 up to and including 6.1.*
unaffected from 6.6.130 up to and including 6.6.*
unaffected from 6.12.78 up to and including 6.12.*
unaffected from 6.18.20 up to and including 6.18.*
unaffected from 6.19.10 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31552 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31552

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-31552
trivy image --scanners vuln IMAGE | grep CVE-2026-31552

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-31552 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.