{"id":"CVE-2026-99946","summary":"tpm: tpm_nsc: stop using the cleanup callback as dev.release","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: tpm_nsc: stop using the cleanup callback as dev.release\n\ntpm_nsc_remove() is called explicitly from cleanup_nsc() and also\nruns as the platform device release callback on the final\nplatform_device_put(), so the cleanup executes twice on module\nexit; the second invocation operates on a chip that has already\nbeen freed by the devm cleanup, and the I/O region is released\ntwice.\n\nOverwriting the release callback installed by\nplatform_device_alloc() also keeps platform_device_release() from\nrunning, leaking the platform object allocation.\n\nLeave the default release callback in place; the explicit call in\ncleanup_nsc() remains the single cleanup point.","modified":"2026-12-01T21:02:41.569632050Z","published":"2026-11-30T13:18:31.671Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99946.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/023113932477a4ad1bcd2f014246d90471966fdf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/160acc23dea8d3b5acae35e1effb32788a9aebd1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2ae4858a549dbde68b776259f03aed44eb943f50"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ae5aa53dec1ec37733174257ee5dd7af38cdd19"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9729fafb8354dea035b8a412800885e754294dba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a716a4f7f7929b0da4be532fdf7d96d58a2ce496"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d94fa66c1b9f0885abe3557f323ee7e2aa6695c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df0ef271087623439a1e900f323ed2a57204706d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99946.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99946"},{"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":"570302a31149083b0ac8b2f08c195e9211c2c0c6"},{"fixed":"6ae5aa53dec1ec37733174257ee5dd7af38cdd19"},{"fixed":"2ae4858a549dbde68b776259f03aed44eb943f50"},{"fixed":"a716a4f7f7929b0da4be532fdf7d96d58a2ce496"},{"fixed":"023113932477a4ad1bcd2f014246d90471966fdf"},{"fixed":"9729fafb8354dea035b8a412800885e754294dba"},{"fixed":"160acc23dea8d3b5acae35e1effb32788a9aebd1"},{"fixed":"d94fa66c1b9f0885abe3557f323ee7e2aa6695c8"},{"fixed":"df0ef271087623439a1e900f323ed2a57204706d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99946.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.15"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99946.json"}}],"schema_version":"1.9.2"}