CVE Catalog

CVE-2025-38657

HighCVSS 7.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

4th percentile - higher than 4% of all known CVEs

Summary

In the rtw89 WiFi driver in the Linux kernel, there is a shift wrapping vulnerability in rtw89_core_mlsr_switch(). The link_id value from debugfs can exceed BITS_PER_LONG, causing incorrect shifting and potential out-of-bounds access. Limiting to IEEE80211_MLD_MAX_NUM_LINKS (15) fixes the issue.

Risk Assessment

Risk is minimal because debugfs access requires root privileges. An attacker with root privileges could cause a system crash or potentially access out-of-bounds memory.

Recommendation

Update the Linux kernel to a version containing the fix that limits link_id to IEEE80211_MLD_MAX_NUM_LINKS.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS