Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected aad628c1d91a6db57e572e4c1f35e863d81061d7 before 8f124c5582d443ac9fb690db26d08cab5d6ba76e; affected aad628c1d91a6db57e572e4c1f35e863d81061d7 before c24c9c4cab11858f22f309521ba7ea5b1e7385f2; affected aad628c1d91a6db57e572e4c1f35e863d81061d7 before 1bb8f8826d0748b4b92a98fb6b6dfe52081739f5; affected aad628c1d91a6db57e572e4c1f35e863d81061d7 before 948966e546f29af04391d98b8e378e4a7670c1c1; affected aad628c1d91a6db57e572e4c1f35e863d81061d7 before a61b8412e3eb8b71646dba867e8252d8560a1a27; affected aad628c1d91a6db57e572e4c1f35e863d81061d7 before 1a22048c1117cdfac185ba450aba67ed6b65dc87; affected aad628c1d91a6db57e572e4c1f35e863d81061d7 before 2f7a665e1323359d99c74301d1e180f5e2c40181; affected aad628c1d91a6db57e572e4c1f35e863d81061d7 before bbd6e97c836cbeb9606d7b7e5dcf8a1d89525713 |
| Linux / Linux | affected 3.7; unaffected 0 before 3.7; unaffected 5.10.252 through 5.10.*; unaffected 5.15.202 through 5.15.*; unaffected 6.1.165 through 6.1.*; unaffected 6.6.128 through 6.6.*; unaffected 6.12.75 through 6.12.*; unaffected 6.18.14 through 6.18.*; unaffected 6.19.4 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/8f124c5582d443ac9fb690db26d08cab5d6ba76e
- https://git.kernel.org/stable/c/c24c9c4cab11858f22f309521ba7ea5b1e7385f2
- https://git.kernel.org/stable/c/1bb8f8826d0748b4b92a98fb6b6dfe52081739f5
- https://git.kernel.org/stable/c/948966e546f29af04391d98b8e378e4a7670c1c1
- https://git.kernel.org/stable/c/a61b8412e3eb8b71646dba867e8252d8560a1a27
- https://git.kernel.org/stable/c/1a22048c1117cdfac185ba450aba67ed6b65dc87
- https://git.kernel.org/stable/c/2f7a665e1323359d99c74301d1e180f5e2c40181
- https://git.kernel.org/stable/c/bbd6e97c836cbeb9606d7b7e5dcf8a1d89525713