Skip to content
Heist/ feed
Back to feed
UnratedFix available

s390/pkey: Wipe sensitive data on failure

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Wipe sensitive data on failure Wipe sensitive data from stack also if the copy_to_user() fails.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.318, 5.10.222, 5.15.163, 5.4.280, 6.1.98, 6.6.39, 6.9.9
CVEs
CVE-2024-42157
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:10 UTC · Revision 1

Source evidence

s390/pkey: Wipe sensitive data on failure

core-osv · Original source

Published 30 Jul 2024, 07:46 UTC

In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Wipe sensitive data on failure Wipe sensitive data from stack also if the copy_to_user() fails.

osv:CVE-2024-42157

Kernel

Fixed versions: 4.19.318, 5.4.280, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.9.9

Complete source record
{
  "id": "2ca5fef43bab3ce6f5bc62b96b5edd157a88cd39bcb45250b0a3bf3934f56b54",
  "url": "https://osv.dev/vulnerability/CVE-2024-42157",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "s390/pkey: Wipe sensitive data on failure",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Wipe sensitive data on failure Wipe sensitive data from stack also if the copy_to_user() fails.",
    "evidence": "osv:CVE-2024-42157",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.318",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.280",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.222",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.163",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.98",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.39",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.9.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-42157",
      "aliases": [
        "CVE-2024-42157"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e80d4af0a320972aac58e2004d0ba4e44ef4c5c7"
                },
                {
                  "fixed": "6e2e374403bf73140d0efc9541cb1b3bea55ac02"
                },
                {
                  "fixed": "b5eb9176ebd4697bc248bf8d145e66d782cf5250"
                },
                {
                  "fixed": "93c034c4314bc4c4450a3869cd5da298502346ad"
                },
                {
                  "fixed": "4889f117755b2f18c23045a0f57977f3ec130581"
                },
                {
                  "fixed": "c51795885c801b6b7e976717e0d6d45b1e5be0f0"
                },
                {
                  "fixed": "90a01aefb84b09ccb6024d75d85bb8f620bd3487"
                },
                {
                  "fixed": "c44a2151e5d21c66b070a056c26471f30719b575"
                },
                {
                  "fixed": "1d8c270de5eb74245d72325d285894a577a945d9"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42157.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.11.0"
                },
                {
                  "fixed": "4.19.318"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.280"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.222"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.163"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.98"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.39"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.9.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42157.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.083022854Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1d8c270de5eb74245d72325d285894a577a945d9",
        "https://git.kernel.org/stable/c/4889f117755b2f18c23045a0f57977f3ec130581",
        "https://git.kernel.org/stable/c/6e2e374403bf73140d0efc9541cb1b3bea55ac02",
        "https://git.kernel.org/stable/c/90a01aefb84b09ccb6024d75d85bb8f620bd3487",
        "https://git.kernel.org/stable/c/93c034c4314bc4c4450a3869cd5da298502346ad",
        "https://git.kernel.org/stable/c/b5eb9176ebd4697bc248bf8d145e66d782cf5250",
        "https://git.kernel.org/stable/c/c44a2151e5d21c66b070a056c26471f30719b575",
        "https://git.kernel.org/stable/c/c51795885c801b6b7e976717e0d6d45b1e5be0f0",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42157.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-42157",
        "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/42xxx/CVE-2024-42157.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-42157",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 493675,
  "published_at": "2024-07-30T07:46:59.362+00:00"
}