{"id":"CVE-2024-42155","state":"PUBLISHED","title":"s390/pkey: Wipe copies of protected- and secure-keys","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/pkey: Wipe copies of protected- and secure-keys\n\nAlthough the clear-key of neither protected- nor secure-keys is\naccessible, this key material should only be visible to the calling\nprocess. So wipe all copies of protected- or secure-keys from stack,\neven in case of an error.","publishedAt":"2024-07-30T07:46:57.729Z","updatedAt":"2026-10-30T12:18:54.915Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","status":"affected","lessThan":"016dbf1a1ae1d13fca8589f884a296854c1756db","versionType":"git"},{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","status":"affected","lessThan":"7d5711e03cefd59da4d198ca02d4f8238ba1105c","versionType":"git"},{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","status":"affected","lessThan":"c746f7ced4ad88ee48d0b6c92710e4674403185b","versionType":"git"},{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","status":"affected","lessThan":"f2ebdadd85af4f4d0cae1e5d009c70eccc78c207","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":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","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/016dbf1a1ae1d13fca8589f884a296854c1756db","https://git.kernel.org/stable/c/7d5711e03cefd59da4d198ca02d4f8238ba1105c","https://git.kernel.org/stable/c/c746f7ced4ad88ee48d0b6c92710e4674403185b","https://git.kernel.org/stable/c/f2ebdadd85af4f4d0cae1e5d009c70eccc78c207"],"weaknesses":[],"ingestedAt":"2026-10-30T12:36:04.432Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/42xxx/CVE-2024-42155.json","commit":"db8103c5921aac81d5d90efcf3745980dafabf49","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-42155","state":"PUBLISHED","datePublished":"2024-07-30T07:46:57.729Z","dateUpdated":"2026-10-30T12:18:54.915Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-07-29T15:50:41.194Z"},"containers":{"cna":{"title":"s390/pkey: Wipe copies of protected- and secure-keys","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/pkey: Wipe copies of protected- and secure-keys\n\nAlthough the clear-key of neither protected- nor secure-keys is\naccessible, this key material should only be visible to the calling\nprocess. So wipe all copies of protected- or secure-keys from stack,\neven in case of an error."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","status":"affected","lessThan":"016dbf1a1ae1d13fca8589f884a296854c1756db","versionType":"git"},{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","status":"affected","lessThan":"7d5711e03cefd59da4d198ca02d4f8238ba1105c","versionType":"git"},{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","status":"affected","lessThan":"c746f7ced4ad88ee48d0b6c92710e4674403185b","versionType":"git"},{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","status":"affected","lessThan":"f2ebdadd85af4f4d0cae1e5d009c70eccc78c207","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":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","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/016dbf1a1ae1d13fca8589f884a296854c1756db"},{"url":"https://git.kernel.org/stable/c/7d5711e03cefd59da4d198ca02d4f8238ba1105c"},{"url":"https://git.kernel.org/stable/c/c746f7ced4ad88ee48d0b6c92710e4674403185b"},{"url":"https://git.kernel.org/stable/c/f2ebdadd85af4f4d0cae1e5d009c70eccc78c207"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:18:54.915Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.9.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/c746f7ced4ad88ee48d0b6c92710e4674403185b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/f2ebdadd85af4f4d0cae1e5d009c70eccc78c207","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:54:32.564Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-42155","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:15:11.881394Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:08.077Z"}}]}}}