CVE-2025-38657

published 22 Aug 2025 · updated 5 Aug 2026

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

7.3HighCVSS 7.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 417cfa9cc44fbe6bceab786f9a4ee5a210f1288e and Kernel 53cf488927a0f79968f9c03c4d1e00d2a79731c3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.16, >=9dd85e739ce0765f022014c3e0713e1007d7ef60 <417cfa9cc44fbe6bceab786f9a4ee5a210f1288e, >=9dd85e739ce0765f022014c3e0713e1007d7ef60 <53cf488927a0f79968f9c03c4d1e00d2a79731c3417cfa9cc44fbe6bceab786f9a4ee5a210f1288e, 53cf488927a0f79968f9c03c4d1e00d2a79731c3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38657 severity on Zeptric[![CVE-2025-38657](https://zeptric.io/badge/cve/CVE-2025-38657.svg)](https://zeptric.io/cve/CVE-2025-38657)