Linux Kernel: Out-of-Bounds Access (CVE-2026-31697)
Published Last modified Sources: SUSE, Debian LTS, Ubuntu, Siemens ProductCERT, BSI, EUVD, CVE.org, Msrc Update Guide
What is affected, what to do
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp: Don't attempt to copy ID to userspace if PSP command failed When retrieving the ID for the CPU, don't attempt to copy the ID blob to userspace if the firmware command failed. If the failure was due to an invalid length, i.e. the userspace buffer+length was too small, copying the number of bytes _firmware_ requires will overflow the kernel-allocated buffer and leak data to userspace.
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 5.2..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.84 - Linux Kernel
lt 6.13..6.18.25 - Linux Kernel
lt 6.19..7.0.2
- 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.84 - Linux Kernel
6.18.25 - Linux Kernel
7.0.2 - Linux Kernel
7.1
- Linux Kernel
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
7.1
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
7.1
CVSS v3
Severity High on the scale from 0 to 10.
Source: SUSE, Debian LTS, Ubuntu, Siemens ProductCERT, BSI, EUVD, CVE.org, Msrc Update Guide
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- 52.44 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.1 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.1
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
- CISA assessment (SSVC)
- Exploitation: none known · not automatable · Technical impact: partial
- Source: CISA Vulnrichment, as of 16 October 2026
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-125
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: crypto: ccp: Don't attempt to copy ID to userspace if PSP command failed When retrieving the ID for the CPU, don't attempt to copy the ID blob to userspace if the firmware command failed. If the failure was due to an invalid length, i.e. the userspace buffer+length was too small, copying the number of bytes _firmware_ requires will overflow the kernel-allocated buffer and leak data to userspace. BUG: KASAN: slab-out-of-bounds in instrument_copy_to_user ../include/linux/instrumented.h:129 [inline] BUG: KASAN: slab-out-of-bounds in _inline_copy_to_user ../include/linux/uaccess.h:205 [inline] BUG: KASAN: slab-out-of-bounds in _copy_to_user+0x66/0xa0 ../lib/usercopy.c:26 Read of size 64 at addr ffff8881867f5960 by task syz.0.906/24388 CPU: 130 UID: 0 PID: 24388 Comm: syz.0.906 Tainted: G U O 7.0.0-smp-DEV #28 PREEMPTLAZY Tainted: [U]=USER, [O]=OOT_MODULE Hardware name: Google, Inc. Arcadia_IT_80/Arcadia_IT_80, BIOS 12.62.0-0 11/19/2025 Call Trace: <TASK> dump_stack_lvl+0xc5/0x110 ../lib/dump_stack.c:120 print_address_description ../mm/kasan/report.c:378 [inline] print_report+0xbc/0x260 ../mm/kasan/report.c:482 kasan_report+0xa2/0xe0 ../mm/kasan/report.c:595 check_region_inline ../mm/kasan/generic.c:-1 [inline] kasan_check_range+0x264/0x2c0 ../mm/kasan/generic.c:200 instrument_copy_to_user ../include/linux/instrumented.h:129 [inline] _inline_copy_to_user ../include/linux/uaccess.h:205 [inline] _copy_to_user+0x66/0xa0 ../lib/usercopy.c:26 copy_to_user ../include/linux/uaccess.h:236 [inline] sev_ioctl_do_get_id2+0x361/0x490 ../drivers/crypto/ccp/sev-dev.c:2222 sev_ioctl+0x25f/0x490 ../drivers/crypto/ccp/sev-dev.c:2575 vfs_ioctl ../fs/ioctl.c:51 [inline] __do_sys_ioctl ../fs/ioctl.c:597 [inline] __se_sys_ioctl+0x11d/0x1b0 ../fs/ioctl.c:583 do_syscall_x64 ../arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe0/0x800 ../arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x76/0x7e </TASK> WARN if the driver says the command succeeded, but the firmware error code says otherwise, as __sev_do_cmd_locked() is expected to return -EIO on any firwmware error.
Source: suse_csaf, Debian LTS Advisories, Ubuntu Security Notices, siemens_advisory, BSI WID Portal, BSI CSAF, ENISA EUVD, cvelistv5, NVD (NIST), Microsoft Security Update Guide, CVE.org (MITRE)
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 |
|
|
| Microsoft | Azure Linux |
|
|
| Siemens | SIMATIC S7 |
|
|
Vendors and products
Affected operating systems
| Linux | debian | linux | bookworm |
| Linux | debian | linux | bullseye |
| Linux | debian | linux-6.1 | bullseye |
| Linux | linux | linux_kernel | 7.1 |
| Linux | linux | linux_kernel | — |
Weakness classes (CWE)
CWE-125Out-of-bounds Read
Base
The product reads data past the end, or before the beginning, of the intended buffer.
Entry at MITRE CWE-125
References & sources
- git.kernel.orgstable/c/09427bcb1715fb20a80b6acd5156dbf15ab5c363euvd, Patch
- git.kernel.orgstable/c/1fbac0429a42adec830491757a2b53956dd797eaeuvd, Patch
- git.kernel.orgstable/c/2937f17bbeefb8e7608ff1f78cffbeb3d0281e5eeuvd, Patch
- git.kernel.orgstable/c/06f06d88c05ce176c61fff8c72c372847b0dd2b5euvd, Patch
- git.kernel.orgstable/c/4f685dbfa87c546e51d9dc6cab379d20f275e114euvd, Patch
- git.kernel.orgstable/c/99bae2e3c3f9ba8f854c938ed2c811b6a63b28e4
- git.kernel.orgstable/c/a21ae9f8769e5f75433bb0a85ac3868b2100ef5b
- git.kernel.orgstable/c/0f1f2f9894893dc8a28af1b9e9dbc0abf453eb52
- 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 modifiedCISA ADP
Weakness type: CWE-125
Show the original change
Individual changes of this event as published by NVD Type Action Before After Weakness type (CWE) added —CWE-125Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Record modifiedCISA ADP
CISA assessment (SSVC): exploitation: none known, automatable: no
Show the original change
Individual changes of this event as published by NVD Type Action Before After SSVC assessment added —{"id":"CVE-2026-31697","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"version":"2.0.3","timestamp":"2026-10-16T15:12:34.967225Z"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Record modifiedLinux
New references:- https://git.kernel.org/stable/c/06f06d88c05ce176c61fff8c72c372847b0dd2b5
- https://git.kernel.org/stable/c/09427bcb1715fb20a80b6acd5156dbf15ab5c363
- https://git.kernel.org/stable/c/0f1f2f9894893dc8a28af1b9e9dbc0abf453eb52
- https://git.kernel.org/stable/c/1fbac0429a42adec830491757a2b53956dd797ea
and 4 more references
Show 21 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://git.kernel.org/stable/c/06f06d88c05ce176c61fff8c72c372847b0dd2b5Reference added —https://git.kernel.org/stable/c/09427bcb1715fb20a80b6acd5156dbf15ab5c363Reference added —https://git.kernel.org/stable/c/0f1f2f9894893dc8a28af1b9e9dbc0abf453eb52Reference added —https://git.kernel.org/stable/c/1fbac0429a42adec830491757a2b53956dd797eaReference added —https://git.kernel.org/stable/c/2937f17bbeefb8e7608ff1f78cffbeb3d0281e5eReference added —https://git.kernel.org/stable/c/4f685dbfa87c546e51d9dc6cab379d20f275e114Reference added —https://git.kernel.org/stable/c/99bae2e3c3f9ba8f854c938ed2c811b6a63b28e4Reference added —https://git.kernel.org/stable/c/a21ae9f8769e5f75433bb0a85ac3868b2100ef5bReference removed https://git.kernel.org/stable/c/06f06d88c05ce176c61fff8c72c372847b0dd2b5—Reference removed https://git.kernel.org/stable/c/09427bcb1715fb20a80b6acd5156dbf15ab5c363—Reference removed https://git.kernel.org/stable/c/0f1f2f9894893dc8a28af1b9e9dbc0abf453eb52—Reference removed https://git.kernel.org/stable/c/1fbac0429a42adec830491757a2b53956dd797ea—Reference removed https://git.kernel.org/stable/c/2937f17bbeefb8e7608ff1f78cffbeb3d0281e5e—Reference removed https://git.kernel.org/stable/c/4f685dbfa87c546e51d9dc6cab379d20f275e114—Reference removed https://git.kernel.org/stable/c/99bae2e3c3f9ba8f854c938ed2c811b6a63b28e4—Reference removed https://git.kernel.org/stable/c/a21ae9f8769e5f75433bb0a85ac3868b2100ef5b—Reference type removed https://git.kernel.org/stable/c/06f06d88c05ce176c61fff8c72c372847b0dd2b5 Types: Patch—Reference type removed https://git.kernel.org/stable/c/09427bcb1715fb20a80b6acd5156dbf15ab5c363 Types: Patch—Reference type removed https://git.kernel.org/stable/c/1fbac0429a42adec830491757a2b53956dd797ea Types: Patch—Reference type removed https://git.kernel.org/stable/c/2937f17bbeefb8e7608ff1f78cffbeb3d0281e5e Types: Patch—Reference type removed https://git.kernel.org/stable/c/4f685dbfa87c546e51d9dc6cab379d20f275e114 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-31697.json">CVE-2026-31697</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-31697"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-31697.svg?lang=en" alt="CVE-2026-31697 – NEOSEC Intel" height="20"></a>