Skip to content
Heist/ feed
Back to feed
HighFix available

KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation When sealing or unsealing a key blob we currently do not wait for the AEAD cipher operation to finish and simply return after submitting the request. If there is some load on the system we can exit before the cipher operation is done and the buffer we read from/write to is already removed from the stack. This will e.g. result in NULL pointer dereference errors in the DCP driver during blob creation. Fix this by waiting for the AEAD cipher operation to finish before resuming the seal and unseal calls.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.11.8
CVEs
CVE-2024-50281
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 14:27 UTC · Revision 1

Source evidence

KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation

core-osv · Original source

Published 19 Nov 2024, 01:30 UTC

In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation When sealing or unsealing a key blob we currently do not wait for the AEAD cipher operation to finish and simply return after submitting the request. If there is some load on the system we can exit before the cipher operation is done and the buffer we read from/write to is already removed from the stack. This will e.g. result in NULL pointer dereference errors in the DCP driver during blob creation. Fix this by waiting for the AEAD cipher operation to finish before resuming the seal and unseal calls.

osv:CVE-2024-50281

Kernel

Fixed versions: 6.11.8

Complete source record
{
  "id": "c8177b0881fdcb584b95298251f893782223dd1c5fc2957c33eb296659c42898",
  "url": "https://osv.dev/vulnerability/CVE-2024-50281",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation When sealing or unsealing a key blob we currently do not wait for the AEAD cipher operation to finish and simply return after submitting the request. If there is some load on the system we can exit before the cipher operation is done and the buffer we read from/write to is already removed from the stack. This will e.g. result in NULL pointer dereference errors in the DCP driver during blob creation. Fix this by waiting for the AEAD cipher operation to finish before resuming the seal and unseal calls.",
    "evidence": "osv:CVE-2024-50281",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.11.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-50281",
      "aliases": [
        "CVE-2024-50281"
      ],
      "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": "0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb"
                },
                {
                  "fixed": "c75e0272289eae18c5379518a9c56ef31d65cc7d"
                },
                {
                  "fixed": "04de7589e0a95167d803ecadd115235ba2c14997"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.10.7"
                },
                {
                  "fixed": "6.11"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9e3b266afcfe4294e84496f50f006f029d3100db"
                }
              ]
            }
          ],
          "versions": [
            "v6.10.14",
            "v6.10.13",
            "v6.10.12",
            "v6.10.11",
            "v6.10.10",
            "v6.10.9",
            "v6.10.8",
            "v6.10.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50281.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.11.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50281.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.104014707Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/04de7589e0a95167d803ecadd115235ba2c14997",
        "https://git.kernel.org/stable/c/c75e0272289eae18c5379518a9c56ef31d65cc7d",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50281.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-50281",
        "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/50xxx/CVE-2024-50281.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-50281",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519626,
  "published_at": "2024-11-19T01:30:23.275+00:00"
}