{"id":"CVE-2026-98016","aliases":["CVE-2026-98016"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5e: Fix use-after-free race in sample_restore_put()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Fix use-after-free race in sample_restore_put()\n\nConcurrent teardown of TC sample rules sharing the same restore\ncontext may re-read restore->count after dropping restore_lock.\nAt that point another thread may already have completed cleanup and\nfreed the restore object.\n\nUse the result of the refcount decrement while holding restore_lock to\ndetermine whether cleanup is needed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Fix use-after-free race in sample_restore_put()\n\nConcurrent teardown of TC sample rules sharing the same restore\ncontext may re-read restore->count after dropping restore_lock.\nAt that point another thread may already have completed cleanup and\nfreed the restore object.\n\nUse the result of the refcount decrement while holding restore_lock to\ndetermine whether cleanup is needed.","source":"cvelist"}],"published":"2026-09-25T10:23:38.316Z","modified":"2026-10-19T10:17:55.230Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"36a3196256bf3310e5e7142b0e61787f7a201abd","fixed":"cdf920e44cbbee1900c66f002fb50afee20977d4","status":"affected"},{"type":"git","introduced":"36a3196256bf3310e5e7142b0e61787f7a201abd","fixed":"308e1cbb0d9712081f90860fe839ccb47bc196ee","status":"affected"},{"type":"git","introduced":"36a3196256bf3310e5e7142b0e61787f7a201abd","fixed":"8267e46d14e847e80e0aebe366d348e8a484a619","status":"affected"},{"type":"git","introduced":"36a3196256bf3310e5e7142b0e61787f7a201abd","fixed":"3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a","status":"affected"},{"type":"git","introduced":"36a3196256bf3310e5e7142b0e61787f7a201abd","fixed":"72324da8eeca269db9196c2a555abf72eb0385c5","status":"affected"},{"type":"git","introduced":"36a3196256bf3310e5e7142b0e61787f7a201abd","fixed":"1daecd76ab9e5f055fe3970462410ad1d40bd177","status":"affected"},{"type":"git","introduced":"36a3196256bf3310e5e7142b0e61787f7a201abd","fixed":"af3aef0245abbab5e9f6302e7a7d6407187afb71","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/cdf920e44cbbee1900c66f002fb50afee20977d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/308e1cbb0d9712081f90860fe839ccb47bc196ee","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8267e46d14e847e80e0aebe366d348e8a484a619","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72324da8eeca269db9196c2a555abf72eb0385c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1daecd76ab9e5f055fe3970462410ad1d40bd177","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af3aef0245abbab5e9f6302e7a7d6407187afb71","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98016","url":"https://www.cve.org/CVERecord?id=CVE-2026-98016","licence":"CVE Terms of Use","modified":"2026-10-19T09:12:21.604Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98016","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98016","licence":"Public domain","modified":"2026-10-19T10:17:55.230Z"}],"updatedAt":"2026-11-25T22:59:41.024Z","epss":{"score":0.00215,"percentile":0.06867,"date":"2026-11-30T12:00:22.000Z"}}