Bug 1226921 (CVE-2024-32936)

Summary: VUL-0: CVE-2024-32936: kernel: media: ti: j721e-csi2rx: fix races while restarting DMA
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: camila.matos, mhocko
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/411976/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-32936:4.7:(AV:L/AC:H/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-06-24 18:00:27 UTC
In the Linux kernel, the following vulnerability has been resolved:

media: ti: j721e-csi2rx: Fix races while restarting DMA

After the frame is submitted to DMA, it may happen that the submitted
list is not updated soon enough, and the DMA callback is triggered
before that.

This can lead to kernel crashes, so move everything in a single
lock/unlock section to prevent such races.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-32936
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-32936.mbox
https://git.kernel.org/stable/c/80a8b92950f8ee96582dba6187e3c2deca3569ea
https://git.kernel.org/stable/c/ad79c9ecea5baa7b4f19677e4b1c881ed89b0c3b
https://www.cve.org/CVERecord?id=CVE-2024-32936