{"schema":"threatline.record/2","record":{"id":"CVE-2026-98728","aliases":[],"summary":"tpm: fix off-by-four bounds check in tpm2_get_random()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: fix off-by-four bounds check in tpm2_get_random()\n\nWhen the response carries the TPM2_ST_SESSIONS tag, tpm2_get_random()\nskips the 4-byte parameter size field before locating the random data,\nbut the bounds check still validates the response length against\nTPM_HEADER_SIZE.  A truncated response can pass the check and make\nmemcpy() read up to 4 bytes past the response end, so stale buffer\ncontents end up in the caller's random bytes.\n\nFix this by checking the response length against 'offset', which\nalready includes the skipped parameter size field.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98728","source_modified_at":"2026-10-19T09:24:38.853Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497","lessThan":"be54101992c2c5218be0e0a87827ccc96e3089af","status":"affected","versionType":"git"},{"version":"1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497","lessThan":"e30a2406408d2df6d9cd48c2e59e913cf266a05a","status":"affected","versionType":"git"},{"version":"1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497","lessThan":"42bb6216b861e892512128219ff23010d656ba14","status":"affected","versionType":"git"},{"version":"1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497","lessThan":"9b522400bf5c082feb9a0037a053ea822a2c7e4d","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98728","source_modified_at":"2026-10-19T09:24:38.853Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","status":"unaffected","versionType":"semver"},{"version":"6.12.113","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.56","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.10","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98728","source_modified_at":"2026-10-19T09:24:38.853Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"42bb6216b861e892512128219ff23010d656ba14","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98728","source_modified_at":"2026-10-19T09:24:38.853Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"9b522400bf5c082feb9a0037a053ea822a2c7e4d","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00168,"percentile":0.05721,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:47:05.722Z","modified_at":"2026-10-19T09:24:38.853Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98728","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:24:38.853Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98728","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/be54101992c2c5218be0e0a87827ccc96e3089af"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/e30a2406408d2df6d9cd48c2e59e913cf266a05a"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/42bb6216b861e892512128219ff23010d656ba14"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/9b522400bf5c082feb9a0037a053ea822a2c7e4d"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:24:38.853Z","content_hash":"483917b9e31d86cc4e25f733f85b8f6582b0bb6d2e368f9a4e3cb646a8ba15a6"}}
