Integer underflow in Linux kernel - CVE-2025-40117

 

Integer underflow in Linux kernel - CVE-2025-40117

Published: November 12, 2025


Vulnerability identifier: #VU118431
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-40117
CWE-ID: CWE-191
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to execute arbitrary code.

The vulnerability exists due to integer underflow within the pci_endpoint_test_ioctl() function in drivers/misc/pci_endpoint_test.c. A local user can execute arbitrary code.


How to mitigate CVE-2025-40117

Install update from vendor's repository.

Sources