{"id":"CVE-2026-68332","aliases":["CVE-2026-68332"],"related":[],"kind":"vulnerability","state":"published","title":"net: airoha: Fix potential use-after-free in airoha_ppe_deinit()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: airoha: Fix potential use-after-free in airoha_ppe_deinit()\n\nairoha_ppe_deinit() replaces the NPU pointer with NULL via\nrcu_replace_pointer() but does not wait for existing RCU readers\nto exit before calling ppe_deinit() and airoha_npu_put(). This can\ncause a use-after-free if a reader in an RCU read-side critical\nsection still holds a reference to the NPU when it is freed.\n\nThe init path (airoha_ppe_init) already calls synchronize_rcu()\nafter rcu_assign_pointer(), but the deinit path introduced in\ncommit 6abcf751bc08 (\"net: airoha: Fix schedule while atomic in\nairoha_ppe_deinit()\") omitted the matching barrier when switching\nfrom rcu_read_lock()/rcu_dereference() to rcu_replace_pointer().\n\nAdd synchronize_rcu() before ppe_deinit() to ensure all existing\nRCU readers have completed before the NPU resources are released.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: airoha: Fix potential use-after-free in airoha_ppe_deinit()\n\nairoha_ppe_deinit() replaces the NPU pointer with NULL via\nrcu_replace_pointer() but does not wait for existing RCU readers\nto exit before calling ppe_deinit() and airoha_npu_put(). This can\ncause a use-after-free if a reader in an RCU read-side critical\nsection still holds a reference to the NPU when it is freed.\n\nThe init path (airoha_ppe_init) already calls synchronize_rcu()\nafter rcu_assign_pointer(), but the deinit path introduced in\ncommit 6abcf751bc08 (\"net: airoha: Fix schedule while atomic in\nairoha_ppe_deinit()\") omitted the matching barrier when switching\nfrom rcu_read_lock()/rcu_dereference() to rcu_replace_pointer().\n\nAdd synchronize_rcu() before ppe_deinit() to ensure all existing\nRCU readers have completed before the NPU resources are released.","source":"cvelist"}],"published":"2026-08-10T12:03:08.525Z","modified":"2026-08-17T06:17:41.317Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"72f93dc6d1a6b157e0c3d247085c74935893cca0","fixed":"46e3bed4b071095ecc9384a7b349e1908728531f","status":"affected"},{"type":"git","introduced":"6abcf751bc084804a9e5b3051442e8a2ce67f48a","fixed":"ad28c4f9e0eae4993cb3fde3e7cea330acd8b97c","status":"affected"},{"type":"git","introduced":"6abcf751bc084804a9e5b3051442e8a2ce67f48a","fixed":"2484568a335cd7bda951c75b3a7d95ea36161ae7","status":"affected"},{"type":"semver","introduced":"6.18.6","fixed":"6.18.42","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/46e3bed4b071095ecc9384a7b349e1908728531f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad28c4f9e0eae4993cb3fde3e7cea330acd8b97c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2484568a335cd7bda951c75b3a7d95ea36161ae7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68332","url":"https://www.cve.org/CVERecord?id=CVE-2026-68332","licence":"CVE Terms of Use","modified":"2026-08-17T05:03:30.927Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68332","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68332","licence":"Public domain","modified":"2026-08-17T06:17:41.317Z"}],"updatedAt":"2026-11-25T22:59:32.089Z","epss":{"score":0.00173,"percentile":0.07099,"date":"2026-12-01T12:00:22.000Z"}}