CVE-2026-53297

Source
https://cve.org/CVERecord?id=CVE-2026-53297
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53297.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53297
Downstream
Published
2026-06-26T19:40:55.155Z
Modified
2026-07-09T03:52:30.846012765Z
Summary
net: mana: Guard mana_remove against double invocation
Details

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

net: mana: Guard mana_remove against double invocation

If PM resume fails (e.g., manaattach() returns an error), manaprobe() calls manaremove(), which tears down the device and sets gd->gdmacontext = 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 gdmacontext or driverdata is NULL so the second invocation is harmless. Move the dev = gc->dev assignment after the guard so it cannot dereference NULL.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53297.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
635096a86edb067d55a1e04b4a918f5c6dac0c51
Fixed
a1ddfd2c0b7a48e5239fadd2a24cc4bc2cda90e6
Fixed
bbe5c3c570645a4ceb120979d3ee203a1583d775
Fixed
50271d7ec95144d26808025b508f463780517d3c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53297.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.18.33
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53297.json"