CVE-2026-31473

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

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.10 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 < 331242998a7ade5c2f65e14988901614629f3db5 ; affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 < 2c685e99efb3b3bd2b78699fba6b1cf321975db0 ; affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 < 585fd9a2063dacce8b2820f675ef23d5d17434c5 ; affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 < 1a0d9083c24fbd5d22f7100f09d11e4d696a5f01 ; affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 < d8549a453d5bdc0a71de66ad47a1106703406a56 ; affected 6093d3002eabd7c2913d97f1d1f4ce34b072acf9 < 72b9e81e0203f03c40f3adb457f55bd4c8eb112d
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.168 ≤ 6.1.* ; unaffected 6.6.131 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD