net: wwan: t7xx: validate the netif index in t7xx_ccmni_recv_skb()
In the Linux kernel, the following vulnerability has been resolved: net: wwan: t7xx: validate the netif index in t7xx_ccmni_recv_skb() The netif index carried in the DPMAIF PIT header is five bits wide, but ccmni_inst[] only has room for NIC_DEV_MAX (21) entries. t7xx_ccmni_recv_skb() indexes the array without a bounds check, so indexes 21 to 31 read past it. The out-of-bounds value lands in the callback table that follows the array, which is never NULL, so the existing !ccmni check does not catch it and the driver dereferences whatever sits there as a struct t7xx_ccmni. Drop the skb when the index is out of range. Verified in a QEMU guest with a fault injector setting the netif index to 25: the unpatched driver reads a value past ccmni_inst[], which lands in the callback table, and dereferences it far enough to queue the skb. With this check the packet is dropped. Well-formed traffic on index 0 is unaffected. Changes in v2: none.
CVE-2026-98238
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98238
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "05d19bf500f8281f574713479b04679fa226d0a3",
"lessThan": "7c2fe308bda5a7e6222d7f0c3c311991372baab4",
"versionType": "git"
},
{
"status": "affected",
"version": "05d19bf500f8281f574713479b04679fa226d0a3",
"lessThan": "fba45070e25abdae08bcaebfadeef050dc39e208",
"versionType": "git"
},
{
"status": "affected",
"version": "05d19bf500f8281f574713479b04679fa226d0a3",
"lessThan": "e1b0609b1a40da03e385be290853a604eb4c3fb9",
"versionType": "git"
},
{
"status": "affected",
"version": "05d19bf500f8281f574713479b04679fa226d0a3",
"lessThan": "9dbf13de4edff6fbc1f7ad9c4040326b6ed599ad",
"versionType": "git"
},
{
"status": "affected",
"version": "05d19bf500f8281f574713479b04679fa226d0a3",
"lessThan": "d28aa2de9654e8024922775520a2665e00c04ad5",
"versionType": "git"
},
{
"status": "affected",
"version": "05d19bf500f8281f574713479b04679fa226d0a3",
"lessThan": "c7ead9704249d57d4693a04697e3bbd285138fa9",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/wwan/t7xx/t7xx_netdev.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.19"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.19",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.189",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.54",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.8",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/wwan/t7xx/t7xx_netdev.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98238
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38318 · Revision 1
- Added to Heist Feed
- Publisher date