CVE-2026-45940·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: stmmac: fix oops when split header is enabled For GMAC4, when split header is enabled, in some rare cases, the hardware does not fill buf2 of the first descriptor with payload. Thus we cannot assume buf2 is always fully filled if it is not the last descriptor. Otherwise, the length of buf2 of the second descriptor will be calculated wrong and cause an oops: Unable to handle kernel paging request at virtual address ffff00019246bfc0 ... x2 : 0000000000000040 x1 : ffff00019246bfc0 x0 : ffff00009246c000 Call trace: dcache_inval_poc+0x28/0x58 (P) dma_direct_sync_single_for_cpu+0x38/0x6c __dma_sync_single_for_cpu+0x34/0x6c stmmac_napi_poll_rx+0x8f0/0xb60 __napi_poll.constprop.0+0x30/0x144 net_rx_action+0x160/0x274 handle_softirqs+0x1b8/0x1fc ... To fix this, the PL bit-field in RDES3 register is used for all descriptors, whether it is the last descriptor or not.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.18% — higher than 8% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.4
Fixed in: 6.19.4
How to fix this CVE
Update your Linux kernel to version 6.19.4 or later to address a memory handling issue in the stmmac network driver that occurs when split header mode is enabled on GMAC4 interfaces. This vulnerability can cause kernel panics during packet reception in rare conditions. Apply the patch immediately to systems running kernel versions 6.19 through 6.19.3.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check the installed kernel version with: uname -r
- Verify if stmmac driver is in use by running: lspci | grep -i ethernet && lsmod | grep stmmac
- Check system logs for kernel oops related to dcache_inval_poc or stmmac_napi_poll_rx: sudo journalctl -xb | grep -i 'stmmac\|dcache_inval\|kernel paging request'
- Confirm the fix is applied by comparing kernel version with 6.19.4 or later: uname -r | awk -F'.' '{print ($1>6 || ($1==6 && $2>19) || ($1==6 && $2==19 && $3>=4)) ? "Patched" : "Vulnerable"}'
FAQ
What is CVE-2026-45940?
CVE-2026-45940 is a kernel vulnerability in the stmmac network driver affecting GMAC4 interfaces when split header mode is enabled. Under rare conditions, the hardware fails to properly populate descriptor buffers, causing the driver to miscalculate packet lengths and trigger a kernel panic during network packet reception.
Is CVE-2026-45940 being actively exploited?
No. This vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. It is primarily a stability issue rather than a security vulnerability.
What versions of Kernel are affected by CVE-2026-45940?
Linux kernel versions 6.19 through 6.19.3 are vulnerable. The fix is included in kernel 6.19.4 and all subsequent versions.
How do I check if my server is vulnerable to CVE-2026-45940?
Run 'uname -r' to check your kernel version. If it shows 6.19.0, 6.19.1, 6.19.2, or 6.19.3, your system is vulnerable. Also verify the stmmac driver is loaded with 'lsmod | grep stmmac' and split header is enabled in your network interface configuration.
Does Defensia detect CVE-2026-45940?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-45940 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/107e169f963920b11fa3c1bb384c077fe7330696
- https://git.kernel.org/stable/c/36f81cb7d82e9614a7058da6abdf2e3a03993df1
- https://git.kernel.org/stable/c/92b45c99311ac4f3857cccee47059c4fb067fd4d
- https://git.kernel.org/stable/c/a7fe1d75e087862bc4087f3fcdfd5e291b9d9caa
- https://git.kernel.org/stable/c/b1f23df09e7dbf4c86b6908dff7efb8cb2b7d609
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-45940. Free for 1 server.
Get started free