{"api_version":"1","generated_at":"2026-11-30T15:21:42+00:00","cve":"CVE-2026-139010","urls":{"html":"https://cve.report/CVE-2026-139010","api":"https://cve.report/api/cve/CVE-2026-139010.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139010","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139010"},"summary":{"title":"platform/x86: hp-bioscfg: fix slab-out-of-bounds write in hp_convert_hexstr_to_str()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: hp-bioscfg: fix slab-out-of-bounds write in hp_convert_hexstr_to_str()\n\nhp_convert_hexstr_to_str() decodes an ACPI string made up of\nspace-separated ASCII hex-byte tokens of the form \"0xHH\". For\nexample, the four-byte input \"0x41\" decodes to the single\ncharacter 'A', and the nine-byte input \"0x09 0x41\" decodes to\n\"\\tA\": each token is read in a five-byte step (four characters for\nthe token, one for the trailing delimiter), and produces one output\nbyte, or two if that byte is '\\\\', '\\r', '\\n', or '\\t', which are\nwritten back out as a backslash followed by the matching letter.\n\nThe output buffer is sized with kmalloc(input_len, GFP_KERNEL), the\nraw encoded length of the input, not the decoded length. For\nwell-formed input this is generous, since five input bytes never\ndecode to more than two output bytes. But input_len comes directly\nfrom the ACPI string length reported by firmware and isn't\nguaranteed to respect the five-byte encoding, so a short input_len\ncan undersize the allocation. With input_len == 1, only one byte is\nallocated, yet decoding still produces at least one output byte\nplus the NUL terminator written unconditionally afterwards, so two\nbytes are needed. That terminator write then lands one byte past\nthe end of the allocation.\n\nKASAN caught exactly this during BIOS attribute enumeration on\nboot, triggered by a one-byte encoded input value:\n\nBUG: KASAN: slab-out-of-bounds in hp_convert_hexstr_to_str+0x6d8/0x710 [hp_bioscfg]\nWrite of size 1 at addr ffff8881032e5d81 by task (udev-worker)/520\nThe buggy address is located 0 bytes to the right of\nallocated 1-byte region [ffff8881032e5d80, ffff8881032e5d81)\n\nSize the allocation to the worst-case decoded length instead of the\nraw input length: two output bytes for every five-byte input chunk\n(DIV_ROUND_UP(input_len, 5)), plus one byte for the terminator.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:04","updated_at":"2026-11-30 14:18:04"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a7e2d7c8aef36cfa6042c9152756c89ca2f853ff","name":"https://git.kernel.org/stable/c/a7e2d7c8aef36cfa6042c9152756c89ca2f853ff","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bce7b522aeb3a0494230f68b0f66e2873e4b6aa6","name":"https://git.kernel.org/stable/c/bce7b522aeb3a0494230f68b0f66e2873e4b6aa6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/43562e40e0b2c70bffbd7cada5a176891a49da9d","name":"https://git.kernel.org/stable/c/43562e40e0b2c70bffbd7cada5a176891a49da9d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6a6f3051e705b5c8facb0bf5984d5b981509e0b7","name":"https://git.kernel.org/stable/c/6a6f3051e705b5c8facb0bf5984d5b981509e0b7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d857f6a24c7d29c564c625a896ee46fee0682746","name":"https://git.kernel.org/stable/c/d857f6a24c7d29c564c625a896ee46fee0682746","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139010","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139010","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a34fc329b1895fc8a6eb12099adc47009421ba6a d857f6a24c7d29c564c625a896ee46fee0682746 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a34fc329b1895fc8a6eb12099adc47009421ba6a bce7b522aeb3a0494230f68b0f66e2873e4b6aa6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a34fc329b1895fc8a6eb12099adc47009421ba6a a7e2d7c8aef36cfa6042c9152756c89ca2f853ff git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a34fc329b1895fc8a6eb12099adc47009421ba6a 43562e40e0b2c70bffbd7cada5a176891a49da9d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a34fc329b1895fc8a6eb12099adc47009421ba6a 6a6f3051e705b5c8facb0bf5984d5b981509e0b7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/platform/x86/hp/hp-bioscfg/bioscfg.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d857f6a24c7d29c564c625a896ee46fee0682746","status":"affected","version":"a34fc329b1895fc8a6eb12099adc47009421ba6a","versionType":"git"},{"lessThan":"bce7b522aeb3a0494230f68b0f66e2873e4b6aa6","status":"affected","version":"a34fc329b1895fc8a6eb12099adc47009421ba6a","versionType":"git"},{"lessThan":"a7e2d7c8aef36cfa6042c9152756c89ca2f853ff","status":"affected","version":"a34fc329b1895fc8a6eb12099adc47009421ba6a","versionType":"git"},{"lessThan":"43562e40e0b2c70bffbd7cada5a176891a49da9d","status":"affected","version":"a34fc329b1895fc8a6eb12099adc47009421ba6a","versionType":"git"},{"lessThan":"6a6f3051e705b5c8facb0bf5984d5b981509e0b7","status":"affected","version":"a34fc329b1895fc8a6eb12099adc47009421ba6a","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/platform/x86/hp/hp-bioscfg/bioscfg.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.6"},{"lessThan":"6.6","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: hp-bioscfg: fix slab-out-of-bounds write in hp_convert_hexstr_to_str()\n\nhp_convert_hexstr_to_str() decodes an ACPI string made up of\nspace-separated ASCII hex-byte tokens of the form \"0xHH\". For\nexample, the four-byte input \"0x41\" decodes to the single\ncharacter 'A', and the nine-byte input \"0x09 0x41\" decodes to\n\"\\tA\": each token is read in a five-byte step (four characters for\nthe token, one for the trailing delimiter), and produces one output\nbyte, or two if that byte is '\\\\', '\\r', '\\n', or '\\t', which are\nwritten back out as a backslash followed by the matching letter.\n\nThe output buffer is sized with kmalloc(input_len, GFP_KERNEL), the\nraw encoded length of the input, not the decoded length. For\nwell-formed input this is generous, since five input bytes never\ndecode to more than two output bytes. But input_len comes directly\nfrom the ACPI string length reported by firmware and isn't\nguaranteed to respect the five-byte encoding, so a short input_len\ncan undersize the allocation. With input_len == 1, only one byte is\nallocated, yet decoding still produces at least one output byte\nplus the NUL terminator written unconditionally afterwards, so two\nbytes are needed. That terminator write then lands one byte past\nthe end of the allocation.\n\nKASAN caught exactly this during BIOS attribute enumeration on\nboot, triggered by a one-byte encoded input value:\n\nBUG: KASAN: slab-out-of-bounds in hp_convert_hexstr_to_str+0x6d8/0x710 [hp_bioscfg]\nWrite of size 1 at addr ffff8881032e5d81 by task (udev-worker)/520\nThe buggy address is located 0 bytes to the right of\nallocated 1-byte region [ffff8881032e5d80, ffff8881032e5d81)\n\nSize the allocation to the worst-case decoded length instead of the\nraw input length: two output bytes for every five-byte input chunk\n(DIV_ROUND_UP(input_len, 5)), plus one byte for the terminator."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:27:02.268Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d857f6a24c7d29c564c625a896ee46fee0682746"},{"url":"https://git.kernel.org/stable/c/bce7b522aeb3a0494230f68b0f66e2873e4b6aa6"},{"url":"https://git.kernel.org/stable/c/a7e2d7c8aef36cfa6042c9152756c89ca2f853ff"},{"url":"https://git.kernel.org/stable/c/43562e40e0b2c70bffbd7cada5a176891a49da9d"},{"url":"https://git.kernel.org/stable/c/6a6f3051e705b5c8facb0bf5984d5b981509e0b7"}],"title":"platform/x86: hp-bioscfg: fix slab-out-of-bounds write in hp_convert_hexstr_to_str()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139010","datePublished":"2026-11-30T13:27:02.268Z","dateReserved":"2026-11-30T13:22:15.908Z","dateUpdated":"2026-11-30T13:27:02.268Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:04","lastModifiedDate":"2026-11-30 14:18:04","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139010","Ordinal":"1","Title":"platform/x86: hp-bioscfg: fix slab-out-of-bounds write in hp_con","CVE":"CVE-2026-139010","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139010","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: hp-bioscfg: fix slab-out-of-bounds write in hp_convert_hexstr_to_str()\n\nhp_convert_hexstr_to_str() decodes an ACPI string made up of\nspace-separated ASCII hex-byte tokens of the form \"0xHH\". For\nexample, the four-byte input \"0x41\" decodes to the single\ncharacter 'A', and the nine-byte input \"0x09 0x41\" decodes to\n\"\\tA\": each token is read in a five-byte step (four characters for\nthe token, one for the trailing delimiter), and produces one output\nbyte, or two if that byte is '\\\\', '\\r', '\\n', or '\\t', which are\nwritten back out as a backslash followed by the matching letter.\n\nThe output buffer is sized with kmalloc(input_len, GFP_KERNEL), the\nraw encoded length of the input, not the decoded length. For\nwell-formed input this is generous, since five input bytes never\ndecode to more than two output bytes. But input_len comes directly\nfrom the ACPI string length reported by firmware and isn't\nguaranteed to respect the five-byte encoding, so a short input_len\ncan undersize the allocation. With input_len == 1, only one byte is\nallocated, yet decoding still produces at least one output byte\nplus the NUL terminator written unconditionally afterwards, so two\nbytes are needed. That terminator write then lands one byte past\nthe end of the allocation.\n\nKASAN caught exactly this during BIOS attribute enumeration on\nboot, triggered by a one-byte encoded input value:\n\nBUG: KASAN: slab-out-of-bounds in hp_convert_hexstr_to_str+0x6d8/0x710 [hp_bioscfg]\nWrite of size 1 at addr ffff8881032e5d81 by task (udev-worker)/520\nThe buggy address is located 0 bytes to the right of\nallocated 1-byte region [ffff8881032e5d80, ffff8881032e5d81)\n\nSize the allocation to the worst-case decoded length instead of the\nraw input length: two output bytes for every five-byte input chunk\n(DIV_ROUND_UP(input_len, 5)), plus one byte for the terminator.","Type":"Description","Title":"platform/x86: hp-bioscfg: fix slab-out-of-bounds write in hp_con"}]}}}