CVE-2026-98728: tpm: fix off-by-four bounds check in tpm2_get_random()
Vulnerability summary
CVE-2026-98728 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.1% of scored vulnerabilities.
No CVSS vector published; no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 5Timeline
- 18-10-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
Risk metrics not yet published.
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.17% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: not stated in public data.
Ubuntu169 products
- linuxAll versions (No fix recorded) | < 7.0.0-43.43
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 7.0.0-1017.18
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.12.113-1 | < 7.2.10-1
- linux-6.12< 6.12.113-1~deb12u1
Linux1 product
- linux≥ 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < be54101992c2c5218be0e0a87827ccc96e3089af | ≥ 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < e30a2406408d2df6d9cd48c2e59e913cf266a05a | ≥ 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 42bb6216b861e892512128219ff23010d656ba14 | ≥ 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 9b522400bf5c082feb9a0037a053ea822a2c7e4d | 6.10
3 vendors · 172 products