CVE-2026-53297 net: mana: Guard mana_remove against double invocation
A double invocation of the mana_remove function in the Linux kernel network driver causes a null pointer dereference, leading to a kernel panic and denial of service.
- 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-53297?
CVE-2026-53297 is a medium-severity vulnerability in Linux kernel, published on 26 Jun 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:
net: mana: Guard mana_remove against double invocation
If PM resume fails (e.g., mana_attach() returns an error), mana_probe() calls mana_remove(), which tears down the device and sets gd->gdma_context = NULL and gd->driver_data = NULL.
However, a failed resume callback does not automatically unbind the driver. When the device is eventually unbound, mana_remove() is invoked a second time. Without a NULL check, it dereferences gc->dev with gc == NULL, causing a kernel panic.
Add an early return if gdma_context or driver_data is NULL so the second invocation is harmless. Move the dev = gc->dev assignment after the guard so it cannot dereference NULL.
Weakness: CWE-476
Which versions are affected by CVE-2026-53297?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-53297?
Apply the vendor's patch.
Is CVE-2026-53297 being exploited?
There is no known exploitation of CVE-2026-53297 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-91331, BELL-CVE-2026-53297, DEBIAN-CVE-2026-53297, GHSA-43rv-4q7x-r3cg, ROOT-OS-DEBIAN-12-CVE-2026-53297, ROOT-OS-DEBIAN-13-CVE-2026-53297 and 2 more.