staging: rtl8723bs: fix OOB read in rtw_action_frame_parse()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ff917923f4fb9c83717ba135ee47d7e4c1567bb7, Kernel 0b7f64c7bb9664777168768c6b44affb07dcbf24, Kernel 136f9a3ab87ded8aaf081425cfb2059659dd9023 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in rtw_action_frame_parse() rtw_action_frame_parse() takes a frame_len parameter but never actually checks it before indexing into the frame body: const u8 *frame_body = frame + sizeof(struct ieee80211_hdr_3addr); ... c = frame_body[0]; ... a = frame_body[1]; frame_body already points 24 bytes (sizeof(struct ieee80211_hdr_3addr)) into frame, so reading frame_body[0] and frame_body[1] requires frame_len >= 26. A management action frame shorter than that (e.g. exactly 24 bytes, the minimum a malicious peer can send) causes a 1-2 byte out-of-bounds read. This is reachable from rtw_cfg80211_monitor_if_xmit_entry() and cfg80211_rtw_mgmt_tx() in ioctl_cfg80211.c, both of which pass attacker/user-influenced frame buffers and lengths straight through. Add the missing length check before frame_body is dereferenced.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <ff917923f4fb9c83717ba135ee47d7e4c1567bb7, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <0b7f64c7bb9664777168768c6b44affb07dcbf24, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <136f9a3ab87ded8aaf081425cfb2059659dd9023, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <1410bce22351ba15d8e58287cbf09d55d7f21fc9, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <15081ff835b29e456da29303b32efc436df04695, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <310aaa8058d19cc431aedac0f5bb814e84479393, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <a54fd1a44862d263df9f8bc17fca3620be31addb, >=554c0a3abf216c991c5ebddcdb2c08689ecd290b <b041e3f35e0d262d42a711094ab594634d72744a, =4.12 | ff917923f4fb9c83717ba135ee47d7e4c1567bb7, 0b7f64c7bb9664777168768c6b44affb07dcbf24, 136f9a3ab87ded8aaf081425cfb2059659dd9023, 1410bce22351ba15d8e58287cbf09d55d7f21fc9, 15081ff835b29e456da29303b32efc436df04695, 310aaa8058d19cc431aedac0f5bb814e84479393, a54fd1a44862d263df9f8bc17fca3620be31addb, b041e3f35e0d262d42a711094ab594634d72744a |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=4.12.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.51, 7.2.5, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket