s390/zcrypt: Improve CCA CPRB length and overflow checks
In the Linux kernel, the following vulnerability has been resolved: s390/zcrypt: Improve CCA CPRB length and overflow checks The xcrb_msg_to_type6cprb_msgx() function lacks proper input validation, creating security vulnerabilities: 1. Integer overflow after CEIL4 alignment: Signed int variables could overflow during 4-byte boundary alignment, causing undersized buffer allocations or incorrect bounds checking. 2. Missing minimum size validation: The CPRBX structure is copied from userspace without verifying sufficient buffer length. Undersized buffers cause uninitialized memory access when reading structure fields like cprbx.cprb_len and cprbx.domain. 3. Arithmetic overflow in sum calculations: Adding control block and data block sizes could overflow, bypassing size checks and enabling buffer overflows. Fix by using size_t for length calculations, adding U32_MAX boundary checks after alignment, validating minimum control block size before copying from userspace, and detecting sum calculation overflows.
CVE-2026-80546
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-80546
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "20b0b0159390fa5c00a435195649680fefda81e0",
"lessThan": "584400144020f40365de3972c4763da520e7280e",
"versionType": "git"
},
{
"status": "affected",
"version": "e2c6d91eb8b1533753755f07803e47eceed263d0",
"lessThan": "50fe5133dcb46449daf2435fa705264364411129",
"versionType": "git"
},
{
"status": "affected",
"version": "e2c6d91eb8b1533753755f07803e47eceed263d0",
"lessThan": "35ac6754ba6da45fd193f5ce3f665f7490b830d5",
"versionType": "git"
},
{
"status": "affected",
"version": "f9da85d4780515f65983e0af151458599adaef3d",
"versionType": "git"
},
{
"status": "affected",
"version": "6.12.114",
"lessThan": "6.13",
"versionType": "semver"
}
],
"programFiles": [
"drivers/s390/crypto/zcrypt_msgtype6.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "7.1"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "7.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "7.1.10",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/s390/crypto/zcrypt_msgtype6.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-80546
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #46604 · Revision 1
- Added to Heist Feed
- Publisher date