{"id":"CVE-2026-72489","aliases":["CVE-2026-72489"],"related":[],"kind":"vulnerability","state":"published","title":"staging: nvec: fix use-after-free in nvec_rx_completed()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: nvec: fix use-after-free in nvec_rx_completed()\n\nIn nvec_rx_completed(), when an incomplete RX transfer is detected,\nnvec_msg_free() is called to return the message back to the pool by\nclearing its 'used' atomic flag. Immediately after this, the code\naccesses nvec->rx->data[0] to check the message type.\n\nSince nvec_msg_free() marks the pool slot as available via atomic_set(),\nany concurrent or subsequent call to nvec_msg_alloc() could claim that\nsame slot and overwrite its data[] array. Reading nvec->rx->data[0] after\nfreeing the message is therefore a use-after-free.\n\nFix this by saving the message type byte before calling nvec_msg_free(),\nthen using the saved value for the battery quirk check.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: nvec: fix use-after-free in nvec_rx_completed()\n\nIn nvec_rx_completed(), when an incomplete RX transfer is detected,\nnvec_msg_free() is called to return the message back to the pool by\nclearing its 'used' atomic flag. Immediately after this, the code\naccesses nvec->rx->data[0] to check the message type.\n\nSince nvec_msg_free() marks the pool slot as available via atomic_set(),\nany concurrent or subsequent call to nvec_msg_alloc() could claim that\nsame slot and overwrite its data[] array. Reading nvec->rx->data[0] after\nfreeing the message is therefore a use-after-free.\n\nFix this by saving the message type byte before calling nvec_msg_free(),\nthen using the saved value for the battery quirk check.","source":"cvelist"}],"published":"2026-08-15T05:57:24.948Z","modified":"2026-08-17T06:19:17.150Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d6bdcf2e1019351cbc176e963b7756766bdd8721","fixed":"6b2ea886ebdae44a2394029844a4e78f58e1587d","status":"affected"},{"type":"git","introduced":"d6bdcf2e1019351cbc176e963b7756766bdd8721","fixed":"a37625c7b688fcf68a54263528eccbabfd7fa17a","status":"affected"},{"type":"git","introduced":"d6bdcf2e1019351cbc176e963b7756766bdd8721","fixed":"9f7fe4165a1f1014bdadc8e744c0fd3c2d8c0b89","status":"affected"},{"type":"git","introduced":"d6bdcf2e1019351cbc176e963b7756766bdd8721","fixed":"08626fcfe12308ca3f8b22c538ba7dee0b2dce7a","status":"affected"},{"type":"git","introduced":"d6bdcf2e1019351cbc176e963b7756766bdd8721","fixed":"f19a5bc059051143c489dd6f79a0f9c3bfd13aea","status":"affected"},{"type":"git","introduced":"d6bdcf2e1019351cbc176e963b7756766bdd8721","fixed":"bb3d592c7d6c4ec8ac6640c690ca13298e7e8e90","status":"affected"},{"type":"git","introduced":"d6bdcf2e1019351cbc176e963b7756766bdd8721","fixed":"5de04caa46b635e180cecbd164e333eca535db94","status":"affected"},{"type":"git","introduced":"d6bdcf2e1019351cbc176e963b7756766bdd8721","fixed":"26813881181deb3a32fbb59eadb2599cbe8423f6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.2","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","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/6b2ea886ebdae44a2394029844a4e78f58e1587d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a37625c7b688fcf68a54263528eccbabfd7fa17a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f7fe4165a1f1014bdadc8e744c0fd3c2d8c0b89","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08626fcfe12308ca3f8b22c538ba7dee0b2dce7a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f19a5bc059051143c489dd6f79a0f9c3bfd13aea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb3d592c7d6c4ec8ac6640c690ca13298e7e8e90","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5de04caa46b635e180cecbd164e333eca535db94","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/26813881181deb3a32fbb59eadb2599cbe8423f6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72489","url":"https://www.cve.org/CVERecord?id=CVE-2026-72489","licence":"CVE Terms of Use","modified":"2026-08-17T05:44:51.131Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72489","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72489","licence":"Public domain","modified":"2026-08-17T06:19:17.150Z"}],"updatedAt":"2026-11-25T22:59:33.140Z","epss":{"score":0.00148,"percentile":0.04189,"date":"2026-12-01T12:00:22.000Z"}}