Linux Kernel PCI Rescan Service Vulnerability Leading to Use-After-Free Crash

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's PCI rescan service for the Microsoft Azure Network Adapter (MANA). This issue arises when the 'mana_serv_reset()' function calls 'mana_gd_suspend()', which cleans up and destroys the workqueue used for servicing events. If the subsequent 'mana_gd_resume()' fails, the code proceeds to 'mana_serv_rescan()', triggering a PCI device removal that invokes the cleanup process again, attempting to destroy the already-freed workqueue. This flaw can cause a crash by accessing freed memory, creating a potential exploitation vector.

Impact

Exploitation of this vulnerability leads to a use-after-free condition, causing a crash by accessing deallocated memory. Such use-after-free vulnerabilities can often be exploited to execute arbitrary code or cause other unintended behavior.

Reproduction

To reproduce this vulnerability, reset the MANA service in a scenario where the 'mana_gd_resume()' function fails with a timeout or protocol error. This will trigger the 'mana_serv_rescan()' function, which removes the PCI device and causes the cleanup process to run twice, attempting to destroy the workqueue after it has already been freed.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.

Added: May 6, 2026, 12:33 PM
Updated: May 6, 2026, 12:33 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
7.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.