CVE-2025-40117
Last modified
CVE-2025-40117 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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 estimates a 0.18% chance of exploitation in the next 30 days.
Description
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().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= eefb83790a0dda112d1755e4f5e213738d717e76, < 6df3687922570f753574c40b35e83b26b32292d0; >= eefb83790a0dda112d1755e4f5e213738d717e76, < 1ad82f9db13d85667366044acdfb02009d576c5a |
| Linux | Linux | 6.17 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40117?
How severe is CVE-2025-40117?
How do I fix CVE-2025-40117?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40111In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40112In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40113In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40114In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40115In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40116In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40118In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40119In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4012A vulnerability was found in playeduxyz PlayEdu 开源培训系统 up to…7.5
- CVE-2025-40120In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40121In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40122In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2025-40117?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
