{"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-09-26T03:48:31.568647978Z","published":"2026-09-25T10:23:38.316Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98016.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1daecd76ab9e5f055fe3970462410ad1d40bd177"},{"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/af3aef0245abbab5e9f6302e7a7d6407187afb71"},{"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"36a3196256bf3310e5e7142b0e61787f7a201abd"},{"fixed":"3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a"},{"fixed":"72324da8eeca269db9196c2a555abf72eb0385c5"},{"fixed":"1daecd76ab9e5f055fe3970462410ad1d40bd177"},{"fixed":"af3aef0245abbab5e9f6302e7a7d6407187afb71"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98016.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.13.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/cve-osv-conversion/osv-output/CVE-2026-98016.json"}}],"schema_version":"1.9.0"}