CVE-2025-40117

CVE-2025-40117

High · published November 12, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
4.1
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00153 · 4.1th percentile
Published
2025-11-12T16:15Z
References (2)
EPSS history
Timeline
  • 12 NOV 10:23Z
    misc: pci_endpoint_test: Fix array underflow in pci_endpoint_test_ioctl()
    cvelistv5