Skip to content
Heist/ feed
Back to feed
HighFix available

efi: libstub: only free priv.runtime_map when allocated

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: efi: libstub: only free priv.runtime_map when allocated priv.runtime_map is only allocated when efi_novamap is not set. Otherwise, it is an uninitialized value. In the error path, it is freed unconditionally. Avoid passing an uninitialized value to free_pool. Free priv.runtime_map only when it was allocated. This bug was discovered and resolved using Coverity Static Analysis Security Testing (SAST) by Synopsys, Inc.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.93, 6.6.33, 6.9.4
CVEs
CVE-2024-33619
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:42 UTC · Revision 1

Source evidence

efi: libstub: only free priv.runtime_map when allocated

core-osv · Original source

Published 21 Jun 2024, 10:18 UTC

In the Linux kernel, the following vulnerability has been resolved: efi: libstub: only free priv.runtime_map when allocated priv.runtime_map is only allocated when efi_novamap is not set. Otherwise, it is an uninitialized value. In the error path, it is freed unconditionally. Avoid passing an uninitialized value to free_pool. Free priv.runtime_map only when it was allocated. This bug was discovered and resolved using Coverity Static Analysis Security Testing (SAST) by Synopsys, Inc.

osv:CVE-2024-33619

Kernel

Fixed versions: 6.1.93, 6.6.33, 6.9.4

Complete source record
{
  "id": "247e4486a72025ba634fe855d45f8ca6da8afbcb6f54db49f78ca2fc4d05f68e",
  "url": "https://osv.dev/vulnerability/CVE-2024-33619",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "efi: libstub: only free priv.runtime_map when allocated",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: efi: libstub: only free priv.runtime_map when allocated priv.runtime_map is only allocated when efi_novamap is not set. Otherwise, it is an uninitialized value. In the error path, it is freed unconditionally. Avoid passing an uninitialized value to free_pool. Free priv.runtime_map only when it was allocated. This bug was discovered and resolved using Coverity Static Analysis Security Testing (SAST) by Synopsys, Inc.",
    "evidence": "osv:CVE-2024-33619",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.93",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.33",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.9.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-33619",
      "aliases": [
        "CVE-2024-33619"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f80d26043af91ceb5036c478101c015edb9e7630"
                },
                {
                  "fixed": "b8938d6f570f010a1dcdbfed3e5b5d3258c2a908"
                },
                {
                  "fixed": "9dce01f386c9ce6990c0a83fa14b1c95330b037e"
                },
                {
                  "fixed": "6ca67a5fe1c606d1fbe24c30a9fc0bdc43a18554"
                },
                {
                  "fixed": "4b2543f7e1e6b91cfc8dd1696e3cdf01c3ac8974"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-33619.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.93"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.33"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.9.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-33619.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.042059436Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4b2543f7e1e6b91cfc8dd1696e3cdf01c3ac8974",
        "https://git.kernel.org/stable/c/6ca67a5fe1c606d1fbe24c30a9fc0bdc43a18554",
        "https://git.kernel.org/stable/c/9dce01f386c9ce6990c0a83fa14b1c95330b037e",
        "https://git.kernel.org/stable/c/b8938d6f570f010a1dcdbfed3e5b5d3258c2a908",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33619.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-33619",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33619.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-33619",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496461,
  "published_at": "2024-06-21T10:18:05.007+00:00"
}