{"id":"AZL-118106","summary":"CVE-2026-143098 affecting package kernel 6.6.161.1-1","details":"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-\u003eevent_id)) {\n\t...\n\t\tfor (i = 0; i \u003c 20; i++)\n\t\t\td_len += sprintf(&data[2*i], \"%02x\",\n\t\t\t\t\tpc_event-\u003eevent_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.","modified":"2026-12-04T14:18:40.037720224Z","published":"2026-12-03T10:17:41Z","upstream":["CVE-2026-143098"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143098"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-118106.json"}}],"schema_version":"1.9.2"}