CVE-2026-31697

Kernel-data disclosure via failed firmware command copy

Published May 1, 2026 · Updated May 1, 2026

Out-of-bounds read in the CCP SEV driver in Linux Kernel allows local users to read kernel data via a SEV_GET_ID2 ioctl. The sev_ioctl_do_get_id2 function uses the firmware-reported data length in copy_to_user even when the PSP command fails, reading beyond the allocated ID buffer. Exploitation requires local low-privileged access and an undersized userspace buffer that causes firmware rejection; returned bytes can include adjacent kernel-heap data.

CVSS severity7.1
High
EPSS probability0.13%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Out-of-bounds read in the CCP SEV driver in Linux Kernel allows local users to read kernel data via a SEV_GET_ID2 ioctl. The sev_ioctl_do_get_id2 function uses the firmware-reported data length in copy_to_user even when the PSP command fails, reading beyond the allocated ID buffer. Exploitation requires local low-privileged access and an undersized userspace buffer that causes firmware rejection; returned bytes can include adjacent kernel-heap data.

The record

CVE
CVE-2026-31697
Published
May 1, 2026
Updated
May 1, 2026
Vendor
The Linux Kernel Organization
Product
Linux Kernel
Classifications
CWE-787
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. May 1, 2026CVE publishedPublication date reported by the CVE source.
  2. May 1, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=5.2
  2. Affected versionversion=d6112ea0cb344d6f5ed519991e24f69ba4b43d0e <06f06d88c05ce176c61fff8c72c372847b0dd2b5
  3. Affected versionversion=d6112ea0cb344d6f5ed519991e24f69ba4b43d0e <09427bcb1715fb20a80b6acd5156dbf15ab5c363
  4. Affected versionversion=d6112ea0cb344d6f5ed519991e24f69ba4b43d0e <1fbac0429a42adec830491757a2b53956dd797ea
  5. Affected versionversion=d6112ea0cb344d6f5ed519991e24f69ba4b43d0e <2937f17bbeefb8e7608ff1f78cffbeb3d0281e5e
  6. Affected versionversion=d6112ea0cb344d6f5ed519991e24f69ba4b43d0e <4f685dbfa87c546e51d9dc6cab379d20f275e114

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linux Kernelversion=5.2; version=d6112ea0cb344d6f5ed519991e24f69ba4b43d0e <06f06d88c05ce176c61fff8c72c372847b0dd2b5; version=d6112ea0cb344d6f5ed519991e24f69ba4b43d0e <09427bcb1715fb20a80b6acd5156dbf15ab5c363; version=d6112ea0cb344d6f5ed519991e24f69ba4b43d0e <1fbac0429a42adec830491757a2b53956dd797ea; version=d6112ea0cb344d6f5ed519991e24f69ba4b43d0e <2937f17bbeefb8e7608ff1f78cffbeb3d0281e5e; version=d6112ea0cb344d6f5ed519991e24f69ba4b43d0e <4f685dbfa87c546e51d9dc6cab379d20f275e114

Published CVSS scores

7.1kernel.orgCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-787Out-of-bounds Write

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo