Bug 1220757 (CVE-2021-47043) - VUL-0: CVE-2021-47043: kernel: media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'
Summary: VUL-0: CVE-2021-47043: kernel: media: venus: core: Fix some resource leaks in...
Status: RESOLVED FIXED
Alias: CVE-2021-47043
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/395490/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-01 10:43 UTC by SMASH SMASH
Modified: 2024-06-07 12:25 UTC (History)
2 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-01 10:43:08 UTC
In the Linux kernel, the following vulnerability has been resolved:

media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'

If an error occurs after a successful 'of_icc_get()' call, it must be
undone.

Use 'devm_of_icc_get()' instead of 'of_icc_get()' to avoid the leak.
Update the remove function accordingly and axe the now unneeded
'icc_put()' calls.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47043
https://www.cve.org/CVERecord?id=CVE-2021-47043
https://git.kernel.org/stable/c/00b68a7478343afdf83f30c43e64db5296057030
https://git.kernel.org/stable/c/5a465c5391a856a0c1e9554964d660676c35d1b2
https://git.kernel.org/stable/c/711acdf0228dc71601247f28b56f13e850e395c8
https://git.kernel.org/stable/c/940d01eceb3a7866fbfca136a55a5625fc75a565
https://bugzilla.redhat.com/show_bug.cgi?id=2267010
Comment 1 Gabriele Sonnu 2024-03-01 11:00:55 UTC
All affected branches already contain the fix. Closing.
Comment 4 Andrea Mattiazzo 2024-06-07 12:25:41 UTC
All done, closing.