{"id":"CVE-2025-38657","published":"2025-08-22T16:01:00Z","modified":"2026-08-05T12:03:43Z","title":"wifi: rtw89: mcc: prevent shift wrapping in rtw89_core_mlsr_switch()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtw89: mcc: prevent shift wrapping in rtw89_core_mlsr_switch()\n\nThe \"link_id\" value comes from the user via debugfs.  If it's larger\nthan BITS_PER_LONG then that would result in shift wrapping and\npotentially an out of bounds access later.  In fact, we can limit it\nto IEEE80211_MLD_MAX_NUM_LINKS (15).\n\nFortunately, only root can write to debugfs files so the security\nimpact is minimal.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0017,"percentile":0.06396,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/417cfa9cc44fbe6bceab786f9a4ee5a210f1288e","tags":[]},{"url":"https://git.kernel.org/stable/c/53cf488927a0f79968f9c03c4d1e00d2a79731c3","tags":[]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":1.28},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9dd85e739ce0765f022014c3e0713e1007d7ef60, < 417cfa9cc44fbe6bceab786f9a4ee5a210f1288e",">= 9dd85e739ce0765f022014c3e0713e1007d7ef60, < 53cf488927a0f79968f9c03c4d1e00d2a79731c3"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2025-25545","exploited":false,"provenance":"source"}}