CVE record · CVE-2026-31583

media: em28xx: fix use-after-free in em28xx_v4l2_open()

No CVSS scoreEPSS 0.0013 · 2nd percentile

Published by the CVE Program (CNA: Linux) at 24 Apr 2026, 14:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
Linux Linux
  • affected 8139a4d583abad45eb987b5a99b3281b6d435b7e to before 3c0283a59e36e3707c4a81f4952e362d31f876b8 git
  • affected 8139a4d583abad45eb987b5a99b3281b6d435b7e to before 2cbf81f76842e46bdf25823c70e1db4044a65678 git
  • affected 8139a4d583abad45eb987b5a99b3281b6d435b7e to before 38a327221f7f765e7d853b7bafe47e342441ec85 git
  • affected 8139a4d583abad45eb987b5a99b3281b6d435b7e to before b5d141ea15f173f15b9f0a72965902f3428c0d92 git
  • affected 8139a4d583abad45eb987b5a99b3281b6d435b7e to before 5fb2940327722b4684d2f964b54c1c90aa277324 git
  • affected 8139a4d583abad45eb987b5a99b3281b6d435b7e to before 871b8ea8ef39a6c253594649f4339378fad3d0dd git
  • affected 8139a4d583abad45eb987b5a99b3281b6d435b7e to before 6b9e66437cc6123ddedac141e1b8b6fcf57d2972 git
  • affected 8139a4d583abad45eb987b5a99b3281b6d435b7e to before dd2b888e08d3b3d6aacd65d76cd44fac11da750f git
  • affected 8139a4d583abad45eb987b5a99b3281b6d435b7e to before a66485a934c7187ae8e36517d40615fa2e961cff git
Other versions: unaffected
Linux Linux
  • affected 3.16
  • unaffected before 3.16 semver
  • unaffected 5.10.258 to 5.10.*, inclusive semver
  • unaffected 5.15.209 to 5.15.*, inclusive semver
  • unaffected 6.1.175 to 6.1.*, inclusive semver
  • unaffected 6.6.136 to 6.6.*, inclusive semver
  • unaffected 6.12.83 to 6.12.*, inclusive semver
  • unaffected 6.18.24 to 6.18.*, inclusive semver
  • unaffected 6.19.14 to 6.19.*, inclusive semver
  • unaffected 7.0.1 to 7.0.*, inclusive semver
  • unaffected 7.1 to *, inclusive original_commit_for_fix
Other versions: affected
Identifiers
CVE-2026-31583
CNA
Linux
Published
24 Apr 2026
Updated
6 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

This is a Linux kernel media driver issue in em28xx_v4l2_open(), where dev->v4l2 was read without holding the device lock, racing with error-path and teardown code that frees the structure. The source describes two outcomes: a use-after-free in v4l2_fh_init() and a NULL pointer dereference in em28xx_resolution_set(). The source does not describe the attack requirements or the impact on affected systems. Affected versions are given as starting from 3.16 and as several commit ranges, with fixed stable releases listed for 5.10, 5.15, 6.1 and 6.6; upgrade to a fixed kernel version for your branch.

Written 17 Nov 2026.

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS 0.0013, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 24 Apr 2026, 14:42 UTC Confirmed by the CVE List
  2. 24 Apr 2026, 15:16 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.