CVE-2025-38657

Source
https://cve.org/CVERecord?id=CVE-2025-38657
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38657.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38657
Downstream
Published
2025-08-22T16:01:00Z
Modified
2026-08-12T03:51:23Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H CVSS Calculator
Summary
wifi: rtw89: mcc: prevent shift wrapping in rtw89_core_mlsr_switch()
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38657.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9dd85e739ce0765f022014c3e0713e1007d7ef60
Fixed
417cfa9cc44fbe6bceab786f9a4ee5a210f1288e
Fixed
53cf488927a0f79968f9c03c4d1e00d2a79731c3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38657.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.16.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38657.json"