{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "a871907ea6e5f9f9c10f2ede7fbd2f0b63766c77"
            },
            {
              "fixed": "bd5ede91170ebb3728940ad997391c2080b7bb8e"
            },
            {
              "fixed": "788d4ddd7ac9e86dac3e6bfe451b9b1bc658c1a6"
            },
            {
              "fixed": "da5b1f467e21b2e6f5e2e83685f920d9235a44d6"
            },
            {
              "fixed": "2ea8c5695c98d2bd3e20ad71bbd9dba22cf05584"
            },
            {
              "fixed": "d9c558a9a047c6d768b7c915bdc978631c836f84"
            },
            {
              "fixed": "ca12eac24875176507c99c937cd6e61180cc73bb"
            },
            {
              "fixed": "c0a3e153804f0c14f4159ddbd2b73483c9cb3577"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142827.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nparisc: eisa_enumerator: Fix out-of-bounds reads of the EEPROM buffer\n\neisa_enumerator() trusts the contents of the EISA EEPROM.  The number\nof slots is read from the EEPROM header and used to access the slot\nrecords at HPEE_SLOT_INFO(i) = 20 + 48*i within the fixed-size\neeprom_buf (HPEE_MAX_LENGTH, 8192 bytes) without any bound check.  As\nstruct eeprom_eisa_slot_info is 48 bytes, only 170 records fit into the\nbuffer, but num_slots is a u8 and may be up to 255, so a corrupted\nEEPROM makes the code read up to about 4 kB past the end of the buffer\n(e.g. record 254 is accessed at offset 20 + 48*254 = 12212).\n\nparse_slot_config() has the same kind of problem: it clamps\nconfig_data_length against HPEE_MAX_LENGTH but does not take\nconfig_data_offset into account, so the parser can walk past the end of\nthe buffer even when the offset itself is valid.\n\nClamp the number of slots so that all slot records fit into the buffer,\nand hand the number of bytes actually available to parse_slot_config()\nand bound the parse by it.",
  "id": "CVE-2026-142827",
  "modified": "2026-12-03T04:46:09.255631640Z",
  "published": "2026-12-03T03:20:44.928Z",
  "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/2ea8c5695c98d2bd3e20ad71bbd9dba22cf05584"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/788d4ddd7ac9e86dac3e6bfe451b9b1bc658c1a6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a871907ea6e5f9f9c10f2ede7fbd2f0b63766c77"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bd5ede91170ebb3728940ad997391c2080b7bb8e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c0a3e153804f0c14f4159ddbd2b73483c9cb3577"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ca12eac24875176507c99c937cd6e61180cc73bb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d9c558a9a047c6d768b7c915bdc978631c836f84"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/da5b1f467e21b2e6f5e2e83685f920d9235a44d6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142827.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142827"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "parisc: eisa_enumerator: Fix out-of-bounds reads of the EEPROM buffer"
}