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

Published Nov 30, 2026
·
Updated

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

tpm: tpmnsc: stop using the cleanup callback as dev.release

tpmnscremove() is called explicitly from cleanupnsc() and also runs as the platform device release callback on the final platformdeviceput(), 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 platformdevicealloc() also keeps platformdevicerelease() from running, leaking the platform object allocation.

Leave the default release callback in place; the explicit call in cleanupnsc() remains the single cleanup point.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In tpm_nsc, leave the default release callback in place; do not use the cleanup callback as dev.release, since cleanup_nsc() already calls tpm_nsc_remove() explicitly.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:18 PM
Data Sourced
via MITRE·01:18 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203