{"id":"CVE-2026-53297","aliases":["CVE-2026-53297"],"related":[],"kind":"vulnerability","state":"published","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 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.","source":"cvelist"}],"published":"2026-06-26T19:40:55.155Z","modified":"2026-11-06T17:18:23.377Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"635096a86edb067d55a1e04b4a918f5c6dac0c51","fixed":"f63a6d2e4167703611f5c2602eaa1a23f635430f","status":"affected"},{"type":"git","introduced":"635096a86edb067d55a1e04b4a918f5c6dac0c51","fixed":"793bf1f4e469c51d0e39199823da5e1de85a2741","status":"affected"},{"type":"git","introduced":"635096a86edb067d55a1e04b4a918f5c6dac0c51","fixed":"8ee85b75a72216c857c39457f6595709c4c9f856","status":"affected"},{"type":"git","introduced":"635096a86edb067d55a1e04b4a918f5c6dac0c51","fixed":"a1ddfd2c0b7a48e5239fadd2a24cc4bc2cda90e6","status":"affected"},{"type":"git","introduced":"635096a86edb067d55a1e04b4a918f5c6dac0c51","fixed":"bbe5c3c570645a4ceb120979d3ee203a1583d775","status":"affected"},{"type":"git","introduced":"635096a86edb067d55a1e04b4a918f5c6dac0c51","fixed":"50271d7ec95144d26808025b508f463780517d3c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.33","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.10","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.16","fixed":"6.18.33"},{"status":"affected","introduced":"6.19","fixed":"7.0.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f63a6d2e4167703611f5c2602eaa1a23f635430f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/793bf1f4e469c51d0e39199823da5e1de85a2741","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ee85b75a72216c857c39457f6595709c4c9f856","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1ddfd2c0b7a48e5239fadd2a24cc4bc2cda90e6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bbe5c3c570645a4ceb120979d3ee203a1583d775","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50271d7ec95144d26808025b508f463780517d3c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:26:02.492Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53297","url":"https://www.cve.org/CVERecord?id=CVE-2026-53297","licence":"CVE Terms of Use","modified":"2026-11-06T16:34:19.321Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53297","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53297","licence":"Public domain","modified":"2026-11-06T17:18:23.377Z"}],"updatedAt":"2026-11-25T22:59:26.529Z","epss":{"score":0.00123,"percentile":0.02244,"date":"2026-12-01T12:00:22.000Z"}}