<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-05T12:44:53.781546+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-143098</id>
    <title>CVE-2026-143098 — tpm: eventlog: check the payload size before reading tag events</title>
    <updated>2026-12-05T12:44:53.783935+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>tpm: eventlog: check the payload size before reading tag events</p>
<p>The EVENT_TAG branch of get_event_name() casts the event payload to
struct tcpa_pc_event and reads from it:</p>
<p>pc_event = (struct tcpa_pc_event *)event_entry;</p>
<p>switch (do_endian_conversion(pc_event-&gt;event_id)) {
	...
		for (i = 0; i &lt; 20; i++)
			d_len += sprintf(&amp;data[2*i], "%02x",
					pc_event-&gt;event_data[i]);</p>
<p>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.</p>
<p>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.</p>
<p>Skip entries whose payload cannot even hold the event id, and skip
the 20-byt…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-143098"/>
  </entry>
</feed>
