In the Linux kernel, the following vulnerability has been resolved: media: mc, v4l2: serialize REINIT and REQBUFS with req_queue_mutex MEDIA_REQUEST_IOC_REINIT can run concurrently with VIDIOC_REQBUFS(0) queue teardown paths. This can race request object cleanup against vb2 queue cancellation and lead to use-after-free reports. We already serialize request queueing against STREAMON/OFF with req_queue_mutex. Extend that serialization to REQBUFS, and also take the same mutex in media_request_ioctl_reinit() so REINIT is in the same exclusion domain. This keeps request cleanup and queue cancellation from running in parallel for request-capable devices.
Fix
Patch, vendor advisory and mitigation references on NVD 8
- https://git.kernel.org/stable/c/1a0d9083c24fbd5d22f7100f09d11e4d696a5f01 Patch
- https://git.kernel.org/stable/c/2c685e99efb3b3bd2b78699fba6b1cf321975db0 Patch
- https://git.kernel.org/stable/c/331242998a7ade5c2f65e14988901614629f3db5 Patch
- https://git.kernel.org/stable/c/585fd9a2063dacce8b2820f675ef23d5d17434c5 Patch
- https://git.kernel.org/stable/c/72b9e81e0203f03c40f3adb457f55bd4c8eb112d Patch
- https://git.kernel.org/stable/c/bef4f4a88b73e4cc550d25f665b8a9952af22773 Patch
- https://git.kernel.org/stable/c/cf2023e84f0888f96f4b65dc0804e7f3651969c1 Patch
- https://git.kernel.org/stable/c/d8549a453d5bdc0a71de66ad47a1106703406a56 Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 3
- CwesCWE-416 → CWE-416, CWE-362NVD modified 2026-10-19 19:17
- StatusAnalyzed → ModifiedNVD modified 2026-10-19 19:17
- First seenCVSS 7.8 · linuxNVD modified 2026-10-16 16:17
Affected (CPE criteria) 9
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.20:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
References 8
- https://git.kernel.org/stable/c/1a0d9083c24fbd5d22f7100f09d11e4d696a5f01 Patch
- https://git.kernel.org/stable/c/2c685e99efb3b3bd2b78699fba6b1cf321975db0 Patch
- https://git.kernel.org/stable/c/331242998a7ade5c2f65e14988901614629f3db5 Patch
- https://git.kernel.org/stable/c/585fd9a2063dacce8b2820f675ef23d5d17434c5 Patch
- https://git.kernel.org/stable/c/72b9e81e0203f03c40f3adb457f55bd4c8eb112d Patch
- https://git.kernel.org/stable/c/bef4f4a88b73e4cc550d25f665b8a9952af22773 Patch
- https://git.kernel.org/stable/c/cf2023e84f0888f96f4b65dc0804e7f3651969c1 Patch
- https://git.kernel.org/stable/c/d8549a453d5bdc0a71de66ad47a1106703406a56 Patch