{"id":"CVE-2026-80546","revision":"ddd1806ae1094ea1bb4f43e70ab71314","records":[{"revision":"ddd1806ae1094ea1bb4f43e70ab71314","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-80546","aliases":[],"title":"s390/zcrypt: Improve CCA CPRB length and overflow checks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/zcrypt: Improve CCA CPRB length and overflow checks\n\nThe xcrb_msg_to_type6cprb_msgx() function lacks proper input\nvalidation, creating security vulnerabilities:\n1. Integer overflow after CEIL4 alignment: Signed int variables could\n   overflow during 4-byte boundary alignment, causing undersized\n   buffer allocations or incorrect bounds checking.\n2. Missing minimum size validation: The CPRBX structure is copied from\n   userspace without verifying sufficient buffer length. Undersized\n   buffers cause uninitialized memory access when reading structure\n   fields like cprbx.cprb_len and cprbx.domain.\n3. Arithmetic overflow in sum calculations: Adding control block and\n   data block sizes could overflow, bypassing size checks and enabling\n   buffer overflows.\n\nFix by using size_t for length calculations, adding U32_MAX boundary\nchecks after alignment, validating minimum control block size before\ncopying from userspace, and detecting sum calculation overflows.","state":0,"publishedAt":"2026-08-26T14:37:17.55+00:00","modifiedAt":"2026-10-21T12:46:29.446+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/s390/crypto/zcrypt_msgtype6.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"20b0b0159390fa5c00a435195649680fefda81e0\",\n                            \"lessThan\": \"584400144020f40365de3972c4763da520e7280e\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e2c6d91eb8b1533753755f07803e47eceed263d0\",\n                            \"lessThan\": \"50fe5133dcb46449daf2435fa705264364411129\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e2c6d91eb8b1533753755f07803e47eceed263d0\",\n                            \"lessThan\": \"35ac6754ba6da45fd193f5ce3f665f7490b830d5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"f9da85d4780515f65983e0af151458599adaef3d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"6.12.114\",\n                            \"lessThan\": \"6.13\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/s390/crypto/zcrypt_msgtype6.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7.1\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"7.1\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.10\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/584400144020f40365de3972c4763da520e7280e","https://git.kernel.org/stable/c/50fe5133dcb46449daf2435fa705264364411129","https://git.kernel.org/stable/c/35ac6754ba6da45fd193f5ce3f665f7490b830d5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-80546","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-80546","identifiers":["CVE-2026-80546"]},"retained":false,"historicalAffected":[]}],"coverage":[]}