CVE-2025-40031: linux

CVSS: UnknownDeferred
AliasesUBUNTU-CVE-2025-40031DEBIAN-CVE-2025-40031
Published 28-10-2025Last modified 11-05-2026

Vulnerability summary

CVE-2025-40031 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11% of scored vulnerabilities.

Overall risk
0/100
0100
Minimal · default modelHow is this calculated?
CVSS score
Not scored
010
No CVSS score recorded
EPSS score
0.21%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 22 · Related 22

Timeline

  1. 28-10-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: tee: fix register_shm_helper() In register_shm_helper(), fix incorrect error handling for a call to iov_iter_extract_pages(). A case is missing for when iov_iter_extract_pages() only got some pages and return a number larger than 0, but not the requested amount. This fixes a possible NULL pointer dereference following a bad input from ioctl(TEE_IOC_SHM_REGISTER) where parts of the buffer isn't mapped.

CVSS metrics

Risk metrics not yet published.

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

+0.01 pp

From 0.20% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.21%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Ubuntu127 products
  • linux< 6.8.0-106.106 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1050.53 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.12.57-1 | < 6.17.6-1
Linux1 product
  • linux≥ 7bdee41575919773818e525ea19e54eb817770af, < 9338093db954918558677a468d32e77041c65167 | ≥ 7bdee41575919773818e525ea19e54eb817770af, < 6a7874ab814ce12003c46a92f7afc9b035c8e8e9 | ≥ 7bdee41575919773818e525ea19e54eb817770af, < d5cf5b37064b1699d946e8b7ab4ac7d7d101814c | 6.8

3 vendors · 129 products

References

22 links
Show all 22 references