# CVE-2026-98016: net/mlx5e: Fix use-after-free race in sample\_restore\_put()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:23:38.316Z
- **Modified:** 2026-10-19T10:17:55.230Z

## Who should check

- Anyone running Linux \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< cdf920e44cbbee1900c66f002fb50afee20977d4; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 308e1cbb0d9712081f90860fe839ccb47bc196ee; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 8267e46d14e847e80e0aebe366d348e8a484a619; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 72324da8eeca269db9196c2a555abf72eb0385c5; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 1daecd76ab9e5f055fe3970462410ad1d40bd177; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< af3aef0245abbab5e9f6302e7a7d6407187afb71
- Anyone running Linux 5.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: Fix use-after-free race in sample\_restore\_put()

Concurrent teardown of TC sample rules sharing the same restore
context may re-read restore-\>count after dropping restore\_lock.
At that point another thread may already have completed cleanup and
freed the restore object.

Use the result of the refcount decrement while holding restore\_lock to
determine whether cleanup is needed.

## Affected and fixed versions

- Linux: \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< cdf920e44cbbee1900c66f002fb50afee20977d4; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 308e1cbb0d9712081f90860fe839ccb47bc196ee; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 8267e46d14e847e80e0aebe366d348e8a484a619; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 72324da8eeca269db9196c2a555abf72eb0385c5; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 1daecd76ab9e5f055fe3970462410ad1d40bd177; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< af3aef0245abbab5e9f6302e7a7d6407187afb71 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98016. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98016.md
Affected: Linux >= 36a3196256bf3310e5e7142b0e61787f7a201abd, < cdf920e44cbbee1900c66f002fb50afee20977d4; >= 36a3196256bf3310e5e7142b0e61787f7a201abd, < 308e1cbb0d9712081f90860fe839ccb47bc196ee; >= 36a3196256bf3310e5e7142b0e61787f7a201abd, < 8267e46d14e847e80e0aebe366d348e8a484a619; >= 36a3196256bf3310e5e7142…
Fixed in: Linux 308e1cbb0d9712081f90860fe839ccb47bc196ee, Linux 8267e46d14e847e80e0aebe366d348e8a484a619, Linux 3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a, Linux 72324da8eeca269db9196c2a555abf72eb0385c5, Linux 1daecd76ab9e5f055fe3970462410ad1d40bd177

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98016 being exploited?

There is no confirmed exploitation: CVE-2026-98016 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98016?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98016?

Linux \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< cdf920e44cbbee1900c66f002fb50afee20977d4; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 308e1cbb0d9712081f90860fe839ccb47bc196ee; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 8267e46d14e847e80e0aebe366d348e8a484a619; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 72324da8eeca269db9196c2a555abf72eb0385c5; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< 1daecd76ab9e5f055fe3970462410ad1d40bd177; \>= 36a3196256bf3310e5e7142b0e61787f7a201abd, \< af3aef0245abbab5e9f6302e7a7d6407187afb71; Linux 5.13.

### Is there a fix for CVE-2026-98016?

Yes. Fixed in Linux 308e1cbb0d9712081f90860fe839ccb47bc196ee, Linux 8267e46d14e847e80e0aebe366d348e8a484a619, Linux 3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a, Linux 72324da8eeca269db9196c2a555abf72eb0385c5, Linux 1daecd76ab9e5f055fe3970462410ad1d40bd177. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98016?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/cdf920e44cbbee1900c66f002fb50afee20977d4>
- other: <https://git.kernel.org/stable/c/308e1cbb0d9712081f90860fe839ccb47bc196ee>
- other: <https://git.kernel.org/stable/c/8267e46d14e847e80e0aebe366d348e8a484a619>
- other: <https://git.kernel.org/stable/c/3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a>
- other: <https://git.kernel.org/stable/c/72324da8eeca269db9196c2a555abf72eb0385c5>
- other: <https://git.kernel.org/stable/c/1daecd76ab9e5f055fe3970462410ad1d40bd177>
- other: <https://git.kernel.org/stable/c/af3aef0245abbab5e9f6302e7a7d6407187afb71>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98016>

HTML: <https://flawdb.com/CVE-2026-98016> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98016>
