SecurityContext

CVE-2025-40031: Linux Kernel - Denial of Service

  • Cve: CVE-2025-40031
  • Name: Linux Kernel - Denial of Service
  • 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.
  • Impact: Attackers can cause a denial of service via kernel NULL pointer dereference.
  • Remediation: Update to the latest Linux kernel version containing the fix.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Cvss vector: N/A
  • Epss score: 0.00211
  • Epss percentile: 0.11244
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-10-28T12:15:36Z
  • Age in days: 392
  • Modified at: 2026-10-19T21:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-40031
  • Nvd status: deferred
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, severity, cvss score, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/6a7874ab814ce12003c46a92f7afc9b035c8e8e9
https://git.kernel.org/stable/c/9338093db954918558677a468d32e77041c65167
https://git.kernel.org/stable/c/d5cf5b37064b1699d946e8b7ab4ac7d7d101814c

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.8, < 6.18; >= 6.8, < 6.17.3; >= 6.8, < 6.12.53nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports