Skip to main content
← All vulnerabilities
CVE-2026-31473

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.253, 5.15.203, 6.1.168, 6.6.131, 6.12.80, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 · fixed in 331242998a7ade5c2f65e14988901614629f3db5; From 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 · fixed in 2c685e99efb3b3bd2b78699fba6b1cf321975db0; From 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 · fixed in 585fd9a2063dacce8b2820f675ef23d5d17434c5; From 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 · fixed in 1a0d9083c24fbd5d22f7100f09d11e4d696a5f01; From 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 · fixed in d8549a453d5bdc0a71de66ad47a1106703406a56; From 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 · fixed in 72b9e81e0203f03c40f3adb457f55bd4c8eb112d; From 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 · fixed in cf2023e84f0888f96f4b65dc0804e7f3651969c1; From 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 · fixed in bef4f4a88b73e4cc550d25f665b8a9952af22773

  • Linux Linux

    4.20

  • KernelLinux

    From 4.20.0 · fixed in 5.10.253; From 5.11.0 · fixed in 5.15.203; From 5.16.0 · fixed in 6.1.168; From 6.2.0 · fixed in 6.6.131; From 6.7.0 · fixed in 6.12.80; From 6.13.0 · fixed in 6.18.21; From 6.19.0 · fixed in 6.19.11

References 8

git.kernel.org