← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel wlcore Returns -EAGAIN Instead of -ENOMEM When Headroom Runs Short

Last refreshed2026-11-17

Status: UPDATED  |  Advisory ID: CVE-2026-31552

Key Details

CVECVE-2026-31552
CVSS Score / Version
7.5 (High) / CVSS v3.1
Updated2026-11-11
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is none; integrity impact is none; availability impact is high.
Affected products
Linux Kernel
Classified as
CWE-835 (Loop with Unreachable Exit Condition ('Infinite Loop'))
Exploitation prediction (EPSS)
0.50% probability of exploitation in the next 30 days (44% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-31552
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-31552
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.