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-98238 Overview
CVE-2026-98238 is an out-of-bounds read vulnerability in the Linux kernel t7xx WWAN driver. The flaw resides in the t7xx_ccmni_recv_skb() function, which processes received socket buffers from MediaTek T7XX cellular modems. The DPMAIF Packet Information Table (PIT) header carries a five-bit netif index, allowing values from 0 to 31. However, the ccmni_inst[] array only holds NIC_DEV_MAX (21) entries. Indexes 21 through 31 read past the array into the adjacent callback table, which is never NULL. The driver then dereferences that memory as a struct t7xx_ccmni, leading to memory corruption or kernel instability when processing malformed hardware input.
Critical Impact
Malformed or injected PIT headers from the modem can trigger out-of-bounds reads in kernel memory, potentially leading to kernel crashes or memory disclosure on systems using the t7xx WWAN driver.
Affected Products
- Linux kernel versions containing the drivers/net/wwan/t7xx subsystem prior to the fixing commits
- Systems using MediaTek T7XX series 5G WWAN modems
- Distributions shipping the vulnerable t7xx_ccmni_recv_skb() implementation
Discovery Timeline
- 2026-10-06 - CVE-2026-98238 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98238
Vulnerability Analysis
The vulnerability affects the t7xx_ccmni_recv_skb() function in the Linux kernel WWAN subsystem. This function handles incoming network packets from MediaTek T7XX modems using the DPMAIF (Data Plane Modem AP Interface) protocol. Each received packet includes a PIT header containing a netif index that selects a logical network interface from the ccmni_inst[] array.
The hardware encodes the netif index as a five-bit field, permitting values 0 through 31. The driver, however, allocates ccmni_inst[] with only NIC_DEV_MAX (21) entries. When the hardware supplies an index between 21 and 31, the function reads memory past the end of the array without bounds checking.
Verification in a QEMU guest with a fault injector setting the netif index to 25 confirmed the issue. The unpatched driver reads a value past ccmni_inst[], lands in the adjacent callback table, and dereferences the resulting pointer as a struct t7xx_ccmni far enough to queue the socket buffer.
Root Cause
The root cause is missing input validation on a field derived from untrusted hardware input. The existing !ccmni null check fails because the out-of-bounds memory in the callback table always contains non-null values, allowing execution to proceed with an invalid structure pointer.
Attack Vector
Exploitation requires the ability to influence the netif index value in the DPMAIF PIT header. In practice, this requires a compromised or malicious modem, a fault-injection scenario, or malformed cellular traffic that reaches the driver through the modem firmware. Well-formed traffic on valid indexes such as 0 is unaffected.
The vulnerability is described in prose only. See the upstream commits for the exact code change:
Detection Methods for CVE-2026-98238
Indicators of Compromise
- Unexpected kernel oops or panic messages referencing t7xx_ccmni_recv_skb in dmesg or /var/log/kern.log
- KASAN reports flagging out-of-bounds reads in the drivers/net/wwan/t7xx/ module
- Unusual socket buffer queuing patterns on ccmni network interfaces
Detection Strategies
- Enable Kernel Address Sanitizer (KASAN) on test systems to catch out-of-bounds access during fuzzing of the WWAN driver
- Audit loaded kernel modules on target systems with lsmod | grep t7xx and verify kernel version against patched releases
- Review distribution security trackers to confirm whether running kernel builds include the fix commits
Monitoring Recommendations
- Monitor kernel ring buffer and journald for stack traces originating in the t7xx module
- Collect and centralize kernel crash dumps for systems with MediaTek T7XX hardware for post-incident forensics
- Track network interface reset events on ccmni devices that may indicate driver instability
How to Mitigate CVE-2026-98238
Immediate Actions Required
- Identify systems with MediaTek T7XX WWAN hardware and the t7xx driver loaded
- Apply the stable kernel updates containing the upstream fix commits as soon as distribution packages become available
- On systems that do not require cellular connectivity, unload the t7xx module to remove the attack surface
Patch Information
The fix drops the socket buffer when the netif index is out of range. The change is distributed across multiple stable kernel branches. Review the following commits and apply the corresponding stable release for your kernel series:
- Kernel Git Commit 7c2fe30
- Kernel Git Commit 9dbf13d
- Kernel Git Commit c7ead97
- Kernel Git Commit d28aa2d
- Kernel Git Commit e1b0609
- Kernel Git Commit fba4507
Workarounds
- Blacklist the t7xx kernel module on systems that do not use MediaTek T7XX modems by adding blacklist t7xx to /etc/modprobe.d/blacklist-t7xx.conf
- Disable or physically remove the cellular modem on systems where WWAN connectivity is not required
- Restrict physical and firmware-level access to WWAN hardware to prevent injection of malformed PIT headers
# Configuration example: blacklist the t7xx driver until patched kernel is deployed
echo 'blacklist t7xx' | sudo tee /etc/modprobe.d/blacklist-t7xx.conf
sudo rmmod t7xx 2>/dev/null
sudo update-initramfs -u
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

