{"api_version":"1","generated_at":"2026-11-24T14:36:09+00:00","cve":"CVE-2026-99495","urls":{"html":"https://cve.report/CVE-2026-99495","api":"https://cve.report/api/cve/CVE-2026-99495.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99495","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99495"},"summary":{"title":"s390/zcrypt: Fix and improve zcrypt reply message verification checks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/zcrypt: Fix and improve zcrypt reply message verification checks\n\nAdd or improve checks related to buffer sizes and reply sizes to the\nhandling of replies from the crypto cards for CCA, EP11 (AP message\ntype 6) and ICA (AP type 50) messages. The verification code related\nto reply field length was not designed well and thus firmware\ndeficiencies could lead to unexpected behavior in the zcrypt device\ndriver. Thus improve the code to more closely inspect especially\nlength fields at message replies.\n\nAdd length validation before accessing reply message structures in\nzcrypt_msgtype6_receive(), zcrypt_msgtype6_receive_ep11(), and\nzcrypt_msgtype50_receive() to prevent out-of-bounds reads and\npotential kernel memory disclosure.\n\nAlso rework these three functions to validate reply lengths more\ncarefully before copying data back into the request buffer. Use size_t\nfor length calculations, reject inconsistent reply sizes, and add\ndefensive handling for short invalid replies. For XCRB replies,\nvalidate both reply segments and derive the effective message length\nfrom the covered range instead of trusting only the second segment.\n\nAdditionally improve some of the later invoked evaluation functions\nwhich further check the payload. Add comments about length assumptions\nand for the type50 processing rework the payload processing completely\nwith removing a misplaced BUG_ON().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-19 15:18:04","updated_at":"2026-11-19 15:18:04"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0f0aa2b560a6eca76778083b0c6f155bb458b56f","name":"https://git.kernel.org/stable/c/0f0aa2b560a6eca76778083b0c6f155bb458b56f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5e9b339f323216d71f3ede8a0a427abf7859c486","name":"https://git.kernel.org/stable/c/5e9b339f323216d71f3ede8a0a427abf7859c486","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99495","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99495","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5e55a488c87aa6cc269b04bfec99e835f03b2c2d 0f0aa2b560a6eca76778083b0c6f155bb458b56f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5e55a488c87aa6cc269b04bfec99e835f03b2c2d 5e9b339f323216d71f3ede8a0a427abf7859c486 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.2 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/s390/crypto/zcrypt_msgtype50.c","drivers/s390/crypto/zcrypt_msgtype6.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"0f0aa2b560a6eca76778083b0c6f155bb458b56f","status":"affected","version":"5e55a488c87aa6cc269b04bfec99e835f03b2c2d","versionType":"git"},{"lessThan":"5e9b339f323216d71f3ede8a0a427abf7859c486","status":"affected","version":"5e55a488c87aa6cc269b04bfec99e835f03b2c2d","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/s390/crypto/zcrypt_msgtype50.c","drivers/s390/crypto/zcrypt_msgtype6.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.7"},{"lessThan":"3.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.2","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.2","versionStartIncluding":"3.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"3.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/zcrypt: Fix and improve zcrypt reply message verification checks\n\nAdd or improve checks related to buffer sizes and reply sizes to the\nhandling of replies from the crypto cards for CCA, EP11 (AP message\ntype 6) and ICA (AP type 50) messages. The verification code related\nto reply field length was not designed well and thus firmware\ndeficiencies could lead to unexpected behavior in the zcrypt device\ndriver. Thus improve the code to more closely inspect especially\nlength fields at message replies.\n\nAdd length validation before accessing reply message structures in\nzcrypt_msgtype6_receive(), zcrypt_msgtype6_receive_ep11(), and\nzcrypt_msgtype50_receive() to prevent out-of-bounds reads and\npotential kernel memory disclosure.\n\nAlso rework these three functions to validate reply lengths more\ncarefully before copying data back into the request buffer. Use size_t\nfor length calculations, reject inconsistent reply sizes, and add\ndefensive handling for short invalid replies. For XCRB replies,\nvalidate both reply segments and derive the effective message length\nfrom the covered range instead of trusting only the second segment.\n\nAdditionally improve some of the later invoked evaluation functions\nwhich further check the payload. Add comments about length assumptions\nand for the type50 processing rework the payload processing completely\nwith removing a misplaced BUG_ON()."}],"providerMetadata":{"dateUpdated":"2026-11-19T14:43:40.667Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/0f0aa2b560a6eca76778083b0c6f155bb458b56f"},{"url":"https://git.kernel.org/stable/c/5e9b339f323216d71f3ede8a0a427abf7859c486"}],"title":"s390/zcrypt: Fix and improve zcrypt reply message verification checks","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99495","datePublished":"2026-11-19T14:43:40.667Z","dateReserved":"2026-09-25T10:25:14.418Z","dateUpdated":"2026-11-19T14:43:40.667Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-19 15:18:04","lastModifiedDate":"2026-11-19 15:18:04","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99495","Ordinal":"1","Title":"s390/zcrypt: Fix and improve zcrypt reply message verification c","CVE":"CVE-2026-99495","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99495","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/zcrypt: Fix and improve zcrypt reply message verification checks\n\nAdd or improve checks related to buffer sizes and reply sizes to the\nhandling of replies from the crypto cards for CCA, EP11 (AP message\ntype 6) and ICA (AP type 50) messages. The verification code related\nto reply field length was not designed well and thus firmware\ndeficiencies could lead to unexpected behavior in the zcrypt device\ndriver. Thus improve the code to more closely inspect especially\nlength fields at message replies.\n\nAdd length validation before accessing reply message structures in\nzcrypt_msgtype6_receive(), zcrypt_msgtype6_receive_ep11(), and\nzcrypt_msgtype50_receive() to prevent out-of-bounds reads and\npotential kernel memory disclosure.\n\nAlso rework these three functions to validate reply lengths more\ncarefully before copying data back into the request buffer. Use size_t\nfor length calculations, reject inconsistent reply sizes, and add\ndefensive handling for short invalid replies. For XCRB replies,\nvalidate both reply segments and derive the effective message length\nfrom the covered range instead of trusting only the second segment.\n\nAdditionally improve some of the later invoked evaluation functions\nwhich further check the payload. Add comments about length assumptions\nand for the type50 processing rework the payload processing completely\nwith removing a misplaced BUG_ON().","Type":"Description","Title":"s390/zcrypt: Fix and improve zcrypt reply message verification c"}]}}}