{"id":"CVE-2025-40117","published":"2025-11-12T10:23:17Z","modified":"2026-08-05T12:07:53Z","title":"misc: pci_endpoint_test: Fix array underflow in pci_endpoint_test_ioctl()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: pci_endpoint_test: Fix array underflow in pci_endpoint_test_ioctl()\n\nCommit eefb83790a0d (\"misc: pci_endpoint_test: Add doorbell test case\")\nadded NO_BAR (-1) to the pci_barno enum which, in practical terms,\nchanges the enum from an unsigned int to a signed int.  If the user\npasses a negative number in pci_endpoint_test_ioctl() then it results in\nan array underflow in pci_endpoint_test_bar().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00219,"percentile":0.07157,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6df3687922570f753574c40b35e83b26b32292d0","tags":[]},{"url":"https://git.kernel.org/stable/c/1ad82f9db13d85667366044acdfb02009d576c5a","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.43},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= eefb83790a0dda112d1755e4f5e213738d717e76, < 6df3687922570f753574c40b35e83b26b32292d0",">= eefb83790a0dda112d1755e4f5e213738d717e76, < 1ad82f9db13d85667366044acdfb02009d576c5a"]},{"vendor":"Linux","product":"Linux","versions":["6.17"]}],"euvd":{"id":"EUVD-2025-124966","exploited":false,"provenance":"source"}}