{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "55a82ab3181be039c6440d3f2f69260ad6fe2988"
            },
            {
              "fixed": "8cfb77fd2303baf3fefba25a4340f934b63e2ff8"
            },
            {
              "fixed": "edd50f6d489394d9136b49885c9e9da678e5841d"
            },
            {
              "fixed": "4511db5dc463c3d955e9c795ea67e8635177ed0f"
            },
            {
              "fixed": "53958ee9043b05f9460b17f8a063cc70fe08be57"
            },
            {
              "fixed": "0bc5d911512abfe6e074d987e2644ce623049520"
            },
            {
              "fixed": "0a385f668ba77d29ae167c1668fd452418ebc9d6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.16"
            },
            {
              "fixed": "5.10.276"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.227"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143098.json"
  },
  "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(\u0026data[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.",
  "id": "CVE-2026-143098",
  "modified": "2026-12-03T10:45:25.161955150Z",
  "published": "2026-12-03T09:19:17.951Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0a385f668ba77d29ae167c1668fd452418ebc9d6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0bc5d911512abfe6e074d987e2644ce623049520"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4511db5dc463c3d955e9c795ea67e8635177ed0f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/53958ee9043b05f9460b17f8a063cc70fe08be57"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8cfb77fd2303baf3fefba25a4340f934b63e2ff8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/edd50f6d489394d9136b49885c9e9da678e5841d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143098.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143098"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "tpm: eventlog: check the payload size before reading tag events"
}