{"id":"CVE-2026-72489","published":"2026-08-15T05:57:24Z","modified":"2026-08-17T05:44:51Z","title":"staging: nvec: fix use-after-free in nvec_rx_completed()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0019,"percentile":0.05009,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6b2ea886ebdae44a2394029844a4e78f58e1587d","tags":[]},{"url":"https://git.kernel.org/stable/c/a37625c7b688fcf68a54263528eccbabfd7fa17a","tags":[]},{"url":"https://git.kernel.org/stable/c/9f7fe4165a1f1014bdadc8e744c0fd3c2d8c0b89","tags":[]},{"url":"https://git.kernel.org/stable/c/08626fcfe12308ca3f8b22c538ba7dee0b2dce7a","tags":[]},{"url":"https://git.kernel.org/stable/c/f19a5bc059051143c489dd6f79a0f9c3bfd13aea","tags":[]},{"url":"https://git.kernel.org/stable/c/bb3d592c7d6c4ec8ac6640c690ca13298e7e8e90","tags":[]},{"url":"https://git.kernel.org/stable/c/5de04caa46b635e180cecbd164e333eca535db94","tags":[]},{"url":"https://git.kernel.org/stable/c/26813881181deb3a32fbb59eadb2599cbe8423f6","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.0},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d6bdcf2e1019351cbc176e963b7756766bdd8721, < 6b2ea886ebdae44a2394029844a4e78f58e1587d",">= d6bdcf2e1019351cbc176e963b7756766bdd8721, < a37625c7b688fcf68a54263528eccbabfd7fa17a",">= d6bdcf2e1019351cbc176e963b7756766bdd8721, < 9f7fe4165a1f1014bdadc8e744c0fd3c2d8c0b89",">= d6bdcf2e1019351cbc176e963b7756766bdd8721, < 08626fcfe12308ca3f8b22c538ba7dee0b2dce7a",">= d6bdcf2e1019351cbc176e963b7756766bdd8721, < f19a5bc059051143c489dd6f79a0f9c3bfd13aea",">= d6bdcf2e1019351cbc176e963b7756766bdd8721, < bb3d592c7d6c4ec8ac6640c690ca13298e7e8e90",">= d6bdcf2e1019351cbc176e963b7756766bdd8721, < 5de04caa46b635e180cecbd164e333eca535db94",">= d6bdcf2e1019351cbc176e963b7756766bdd8721, < 26813881181deb3a32fbb59eadb2599cbe8423f6"]},{"vendor":"Linux","product":"Linux","versions":["3.2"]}],"euvd":{"id":"EUVD-2026-59388","exploited":false,"provenance":"source"}}