CVE-2026-98728
tpm: fix off-by-four bounds check in tpm2_get_random()
Mitigation
- Upgrade Linux to 9b522400bf5c082feb9a0037a053ea822a2c7e4d or later.
Who should check
- Anyone running Linux >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < be54101992c2c5218be0e0a87827ccc96e3089af; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < e30a2406408d2df6d9cd48c2e59e913cf266a05a; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 42bb6216b861e892512128219ff23010d656ba14; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 9b522400bf5c082feb9a0037a053ea822a2c7e4d
- Anyone running Linux 6.10
Vulnerability facts
- Affected
- Linux >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < be54101992c2c5218be0e0a87827ccc96e3089af; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < e30a2406408d2df6d9cd48c2e59e913cf266a05a; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 42bb6216b861e892512128219ff23010d656ba14; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 9b522400bf5c082feb9a0037a053ea822a2c7e4d; Linux 6.10
- Fixed in
- Linux 42bb6216b861e892512128219ff23010d656ba14, Linux 9b522400bf5c082feb9a0037a053ea822a2c7e4d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < be54101992c2c5218be0e0a87827ccc96e3089af; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < e30a2406408d2df6d9cd48c2e59e913cf266a05a; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 42bb6216b861e892512128219ff23010d656ba14; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 9b522400bf5c082feb9a0037a053ea822a2c7e4d | — | cvelist |
| Linux | 6.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98728. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98728.md Affected: Linux >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < be54101992c2c5218be0e0a87827ccc96e3089af; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < e30a2406408d2df6d9cd48c2e59e913cf266a05a; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 42bb6216b861e892512128219ff23010d656ba14; >= 1b6d7f9eb150305dcb0da4f… Fixed in: Linux 42bb6216b861e892512128219ff23010d656ba14, Linux 9b522400bf5c082feb9a0037a053ea822a2c7e4d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98728 being exploited?
There is no confirmed exploitation: CVE-2026-98728 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98728?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98728?
Linux >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < be54101992c2c5218be0e0a87827ccc96e3089af; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < e30a2406408d2df6d9cd48c2e59e913cf266a05a; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 42bb6216b861e892512128219ff23010d656ba14; >= 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497, < 9b522400bf5c082feb9a0037a053ea822a2c7e4d; Linux 6.10.
Is there a fix for CVE-2026-98728?
Yes. Fixed in Linux 42bb6216b861e892512128219ff23010d656ba14, Linux 9b522400bf5c082feb9a0037a053ea822a2c7e4d. Upgrade Linux to 9b522400bf5c082feb9a0037a053ea822a2c7e4d or later.
How do I check if I'm affected by CVE-2026-98728?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.