CVE-2026-53047
efi/capsule-loader: fix incorrect sizeof in phys array reallocation
Description
In the Linux kernel, the following vulnerability has been resolved: efi/capsule-loader: fix incorrect sizeof in phys array reallocation The krealloc() call for cap_info->phys in __efi_capsule_setup_info() uses sizeof(phys_addr_t *) instead of sizeof(phys_addr_t), which might be causing an undersized allocation. The allocation is also inconsistent with the initial array allocation in efi_capsule_open() that allocates one entry with sizeof(phys_addr_t), and the efi_capsule_write() function that stores phys_addr_t values (not pointers) via page_to_phys(). On 64-bit systems where sizeof(phys_addr_t) == sizeof(phys_addr_t *), this goes unnoticed. On 32-bit systems with PAE where phys_addr_t is 64-bit but pointers are 32-bit, this allocates half the required space, which might lead to a heap buffer overflow when storing physical addresses. This is similar to the bug fixed in commit fccfa646ef36 ("efi/capsule-loader: fix incorrect allocation size") which fixed the same issue at the initial allocation site.
INFO
Published Date :
June 24, 2026, 5:17 p.m.
Last Modified :
July 21, 2026, 5:22 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to the latest version.
- Apply the patch for the efi/capsule-loader fix.
- Recompile the kernel with the fix.
- Deploy the updated kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53047.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53047 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53047
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53047 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53047 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 21, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:4.15:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.15:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.15:rc8:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.15:rc9:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.14.13 up to (excluding) 4.15 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.141 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.91 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15.1 up to (excluding) 5.10.258 Added Reference Type kernel.org: https://git.kernel.org/stable/c/22022cd8851703a58f67615a17bc7e9e8682785b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/48a428215782321b56956974f23593e40ce84b7a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5e185330d902b12fe8e6eb4b8514b5d736d8d66d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/608e1f7bc9d171ab26c1fba288c97fc76363c27d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/67adde6bfdfd563a54b045d59aeb9a2d90c80697 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8be69e9245f805566bac68ffc8574b64735fd996 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ab3f7098a3a27175b91cfc947950f5c26855801b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e0e6b14995fd6fa2c0df8c712d76ab32f0694c31 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'f24c4d478013d82bd1b943df566fff3561d52864', 'lessThan': '22022cd8851703a58f67615a17bc7e9e8682785b', 'versionType': 'git'}, {'status': 'affected', 'version': 'f24c4d478013d82bd1b943df566fff3561d52864', 'lessThan': '67adde6bfdfd563a54b045d59aeb9a2d90c80697', 'versionType': 'git'}, {'status': 'affected', 'version': 'f24c4d478013d82bd1b943df566fff3561d52864', 'lessThan': '608e1f7bc9d171ab26c1fba288c97fc76363c27d', 'versionType': 'git'}, {'status': 'affected', 'version': 'f24c4d478013d82bd1b943df566fff3561d52864', 'lessThan': '8be69e9245f805566bac68ffc8574b64735fd996', 'versionType': 'git'}, {'status': 'affected', 'version': 'f24c4d478013d82bd1b943df566fff3561d52864', 'lessThan': '5e185330d902b12fe8e6eb4b8514b5d736d8d66d', 'versionType': 'git'}, {'status': 'affected', 'version': 'f24c4d478013d82bd1b943df566fff3561d52864', 'lessThan': 'e0e6b14995fd6fa2c0df8c712d76ab32f0694c31', 'versionType': 'git'}, {'status': 'affected', 'version': 'f24c4d478013d82bd1b943df566fff3561d52864', 'lessThan': 'ab3f7098a3a27175b91cfc947950f5c26855801b', 'versionType': 'git'}, {'status': 'affected', 'version': 'f24c4d478013d82bd1b943df566fff3561d52864', 'lessThan': '48a428215782321b56956974f23593e40ce84b7a', 'versionType': 'git'}, {'status': 'affected', 'version': '95a362c9a6892085f714eb6e31eea6a0e3aa93bf', 'versionType': 'git'}, {'status': 'affected', 'version': '4.14.13', 'lessThan': '4.15', 'versionType': 'semver'}], 'programFiles': ['drivers/firmware/efi/capsule-loader.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/firmware/efi/capsule-loader.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: efi/capsule-loader: fix incorrect sizeof in phys array reallocation The krealloc() call for cap_info->phys in __efi_capsule_setup_info() uses sizeof(phys_addr_t *) instead of sizeof(phys_addr_t), which might be causing an undersized allocation. The allocation is also inconsistent with the initial array allocation in efi_capsule_open() that allocates one entry with sizeof(phys_addr_t), and the efi_capsule_write() function that stores phys_addr_t values (not pointers) via page_to_phys(). On 64-bit systems where sizeof(phys_addr_t) == sizeof(phys_addr_t *), this goes unnoticed. On 32-bit systems with PAE where phys_addr_t is 64-bit but pointers are 32-bit, this allocates half the required space, which might lead to a heap buffer overflow when storing physical addresses. This is similar to the bug fixed in commit fccfa646ef36 ("efi/capsule-loader: fix incorrect allocation size") which fixed the same issue at the initial allocation site. Added Reference https://git.kernel.org/stable/c/22022cd8851703a58f67615a17bc7e9e8682785b Added Reference https://git.kernel.org/stable/c/48a428215782321b56956974f23593e40ce84b7a Added Reference https://git.kernel.org/stable/c/5e185330d902b12fe8e6eb4b8514b5d736d8d66d Added Reference https://git.kernel.org/stable/c/608e1f7bc9d171ab26c1fba288c97fc76363c27d Added Reference https://git.kernel.org/stable/c/67adde6bfdfd563a54b045d59aeb9a2d90c80697 Added Reference https://git.kernel.org/stable/c/8be69e9245f805566bac68ffc8574b64735fd996 Added Reference https://git.kernel.org/stable/c/ab3f7098a3a27175b91cfc947950f5c26855801b Added Reference https://git.kernel.org/stable/c/e0e6b14995fd6fa2c0df8c712d76ab32f0694c31