What’s Vulnerable › Vulnerabilities
CVE-2026-53297: net: mana: Guard mana_remove against double invocation
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-26 · updated 2026-10-30
- Weakness: CWE-476
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.
Affected products
- Linux kernel: from 5.16 before 6.18.33; from 6.19 before 7.0.10 — fixed in 6.18.33, 7.0.10
- Linux: 5.16 — fixed in 7.1
How to fix
Upgrade to a fixed version: Linux kernel 6.18.33, 7.0.10; Linux 7.1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/50271d7ec95144d26808025b508f463780517d3c
- https://git.kernel.org/stable/c/793bf1f4e469c51d0e39199823da5e1de85a2741
- https://git.kernel.org/stable/c/8ee85b75a72216c857c39457f6595709c4c9f856
- https://git.kernel.org/stable/c/a1ddfd2c0b7a48e5239fadd2a24cc4bc2cda90e6
- https://git.kernel.org/stable/c/bbe5c3c570645a4ceb120979d3ee203a1583d775
- https://git.kernel.org/stable/c/f63a6d2e4167703611f5c2602eaa1a23f635430f
Get alerted when CVE-2026-53297 or the next vulnerability affects your stack