{"id":"CVE-2026-98016","summary":"net/mlx5e: Fix use-after-free race in sample_restore_put()","details":"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-\u003ecount 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.","modified":"2026-10-09T17:26:59.573194568Z","published":"2026-09-25T10:23:38.316Z","related":["openSUSE-SU-2026:12074-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98016.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1daecd76ab9e5f055fe3970462410ad1d40bd177"},{"type":"WEB","url":"https://git.kernel.org/stable/c/308e1cbb0d9712081f90860fe839ccb47bc196ee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/72324da8eeca269db9196c2a555abf72eb0385c5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8267e46d14e847e80e0aebe366d348e8a484a619"},{"type":"WEB","url":"https://git.kernel.org/stable/c/af3aef0245abbab5e9f6302e7a7d6407187afb71"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cdf920e44cbbee1900c66f002fb50afee20977d4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98016.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98016"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"36a3196256bf3310e5e7142b0e61787f7a201abd"},{"fixed":"cdf920e44cbbee1900c66f002fb50afee20977d4"},{"fixed":"308e1cbb0d9712081f90860fe839ccb47bc196ee"},{"fixed":"8267e46d14e847e80e0aebe366d348e8a484a619"},{"fixed":"3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a"},{"fixed":"72324da8eeca269db9196c2a555abf72eb0385c5"},{"fixed":"1daecd76ab9e5f055fe3970462410ad1d40bd177"},{"fixed":"af3aef0245abbab5e9f6302e7a7d6407187afb71"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98016.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98016.json"}}],"schema_version":"1.9.0"}