{"id":"CVE-2024-42156","state":"PUBLISHED","title":"s390/pkey: Wipe copies of clear-key structures on failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/pkey: Wipe copies of clear-key structures on failure\n\nWipe all sensitive data from stack for all IOCTLs, which convert a\nclear-key into a protected- or secure-key.","publishedAt":"2024-07-30T07:46:58.513Z","updatedAt":"2026-10-30T12:18:55.967Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f2bbc96e7cfad3891b7bf9bd3e566b9b7ab4553d","status":"affected","lessThan":"382f94bb724b41a76030557a29bbffb965d4c0ae","versionType":"git"},{"version":"f2bbc96e7cfad3891b7bf9bd3e566b9b7ab4553d","status":"affected","lessThan":"a891938947f4427f98cb1ce54f27223501efe750","versionType":"git"},{"version":"f2bbc96e7cfad3891b7bf9bd3e566b9b7ab4553d","status":"affected","lessThan":"7f6243edd901b75aaece326c90a1cc0dcb60cc3d","versionType":"git"},{"version":"f2bbc96e7cfad3891b7bf9bd3e566b9b7ab4553d","status":"affected","lessThan":"d65d76a44ffe74c73298ada25b0f578680576073","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/crypto/pkey_api.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.4","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.64","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.9","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/crypto/pkey_api.c"]}],"references":["https://git.kernel.org/stable/c/382f94bb724b41a76030557a29bbffb965d4c0ae","https://git.kernel.org/stable/c/a891938947f4427f98cb1ce54f27223501efe750","https://git.kernel.org/stable/c/7f6243edd901b75aaece326c90a1cc0dcb60cc3d","https://git.kernel.org/stable/c/d65d76a44ffe74c73298ada25b0f578680576073"],"weaknesses":[],"ingestedAt":"2026-10-30T12:36:04.432Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/42xxx/CVE-2024-42156.json","commit":"db8103c5921aac81d5d90efcf3745980dafabf49","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-42156","state":"PUBLISHED","datePublished":"2024-07-30T07:46:58.513Z","dateUpdated":"2026-10-30T12:18:55.967Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-07-29T15:50:41.194Z"},"containers":{"cna":{"title":"s390/pkey: Wipe copies of clear-key structures on failure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/pkey: Wipe copies of clear-key structures on failure\n\nWipe all sensitive data from stack for all IOCTLs, which convert a\nclear-key into a protected- or secure-key."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f2bbc96e7cfad3891b7bf9bd3e566b9b7ab4553d","status":"affected","lessThan":"382f94bb724b41a76030557a29bbffb965d4c0ae","versionType":"git"},{"version":"f2bbc96e7cfad3891b7bf9bd3e566b9b7ab4553d","status":"affected","lessThan":"a891938947f4427f98cb1ce54f27223501efe750","versionType":"git"},{"version":"f2bbc96e7cfad3891b7bf9bd3e566b9b7ab4553d","status":"affected","lessThan":"7f6243edd901b75aaece326c90a1cc0dcb60cc3d","versionType":"git"},{"version":"f2bbc96e7cfad3891b7bf9bd3e566b9b7ab4553d","status":"affected","lessThan":"d65d76a44ffe74c73298ada25b0f578680576073","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/crypto/pkey_api.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.4","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.64","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.9","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/crypto/pkey_api.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/382f94bb724b41a76030557a29bbffb965d4c0ae"},{"url":"https://git.kernel.org/stable/c/a891938947f4427f98cb1ce54f27223501efe750"},{"url":"https://git.kernel.org/stable/c/7f6243edd901b75aaece326c90a1cc0dcb60cc3d"},{"url":"https://git.kernel.org/stable/c/d65d76a44ffe74c73298ada25b0f578680576073"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:18:55.967Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.6.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.9.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/7f6243edd901b75aaece326c90a1cc0dcb60cc3d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d65d76a44ffe74c73298ada25b0f578680576073","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:54:32.172Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-42156","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:15:08.677401Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:34:34.120Z"}}]}}}