Bug 1224890 (CVE-2021-47286)

Summary: VUL-0: CVE-2021-47286: kernel: bus: mhi: core: Validate channel ID when processing command completions
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED INVALID QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: carlos.lopez, mhocko
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/406919/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-47286:5.9:(AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-05-22 10:20:21 UTC
In the Linux kernel, the following vulnerability has been resolved:

bus: mhi: core: Validate channel ID when processing command completions

MHI reads the channel ID from the event ring element sent by the
device which can be any value between 0 and 255. In order to
prevent any out of bound accesses, add a check against the maximum
number of channels supported by the controller and those channels
not configured yet so as to skip processing of that event ring
element.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47286
https://www.cve.org/CVERecord?id=CVE-2021-47286
https://git.kernel.org/stable/c/3efec3b4b16fc7af25676a94230a8ab2a3bb867c
https://git.kernel.org/stable/c/546362a9ef2ef40b57c6605f14e88ced507f8dd0
https://git.kernel.org/stable/c/aed4f5b51aba41e2afd7cfda20a0571a6a67dfe9
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2021/CVE-2021-47286.mbox
Comment 2 Michal Hocko 2024-05-23 16:45:19 UTC
Nothing to be done
Comment 3 Carlos López 2024-05-28 11:32:39 UTC
Nothing to do, closing.