Security mailing lists by PureSourceCode

CVE-2025-38013

HIGH 7.8CVSS 3.1

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211: Set n_channels after allocating struct cfg80211_scan_request

Make sure that n_channels is set after allocating the
struct cfg80211_registered_device::int_scan_req member. Seen with
syzkaller:

UBSAN: array-index-out-of-bounds in net/mac80211/scan.c:1208:5
index 0 is out of range for type 'struct ieee80211_channel *[] __counted_by(n_channels)' (aka 'struct ieee80211_channel *[]')

This was missed in the initial conversions because I failed to locate
the allocation likely due to the "sizeof(void *)" not matching the
"channels" array type.

Published
18 Jun 2025
Last modified
17 Jun 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Analyzed
Weakness
CWE-129
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.6, < 6.6.92 6.6.92
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7, < 6.12.30 6.12.30
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.13, < 6.14.8 6.14.8
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
= 6.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
= 6.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
= 6.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*
= 6.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*
= 6.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*
= 6.15

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 18 Jun 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.