Bug 1227446 (CVE-2024-39481)

Summary: VUL-0: CVE-2024-39481: kernel: media: mc: Fix graph walk in media_pipeline_start
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andrea.mattiazzo, jlee
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/412892/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-07-05 12:02:15 UTC
In the Linux kernel, the following vulnerability has been resolved:

media: mc: Fix graph walk in media_pipeline_start

The graph walk tries to follow all links, even if they are not between
pads. This causes a crash with, e.g. a MEDIA_LNK_FL_ANCILLARY_LINK link.

Fix this by allowing the walk to proceed only for MEDIA_LNK_FL_DATA_LINK
links.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-39481
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-39481.mbox
https://git.kernel.org/stable/c/788fd0f11e45ae8d3a8ebbd3452a6e83f92db376
https://git.kernel.org/stable/c/e80d9db99b7b6c697d8d952dfd25c3425cf61499
https://git.kernel.org/stable/c/bee9440bc0b6b3b7432f7bfde28656262a3484a2
https://git.kernel.org/stable/c/8a9d420149c477e7c97fbd6453704e4612bdd3fa
https://www.cve.org/CVERecord?id=CVE-2024-39481
Comment 2 Andrea Mattiazzo 2024-07-08 09:16:56 UTC
All done, closing.