media: mc, v4l2: serialize REINIT and REQBUFS with req_queue_mutex

Summary

CVECVE-2026-31473
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-22 14:16:43 UTC
Updated2026-04-22 14:16:43 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 331242998a7ade5c2f65e14988901614629f3db5 git Not specified
CNA Linux Linux affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 2c685e99efb3b3bd2b78699fba6b1cf321975db0 git Not specified
CNA Linux Linux affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 585fd9a2063dacce8b2820f675ef23d5d17434c5 git Not specified
CNA Linux Linux affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 1a0d9083c24fbd5d22f7100f09d11e4d696a5f01 git Not specified
CNA Linux Linux affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 d8549a453d5bdc0a71de66ad47a1106703406a56 git Not specified
CNA Linux Linux affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 72b9e81e0203f03c40f3adb457f55bd4c8eb112d git Not specified
CNA Linux Linux affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 cf2023e84f0888f96f4b65dc0804e7f3651969c1 git Not specified
CNA Linux Linux affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 bef4f4a88b73e4cc550d25f665b8a9952af22773 git Not specified
CNA Linux Linux affected 4.20 Not specified
CNA Linux Linux unaffected 4.20 semver Not specified
CNA Linux Linux unaffected 5.10.253 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.203 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.168 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.131 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.80 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.21 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.11 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/585fd9a2063dacce8b2820f675ef23d5d17434c5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d8549a453d5bdc0a71de66ad47a1106703406a56 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/331242998a7ade5c2f65e14988901614629f3db5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2c685e99efb3b3bd2b78699fba6b1cf321975db0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1a0d9083c24fbd5d22f7100f09d11e4d696a5f01 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/72b9e81e0203f03c40f3adb457f55bd4c8eb112d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bef4f4a88b73e4cc550d25f665b8a9952af22773 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cf2023e84f0888f96f4b65dc0804e7f3651969c1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report