{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f24c4d478013d82bd1b943df566fff3561d52864"
            },
            {
              "fixed": "22022cd8851703a58f67615a17bc7e9e8682785b"
            },
            {
              "fixed": "67adde6bfdfd563a54b045d59aeb9a2d90c80697"
            },
            {
              "fixed": "608e1f7bc9d171ab26c1fba288c97fc76363c27d"
            },
            {
              "fixed": "8be69e9245f805566bac68ffc8574b64735fd996"
            },
            {
              "fixed": "5e185330d902b12fe8e6eb4b8514b5d736d8d66d"
            },
            {
              "fixed": "e0e6b14995fd6fa2c0df8c712d76ab32f0694c31"
            },
            {
              "fixed": "ab3f7098a3a27175b91cfc947950f5c26855801b"
            },
            {
              "fixed": "48a428215782321b56956974f23593e40ce84b7a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "95a362c9a6892085f714eb6e31eea6a0e3aa93bf"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.14.13"
            },
            {
              "fixed": "4.15"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.15.0"
            },
            {
              "fixed": "5.10.258"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.209"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.175"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.141"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.91"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.33"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53047.json"
  },
  "details": "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-\u003ephys 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.",
  "id": "CVE-2026-53047",
  "modified": "2026-08-12T03:51:35.150177565Z",
  "published": "2026-06-24T16:29:53.491Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/22022cd8851703a58f67615a17bc7e9e8682785b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/48a428215782321b56956974f23593e40ce84b7a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5e185330d902b12fe8e6eb4b8514b5d736d8d66d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/608e1f7bc9d171ab26c1fba288c97fc76363c27d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/67adde6bfdfd563a54b045d59aeb9a2d90c80697"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8be69e9245f805566bac68ffc8574b64735fd996"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ab3f7098a3a27175b91cfc947950f5c26855801b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e0e6b14995fd6fa2c0df8c712d76ab32f0694c31"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53047.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53047"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "efi/capsule-loader: fix incorrect sizeof in phys array reallocation"
}