CVE-2026-143098

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

tpm: eventlog: check the payload size before reading tag events

The EVENT_TAG branch of get_event_name() casts the event payload to struct tcpa_pc_event and reads from it:

pc_event = (struct tcpa_pc_event *)event_entry;

switch (do_endian_conversion(pc_event->event_id)) { ... for (i = 0; i < 20; i++) d_len += sprintf(&data[2*i], "%02x", pc_event->event_data[i]);

The log iterators only verify that the event header plus the declared event_size stays within the log buffer; they do not require the payload of an EVENT_TAG entry to be large enough for the fields the branch reads. A truncated entry makes the branch read up to 20 bytes of event_data[] past the end of the entry, and, for the last entry in the log, past the end of the buffer itself.

The legacy PC Client spec defines the EV_EVENT_TAG payload as a TCPA_PC_EVENT - event_id, event_size and event-type-specific data - so a conformant entry carries the 8-byte header and the hash-type ids carry a full digest. The log itself, however, is an ACPI table the firmware leaves in memory: the TPM never measures the log, so the kernel cannot tell a conformant log from a corrupted one. The iterators already work on that assumption - they stop once the declared event_size runs past the buffer end - and the readers should apply the same rule to what they take off the payload.

Skip entries whose payload cannot even hold the event id, and skip the 20-byte digest dump when the payload cannot hold the full tcpa_pc_event header plus the digest, so the branch never reads beyond the entry it is formatting.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143099In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Fix TCP-with-TLS transport class identification xs_setup_tcp_tCVE-2026-14315.3The Booking Calendar plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the wpbc_ajax_WPCVE-2026-143105.4The Tutor LMS WordPress plugin before 4.0.0 does not properly verify that a user has access to the course a Q&A thread belongs to before reCVE-2026-143100In the Linux kernel, the following vulnerability has been resolved: software node: only let the owner release a managed node device_createCVE-2026-143101In the Linux kernel, the following vulnerability has been resolved: arm64: suspend: Save GCS state over suspend GCSCRE0_EL1 and GCSPR_EL0 CVE-2026-143102In the Linux kernel, the following vulnerability has been resolved: arm64: kexec_file: Do not use CMA for images with a non-zero text_offseCVE-2026-143103In the Linux kernel, the following vulnerability has been resolved: arm64: hugetlb: Prevent write fault livelocks on stale TLB entries In CVE-2026-143104In the Linux kernel, the following vulnerability has been resolved: arm64/gcs: Ignore attempts to change GCS mode during signal return If CVE-2026-143105In the Linux kernel, the following vulnerability has been resolved: fs: don't strand I_METADATA_WRITEBACK inodes outside the LRU Since comCVE-2026-143106In the Linux kernel, the following vulnerability has been resolved: fs/splice: clamp an over-reported write_iter result iter_file_splice_wCVE-2026-143107In the Linux kernel, the following vulnerability has been resolved: fs/proc: fix the write length returned by proc_sys_call_handler() procCVE-2026-143108In the Linux kernel, the following vulnerability has been resolved: fs/adfs: bound directory entry name length in adfs_fplus_getnext() adf
CVE-2026-143098: Unscored | Vulnix