{"id":"CVE-2026-98238","summary":"net: wwan: t7xx: validate the netif index in t7xx_ccmni_recv_skb()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: wwan: t7xx: validate the netif index in t7xx_ccmni_recv_skb()\n\nThe netif index carried in the DPMAIF PIT header is five bits wide,\nbut ccmni_inst[] only has room for NIC_DEV_MAX (21) entries.\nt7xx_ccmni_recv_skb() indexes the array without a bounds check, so\nindexes 21 to 31 read past it.  The out-of-bounds value lands in the\ncallback table that follows the array, which is never NULL, so the\nexisting !ccmni check does not catch it and the driver dereferences\nwhatever sits there as a struct t7xx_ccmni.\n\nDrop the skb when the index is out of range.\n\n\nVerified in a QEMU guest with a fault injector setting the netif\nindex to 25: the unpatched driver reads a value past ccmni_inst[],\nwhich lands in the callback table, and dereferences it far enough to\nqueue the skb.  With this check the packet is dropped.  Well-formed\ntraffic on index 0 is unaffected.\n\nChanges in v2: none.","modified":"2026-10-08T02:52:54.401629707Z","published":"2026-10-06T08:45:09.953Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98238.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7c2fe308bda5a7e6222d7f0c3c311991372baab4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9dbf13de4edff6fbc1f7ad9c4040326b6ed599ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7ead9704249d57d4693a04697e3bbd285138fa9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d28aa2de9654e8024922775520a2665e00c04ad5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1b0609b1a40da03e385be290853a604eb4c3fb9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fba45070e25abdae08bcaebfadeef050dc39e208"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98238.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98238"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"05d19bf500f8281f574713479b04679fa226d0a3"},{"fixed":"7c2fe308bda5a7e6222d7f0c3c311991372baab4"},{"fixed":"fba45070e25abdae08bcaebfadeef050dc39e208"},{"fixed":"e1b0609b1a40da03e385be290853a604eb4c3fb9"},{"fixed":"9dbf13de4edff6fbc1f7ad9c4040326b6ed599ad"},{"fixed":"d28aa2de9654e8024922775520a2665e00c04ad5"},{"fixed":"c7ead9704249d57d4693a04697e3bbd285138fa9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98238.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.19.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98238.json"}}],"schema_version":"1.9.0"}