Bug 1224964 (CVE-2021-47279)

Summary: VUL-0: CVE-2021-47279: kernel: usb: misc: brcmstb-usb-pinmap: check return value after calling platform_get_resource()
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: gabriele.sonnu, mhocko
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/406910/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-47279:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-05-22 12:32:44 UTC
In the Linux kernel, the following vulnerability has been resolved:

usb: misc: brcmstb-usb-pinmap: check return value after calling platform_get_resource()

It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47279
https://www.cve.org/CVERecord?id=CVE-2021-47279
https://git.kernel.org/stable/c/2147684be1ebdaf845783139b9bc4eba3fecd9e4
https://git.kernel.org/stable/c/fbf649cd6d64d40c03c5397ecd6b1ae922ba7afc
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2021/CVE-2021-47279.mbox
Comment 2 Michal Hocko 2024-05-24 17:47:30 UTC
nothing to be done
Comment 3 Andrea Mattiazzo 2024-05-29 12:24:40 UTC
All done, closing.