Description
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing The Supported Rates IE length from an incoming Association Request frame was used directly as the memcpy() length when copying into a fixed-size 16-byte stack buffer (supportRate). A malicious station can advertise an IE length larger than 16 bytes, causing a stack buffer overflow. Clamp ie_len to the buffer size before copying the Supported Rates IE, and correct the bounds check when merging Extended Supported Rates to prevent a second potential overflow. This prevents kernel stack corruption triggered by malformed association requests.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
554c0a3abf216c991c5ebddcdb2c08689ecd290b to < 49b7806851f93fd342838c93f4f765e0cc5029b0affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to < 4445adedae770037078803d1ce41f9e88a1944b6affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to < d129dc2a5d59b4d9cd2cc0b6eeb04df8461199f0affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to < 34620eb602aa432f090b2b784ee5c5070fb16cf9affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to < 61871c83259a511980ec2664964cecc69005398baffected554c0a3abf216c991c5ebddcdb2c08689ecd290b to < 25411f5fcf5743131158f337c99c2bbf3f8477f5affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to < e841d8ea722315b781c4fc5bf4f7670fbca88875affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to < 6ef0e1c10455927867cac8f0ed6b49f328f8cf95affected
Linux Linux
Default version status: affected
4.12affected0 to < 4.12unaffected5.10.248 to ≤ 5.10.*unaffected5.15.198 to ≤ 5.15.*unaffected6.1.160 to ≤ 6.1.*unaffected6.6.120 to ≤ 6.6.*unaffected6.12.62 to ≤ 6.12.*unaffected6.17.12 to ≤ 6.17.*unaffected6.18.1 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/49b7806851f93fd342838c93f4f765e0cc5029b0 ↗
- https://git.kernel.org/stable/c/4445adedae770037078803d1ce41f9e88a1944b6 ↗
- https://git.kernel.org/stable/c/d129dc2a5d59b4d9cd2cc0b6eeb04df8461199f0 ↗
- https://git.kernel.org/stable/c/34620eb602aa432f090b2b784ee5c5070fb16cf9 ↗
- https://git.kernel.org/stable/c/61871c83259a511980ec2664964cecc69005398b ↗
- https://git.kernel.org/stable/c/25411f5fcf5743131158f337c99c2bbf3f8477f5 ↗
- https://git.kernel.org/stable/c/e841d8ea722315b781c4fc5bf4f7670fbca88875 ↗
- https://git.kernel.org/stable/c/6ef0e1c10455927867cac8f0ed6b49f328f8cf95 ↗