tpm: tpm_i2c_infineon: Fix locality leak on get_burstcount() failure
In the Linux kernel, the following vulnerability has been resolved: tpm: tpm_i2c_infineon: Fix locality leak on get_burstcount() failure get_burstcount() can return -EBUSY on timeout. When this happens, the function returns directly without releasing the locality that was acquired at the beginning of tpm_tis_i2c_send(). Use goto out_err to ensure proper cleanup when get_burstcount() fails.
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
In the Linux kernel, the following vulnerability has been resolved: tpm: tpm_i2c_infineon: Fix locality leak on get_burstcount() failure get_burstcount() can return -EBUSY on timeout. When this happens, the function returns directly without releasing the locality that was acquired at the beginning of tpm_tis_i2c_send(). Use goto out_err to ensure proper cleanup when get_burstcount() fails.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/1a22048c1117cdfac185ba450aba67ed6b65dc87
- https://git.kernel.org/stable/c/1bb8f8826d0748b4b92a98fb6b6dfe52081739f5
- https://git.kernel.org/stable/c/2f7a665e1323359d99c74301d1e180f5e2c40181
- https://git.kernel.org/stable/c/8f124c5582d443ac9fb690db26d08cab5d6ba76e
- https://git.kernel.org/stable/c/948966e546f29af04391d98b8e378e4a7670c1c1
- https://git.kernel.org/stable/c/a61b8412e3eb8b71646dba867e8252d8560a1a27
- https://git.kernel.org/stable/c/bbd6e97c836cbeb9606d7b7e5dcf8a1d89525713
- https://git.kernel.org/stable/c/c24c9c4cab11858f22f309521ba7ea5b1e7385f2
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45941.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-45941