HomeDefectsLIN1025-2055
Fixed

LIN1025-2055 : Security Advisory - linux - CVE-2025-38013

Created: Jun 18, 2025    Updated: Sep 1, 2025
Resolved Date: Jun 19, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel

Description

In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]wifi: mac80211: Set n_channels after allocating struct cfg80211_scan_request[EOL][EOL]Make sure that n_channels is set after allocating the[EOL]struct cfg80211_registered_device::int_scan_req member. Seen with[EOL]syzkaller:[EOL][EOL]UBSAN: array-index-out-of-bounds in net/mac80211/scan.c:1208:5[EOL]index 0 is out of range for type 'struct ieee80211_channel *[] __counted_by(n_channels)' (aka 'struct ieee80211_channel *[]')[EOL][EOL]This was missed in the initial conversions because I failed to locate[EOL]the allocation likely due to the "sizeof(void *)" not matching the[EOL]"channels" array type.

CREATE(Triage):(User=lchen-cn) [CVE-2025-38013 (https://nvd.nist.gov/vuln/detail/CVE-2025-38013)