How to Fix CVE-2026-31563: net: macb: Use dev_consume_skb_any() to free TX SKBs in Linux
By Sai Kiran Pandrala
Related fixes
Other vulnerabilities in the same area that are worth patching alongside this one:
- How to Fix CVE-2026-31544: firmware: arm_scmi: Fix NULL dereference on notify error path in Linux — firmware: arm_scmi: Fix NULL dereference on notify error path in Linux
- How to Fix CVE-2026-23260: regmap: maple: free entry on mas_store_gfp() failure in Linux — regmap: maple: free entry on mas_store_gfp() failure in Linux
- How to Fix CVE-2026-31682: bridge: br_nd_send: linearize skb before parsing ND options in Linux , bridge: br_nd_send: linearize skb before parsing ND options in Linux
- How to Fix CVE-2026-2708: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') , Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
- How to Fix CVE-2026-43240: Security Vulnerability in Linux , Security Vulnerability in Linux
Last verified: 2026-05-25
CVE-2026-31563 is a net: macb: use dev_consume_skb_any() to free tx skbs in Linux Linux. Fix it by upgrading to 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0.
| Severity | CVSS 7.5 - High |
|---|---|
| Actively exploited? | Not currently in the CISA KEV catalog |
| Affected | Linux aeeafeb29b1b270302a9a85a13f7d70a68a3b9e6 up to (excluding) 92e7081f0c79d9073087e54bab745bb184192c2e; Linux 5430388a81113e62a2d48b5d7dc1e76231908ebf up to (excluding) 78c8b090a3d5c1689dc989861b0163180db2b3f8; Linux 7db8aa3fc4ed0a2928246747b2514b0741a8187e up to (excluding) 984350b37372f79f71d4f0a5264c640e40daf9ce; Linux 6bc8a5098bf4a365c4086a4a4130bfab10a58260 up to (excluding) f4bc91398b579730284328322365afa77a9d568f; Linux 6bc8a5098bf4a365c4086a4a4130bfab10a58260 up to (excluding) ca4d05afb4683d685bb2c6fccae4386c478f524a; Linux 6bc8a5098bf4a365c4086a4a4130bfab10a58260 up to (excluding) 647b8a2fe474474704110db6bd07f7a139e621eb |
| Fixed in | 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0 |
| Type (CWE) | Not verified |
What is CVE-2026-31563?
CVE-2026-31563 is a net: macb: use dev_consume_skb_any() to free tx skbs flaw in Linux Linux. It carries a CVSS base score of 7.5 (high). It is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
From the source record: In the Linux kernel, the following vulnerability has been resolved:
net: macb: Use dev_consume_skb_any() to free TX SKBs
The napi_consume_skb() function is not intended to be called in an IRQ
disabled context. However, after commit 6bc8a5098bf4 ("net: macb: Fix
tx_ptr_lock locking"), the freeing of TX SKBs is performed with IRQs
disabled. To resolve the following call trace, use dev_consume_skb_any()
for freeing TX SKBs:
WARNING: kernel/softirq.c:430 at __local_bh_enable_ip+0x174/0x188, CPU#0: ksoftirqd/0/15
Modules linked in:
CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 7.0.0-rc4-next-20260319-yocto-standard-dirty #37 PREEMPT
Hardware name: ZynqMP ZCU102 Rev1.
Why it matters in practice: The blast radius depends on how the affected service is exposed. An internet-facing instance with no compensating controls is the highest-risk configuration.
Am I affected?
You are affected if your installation of Linux matches a version listed in the Affected row above.
# Debian/Ubuntu
dpkg -s linux | grep Version
# RHEL/Rocky
rpm -q linux
How to fix CVE-2026-31563
Apply the vendor patch. Target the build named in the Fixed in row above (6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0). The runnable command set below covers the most common deployment patterns for Linux.
Ubuntu / Debian
sudo apt-get update
sudo apt-get install --only-upgrade linux
dpkg -s linux | grep Version
RHEL / CentOS / Rocky
sudo dnf upgrade linux -y
rpm -q linux
After applying the patch
- Restart the service or device so the patched binary loads.
- Confirm the running version matches the Fixed in row using the verification command below.
- Rotate credentials and API keys that the affected service could access if the asset was exposed during the disclosure window.
If you can't patch immediately
Until the patch lands, narrow the attack surface with these runnable controls.
Restrict network exposure
Block public access to the affected service at the perimeter. Allow only trusted source IPs.
# Linux iptables: only allow trusted admin subnet
sudo iptables -A INPUT -p tcp --dport 443 -s 10.10.10.0/24 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 443 -j DROP
sudo iptables-save | sudo tee /etc/iptables/rules.v4
# Windows firewall: only allow trusted admin subnet on management port
New-NetFirewallRule -DisplayName "Restrict-Mgmt-Allow" -Direction Inbound -Action Allow `
-RemoteAddress 10.10.10.0/24 -Protocol TCP -LocalPort 443
New-NetFirewallRule -DisplayName "Restrict-Mgmt-Deny" -Direction Inbound -Action Block `
-Protocol TCP -LocalPort 443
Mitigations are temporary. Apply the vendor patch as soon as a maintenance window opens.
How to verify the fix worked
Confirm the patched build is the one actually running.
# Debian/Ubuntu
dpkg -s linux | grep Version
# RHEL/Rocky
rpm -q linux
Expected: a version at or above 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0.
Also worth doing: pull recent log windows for indicators of compromise listed in the vendor advisory, and re-run an authenticated vulnerability scan with up-to-date signatures.
Frequently asked questions
Is CVE-2026-31563 being exploited in the wild?
As of 2026-05-25, CVE-2026-31563 is not listed in the CISA Known Exploited Vulnerabilities catalog. Watch the catalog and patch on a normal cadence; KEV status can change as exploitation evidence emerges.
What is the CVSS score for CVE-2026-31563?
The CVSS base score is 7.5 (High).
What version fixes this?
Upgrade to 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0.
Will a WAF or IDS rule alone close this?
No. Network filters cut down opportunistic scans but they do not remove the flaw. The vendor patch is the only durable fix.
References
- Official vendor advisory: https://git.kernel.org/stable/c/92e7081f0c79d9073087e54bab745bb184192c2e
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2026-31563
- CISA KEV catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- Additional reference: https://git.kernel.org/stable/c/78c8b090a3d5c1689dc989861b0163180db2b3f8
- Additional reference: https://git.kernel.org/stable/c/984350b37372f79f71d4f0a5264c640e40daf9ce
- Additional reference: https://git.kernel.org/stable/c/f4bc91398b579730284328322365afa77a9d568f
- Additional reference: https://git.kernel.org/stable/c/ca4d05afb4683d685bb2c6fccae4386c478f524a
*Assembled from the official vendor advisory, the NVD record, and the CISA KEV listing on 2026-05-25. Always confirm against the vendor advisory before applying changes in production.*