CVE-2025-38657

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

published August 22, 2025

CVSS
—
EPSS
0%
Percentile
3.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00150 · 3.9th percentile
Published
2025-08-22T16:01Z
EPSS history
Timeline
  • 22 AUG 16:01Z
    wifi: rtw89: mcc: prevent shift wrapping in rtw89_core_mlsr_switch()
    cvelistv5