wifi: cw1200: fix TX padding OOB read leaking heap data to device
In the Linux kernel, the following vulnerability has been resolved: wifi: cw1200: fix TX padding OOB read leaking heap data to device The TX path rounds the transfer size up to the bus alignment (align_size(), up to 511 bytes for SDIO, 1 byte for SPI) but sends the padded length straight from the frame buffer, which has no room reserved for the padding. cw1200_data_write() therefore reads past the end of the frame and the bus transfer carries those bytes to the device. A bogus device can collect up to 511 bytes of kernel heap data per TX frame. The RX path does not have this problem: it allocates the skb with the aligned length (alloc_len) before reading. Compute the exact padding with the bus align_size() callback, make sure queued TX frames have tailroom for it, and zero the padding bytes before the transfer so nothing past the frame is exposed. This is not expected to change driver behavior on most cases: frame contents and transfer sizes are unchanged, only the content of the padding bytes (previously undefined stale memory, now zero), which the device never reads since the WSM header carries the real frame length. The skb expansion can only fail under memory exhaustion, in which case the frame is dropped like on the existing error paths of cw1200_tx(). Discovered by Atuin - Automated Vulnerability Discovery Engine.
CVE-2026-98711
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-98711
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": "a910e4a94f6923c8c988565525f017f687bf7205",
"lessThan": "b66539a4dab128fafaad736b53ce15c19d14d561",
"versionType": "git"
},
{
"status": "affected",
"version": "a910e4a94f6923c8c988565525f017f687bf7205",
"lessThan": "71f693a0ecccf36532dd2790f7969da6c71d5d23",
"versionType": "git"
},
{
"status": "affected",
"version": "a910e4a94f6923c8c988565525f017f687bf7205",
"lessThan": "b0e97bd40e0c2cb1a3530ef8f6250aacf3224515",
"versionType": "git"
},
{
"status": "affected",
"version": "a910e4a94f6923c8c988565525f017f687bf7205",
"lessThan": "678c8f4ba285649d5418a858d5d4f30c728a54ad",
"versionType": "git"
},
{
"status": "affected",
"version": "a910e4a94f6923c8c988565525f017f687bf7205",
"lessThan": "7c1611780823b76219cb1478db53dfd890c4a9a2",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/wireless/st/cw1200/bh.c",
"drivers/net/wireless/st/cw1200/txrx.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.11"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.11",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/wireless/st/cw1200/bh.c",
"drivers/net/wireless/st/cw1200/txrx.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98711
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48924 · Revision 1
- Added to Heist Feed
- Publisher date