Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 49b7806851f93fd342838c93f4f765e0cc5029b0; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 4445adedae770037078803d1ce41f9e88a1944b6; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before d129dc2a5d59b4d9cd2cc0b6eeb04df8461199f0; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 34620eb602aa432f090b2b784ee5c5070fb16cf9; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 61871c83259a511980ec2664964cecc69005398b; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 25411f5fcf5743131158f337c99c2bbf3f8477f5; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before e841d8ea722315b781c4fc5bf4f7670fbca88875; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 6ef0e1c10455927867cac8f0ed6b49f328f8cf95 |
| Linux / Linux | affected 4.12; unaffected 0 before 4.12; unaffected 5.10.248 through 5.10.*; unaffected 5.15.198 through 5.15.*; unaffected 6.1.160 through 6.1.*; unaffected 6.6.120 through 6.6.*; unaffected 6.12.62 through 6.12.*; unaffected 6.17.12 through 6.17.*; unaffected 6.18.1 through 6.18.*; unaffected 6.19 through * |
CWE
No CWE identifiers supplied.
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