{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143098","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.348Z","datePublished":"2026-12-03T09:19:17.951Z","dateUpdated":"2026-12-03T09:19:17.951Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T09:19:17.951Z"},"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/char/tpm/eventlog/tpm1.c"],"versions":[{"version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","lessThan":"8cfb77fd2303baf3fefba25a4340f934b63e2ff8","status":"affected","versionType":"git"},{"version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","lessThan":"edd50f6d489394d9136b49885c9e9da678e5841d","status":"affected","versionType":"git"},{"version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","lessThan":"4511db5dc463c3d955e9c795ea67e8635177ed0f","status":"affected","versionType":"git"},{"version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","lessThan":"53958ee9043b05f9460b17f8a063cc70fe08be57","status":"affected","versionType":"git"},{"version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","lessThan":"0bc5d911512abfe6e074d987e2644ce623049520","status":"affected","versionType":"git"},{"version":"55a82ab3181be039c6440d3f2f69260ad6fe2988","lessThan":"0a385f668ba77d29ae167c1668fd452418ebc9d6","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/char/tpm/eventlog/tpm1.c"],"versions":[{"version":"2.6.16","status":"affected"},{"version":"0","lessThan":"2.6.16","status":"unaffected","versionType":"semver"},{"version":"5.10.276","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.227","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.16","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.16","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.16","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.16","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.16","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.16","versionEndExcluding":"7.4-rc3"}]}]}],"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"}}}}