Skip to content
Heist/ feed
Back to feed
UnratedFix available

gsmi: fix null-deref in gsmi_get_variable

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: gsmi: fix null-deref in gsmi_get_variable We can get EFI variables without fetching the attribute, so we must allow for that in gsmi. commit 859748255b43 ("efi: pstore: Omit efivars caching EFI varstore access layer") added a new get_variable call with attr=NULL, which triggers panic in gsmi.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.304, 4.19.271, 5.10.165, 5.15.90, 5.4.230, 6.1.8
CVEs
CVE-2023-52893
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:00 UTC · Revision 1

Source evidence

gsmi: fix null-deref in gsmi_get_variable

core-osv · Original source

Published 21 Aug 2024, 06:10 UTC

In the Linux kernel, the following vulnerability has been resolved: gsmi: fix null-deref in gsmi_get_variable We can get EFI variables without fetching the attribute, so we must allow for that in gsmi. commit 859748255b43 ("efi: pstore: Omit efivars caching EFI varstore access layer") added a new get_variable call with attr=NULL, which triggers panic in gsmi.

osv:CVE-2023-52893

Kernel

Fixed versions: 4.14.304, 4.19.271, 5.4.230, 5.10.165, 5.15.90, 6.1.8

Complete source record
{
  "id": "3b705b780621a930f038763574d45877635859a752b51e39bb789050d953ab12",
  "url": "https://osv.dev/vulnerability/CVE-2023-52893",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "gsmi: fix null-deref in gsmi_get_variable",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: gsmi: fix null-deref in gsmi_get_variable We can get EFI variables without fetching the attribute, so we must allow for that in gsmi. commit 859748255b43 (\"efi: pstore: Omit efivars caching EFI varstore access layer\") added a new get_variable call with attr=NULL, which triggers panic in gsmi.",
    "evidence": "osv:CVE-2023-52893",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.14.304",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.271",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.230",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.165",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.90",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-52893",
      "aliases": [
        "CVE-2023-52893"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "74c5b31c6618f01079212332b2e5f6c42f2d6307"
                },
                {
                  "fixed": "ee5763ef829bd923033510de6d1df7c73f085e4b"
                },
                {
                  "fixed": "32313c11bdc8a02c577abaf865be3664ab30410a"
                },
                {
                  "fixed": "ffef77794fb5f1245c3249b86342bad2299accb5"
                },
                {
                  "fixed": "ae2a9dcc8caa60b1e14671294e5ec902ea5d1dfd"
                },
                {
                  "fixed": "eb0421d90f916dffe96b4c049ddf01c0c50620d2"
                },
                {
                  "fixed": "6646d769fdb0ce4318ef9afd127f8526d1ca8393"
                },
                {
                  "fixed": "a769b05eeed7accc4019a1ed9799dd72067f1ce8"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52893.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.0.0"
                },
                {
                  "fixed": "4.14.304"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.271"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.230"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.165"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.90"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52893.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.203048211Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/32313c11bdc8a02c577abaf865be3664ab30410a",
        "https://git.kernel.org/stable/c/6646d769fdb0ce4318ef9afd127f8526d1ca8393",
        "https://git.kernel.org/stable/c/a769b05eeed7accc4019a1ed9799dd72067f1ce8",
        "https://git.kernel.org/stable/c/ae2a9dcc8caa60b1e14671294e5ec902ea5d1dfd",
        "https://git.kernel.org/stable/c/eb0421d90f916dffe96b4c049ddf01c0c50620d2",
        "https://git.kernel.org/stable/c/ee5763ef829bd923033510de6d1df7c73f085e4b",
        "https://git.kernel.org/stable/c/ffef77794fb5f1245c3249b86342bad2299accb5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52893.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-52893",
        "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/2023/52xxx/CVE-2023-52893.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-52893",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 508857,
  "published_at": "2024-08-21T06:10:33.043+00:00"
}