{"id":"CVE-2026-43276","aliases":["CVE-2026-43276"],"related":[],"kind":"vulnerability","state":"published","title":"net: mana: Fix double destroy_workqueue on service rescan PCI path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mana: Fix double destroy_workqueue on service rescan PCI path\n\nWhile testing corner cases in the driver, a use-after-free crash\nwas found on the service rescan PCI path.\n\nWhen mana_serv_reset() calls mana_gd_suspend(), mana_gd_cleanup()\ndestroys gc->service_wq. If the subsequent mana_gd_resume() fails\nwith -ETIMEDOUT or -EPROTO, the code falls through to\nmana_serv_rescan() which triggers pci_stop_and_remove_bus_device().\nThis invokes the PCI .remove callback (mana_gd_remove), which calls\nmana_gd_cleanup() a second time, attempting to destroy the already-\nfreed workqueue. Fix this by NULL-checking gc->service_wq in\nmana_gd_cleanup() and setting it to NULL after destruction.\n\nCall stack of issue for reference:\n[Sat Feb 21 18:53:48 2026] Call Trace:\n[Sat Feb 21 18:53:48 2026]  <TASK>\n[Sat Feb 21 18:53:48 2026]  mana_gd_cleanup+0x33/0x70 [mana]\n[Sat Feb 21 18:53:48 2026]  mana_gd_remove+0x3a/0xc0 [mana]\n[Sat Feb 21 18:53:48 2026]  pci_device_remove+0x41/0xb0\n[Sat Feb 21 18:53:48 2026]  device_remove+0x46/0x70\n[Sat Feb 21 18:53:48 2026]  device_release_driver_internal+0x1e3/0x250\n[Sat Feb 21 18:53:48 2026]  device_release_driver+0x12/0x20\n[Sat Feb 21 18:53:48 2026]  pci_stop_bus_device+0x6a/0x90\n[Sat Feb 21 18:53:48 2026]  pci_stop_and_remove_bus_device+0x13/0x30\n[Sat Feb 21 18:53:48 2026]  mana_do_service+0x180/0x290 [mana]\n[Sat Feb 21 18:53:48 2026]  mana_serv_func+0x24/0x50 [mana]\n[Sat Feb 21 18:53:48 2026]  process_one_work+0x190/0x3d0\n[Sat Feb 21 18:53:48 2026]  worker_thread+0x16e/0x2e0\n[Sat Feb 21 18:53:48 2026]  kthread+0xf7/0x130\n[Sat Feb 21 18:53:48 2026]  ? __pfx_worker_thread+0x10/0x10\n[Sat Feb 21 18:53:48 2026]  ? __pfx_kthread+0x10/0x10\n[Sat Feb 21 18:53:48 2026]  ret_from_fork+0x269/0x350\n[Sat Feb 21 18:53:48 2026]  ? __pfx_kthread+0x10/0x10\n[Sat Feb 21 18:53:48 2026]  ret_from_fork_asm+0x1a/0x30\n[Sat Feb 21 18:53:48 2026]  </TASK>","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mana: Fix double destroy_workqueue on service rescan PCI path\n\nWhile testing corner cases in the driver, a use-after-free crash\nwas found on the service rescan PCI path.\n\nWhen mana_serv_reset() calls mana_gd_suspend(), mana_gd_cleanup()\ndestroys gc->service_wq. If the subsequent mana_gd_resume() fails\nwith -ETIMEDOUT or -EPROTO, the code falls through to\nmana_serv_rescan() which triggers pci_stop_and_remove_bus_device().\nThis invokes the PCI .remove callback (mana_gd_remove), which calls\nmana_gd_cleanup() a second time, attempting to destroy the already-\nfreed workqueue. Fix this by NULL-checking gc->service_wq in\nmana_gd_cleanup() and setting it to NULL after destruction.\n\nCall stack of issue for reference:\n[Sat Feb 21 18:53:48 2026] Call Trace:\n[Sat Feb 21 18:53:48 2026]  <TASK>\n[Sat Feb 21 18:53:48 2026]  mana_gd_cleanup+0x33/0x70 [mana]\n[Sat Feb 21 18:53:48 2026]  mana_gd_remove+0x3a/0xc0 [mana]\n[Sat Feb 21 18:53:48 2026]  pci_device_remove+0x41/0xb0\n[Sat Feb 21 18:53:48 2026]  device_remove+0x46/0x70\n[Sat Feb 21 18:53:48 2026]  device_release_driver_internal+0x1e3/0x250\n[Sat Feb 21 18:53:48 2026]  device_release_driver+0x12/0x20\n[Sat Feb 21 18:53:48 2026]  pci_stop_bus_device+0x6a/0x90\n[Sat Feb 21 18:53:48 2026]  pci_stop_and_remove_bus_device+0x13/0x30\n[Sat Feb 21 18:53:48 2026]  mana_do_service+0x180/0x290 [mana]\n[Sat Feb 21 18:53:48 2026]  mana_serv_func+0x24/0x50 [mana]\n[Sat Feb 21 18:53:48 2026]  process_one_work+0x190/0x3d0\n[Sat Feb 21 18:53:48 2026]  worker_thread+0x16e/0x2e0\n[Sat Feb 21 18:53:48 2026]  kthread+0xf7/0x130\n[Sat Feb 21 18:53:48 2026]  ? __pfx_worker_thread+0x10/0x10\n[Sat Feb 21 18:53:48 2026]  ? __pfx_kthread+0x10/0x10\n[Sat Feb 21 18:53:48 2026]  ret_from_fork+0x269/0x350\n[Sat Feb 21 18:53:48 2026]  ? __pfx_kthread+0x10/0x10\n[Sat Feb 21 18:53:48 2026]  ret_from_fork_asm+0x1a/0x30\n[Sat Feb 21 18:53:48 2026]  </TASK>","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet: mana: Corregir doble destroy_workqueue en la ruta PCI de reescaneo de servicio\n\nMientras se probaban casos extremos en el controlador, se encontró un fallo de uso después de liberación en la ruta PCI de reescaneo de servicio.\n\nCuando mana_serv_reset() llama a mana_gd_suspend(), mana_gd_cleanup() destruye gc  ->  service_wq. Si el subsiguiente mana_gd_resume() falla con -ETIMEDOUT o -EPROTO, el código pasa a mana_serv_rescan(), lo que activa pci_stop_and_remove_bus_device(). Esto invoca la llamada de retorno .remove de PCI (mana_gd_remove), que llama a mana_gd_cleanup() una segunda vez, intentando destruir la workqueue ya liberada. Esto se corrige verificando si gc  ->  service_wq es NULL en mana_gd_cleanup() y estableciéndolo en NULL después de la destrucción.\n\nPila de llamadas del problema para referencia:\n[Sáb Feb 21 18:53:48 2026] Traza de Llamada:\n[Sáb Feb 21 18:53:48 2026] [TAREA]\n[Sáb Feb 21 18:53:48 2026] mana_gd_cleanup+0x33/0x70 [mana]\n[Sáb Feb 21 18:53:48 2026] mana_gd_remove+0x3a/0xc0 [mana]\n[Sáb Feb 21 18:53:48 2026] pci_device_remove+0x41/0xb0\n[Sáb Feb 21 18:53:48 2026] device_remove+0x46/0x70\n[Sáb Feb 21 18:53:48 2026] device_release_driver_internal+0x1e3/0x250\n[Sáb Feb 21 18:53:48 2026] device_release_driver+0x12/0x20\n[Sáb Feb 21 18:53:48 2026] pci_stop_bus_device+0x6a/0x90\n[Sáb Feb 21 18:53:48 2026] pci_stop_and_remove_bus_device+0x13/0x30\n[Sáb Feb 21 18:53:48 2026] mana_do_service+0x180/0x290 [mana]\n[Sáb Feb 21 18:53:48 2026] mana_serv_func+0x24/0x50 [mana]\n[Sáb Feb 21 18:53:48 2026] process_one_work+0x190/0x3d0\n[Sáb Feb 21 18:53:48 2026] worker_thread+0x16e/0x2e0\n[Sáb Feb 21 18:53:48 2026] kthread+0xf7/0x130\n[Sáb Feb 21 18:53:48 2026] ? __pfx_worker_thread+0x10/0x10\n[Sáb Feb 21 18:53:48 2026] ? __pfx_kthread+0x10/0x10\n[Sáb Feb 21 18:53:48 2026] ret_from_fork+0x269/0x350\n[Sáb Feb 21 18:53:48 2026] ? __pfx_kthread+0x10/0x10\n[Sáb Feb 21 18:53:48 2026] ret_from_fork_asm+0x1a/0x30\n[Sáb Feb 21 18:53:48 2026] [/TAREA]","source":"nvd"}],"published":"2026-05-06T11:28:58.840Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"505cc26bcae00699bacaee66cd50ede7a9cc89cb","fixed":"fa3c2f8d9152344a478abb847081c1b5f84a94f5","status":"affected"},{"type":"git","introduced":"505cc26bcae00699bacaee66cd50ede7a9cc89cb","fixed":"a9a7c3203fdc4d4a8d8a7a3b1ed05d2bb4c6e77e","status":"affected"},{"type":"git","introduced":"505cc26bcae00699bacaee66cd50ede7a9cc89cb","fixed":"f975a0955276579e2176a134366ed586071c7c6a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","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":"6.16","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/fa3c2f8d9152344a478abb847081c1b5f84a94f5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a9a7c3203fdc4d4a8d8a7a3b1ed05d2bb4c6e77e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f975a0955276579e2176a134366ed586071c7c6a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:33:05.623Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43276","url":"https://www.cve.org/CVERecord?id=CVE-2026-43276","licence":"CVE Terms of Use","modified":"2026-11-06T15:42:46.252Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43276","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43276","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:20.763Z","epss":{"score":0.00118,"percentile":0.01888,"date":"2026-12-01T12:00:22.000Z"}}