CVE-2026-99946
Not scored
tpm: tpm_nsc: stop using the cleanup callback as dev.release
- Severity
- Not scored
- Exploit likelihood
- 0.33% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: tpm: tpm_nsc: stop using the cleanup callback as dev.release tpm_nsc_remove() is called explicitly from cleanup_nsc() and also runs as the platform device release callback on the final platform_device_put(), so the cleanup executes twice on module exit; the second invocation operates on a chip that has already been freed by the devm cleanup, and the I/O region is released twice. Overwriting the release callback installed by platform_device_alloc() also keeps platform_device_release() from running, leaking the platform object allocation. Leave the default release callback in place; the explicit call in cleanup_nsc() remains the single cleanup point.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 570302a31149083b0ac8b2f08c195e9211c2c0c6 before 6ae5aa53dec1ec37733174257ee5dd7af38cdd19, from 570302a31149083b0ac8b2f08c195e9211c2c0c6 before 2ae4858a549dbde68b776259f03aed44eb943f50, from 570302a31149083b0ac8b2f08c195e9211c2c0c6 before a716a4f7f7929b0da4be532fdf7d96d58a2ce496, from 570302a31149083b0ac8b2f08c195e9211c2c0c6 before 023113932477a4ad1bcd2f014246d90471966fdf, from 570302a31149083b0ac8b2f08c195e9211c2c0c6 before 9729fafb8354dea035b8a412800885e754294dba, from 570302a31149083b0ac8b2f08c195e9211c2c0c6 before 160acc23dea8d3b5acae35e1effb32788a9aebd1, from 570302a31149083b0ac8b2f08c195e9211c2c0c6 before d94fa66c1b9f0885abe3557f323ee7e2aa6695c8, from 570302a31149083b0ac8b2f08c195e9211c2c0c6 before df0ef271087623439a1e900f323ed2a57204706d and 1 more Not affected: before 2.6.15, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99946 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-99946 changed 2026-11-30 | Public domain |