{
  "id": "CVE-2026-81012",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-81012",
  "published_at": "2026-09-11T19:43:02.082Z",
  "title": "platform/x86: hp-bioscfg: fix off-by-one write in hp_get_string_from_buffer()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: hp-bioscfg: fix off-by-one write in hp_get_string_from_buffer()\n\nhp_get_string_from_buffer() clamps the converted string length against\nthe destination buffer size with \"size \u003e dst_size\", so when the\nconverted length is exactly equal to dst_size, conv_dst_size is left\nat dst_size and the unconditional NUL terminator write\n\n\tdst[conv_dst_size] = 0;\n\nlands one byte past the destination buffer. This is the same shape of\nbug as the previously fixed off-by-one in hp_convert_hexstr_to_str():\nthe buffer is sized correctly for the content, but the terminator\nwrite is never checked against that size.\n\nFix by changing the comparison to \"\u003e=\" so conv_dst_size is always left\nwith room for the terminator.\n\nAll fixed-size destinations that reach this function (path[512],\ncurrent_value[512], current_password/current_value[64], and the\nper-entry buffers in encodings[][512] and prerequisites[][512]) are\naffected.",
  "cvss_by_source": {
    "cna": 8.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= a34fc329b1895fc8a6eb12099adc47009421ba6a, \u003c 8f5aa1506cdddea6b33584c2445b9ce99eeddb64",
          "\u003e= a34fc329b1895fc8a6eb12099adc47009421ba6a, \u003c 3cc772d0154799961f032e5a992d4a50523e291a",
          "\u003e= a34fc329b1895fc8a6eb12099adc47009421ba6a, \u003c b15b334fbc3c0c46440f8a892ebf62164fca23d6",
          "\u003e= a34fc329b1895fc8a6eb12099adc47009421ba6a, \u003c ddf98cf33529714b3ba1a158afb1db5b0f759a1a",
          "\u003e= a34fc329b1895fc8a6eb12099adc47009421ba6a, \u003c dc03f05e419f3460342fb7564884f244622634b6"
        ],
        "fixed_in": [
          "8f5aa1506cdddea6b33584c2445b9ce99eeddb64",
          "3cc772d0154799961f032e5a992d4a50523e291a",
          "b15b334fbc3c0c46440f8a892ebf62164fca23d6",
          "ddf98cf33529714b3ba1a158afb1db5b0f759a1a",
          "dc03f05e419f3460342fb7564884f244622634b6"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.6"
        ],
        "fixed_in": [
          "0",
          "6.6.157",
          "6.12.109",
          "6.18.50",
          "7.2.4",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8f5aa1506cdddea6b33584c2445b9ce99eeddb64 or 3cc772d0154799961f032e5a992d4a50523e291a or b15b334fbc3c0c46440f8a892ebf62164fca23d6 or ddf98cf33529714b3ba1a158afb1db5b0f759a1a or dc03f05e419f3460342fb7564884f244622634b6 or later.",
      "Upgrade Linux to 0 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
