CVE-2026-143098 tpm: eventlog: check the payload size before reading tag events
linux linux: no CVSS score yet. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 0.2% estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
- Published
- Assigned by
- Linux (CNA)
- NVD analysis
- Awaiting analysis
- Record from
- the NVD, synced
Fix and patched versions
- Linux Linux: fixed in 5.10.276
- Linux Linux: fixed in 5.15.227
- Linux Linux: fixed in 6.12.120
- Linux Linux: fixed in 6.18.66
- Linux Linux: fixed in 7.3.7
- Linux Linux: fixed in 7.4-rc3
Ask an AI about this CVE
Show the prompt
Explain CVE-2026-143098 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-143098?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-143098?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-143098 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | 2.6.16 and later |
Fixed in
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 5.10 | 5.10.276 |
| Linux | 5.15 | 5.15.227 |
| Linux | 6.12 | 6.12.120 |
| Linux | 6.18 | 6.18.66 |
| Linux | 7.3 | 7.3.7 |
| Linux | later releases | 7.4-rc3 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | linux | no fix listed | DEBIAN-CVE-2026-143098 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
References
- https://git.kernel.org/stable/c/0a385f668ba77d29ae167c1668fd452418ebc9d6
- https://git.kernel.org/stable/c/0bc5d911512abfe6e074d987e2644ce623049520
- https://git.kernel.org/stable/c/4511db5dc463c3d955e9c795ea67e8635177ed0f
- https://git.kernel.org/stable/c/53958ee9043b05f9460b17f8a063cc70fe08be57
- https://git.kernel.org/stable/c/8cfb77fd2303baf3fefba25a4340f934b63e2ff8
- https://git.kernel.org/stable/c/edd50f6d489394d9136b49885c9e9da678e5841d