CVE-2025-38657

wifi: rtw89: mcc: prevent shift wrapping in rtw89_core_mlsr_switch()

State
Published
Severity
7.3 High
Published
Aug 22, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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

wifi: rtw89: mcc: prevent shift wrapping in rtw89_core_mlsr_switch()

The "link_id" value comes from the user via debugfs. If it's larger than BITS_PER_LONG then that would result in shift wrapping and potentially an out of bounds access later. In fact, we can limit it to IEEE80211_MLD_MAX_NUM_LINKS (15).

Fortunately, only root can write to debugfs files so the security impact is minimal.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9dd85e739ce0765f022014c3e0713e1007d7ef60 to before 417cfa9cc44fbe6bceab786f9a4ee5a210f1288eAffected
  • 9dd85e739ce0765f022014c3e0713e1007d7ef60 to before 53cf488927a0f79968f9c03c4d1e00d2a79731c3Affected
LinuxLinux
  • 6.16Affected
  • before 6.16Not affected
  • 6.16.1 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.