s390/zcrypt: Pad trailing CCA or EP11 message with zeros
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eb363254472493e3458156fc11fd56dca92f4333, Kernel 6.13, Kernel 2db92a56b000173d332b6c30f38a5a4444e4355a and 2 more.
In the Linux kernel, the following vulnerability has been resolved: s390/zcrypt: Pad trailing CCA or EP11 message with zeros The both functions xcrb_msg_to_type6cprb_msgx() and xcrb_msg_to_type6_ep11cprb_msgx() copy the user space message into a kernel buffer based on the message length. But on further processing the message is supposed to be 4 byte length adjusted. Thus up to 3 bytes of uninitialized kernel memory are forwarded to further processing steps and may unwanted expose kernel memory to the crypto card firmware. This patch contains code to pad the gap between user space copied message and message buffer length sent down to further processing of the CCA or EP11 message to zeros.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=e2c6d91eb8b1533753755f07803e47eceed263d0 <eb363254472493e3458156fc11fd56dca92f4333, >=6.12.114 <6.13, >=e2c6d91eb8b1533753755f07803e47eceed263d0 <2db92a56b000173d332b6c30f38a5a4444e4355a, =7.1, =f9da85d4780515f65983e0af151458599adaef3d, >=20b0b0159390fa5c00a435195649680fefda81e0 <44e61f1834831f873af5a4fec5a5e432b929c6a2 | eb363254472493e3458156fc11fd56dca92f4333, 6.13, 2db92a56b000173d332b6c30f38a5a4444e4355a, 44e61f1834831f873af5a4fec5a5e432b929c6a2 |
| linux-kernel: Kernel | >=7.1.0 <7.1.10, >=6.12.114 <6.13 | 7.1.10, 6.13 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket