{"id":"CVE-2026-80546","aliases":["CVE-2026-80546"],"related":[],"kind":"vulnerability","state":"published","title":"s390/zcrypt: Improve CCA CPRB length and overflow checks","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-26T14:37:17.550Z","modified":"2026-10-21T13:19:54.543Z","severity":{"scorer":"Linux","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"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,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"20b0b0159390fa5c00a435195649680fefda81e0","fixed":"584400144020f40365de3972c4763da520e7280e","status":"affected"},{"type":"git","introduced":"e2c6d91eb8b1533753755f07803e47eceed263d0","fixed":"50fe5133dcb46449daf2435fa705264364411129","status":"affected"},{"type":"git","introduced":"e2c6d91eb8b1533753755f07803e47eceed263d0","fixed":"35ac6754ba6da45fd193f5ce3f665f7490b830d5","status":"affected"},{"type":"git","version":"f9da85d4780515f65983e0af151458599adaef3d","status":"affected"},{"type":"semver","introduced":"6.12.114","fixed":"6.13","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.1.10","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/584400144020f40365de3972c4763da520e7280e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50fe5133dcb46449daf2435fa705264364411129","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35ac6754ba6da45fd193f5ce3f665f7490b830d5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80546","url":"https://www.cve.org/CVERecord?id=CVE-2026-80546","licence":"CVE Terms of Use","modified":"2026-10-21T12:46:29.446Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80546","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80546","licence":"Public domain","modified":"2026-10-21T13:19:54.543Z"}],"updatedAt":"2026-11-25T22:59:35.389Z","epss":{"score":0.00144,"percentile":0.03869,"date":"2026-12-01T12:00:22.000Z"}}