CVE-2021-46918 dmaengine: idxd: clear MSIX permission entry on shutdown
The Linux kernel idxd driver fails to clear MSIX permission entries on shutdown, potentially leaving stale state that requires patching.
- 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-2021-46918?
CVE-2021-46918 is a medium-severity vulnerability in Linux kernel, published on 27 Feb 2024. 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:
dmaengine: idxd: clear MSIX permission entry on shutdown
Add disabling/clearing of MSIX permission entries on device shutdown to mirror the enabling of the MSIX entries on probe. Current code left the MSIX enabled and the pasid entries still programmed at device shutdown.
Which versions are affected by CVE-2021-46918?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-46918?
Apply the vendor's patch.
Is CVE-2021-46918 being exploited?
There is no known exploitation of CVE-2021-46918 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-46918, GHSA-wp68-xh4w-r326, UBUNTU-CVE-2021-46918.