Bug 2390373 (CVE-2025-38657) - CVE-2025-38657 kernel: wifi: rtw89: mcc: prevent shift wrapping in rtw89_core_mlsr_switch()
Summary: CVE-2025-38657 kernel: wifi: rtw89: mcc: prevent shift wrapping in rtw89_core...
Keywords:
Status: NEW
Alias: CVE-2025-38657
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-22 17:03 UTC by OSIDB Bzimport
Modified: 2025-08-25 10:41 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-08-22 17:03:22 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.