CVE-2026-98728
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
tpm: fix off-by-four bounds check in tpm2_get_random()
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497 | affected | git | be54101992c2c5218be0e0a87827ccc96e3089af | Unavailable | None listed |
| 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497 | affected | git | e30a2406408d2df6d9cd48c2e59e913cf266a05a | Unavailable | None listed |
| 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497 | affected | git | 42bb6216b861e892512128219ff23010d656ba14 | Unavailable | None listed |
| 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497 | affected | git | 9b522400bf5c082feb9a0037a053ea822a2c7e4d | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.10 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.10 | Unavailable | None listed |
| 6.12.113 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.18.56 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 7.2.10 | unaffected | semver | Unavailable | 7.2.* | None listed |
| 7.3 | unaffected | original_commit_for_fix | Unavailable | * | None listed |