Bug 1224881 (CVE-2021-47251)

Summary: VUL-0: CVE-2021-47251: kernel: mac80211: fix skb length check in ieee80211_scan_rx()
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andrea.mattiazzo, mhocko
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/406880/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-05-22 09:30:13 UTC
In the Linux kernel, the following vulnerability has been resolved:

mac80211: fix skb length check in ieee80211_scan_rx()

Replace hard-coded compile-time constants for header length check
with dynamic determination based on the frame type. Otherwise, we
hit a validation WARN_ON in cfg80211 later.

[style fixes, reword commit message]

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47251
https://www.cve.org/CVERecord?id=CVE-2021-47251
https://git.kernel.org/stable/c/5a1cd67a801cf5ef989c4783e07b86a25b143126
https://git.kernel.org/stable/c/d1b949c70206178b12027f66edc088d40375b5cb
https://git.kernel.org/stable/c/e298aa358f0ca658406d524b6639fe389cb6e11e
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2021/CVE-2021-47251.mbox
Comment 2 Michal Hocko 2024-05-23 16:18:33 UTC
nothing to be done
Comment 3 Andrea Mattiazzo 2024-05-24 10:50:26 UTC
All done, closing.