{"id":"CVE-2026-53047","aliases":["CVE-2026-53047"],"related":[],"kind":"vulnerability","state":"published","title":"efi/capsule-loader: fix incorrect sizeof in phys array reallocation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi/capsule-loader: fix incorrect sizeof in phys array reallocation\n\nThe krealloc() call for cap_info->phys in __efi_capsule_setup_info() uses\nsizeof(phys_addr_t *) instead of sizeof(phys_addr_t), which might be\ncausing an undersized allocation.\n\nThe allocation is also inconsistent with the initial array allocation in\nefi_capsule_open() that allocates one entry with sizeof(phys_addr_t),\nand the efi_capsule_write() function that stores phys_addr_t values (not\npointers) via page_to_phys().\n\nOn 64-bit systems where sizeof(phys_addr_t) == sizeof(phys_addr_t *), this\ngoes unnoticed. On 32-bit systems with PAE where phys_addr_t is 64-bit but\npointers are 32-bit, this allocates half the required space, which might\nlead to a heap buffer overflow when storing physical addresses.\n\nThis is similar to the bug fixed in commit fccfa646ef36 (\"efi/capsule-loader:\nfix incorrect allocation size\") which fixed the same issue at the initial\nallocation site.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi/capsule-loader: fix incorrect sizeof in phys array reallocation\n\nThe krealloc() call for cap_info->phys in __efi_capsule_setup_info() uses\nsizeof(phys_addr_t *) instead of sizeof(phys_addr_t), which might be\ncausing an undersized allocation.\n\nThe allocation is also inconsistent with the initial array allocation in\nefi_capsule_open() that allocates one entry with sizeof(phys_addr_t),\nand the efi_capsule_write() function that stores phys_addr_t values (not\npointers) via page_to_phys().\n\nOn 64-bit systems where sizeof(phys_addr_t) == sizeof(phys_addr_t *), this\ngoes unnoticed. On 32-bit systems with PAE where phys_addr_t is 64-bit but\npointers are 32-bit, this allocates half the required space, which might\nlead to a heap buffer overflow when storing physical addresses.\n\nThis is similar to the bug fixed in commit fccfa646ef36 (\"efi/capsule-loader:\nfix incorrect allocation size\") which fixed the same issue at the initial\nallocation site.","source":"cvelist"}],"published":"2026-06-24T16:29:53.491Z","modified":"2026-11-06T17:18:02.890Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f24c4d478013d82bd1b943df566fff3561d52864","fixed":"22022cd8851703a58f67615a17bc7e9e8682785b","status":"affected"},{"type":"git","introduced":"f24c4d478013d82bd1b943df566fff3561d52864","fixed":"67adde6bfdfd563a54b045d59aeb9a2d90c80697","status":"affected"},{"type":"git","introduced":"f24c4d478013d82bd1b943df566fff3561d52864","fixed":"608e1f7bc9d171ab26c1fba288c97fc76363c27d","status":"affected"},{"type":"git","introduced":"f24c4d478013d82bd1b943df566fff3561d52864","fixed":"8be69e9245f805566bac68ffc8574b64735fd996","status":"affected"},{"type":"git","introduced":"f24c4d478013d82bd1b943df566fff3561d52864","fixed":"5e185330d902b12fe8e6eb4b8514b5d736d8d66d","status":"affected"},{"type":"git","introduced":"f24c4d478013d82bd1b943df566fff3561d52864","fixed":"e0e6b14995fd6fa2c0df8c712d76ab32f0694c31","status":"affected"},{"type":"git","introduced":"f24c4d478013d82bd1b943df566fff3561d52864","fixed":"ab3f7098a3a27175b91cfc947950f5c26855801b","status":"affected"},{"type":"git","introduced":"f24c4d478013d82bd1b943df566fff3561d52864","fixed":"48a428215782321b56956974f23593e40ce84b7a","status":"affected"},{"type":"git","version":"95a362c9a6892085f714eb6e31eea6a0e3aa93bf","status":"affected"},{"type":"semver","introduced":"4.14.13","fixed":"4.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.141","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.91","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.33","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.10","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14.13","fixed":"4.15"},{"status":"affected","introduced":"4.15.1","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.141"},{"status":"affected","introduced":"6.7","fixed":"6.12.91"},{"status":"affected","introduced":"6.13","fixed":"6.18.33"},{"status":"affected","introduced":"6.19","fixed":"7.0.10"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/22022cd8851703a58f67615a17bc7e9e8682785b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67adde6bfdfd563a54b045d59aeb9a2d90c80697","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/608e1f7bc9d171ab26c1fba288c97fc76363c27d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8be69e9245f805566bac68ffc8574b64735fd996","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e185330d902b12fe8e6eb4b8514b5d736d8d66d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0e6b14995fd6fa2c0df8c712d76ab32f0694c31","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab3f7098a3a27175b91cfc947950f5c26855801b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48a428215782321b56956974f23593e40ce84b7a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:17:08.543Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53047","url":"https://www.cve.org/CVERecord?id=CVE-2026-53047","licence":"CVE Terms of Use","modified":"2026-11-06T16:23:56.769Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53047","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53047","licence":"Public domain","modified":"2026-11-06T17:18:02.890Z"}],"updatedAt":"2026-11-25T22:59:25.672Z","epss":{"score":0.0014,"percentile":0.03605,"date":"2026-12-01T12:00:22.000Z"}}