staging: rtl8723bs: fix OOB read in update_beacon_info() IE loop
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in update_beacon_info() IE loop The IE parsing loop in update_beacon_info() advances by (pIE->length + 2) each iteration but only guards on i < len. When a malicious AP sends a Beacon whose last IE has only one byte remaining in the frame (the element_id byte lands at len-1), the loop reads pIE->length from one byte past the allocated receive buffer. Additionally, even when the header bytes are in bounds, pIE->length itself can extend the data window beyond len, passing a truncated IE to the handler functions. Add two guards at the top of the loop body: 1. Break if fewer than sizeof(*pIE) bytes remain (can't read header). 2. Break if the IE's declared data extends past len. Also replace i += (pIE->length + 2) with i += sizeof(*pIE) + pIE->length for consistency with the sizeof(*pIE) guards added above.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.212, 6.1.178, 6.12.96, 6.18.39, 6.6.145, 7.1.4
- CVEs
- CVE-2026-64443
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:12 UTC · Revision 1
Source evidence
staging: rtl8723bs: fix OOB read in update_beacon_info() IE loop
core-osv · Original sourcePublished 25 Jul 2026, 08:51 UTC
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in update_beacon_info() IE loop The IE parsing loop in update_beacon_info() advances by (pIE->length + 2) each iteration but only guards on i < len. When a malicious AP sends a Beacon whose last IE has only one byte remaining in the frame (the element_id byte lands at len-1), the loop reads pIE->length from one byte past the allocated receive buffer. Additionally, even when the header bytes are in bounds, pIE->length itself can extend the data window beyond len, passing a truncated IE to the handler functions. Add two guards at the top of the loop body: 1. Break if fewer than sizeof(*pIE) bytes remain (can't read header). 2. Break if the IE's declared data extends past len. Also replace i += (pIE->length + 2) with i += sizeof(*pIE) + pIE->length for consistency with the sizeof(*pIE) guards added above.
osv:CVE-2026-64443
Kernel
Fixed versions: 5.15.212, 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4
Complete source record
{
"id": "6fe7888c2e5eab90d6a3926c78fad724896420e351dbfc0c688cb74d9ff534c6",
"url": "https://osv.dev/vulnerability/CVE-2026-64443",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "staging: rtl8723bs: fix OOB read in update_beacon_info() IE loop",
"summary": "In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in update_beacon_info() IE loop The IE parsing loop in update_beacon_info() advances by (pIE->length + 2) each iteration but only guards on i < len. When a malicious AP sends a Beacon whose last IE has only one byte remaining in the frame (the element_id byte lands at len-1), the loop reads pIE->length from one byte past the allocated receive buffer. Additionally, even when the header bytes are in bounds, pIE->length itself can extend the data window beyond len, passing a truncated IE to the handler functions. Add two guards at the top of the loop body: 1. Break if fewer than sizeof(*pIE) bytes remain (can't read header). 2. Break if the IE's declared data extends past len. Also replace i += (pIE->length + 2) with i += sizeof(*pIE) + pIE->length for consistency with the sizeof(*pIE) guards added above.",
"evidence": "osv:CVE-2026-64443",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.212",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.178",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.145",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.96",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.39",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-64443",
"aliases": [
"CVE-2026-64443"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "554c0a3abf216c991c5ebddcdb2c08689ecd290b"
},
{
"fixed": "5e8db4cff5b45c7c4edc8ae3f302027c3bb32b25"
},
{
"fixed": "6dd5e8c3011ebabf417257d7f07901a7c4311539"
},
{
"fixed": "9193c34f75fd9e1ea8a590d7cced464c3380dc29"
},
{
"fixed": "bd953d52d587d42365e399b96c52dbdb13032070"
},
{
"fixed": "69f174a0673b6b7a29b851adb60bc450cdc0ecc4"
},
{
"fixed": "b5cc2f999927f69723ca53f1f2a3aa37dbeda907"
},
{
"fixed": "ed51de4a86e173c3b0ef78e039c2e49e08b11f16"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64443.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.12.0"
},
{
"fixed": "5.15.212"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.178"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.145"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.96"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.39"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64443.json"
}
}
],
"modified": "2026-10-28T02:30:37.226587177Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/5e8db4cff5b45c7c4edc8ae3f302027c3bb32b25",
"https://git.kernel.org/stable/c/69f174a0673b6b7a29b851adb60bc450cdc0ecc4",
"https://git.kernel.org/stable/c/6dd5e8c3011ebabf417257d7f07901a7c4311539",
"https://git.kernel.org/stable/c/9193c34f75fd9e1ea8a590d7cced464c3380dc29",
"https://git.kernel.org/stable/c/b5cc2f999927f69723ca53f1f2a3aa37dbeda907",
"https://git.kernel.org/stable/c/bd953d52d587d42365e399b96c52dbdb13032070",
"https://git.kernel.org/stable/c/ed51de4a86e173c3b0ef78e039c2e49e08b11f16",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64443.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-64443",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64443.json"
}
},
"related_cves": [
{
"value": "CVE-2026-64443",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504518,
"published_at": "2026-07-25T08:51:15.234+00:00"
}