Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98239 Overview
CVE-2026-98239 is a use-after-free vulnerability in the Linux kernel's lan743x network driver. The flaw resides in the receive (RX) checksum handling path within lan743x_rx_process_buffer(). When a packet spans multiple receive buffers, the driver writes ip_summed through a stale pointer that references freed fragment skb metadata. The condition is reachable after a live Maximum Transmission Unit (MTU) increase, since existing ring entries retain their old buffer size until replenished. The upstream fix sets ip_summed on the surviving head skb rather than the freed fragment.
Critical Impact
Remote attackers on the local network can trigger a kernel use-after-free write by sending multi-buffer packets to systems using Microchip LAN743x network interfaces, potentially leading to memory corruption or kernel crash.
Affected Products
- Linux kernel builds including the lan743x Ethernet driver
- Systems using Microchip LAN743x PCIe Gigabit Ethernet controllers
- Multiple stable kernel branches (see upstream commits in references)
Discovery Timeline
- 2026-10-06 - CVE-2026-98239 published to the National Vulnerability Database (NVD)
- 2026-10-07 - Last updated in NVD database
Technical Details for CVE-2026-98239
Vulnerability Analysis
The lan743x_rx_process_buffer() function assembles multi-buffer received packets by appending each non-first buffer to the head sk_buff's frag_list. On the final descriptor, lan743x_rx_trim_skb() linearizes the head skb and frees the metadata of the fragment skbs that were previously attached.
After linearization, the local skb pointer in the caller still references the final fragment, which has already been freed. The checksum-success path then dereferences this pointer to assign skb->ip_summed = CHECKSUM_UNNECESSARY, producing a one-byte write into freed slab memory.
A KUnit test exercising lan743x_rx_process_buffer() with a two-buffer packet reproduced the issue under Kernel Address Sanitizer (KASAN), reporting a one-byte use-after-free write prior to the patch. The fix redirects the ip_summed assignment to the surviving head skb.
Root Cause
The root cause is a stale pointer in the RX processing loop. The driver linearizes and frees fragment skb metadata but continues to use the local pointer that references the freed fragment when updating checksum state. This is a classic use-after-free pattern caused by lifetime management error between the linearize helper and the caller.
Attack Vector
Triggering the condition requires the host to receive a packet that spans more than one RX buffer. This typically occurs after a live MTU increase, because existing ring entries keep their original buffer size until replenished. An adjacent attacker on the same network segment can send oversized frames to a vulnerable host whose MTU was recently raised. The high attack complexity reflects the need for a specific driver state and timing to reach the vulnerable code path.
No verified public exploit code is available. The vulnerability was reproduced only within a KUnit test harness, not on physical LAN743x hardware.
Detection Methods for CVE-2026-98239
Indicators of Compromise
- KASAN splats referencing lan743x_rx_process_buffer with a one-byte use-after-free write
- Kernel oops or panic entries citing the lan743x module following an MTU change
- Unexpected network interface resets or netif_rx warnings on LAN743x-equipped hosts
Detection Strategies
- Enable KASAN in test and staging kernels to surface use-after-free writes in the RX path
- Correlate MTU change events (ip link set ... mtu) with subsequent kernel log anomalies on affected hosts
- Audit running kernel versions against the fixed commits listed in the kernel.org references
Monitoring Recommendations
- Centralize kernel ring buffer (dmesg) and journalctl -k output for hosts using LAN743x NICs
- Alert on kernel module faults or BUG reports originating from the lan743x driver
- Monitor MTU configuration changes on production network interfaces to flag conditions that could expose the bug
How to Mitigate CVE-2026-98239
Immediate Actions Required
- Inventory systems using Microchip LAN743x Ethernet controllers and identify running kernel versions
- Apply vendor or distribution kernel updates that include the upstream fix setting ip_summed on the head skb
- Avoid dynamic MTU changes on production hosts with LAN743x NICs until a patched kernel is deployed
Patch Information
The fix is available in upstream Linux stable branches. Reference commits: Kernel Git Commit 0e52886, Kernel Git Commit 161a403, Kernel Git Commit 5c216bf, Kernel Git Commit 6fe5c3a, Kernel Git Commit a580248, and Kernel Git Commit a9ce405. Rebuild and reboot after installing an updated kernel package from your distribution.
Workarounds
- Keep the interface MTU static at boot and avoid runtime MTU increases until the patched kernel is installed
- Where feasible, substitute a non-LAN743x NIC for hosts that require frequent MTU changes
- Restrict exposure of affected hosts to untrusted layer-2 segments to reduce the opportunity for crafted multi-buffer traffic
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

