CVE-2026-31595 PCI: endpoint: pci-epf-vntb: Stop cmd_handler work in epf_ntb_epc_cleanup

Medium 5.5 Published Updated

A use-after-free vulnerability in the Linux kernel PCI endpoint driver allows attackers to cause a system crash by triggering a race condition during cleanup.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31595?

CVE-2026-31595 is a medium-severity use after free vulnerability in Linux kernel, published on 24 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

PCI: endpoint: pci-epf-vntb: Stop cmd_handler work in epf_ntb_epc_cleanup

Disable the delayed work before clearing BAR mappings and doorbells to avoid running the handler after resources have been torn down.

Unable to handle kernel paging request at virtual address ffff800083f46004 [...] Internal error: Oops: 0000000096000007 [#1] SMP [...] Call trace: epf_ntb_cmd_handler+0x54/0x200 [pci_epf_vntb] (P) process_one_work+0x154/0x3b0 worker_thread+0x2c8/0x400 kthread+0x148/0x210 ret_from_fork+0x10/0x20

Which versions are affected by CVE-2026-31595?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31595?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-31595 being exploited?

There is no known exploitation of CVE-2026-31595 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-83855, BELL-CVE-2026-31595, DEBIAN-CVE-2026-31595, GHSA-rr6w-wv7x-7vhx, ROOT-OS-DEBIAN-12-CVE-2026-31595, ROOT-OS-UBUNTU-2204-CVE-2026-31595 and 2 more.

Is CVE-2026-31595 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free