s390/zcrypt: Fix missing mem scrub at clear key import in cca_clr2cipherkey() (Linux Linux)

CVE-2026-80708
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: s390/zcrypt: Fix missing mem scrub at clear key import in cca_clr2cipherkey() The helper function _ip_cprb_helper() uses internal buffer memory for building and processing CPRBs. After use this buffer was never scrubbed which could lead to leaving for example clear key material in memory which could be exposed via tricky reuse of this same memory. Extend the _ip_cprb_helper() function with another parameter 'scrub' used to steer scrubbing of this buffer. So now the caller has the opportunity to decide if scrubbing is needed or not. Extend the clear key to secure key token import process in function cca_clr2cipherkey() to tell the helper function from above to scrub the cprb buffer when the clear key value is part of the request data. Add explicit scrubbing on return from function cca_clr2cipherkey() for the random EXOR buffer and the cprb buffer. Overall this cleans the internal used buffer in case of clear key import to prevent sensitive data to get exposed.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < 8e1c0def77b7450be0ed607ed0d7bae629d30020 ; affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < be7ae07fb745d1cf575b03a178a055b0a2859364 ; affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < 4e26d0d72bfdec311f12acfa0c6b7fbeb6a343d3 ; affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < 7dd6e556dbfc91d3d511cfd1015d2dad42608010 ; affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < b453003ae6a869f5bdf025b5519cbb38295ae4f1 ; affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < fbb0410986e8ad214121e51a4a28c3d0a10b7644
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.152 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD