Linux Kernel: Use-After-Free (CVE-2026-31583)
Published Last modified Sources: SUSE, Debian, Debian LTS, Ubuntu, Siemens ProductCERT, BSI, CVE.org, Msrc Update Guide, EUVD
What is affected, what to do
In the Linux kernel, the following vulnerability has been resolved: media: em28xx: fix use-after-free in em28xx_v4l2_open() em28xx_v4l2_open() reads dev->v4l2 without holding dev->lock, creating a race with em28xx_v4l2_init()'s error path and em28xx_v4l2_fini(), both of which free the em28xx_v4l2 struct and set dev->v4l2 to NULL under dev->lock. This race leads to two issues: - use-after-free in v4l2_fh_init() when accessing vdev->ctrl_handler, since the video_device is embedded in the freed em28xx_v4l2 struct. - NULL pointer dereference in em28xx_resolution_set() when accessing v4l2->norm, since dev->v4l2 has been set to NULL.
Update Linux Kernel to version 5.10.258, Linux Kernel to version 5.15.209, Linux Kernel to version 6.1.175.
- Affected
- Linux Kernel
lt 3.16..5.10.258 - Linux Kernel
lt 5.11..5.15.209 - Linux Kernel
lt 5.16..6.1.175 - Linux Kernel
lt 6.2..6.6.136 - Linux Kernel
lt 6.7..6.12.83 - Linux Kernel
lt 6.13..6.18.24 - Linux Kernel
lt 6.19..6.19.14 - Linux Kernel
lt 6.20..7.0.1
- Linux Kernel
- Fixed in
- Linux Kernel
5.10.258 - Linux Kernel
5.15.209 - Linux Kernel
6.1.175 - Linux Kernel
6.6.136 - Linux Kernel
6.12.83 - Linux Kernel
6.18.24 - Linux Kernel
6.19.14 - Linux Kernel
7.0.1 - Linux Kernel
7.1
- Linux Kernel
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
7.8
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
7.8
CVSS v3
Severity High on the scale from 0 to 10.
Source: SUSE, Debian, Debian LTS, Ubuntu, Siemens ProductCERT, BSI, CVE.org, Msrc Update Guide, EUVD
0.1 %
EPSS score
Low — model estimates < 1% exploitation likelihood.
Source: FIRST EPSS, percentile 2.7
Show all metrics
- Severity
- High
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 55.66 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 7.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 7.8
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 0.1 %
- Low — model estimates < 1% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 2.7
- Low — this CVE sits in the lower 10% of all CVEs scored today.
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
In the Linux kernel, the following vulnerability has been resolved: media: em28xx: fix use-after-free in em28xx_v4l2_open() em28xx_v4l2_open() reads dev->v4l2 without holding dev->lock, creating a race with em28xx_v4l2_init()'s error path and em28xx_v4l2_fini(), both of which free the em28xx_v4l2 struct and set dev->v4l2 to NULL under dev->lock. This race leads to two issues: - use-after-free in v4l2_fh_init() when accessing vdev->ctrl_handler, since the video_device is embedded in the freed em28xx_v4l2 struct. - NULL pointer dereference in em28xx_resolution_set() when accessing v4l2->norm, since dev->v4l2 has been set to NULL. Fix this by moving the mutex_lock() before the dev->v4l2 read and adding a NULL check for dev->v4l2 under the lock.
Source: suse_csaf, Debian Security Advisories, Debian LTS Advisories, Ubuntu Security Notices, siemens_advisory, BSI WID Portal, BSI CSAF, NVD (NIST), CVE.org (MITRE), cvelistv5, Microsoft Security Update Guide, ENISA EUVD
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| Linux | Linux |
|
|
| Siemens | SIMATIC S7 |
|
|
Vendors and products
Affected operating systems
| Linux | debian | linux | bookworm |
| Linux | debian | linux | bullseye |
| Linux | debian | linux | trixie |
| Linux | debian | linux-6.1 | bullseye |
| Linux | linux | linux_kernel | — |
References & sources
- git.kernel.orgstable/c/b5d141ea15f173f15b9f0a72965902f3428c0d92euvd
- git.kernel.orgstable/c/5fb2940327722b4684d2f964b54c1c90aa277324euvd
- git.kernel.orgstable/c/871b8ea8ef39a6c253594649f4339378fad3d0ddeuvd
- git.kernel.orgstable/c/6b9e66437cc6123ddedac141e1b8b6fcf57d2972euvd
- git.kernel.orgstable/c/dd2b888e08d3b3d6aacd65d76cd44fac11da750feuvd
- git.kernel.orgstable/c/a66485a934c7187ae8e36517d40615fa2e961cffeuvd
- git.kernel.orgstable/c/3c0283a59e36e3707c4a81f4952e362d31f876b8
- git.kernel.orgstable/c/2cbf81f76842e46bdf25823c70e1db4044a65678
- git.kernel.orgstable/c/38a327221f7f765e7d853b7bafe47e342441ec85
- Siemens ProductCERTproductcert/html/ssa-784472.html
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Record modifiedLinux
New references:- https://git.kernel.org/stable/c/2cbf81f76842e46bdf25823c70e1db4044a65678
- https://git.kernel.org/stable/c/38a327221f7f765e7d853b7bafe47e342441ec85
- https://git.kernel.org/stable/c/3c0283a59e36e3707c4a81f4952e362d31f876b8
- https://git.kernel.org/stable/c/5fb2940327722b4684d2f964b54c1c90aa277324
and 5 more references
Show 24 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://git.kernel.org/stable/c/2cbf81f76842e46bdf25823c70e1db4044a65678Reference added —https://git.kernel.org/stable/c/38a327221f7f765e7d853b7bafe47e342441ec85Reference added —https://git.kernel.org/stable/c/3c0283a59e36e3707c4a81f4952e362d31f876b8Reference added —https://git.kernel.org/stable/c/5fb2940327722b4684d2f964b54c1c90aa277324Reference added —https://git.kernel.org/stable/c/6b9e66437cc6123ddedac141e1b8b6fcf57d2972Reference added —https://git.kernel.org/stable/c/871b8ea8ef39a6c253594649f4339378fad3d0ddReference added —https://git.kernel.org/stable/c/a66485a934c7187ae8e36517d40615fa2e961cffReference added —https://git.kernel.org/stable/c/b5d141ea15f173f15b9f0a72965902f3428c0d92Reference added —https://git.kernel.org/stable/c/dd2b888e08d3b3d6aacd65d76cd44fac11da750fReference removed https://git.kernel.org/stable/c/2cbf81f76842e46bdf25823c70e1db4044a65678—Reference removed https://git.kernel.org/stable/c/38a327221f7f765e7d853b7bafe47e342441ec85—Reference removed https://git.kernel.org/stable/c/3c0283a59e36e3707c4a81f4952e362d31f876b8—Reference removed https://git.kernel.org/stable/c/5fb2940327722b4684d2f964b54c1c90aa277324—Reference removed https://git.kernel.org/stable/c/6b9e66437cc6123ddedac141e1b8b6fcf57d2972—Reference removed https://git.kernel.org/stable/c/871b8ea8ef39a6c253594649f4339378fad3d0dd—Reference removed https://git.kernel.org/stable/c/a66485a934c7187ae8e36517d40615fa2e961cff—Reference removed https://git.kernel.org/stable/c/b5d141ea15f173f15b9f0a72965902f3428c0d92—Reference removed https://git.kernel.org/stable/c/dd2b888e08d3b3d6aacd65d76cd44fac11da750f—Reference type removed https://git.kernel.org/stable/c/5fb2940327722b4684d2f964b54c1c90aa277324 Types: Patch—Reference type removed https://git.kernel.org/stable/c/6b9e66437cc6123ddedac141e1b8b6fcf57d2972 Types: Patch—Reference type removed https://git.kernel.org/stable/c/871b8ea8ef39a6c253594649f4339378fad3d0dd Types: Patch—Reference type removed https://git.kernel.org/stable/c/a66485a934c7187ae8e36517d40615fa2e961cff Types: Patch—Reference type removed https://git.kernel.org/stable/c/b5d141ea15f173f15b9f0a72965902f3428c0d92 Types: Patch—Reference type removed https://git.kernel.org/stable/c/dd2b888e08d3b3d6aacd65d76cd44fac11da750f Types: Patch—Source identifier: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Record modifiedSiemens ADP
Show 2 original changes
Individual changes of this event as published by NVD Type Action Before After Affected versions (publisher) added —New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31583.json">CVE-2026-31583</a>Reference added —https://cert-portal.siemens.com/productcert/html/ssa-784472.htmlSource identifier: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2026-31583"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-31583.svg?lang=en" alt="CVE-2026-31583 – NEOSEC Intel" height="20"></a>