{"api_version":"1","generated_at":"2026-12-04T02:09:28+00:00","cve":"CVE-2026-143098","urls":{"html":"https://cve.report/CVE-2026-143098","api":"https://cve.report/api/cve/CVE-2026-143098.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143098","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143098"},"summary":{"title":"tpm: eventlog: check the payload size before reading tag events","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: eventlog: check the payload size before reading tag events\n\nThe EVENT_TAG branch of get_event_name() casts the event payload to\nstruct tcpa_pc_event and reads from it:\n\n\tpc_event = (struct tcpa_pc_event *)event_entry;\n\n\tswitch (do_endian_conversion(pc_event->event_id)) {\n\t...\n\t\tfor (i = 0; i < 20; i++)\n\t\t\td_len += sprintf(&data[2*i], \"%02x\",\n\t\t\t\t\tpc_event->event_data[i]);\n\nThe log iterators only verify that the event header plus the declared\nevent_size stays within the log buffer; they do not require the\npayload of an EVENT_TAG entry to be large enough for the fields the\nbranch reads. A truncated entry makes the branch read up to 20 bytes\nof event_data[] past the end of the entry, and, for the last entry in\nthe log, past the end of the buffer itself.\n\nThe legacy PC Client spec defines the EV_EVENT_TAG payload as a\nTCPA_PC_EVENT - event_id, event_size and event-type-specific data -\nso a conformant entry carries the 8-byte header and the hash-type\nids carry a full digest. The log itself, however, is an ACPI table\nthe firmware leaves in memory: the TPM never measures the log, so\nthe kernel cannot tell a conformant log from a corrupted one. The\niterators already work on that assumption - they stop once the\ndeclared event_size runs past the buffer end - and the readers\nshould apply the same rule to what they take off the payload.\n\nSkip entries whose payload cannot even hold the event id, and skip\nthe 20-byte digest dump when the payload cannot hold the full\ntcpa_pc_event header plus the digest, so the branch never reads\nbeyond the entry it is formatting.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:41","updated_at":"2026-12-03 10:17:41"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0a385f668ba77d29ae167c1668fd452418ebc9d6","name":"https://git.kernel.org/stable/c/0a385f668ba77d29ae167c1668fd452418ebc9d6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8cfb77fd2303baf3fefba25a4340f934b63e2ff8","name":"https://git.kernel.org/stable/c/8cfb77fd2303baf3fefba25a4340f934b63e2ff8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4511db5dc463c3d955e9c795ea67e8635177ed0f","name":"https://git.kernel.org/stable/c/4511db5dc463c3d955e9c795ea67e8635177ed0f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0bc5d911512abfe6e074d987e2644ce623049520","name":"https://git.kernel.org/stable/c/0bc5d911512abfe6e074d987e2644ce623049520","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/53958ee9043b05f9460b17f8a063cc70fe08be57","name":"https://git.kernel.org/stable/c/53958ee9043b05f9460b17f8a063cc70fe08be57","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/edd50f6d489394d9136b49885c9e9da678e5841d","name":"https://git.kernel.org/stable/c/edd50f6d489394d9136b49885c9e9da678e5841d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143098","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143098","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55a82ab3181be039c6440d3f2f69260ad6fe2988 8cfb77fd2303baf3fefba25a4340f934b63e2ff8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55a82ab3181be039c6440d3f2f69260ad6fe2988 edd50f6d489394d9136b49885c9e9da678e5841d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55a82ab3181be039c6440d3f2f69260ad6fe2988 4511db5dc463c3d955e9c795ea67e8635177ed0f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55a82ab3181be039c6440d3f2f69260ad6fe2988 53958ee9043b05f9460b17f8a063cc70fe08be57 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55a82ab3181be039c6440d3f2f69260ad6fe2988 0bc5d911512abfe6e074d987e2644ce623049520 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55a82ab3181be039c6440d3f2f69260ad6fe2988 0a385f668ba77d29ae167c1668fd452418ebc9d6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143098","cve":"CVE-2026-143098","epss":"0.002150000","percentile":"0.126010000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/char/tpm/eventlog/tpm1.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"8cfb77fd2303baf3fefba25a4340f934b63e2ff8","status":"affected","version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","versionType":"git"},{"lessThan":"edd50f6d489394d9136b49885c9e9da678e5841d","status":"affected","version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","versionType":"git"},{"lessThan":"4511db5dc463c3d955e9c795ea67e8635177ed0f","status":"affected","version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","versionType":"git"},{"lessThan":"53958ee9043b05f9460b17f8a063cc70fe08be57","status":"affected","version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","versionType":"git"},{"lessThan":"0bc5d911512abfe6e074d987e2644ce623049520","status":"affected","version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","versionType":"git"},{"lessThan":"0a385f668ba77d29ae167c1668fd452418ebc9d6","status":"affected","version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/char/tpm/eventlog/tpm1.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.16"},{"lessThan":"2.6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"2.6.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: eventlog: check the payload size before reading tag events\n\nThe EVENT_TAG branch of get_event_name() casts the event payload to\nstruct tcpa_pc_event and reads from it:\n\n\tpc_event = (struct tcpa_pc_event *)event_entry;\n\n\tswitch (do_endian_conversion(pc_event->event_id)) {\n\t...\n\t\tfor (i = 0; i < 20; i++)\n\t\t\td_len += sprintf(&data[2*i], \"%02x\",\n\t\t\t\t\tpc_event->event_data[i]);\n\nThe log iterators only verify that the event header plus the declared\nevent_size stays within the log buffer; they do not require the\npayload of an EVENT_TAG entry to be large enough for the fields the\nbranch reads. A truncated entry makes the branch read up to 20 bytes\nof event_data[] past the end of the entry, and, for the last entry in\nthe log, past the end of the buffer itself.\n\nThe legacy PC Client spec defines the EV_EVENT_TAG payload as a\nTCPA_PC_EVENT - event_id, event_size and event-type-specific data -\nso a conformant entry carries the 8-byte header and the hash-type\nids carry a full digest. The log itself, however, is an ACPI table\nthe firmware leaves in memory: the TPM never measures the log, so\nthe kernel cannot tell a conformant log from a corrupted one. The\niterators already work on that assumption - they stop once the\ndeclared event_size runs past the buffer end - and the readers\nshould apply the same rule to what they take off the payload.\n\nSkip entries whose payload cannot even hold the event id, and skip\nthe 20-byte digest dump when the payload cannot hold the full\ntcpa_pc_event header plus the digest, so the branch never reads\nbeyond the entry it is formatting."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:19:17.951Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/8cfb77fd2303baf3fefba25a4340f934b63e2ff8"},{"url":"https://git.kernel.org/stable/c/edd50f6d489394d9136b49885c9e9da678e5841d"},{"url":"https://git.kernel.org/stable/c/4511db5dc463c3d955e9c795ea67e8635177ed0f"},{"url":"https://git.kernel.org/stable/c/53958ee9043b05f9460b17f8a063cc70fe08be57"},{"url":"https://git.kernel.org/stable/c/0bc5d911512abfe6e074d987e2644ce623049520"},{"url":"https://git.kernel.org/stable/c/0a385f668ba77d29ae167c1668fd452418ebc9d6"}],"title":"tpm: eventlog: check the payload size before reading tag events","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143098","datePublished":"2026-12-03T09:19:17.951Z","dateReserved":"2026-12-03T03:10:28.348Z","dateUpdated":"2026-12-03T09:19:17.951Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:41","lastModifiedDate":"2026-12-03 10:17:41","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143098","Ordinal":"1","Title":"tpm: eventlog: check the payload size before reading tag events","CVE":"CVE-2026-143098","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143098","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: eventlog: check the payload size before reading tag events\n\nThe EVENT_TAG branch of get_event_name() casts the event payload to\nstruct tcpa_pc_event and reads from it:\n\n\tpc_event = (struct tcpa_pc_event *)event_entry;\n\n\tswitch (do_endian_conversion(pc_event->event_id)) {\n\t...\n\t\tfor (i = 0; i < 20; i++)\n\t\t\td_len += sprintf(&data[2*i], \"%02x\",\n\t\t\t\t\tpc_event->event_data[i]);\n\nThe log iterators only verify that the event header plus the declared\nevent_size stays within the log buffer; they do not require the\npayload of an EVENT_TAG entry to be large enough for the fields the\nbranch reads. A truncated entry makes the branch read up to 20 bytes\nof event_data[] past the end of the entry, and, for the last entry in\nthe log, past the end of the buffer itself.\n\nThe legacy PC Client spec defines the EV_EVENT_TAG payload as a\nTCPA_PC_EVENT - event_id, event_size and event-type-specific data -\nso a conformant entry carries the 8-byte header and the hash-type\nids carry a full digest. The log itself, however, is an ACPI table\nthe firmware leaves in memory: the TPM never measures the log, so\nthe kernel cannot tell a conformant log from a corrupted one. The\niterators already work on that assumption - they stop once the\ndeclared event_size runs past the buffer end - and the readers\nshould apply the same rule to what they take off the payload.\n\nSkip entries whose payload cannot even hold the event id, and skip\nthe 20-byte digest dump when the payload cannot hold the full\ntcpa_pc_event header plus the digest, so the branch never reads\nbeyond the entry it is formatting.","Type":"Description","Title":"tpm: eventlog: check the payload size before reading tag events"}]}}}