s390/zcrypt: Fix wrong domain value verification with EP11 CPRBs
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ cfd68b33094e1a92249850ff3c3c92ae9112a541 · < 983279d7f86ade73db86f886e09172dd567031b5| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
s390/zcrypt: Fix wrong domain value verification with EP11 CPRBs
There is a wrong upper limit check for the domain value when an EP11 CPRB is processed for sending to a crypto card. This check is only active on custom device nodes but may lead to access heap memory behind perms->adm when an administrative CPRB is sent. Add correct limit (AP_DOMAINS = 256) checking to fix this.
From the CVE record · Linux
The s390/zcrypt EP11 CPRB domain check uses an incorrect upper limit on custom device nodes. When an administrative CPRB is sent to a crypto card through one of these nodes, the flaw may cause access to heap memory beyond perms->adm; the input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels with s390/zcrypt and custom device nodes should check their exposure; affected versions were not provided.