staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 25411f5fcf5743131158f337c99c2bbf3f8477f5, Kernel 34620eb602aa432f090b2b784ee5c5070fb16cf9, Kernel 4445adedae770037078803d1ce41f9e88a1944b6 and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.12, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <25411f5fcf5743131158f337c99c2bbf3f8477f5, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <34620eb602aa432f090b2b784ee5c5070fb16cf9, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <4445adedae770037078803d1ce41f9e88a1944b6, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <49b7806851f93fd342838c93f4f765e0cc5029b0, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <61871c83259a511980ec2664964cecc69005398b, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <6ef0e1c10455927867cac8f0ed6b49f328f8cf95, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <d129dc2a5d59b4d9cd2cc0b6eeb04df8461199f0, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <e841d8ea722315b781c4fc5bf4f7670fbca88875 | 25411f5fcf5743131158f337c99c2bbf3f8477f5, 34620eb602aa432f090b2b784ee5c5070fb16cf9, 4445adedae770037078803d1ce41f9e88a1944b6, 49b7806851f93fd342838c93f4f765e0cc5029b0, 61871c83259a511980ec2664964cecc69005398b, 6ef0e1c10455927867cac8f0ed6b49f328f8cf95, d129dc2a5d59b4d9cd2cc0b6eeb04df8461199f0, e841d8ea722315b781c4fc5bf4f7670fbca88875 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket