CVE-2026-99946

medium

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.

References

https://git.kernel.org/stable/c/df0ef271087623439a1e900f323ed2a57204706d

https://git.kernel.org/stable/c/d94fa66c1b9f0885abe3557f323ee7e2aa6695c8

https://git.kernel.org/stable/c/a716a4f7f7929b0da4be532fdf7d96d58a2ce496

https://git.kernel.org/stable/c/9729fafb8354dea035b8a412800885e754294dba

https://git.kernel.org/stable/c/6ae5aa53dec1ec37733174257ee5dd7af38cdd19

https://git.kernel.org/stable/c/2ae4858a549dbde68b776259f03aed44eb943f50

https://git.kernel.org/stable/c/160acc23dea8d3b5acae35e1effb32788a9aebd1

https://git.kernel.org/stable/c/023113932477a4ad1bcd2f014246d90471966fdf

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-138434

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium