{"id":"CVE-2026-139755","aliases":["CVE-2026-139755"],"related":[],"kind":"vulnerability","state":"published","title":"efi/cper: Reject CPER records with an out-of-range error_data_length","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi/cper: Reject CPER records with an out-of-range error_data_length\n\ncper_estatus_check() sizes each section with acpi_hest_get_record_size(),\nwhich adds the firmware-controlled u32 error_data_length to the header size\nas a signed int (see <acpi/ghes.h>). A value in the top sizeof(*gdata)\nbytes of the u32 range wraps the sum small rather than large, so it slips\npast the \"record_size > data_len\" check: against the 72-byte v300 header,\n0xffffffb9 sizes the record at 1 and acpi_hest_get_next() walks it a byte\nat a time, off the end. 0xffffffb8 sizes it at 0 and loops forever.\n\nUse check_add_overflow() to reject a sum that will not fit the int those\nhelpers return, since the walk advances by that value. That subsumes the\n\"acpi_hest_get_size(gdata) > data_len\" test above it, because record_size\nis never smaller than the header.\n\nThe later \"len < sizeof(*foo)\" guards rely on this per-section upper bound;\nthey are lower bounds only.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi/cper: Reject CPER records with an out-of-range error_data_length\n\ncper_estatus_check() sizes each section with acpi_hest_get_record_size(),\nwhich adds the firmware-controlled u32 error_data_length to the header size\nas a signed int (see <acpi/ghes.h>). A value in the top sizeof(*gdata)\nbytes of the u32 range wraps the sum small rather than large, so it slips\npast the \"record_size > data_len\" check: against the 72-byte v300 header,\n0xffffffb9 sizes the record at 1 and acpi_hest_get_next() walks it a byte\nat a time, off the end. 0xffffffb8 sizes it at 0 and loops forever.\n\nUse check_add_overflow() to reject a sum that will not fit the int those\nhelpers return, since the walk advances by that value. That subsumes the\n\"acpi_hest_get_size(gdata) > data_len\" test above it, because record_size\nis never smaller than the header.\n\nThe later \"len < sizeof(*foo)\" guards rely on this per-section upper bound;\nthey are lower bounds only.","source":"cvelist"}],"published":"2026-11-30T13:37:40.671Z","modified":"2026-11-30T14:20:08.167Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad","fixed":"a91a6ae45386e56624d933ac69ce036a767bbe94","status":"affected"},{"type":"git","introduced":"45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad","fixed":"1d62d7c5e38602ceda4c0830d1e4931b0544a1a0","status":"affected"},{"type":"git","introduced":"45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad","fixed":"09dd5f66a5783f6e4d0e9fa1d44320fd240b1e66","status":"affected"},{"type":"git","introduced":"45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad","fixed":"2962cc94d4465705561e86ba284b387c08022d98","status":"affected"},{"type":"git","introduced":"45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad","fixed":"8b5b2978b16cc8346da68393bbf9a6a60e616da2","status":"affected"},{"type":"git","introduced":"45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad","fixed":"a013702fc1d40f98f606bca1f6f81ec8c9f4b124","status":"affected"},{"type":"git","introduced":"45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad","fixed":"92ce77092a2c310295be90a8e53cc654d73ad872","status":"affected"},{"type":"git","introduced":"45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad","fixed":"a5a612cd3eecbadf135df1e9b2b40bc9f4c28f1c","status":"affected"},{"type":"git","version":"7022c49509e95130aa8e59c825b13c03afe9e603","status":"affected"},{"type":"git","version":"d60f458e4c4dddb4d7ad20656d41a0d83a3d855b","status":"affected"},{"type":"git","version":"5d1db4825e3c55ccf162f92eb1bcbd12f77c6a67","status":"affected"},{"type":"semver","introduced":"4.14.111","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.34","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.0.7","fixed":"5.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a91a6ae45386e56624d933ac69ce036a767bbe94","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d62d7c5e38602ceda4c0830d1e4931b0544a1a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09dd5f66a5783f6e4d0e9fa1d44320fd240b1e66","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2962cc94d4465705561e86ba284b387c08022d98","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b5b2978b16cc8346da68393bbf9a6a60e616da2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a013702fc1d40f98f606bca1f6f81ec8c9f4b124","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92ce77092a2c310295be90a8e53cc654d73ad872","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a5a612cd3eecbadf135df1e9b2b40bc9f4c28f1c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139755","url":"https://www.cve.org/CVERecord?id=CVE-2026-139755","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:40.671Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139755","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139755","licence":"Public domain","modified":"2026-11-30T14:20:08.167Z"}],"updatedAt":"2026-11-30T14:33:40.893Z","epss":{"score":0.0022,"percentile":0.13279,"date":"2026-12-01T12:00:22.000Z"}}