Vulnerability in Linux

CVE-2025-40117

In the Linux kernel, the following vulnerability has been resolved: misc: pci_endpoint_test: Fix array underflow in pci_endpoint_test_ioctl() Commit eefb83790a0d ("misc: pci_endpoint_test: Add doorbell test case") added NO_BAR (-1) to the pci_barno enum which, in practical terms, changes the enum from an unsigned int to a signed int. If the user passes a negative number in pci_endpoint_test_ioctl() then it results in an array underflow in pci_endpoint_test_bar().

EPSS: 0.002 (7.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Linux — versions eefb83790a0dda112d1755e4f5e213738d717e76, 6.17, 0

References

Frequently asked questions

What is CVE-2025-40117?
CVE-2025-40117 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2025-11-12.
How severe is CVE-2025-40117?
High severity. CVSS v3 base score is 7.8 out of 10.