CVE-2025-38657 Details
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.
A vulnerability in the Linux kernel's rtw89 wireless driver can lead to shift wrapping issues, potentially causing out-of-bounds access. This vulnerability arises in the 'rtw89_core_mlsr_switch' function, where the 'link_id' value, sourced from the user via debugfs, can exceed the limits of BITS_PER_LONG. Such an overflow could disrupt memory access, although the vulnerability is mitigated by the fact that only root users can write to debugfs files.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/417cfa9cc44fbe6bceab786f9a4ee5a210f1288e | kernel.org | Patch |
| https://git.kernel.org/stable/c/53cf488927a0f79968f9c03c4d1e00d2a79731c3 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | 6.16 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 26, 2025 | Initial Analysis | [email protected] |
| Aug 22, 2025 | New CVE Received | kernel.org |