CVE-2026-98728

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.

Package Linux Kernel
Published 2026-10-18
Last modified 2026-10-18
Patch available
Yes

Affected versions

Linux kernel versions 6.10 and later are affected. Fixed in 6.12.113, 6.18.56, 7.2.10, 7.3 and their respective stable series.

Affected from
≥ 6.10
Fixed in
✓ 6.12.113 6.12.x ✓ 6.18.56 6.18.x ✓ 7.2.10 7.2.x ✓ 7.3

Frequently asked questions

  • What is CVE-2026-98728?

    CVE-2026-98728 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.10 onward and has been patched in 6.12.113, 6.18.56, 7.2.10 and others. CVE-2026-98728 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-98728?

    Yes. CVE-2026-98728 has been patched. Fixed versions include 6.12.113, 6.18.56, 7.2.10 and others. If you are running Linux kernel 6.10 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-98728 actively exploited?

    No. CVE-2026-98728 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.