{"id":"CVE-2026-139754","summary":"efi/cper: Reject an error status block length that wraps a u32","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi/cper: Reject an error status block length that wraps a u32\n\ncper_estatus_len() sums the firmware-controlled data_length (or\nraw_data_offset plus raw_data_length) into a u32. A data_length of\n0xffffffec wraps that sum to 0, and a length that reads back short defeats\nevery bound built on it: bert_print_all() passes its \"remain \u003c\nestatus_len\" check, then advances \"estatus += estatus_len\" by zero and\nloops forever. GHES survives only because __ghes_check_estatus() rejects a\nlength below sizeof(*estatus) first.\n\nReject a length that cannot be expressed in a u32 in\ncper_estatus_check_header(), which both of today's callers reach: GHES via\n__ghes_check_estatus() and BERT via cper_estatus_check(). extlog reaches\nneither yet; a later patch routes it through cper_estatus_check(), whose\nELOG_ENTRY_LEN bound needs this to hold.","modified":"2026-11-30T15:02:30.752308839Z","published":"2026-11-30T13:37:40.123Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139754.json"},"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/029b9fd14ef034a1d36e0208b272f0886ded8526"},{"type":"WEB","url":"https://git.kernel.org/stable/c/17b3fd50e49fd131d85fda217746b9d8824769a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4006f75a8fa0551de1ae8005d36c28826d3eb0e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41e25ef5e417c62eb7bf39b187242b283b3ef9f1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a2468507c24437c08296fd1b167b59a0ec27c0b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98c09a53284d0e9b1d6cba4c3cb8936b9daf1483"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a1dcfc580fd98c416240aa60b2a6eb924063069a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d82e697c19b159c401dccbadc0621f128ad6abfb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139754.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139754"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"06d65deade9aabba58e0518df86dcd324e86b832"},{"fixed":"6a2468507c24437c08296fd1b167b59a0ec27c0b"},{"fixed":"98c09a53284d0e9b1d6cba4c3cb8936b9daf1483"},{"fixed":"4006f75a8fa0551de1ae8005d36c28826d3eb0e1"},{"fixed":"d82e697c19b159c401dccbadc0621f128ad6abfb"},{"fixed":"a1dcfc580fd98c416240aa60b2a6eb924063069a"},{"fixed":"17b3fd50e49fd131d85fda217746b9d8824769a0"},{"fixed":"029b9fd14ef034a1d36e0208b272f0886ded8526"},{"fixed":"41e25ef5e417c62eb7bf39b187242b283b3ef9f1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139754.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.35"},{"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.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139754.json"}}],"schema_version":"1.9.2"}