CVE-2026-98728: Linux
EPSS: 0.2% probability of exploitation activity in the next 30 days.
In the Linux kernel, the following vulnerability has been resolved: tpm: fix off-by-four bounds check in tpm2_get_random() When the response carries the TPM2_ST_SESSIONS tag, tpm2_get_random() skips the 4-byte parameter size field before locating the random data, but the bounds check still validates the response length against TPM_HEADER_SIZE. A truncated response can pass the check and make memcpy() read up to 4 bytes past the response end, so stale buffer contents end up in the caller's random bytes. Fix this by checking the response length against 'offset', which already includes the skipped parameter size field.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Linux, from 6.10, before 6.12.113: fixed in 6.12.113
- Linux, from 6.13, before 6.18.56: fixed in 6.18.56
- Linux, from 6.19, before 7.2.10: fixed in 7.2.10
Affected products
- Linux Linux: from 6.10, before 6.12.113 (fixed in 6.12.113); from 6.13, before 6.18.56 (fixed in 6.18.56); from 6.19, before 7.2.10 (fixed in 7.2.10)
Published 2026-10-18. Last modified 2026-10-19.