Bug 1220576 (CVE-2020-36785) - VUL-0: CVE-2020-36785: kernel: media: atomisp: fix use after free in atomisp_alloc_css_stat_bufs()
Summary: VUL-0: CVE-2020-36785: kernel: media: atomisp: fix use after free in atomisp_...
Status: RESOLVED INVALID
Alias: CVE-2020-36785
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/395422/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-28 15:01 UTC by SMASH SMASH
Modified: 2024-04-29 07:11 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-02-28 15:01:38 UTC
In the Linux kernel, the following vulnerability has been resolved:

media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()

The "s3a_buf" is freed along with all the other items on the
"asd->s3a_stats" list.  It leads to a double free and a use after free.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-36785
https://www.cve.org/CVERecord?id=CVE-2020-36785
https://lore.kernel.org/linux-cve-announce/2024022821-CVE-2020-36785-96c7@gregkh/T/#u

Patch:
https://git.kernel.org/stable/c/ba11bbf303fafb33989e95473e409f6ab412b18d
Comment 1 Andrea Mattiazzo 2024-02-28 15:02:05 UTC
Closing since all code streams are not affected or already fixed.
Comment 3 Michal Hocko 2024-04-26 17:02:27 UTC
Staging drivers are not supported so this should be really closed as invalid.