Bug 1221971 (CVE-2021-47151) - VUL-0: CVE-2021-47151: kernel: interconnect: qcom: bcm-voter: add a missing of_node_put()
Summary: VUL-0: CVE-2021-47151: kernel: interconnect: qcom: bcm-voter: add a missing o...
Status: RESOLVED FIXED
Alias: CVE-2021-47151
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/398798/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-47151:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 10:49 UTC by SMASH SMASH
Modified: 2024-06-07 12:21 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-03-26 10:49:19 UTC
In the Linux kernel, the following vulnerability has been resolved:

interconnect: qcom: bcm-voter: add a missing of_node_put()

Add a missing of_node_put() in of_bcm_voter_get() to avoid the
reference leak.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47151
https://git.kernel.org/stable/c/a00593737f8bac2c9e97b696e7ff84a4446653e8
https://www.cve.org/CVERecord?id=CVE-2021-47151
https://git.kernel.org/stable/c/4e3cea8035b6f1b9055e69cc6ebf9fa4e50763ae
https://git.kernel.org/stable/c/93d1dbe7043b3c9492bdf396b2e98a008435b55b
https://bugzilla.redhat.com/show_bug.cgi?id=2271485
Comment 1 Gabriele Sonnu 2024-03-26 13:18:58 UTC
Offending commit (976daac4a1c5) found in:
 - ALP-current
 - cve/linux-5.14-LTSS
 - SLE15-SP4-LTSS
 - SLE15-SP5
 - SLE15-SP6
 - stable

Fixing commit (a00593737f8b) found in:
 - ALP-current
 - cve/linux-5.14-LTSS
 - SLE15-SP4-LTSS
 - SLE15-SP5
 - SLE15-SP6
 - stable

All branches fixed. @kernel-team, please add the CVE reference.
Comment 2 Stanimir Varbanov 2024-03-28 10:59:41 UTC
The fixing commit is part of 5.14 before branching (merged in v5.13-rc1) so the reference cannot be updated.
Comment 3 Gabriel Krisman Bertazi 2024-03-28 22:31:31 UTC
Yep, the issue was introduced in 5.7 and fixed in 5.13 so this should be a nop for us.
Comment 4 Andrea Mattiazzo 2024-06-07 12:21:26 UTC
All done, closing.