# CVE-2026-99946: tpm: tpm_nsc: stop using the cleanup callback as dev.release

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:31.671Z
- Modified: 2026-11-30T14:20:31.737Z
- 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.

(As written by CVE List.)

## Affected

- 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; 2.6.15 (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.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/6ae5aa53dec1ec37733174257ee5dd7af38cdd19>
- <https://git.kernel.org/stable/c/2ae4858a549dbde68b776259f03aed44eb943f50>
- <https://git.kernel.org/stable/c/a716a4f7f7929b0da4be532fdf7d96d58a2ce496>
- <https://git.kernel.org/stable/c/023113932477a4ad1bcd2f014246d90471966fdf>
- <https://git.kernel.org/stable/c/9729fafb8354dea035b8a412800885e754294dba>
- <https://git.kernel.org/stable/c/160acc23dea8d3b5acae35e1effb32788a9aebd1>
- <https://git.kernel.org/stable/c/d94fa66c1b9f0885abe3557f323ee7e2aa6695c8>
- <https://git.kernel.org/stable/c/df0ef271087623439a1e900f323ed2a57204706d>

## Sources

- CVE List: [CVE-2026-99946](https://www.cve.org/CVERecord?id=CVE-2026-99946), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99946](https://nvd.nist.gov/vuln/detail/CVE-2026-99946), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99946 · Whole record: https://cve.day/CVE-2026-99946.json · Rebuilt by cve.day 2026-11-30T14:33:45.646Z
