Linux
s390/pkey: Check length in pkey_pckmo handler implementation
In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Check length in pkey_pckmo handler implementation Explicitly check the length of the target buffer in the pkey_pckmo implementation of the key_to_protkey() handler function. The handler function fails, if the generated output data exceeds the length of the provided target buffer.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8fcc231ce3bea12b78bb94b280cdc03cff342435, < 02028a24e26d85262ab9c8fc4344e1f3503007fc
- >= 8fcc231ce3bea12b78bb94b280cdc03cff342435, < 433e5e70cdc1edf382d28d08a885b22e2b98b7da
- >= 8fcc231ce3bea12b78bb94b280cdc03cff342435, < 614aa0491c7a190556c2345dddee0b6f5ed90989
- >= 8fcc231ce3bea12b78bb94b280cdc03cff342435, < 1ac287e2af9a9112fe271427ef45eceb26bce8b4
Fixed in 02028a24e26d85262ab9c8fc4344e1f3503007fc, 433e5e70cdc1edf382d28d08a885b22e2b98b7da, 614aa0491c7a190556c2345dddee0b6f5ed90989, 1ac287e2af9a9112fe271427ef45eceb26bce8b4
- 6.12
Fixed in 0, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 02028a24e26d85262ab9c8fc4344e1f3503007fc or 433e5e70cdc1edf382d28d08a885b22e2b98b7da or 614aa0491c7a190556c2345dddee0b6f5ed90989 or 1ac287e2af9a9112fe271427ef45eceb26bce8b4 or later.
Upgrade Linux to 0 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.