{"id":"CVE-2026-98221","summary":"KEYS: trusted: Fix tpm2_load_cmd() boundary check","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: trusted: Fix tpm2_load_cmd() boundary check\n\ntpm2_load_cmd() does boundary checks against the ASN.1 size i.e.,\npayload-\u003eblob_len. Address this by passing the decoded blob size to\ntpm2_load_cmd(), and use it for the boundary checks.","modified":"2026-10-08T02:52:53.580618226Z","published":"2026-10-06T08:44:56.728Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98221.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/114f00d738f15dd8c7318369edcdc53dd6d08763"},{"type":"WEB","url":"https://git.kernel.org/stable/c/134825dfc971fbf2b1d0f58f0b3bce8332ad0afb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fd487c69ad3161e358c33c170bab0cf02a071b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5afa57ea91481c6c49f194b0f5a5c4d96a4d7348"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ddbc5f4bb498aff8096a5231574858a4bffee4f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b020b447338872440142fe8a57350a483da86b7a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc86227fea28aed86c1fb52a884560b4440da198"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98221.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98221"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f2219745250f388edacabe6cca73654131c67d0a"},{"fixed":"cc86227fea28aed86c1fb52a884560b4440da198"},{"fixed":"b020b447338872440142fe8a57350a483da86b7a"},{"fixed":"3fd487c69ad3161e358c33c170bab0cf02a071b7"},{"fixed":"5afa57ea91481c6c49f194b0f5a5c4d96a4d7348"},{"fixed":"9ddbc5f4bb498aff8096a5231574858a4bffee4f"},{"fixed":"134825dfc971fbf2b1d0f58f0b3bce8332ad0afb"},{"fixed":"114f00d738f15dd8c7318369edcdc53dd6d08763"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98221.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98221.json"}}],"schema_version":"1.9.0"}