Home

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

PUBLISHED Reserved 2025-04-16 | Published 2025-11-12 | Updated 2025-12-01 | Assigner Linux

Product status

Default status
unaffected

eefb83790a0dda112d1755e4f5e213738d717e76 (git) before 6df3687922570f753574c40b35e83b26b32292d0
affected

eefb83790a0dda112d1755e4f5e213738d717e76 (git) before 1ad82f9db13d85667366044acdfb02009d576c5a
affected

Default status
affected

6.17
affected

Any version before 6.17
unaffected

6.17.3 (semver)
unaffected

6.18 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/6df3687922570f753574c40b35e83b26b32292d0

git.kernel.org/...c/1ad82f9db13d85667366044acdfb02009d576c5a

cve.org (CVE-2025-40117)

nvd.nist.gov (CVE-2025-40117)

Download JSON