Stephan Muelle Libkcapi
Libkcapi: memory corruption via uncanceled aio requests on error in libkcapi's one-shot aio path
Memory Corruption via Uncanceled AIO Requests on Error: libkcapi's one-shot AIO path can return an error before all submitted IOCBs are drained, allowing later kernel writes into caller-owned output buffers.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.12.0, < 1.5.1
Fixed in 1.5.1
Fixed in 0:1.5.1-1.el10_2
Fixed in 0:1.5.0-6.el10_0
Fixed in 0:1.4.0-3.el8_10
Fixed in 0:1.2.0-3.el8_8.1
Fixed in 0:1.2.0-3.el8_8.1
Fixed in 0:1.4.0-3.el9_8
Fixed in 0:1.4.0-2.el9_6.1
Fixed in 4.22.9.8.202611032353-0
Fixed in 5.0.10.2.202611022203-0
Fixed in 1.5.1-0.1.hum1
Mitigation
Upgrade libkcapi to 1.5.1 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:1.5.1-1.el10_2 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:1.5.0-6.el10_0 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:1.4.0-3.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:1.2.0-3.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:1.2.0-3.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.4.0-3.el9_8 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:1.4.0-2.el9_6.1 or later.
Upgrade Red Hat OpenShift Container Platform 4.22 to 4.22.9.8.202611032353-0 or later.
Upgrade Red Hat OpenShift Container Platform 5.0 to 5.0.10.2.202611022203-0 or later.
Upgrade Red Hat Hardened Images to 1.5.1-0.1.hum1 or later.
Workaround
To mitigate this issue, applications should avoid initializing libkcapi handles with the `KCAPI_INIT_AIO` flag, preferring synchronous interfaces instead. If the real AIO path must be enabled, applications must ensure that `outiov` buffers are not immediately freed or reused after an error return, allowing all kernel completions to finish. This operational control prevents delayed kernel writes into potentially reallocated or freed memory.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:56985
- Vendor advisory access.redhat.com/errata/RHSA-2026:67265
- Vendor advisory access.redhat.com/errata/RHSA-2026:67266
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:67267
- Vendor advisory access.redhat.com/errata/RHSA-2026:69285
- Vendor advisory access.redhat.com/errata/RHSA-2026:87712
- Vendor advisory access.redhat.com/errata/RHSA-2026:93453
- Vendor advisory access.redhat.com/errata/RHSA-2026:94537
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.