{"id":"CVE-2026-53297","title":"net: mana: Guard mana_remove against double invocation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mana: Guard mana_remove against double invocation\n\nIf PM resume fails (e.g., mana_attach() returns an error), mana_probe()\ncalls mana_remove(), which tears down th…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 635096a86edb067d55a1e04b4a918f5c6dac0c51 < 793bf1f4e469c51d0e39199823da5e1de85a2741","Linux >= 635096a86edb067d55a1e04b4a918f5c6dac0c51 < 8ee85b75a72216c857c39457f6595709c4c9f856","Linux >= 635096a86edb067d55a1e04b4a918f5c6dac0c51 < a1ddfd2c0b7a48e5239fadd2a24cc4bc2cda90e6","Linux >= 635096a86edb067d55a1e04b4a918f5c6dac0c51 < bbe5c3c570645a4ceb120979d3ee203a1583d775","Linux >= 635096a86edb067d55a1e04b4a918f5c6dac0c51 < 50271d7ec95144d26808025b508f463780517d3c","Linux 5.16"],"published":"2026-06-26","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:42:28.350Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-53297","references":[{"url":"https://git.kernel.org/stable/c/793bf1f4e469c51d0e39199823da5e1de85a2741"},{"url":"https://git.kernel.org/stable/c/8ee85b75a72216c857c39457f6595709c4c9f856"},{"url":"https://git.kernel.org/stable/c/a1ddfd2c0b7a48e5239fadd2a24cc4bc2cda90e6"},{"url":"https://git.kernel.org/stable/c/bbe5c3c570645a4ceb120979d3ee203a1583d775"},{"url":"https://git.kernel.org/stable/c/50271d7ec95144d26808025b508f463780517d3c"}],"tags":["cve.org"],"epss":0.0016,"epssPercentile":0.04797,"ingestedAt":"2026-10-21T12:48:53.617Z","slug":"CVE-2026-53297","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnet: mana: Guard mana_remove against double invocation\n\nIf PM resume fails (e.g., mana_attach() returns an error), mana_probe()\ncalls mana_remove(), which tears down the device and sets\ngd->gdma_context = NULL and gd->driver_data = NULL.\n\nHowever, a failed resume callback does not automatically unbind the\ndriver. When the device is eventually unbound, mana_remove() is invoked\na second time. Without a NULL check, it dereferences gc->dev with\ngc == NULL, causing a kernel panic.\n\nAdd an early return if gdma_context or driver_data is NULL so the second\ninvocation is harmless. Move the dev = gc->dev assignment after the\nguard so it cannot dereference NULL.\n\n## Affected\n\n- `Linux >= 635096a86edb067d55a1e04b4a918f5c6dac0c51 < 793bf1f4e469c51d0e39199823da5e1de85a2741`\n- `Linux >= 635096a86edb067d55a1e04b4a918f5c6dac0c51 < 8ee85b75a72216c857c39457f6595709c4c9f856`\n- `Linux >= 635096a86edb067d55a1e04b4a918f5c6dac0c51 < a1ddfd2c0b7a48e5239fadd2a24cc4bc2cda90e6`\n- `Linux >= 635096a86edb067d55a1e04b4a918f5c6dac0c51 < bbe5c3c570645a4ceb120979d3ee203a1583d775`\n- `Linux >= 635096a86edb067d55a1e04b4a918f5c6dac0c51 < 50271d7ec95144d26808025b508f463780517d3c`\n- `Linux 5.16`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}