Description
A flaw was found in libkcapi. A local attacker can influence an application that uses the Asynchronous Input/Output (AIO) interface. By reusing an AIO-enabled handle after a prior completion error, the _kcapi_aio_read_all() function can enter a non-terminating wait loop. This can lead to a persistent denial of service, making the affected application or thread unresponsive.
Published: 2026-08-05
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the libkcapi library causes a non‑terminating wait loop in the _kcapi_aio_read_all() routine when an AIO‑enabled handle is reused after a completion error. The resulting infinite loop halts the affected thread or application, leading to a persistent denial of service. This weakness is categorized as CWE‑835, which signifies a lack of proper loop termination and can degrade availability for any local user able to exercise the affected code path.

Affected Systems

Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 are listed as impacted, with the vulnerability present in the libkcapi component shipped with those distributions.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. The EPSS score is not available, and the issue is not in the CISA KEV catalog. An attacker needs local access to a process that uses libkcapi and must trigger an AIO completion error before reusing the handle; once this state is reached, the loop will spin indefinitely. Because the conditions require local privilege or control over the application, the likelihood of exploitation is limited to trusted users or compromised internal processes.

Generated by OpenCVE AI on August 5, 2026 at 14:37 UTC.

Remediation

Vendor Workaround

To mitigate this issue, applications should avoid initializing `libkcapi` handles with `KCAPI_INIT_AIO` if AIO functionality is not strictly required. If AIO must be used, applications should destroy and reinitialize `libkcapi` handles after any AIO completion error, rather than reusing them for subsequent AIO operations.


OpenCVE Recommended Actions

  • Upgrade Red Hat Enterprise Linux to a release that contains the patched libkcapi package, or install the vendor‑supplied patch for libkcapi.
  • If possible, avoid initializing libkcapi handles with the KCAPI_INIT_AIO flag when AIO functionality is not required.
  • If AIO must be used, destroy and reinitialize libkcapi handles after any AIO completion error instead of reusing them for subsequent operations.
  • For Red Hat OpenShift Container Platform users, apply the latest container platform update that includes the fixed libkcapi version or redeploy affected containers with the patched image.

Generated by OpenCVE AI on August 5, 2026 at 14:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
References

Tue, 11 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Smuellerdd
Smuellerdd libkcapi
CPEs cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:a:smuellerdd:libkcapi:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
Vendors & Products Smuellerdd
Smuellerdd libkcapi

Fri, 07 Aug 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Redhat hardened Images
Redhat openshift Container Platform

Thu, 06 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 05 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in libkcapi. A local attacker can influence an application that uses the Asynchronous Input/Output (AIO) interface. By reusing an AIO-enabled handle after a prior completion error, the _kcapi_aio_read_all() function can enter a non-terminating wait loop. This can lead to a persistent denial of service, making the affected application or thread unresponsive.
Title Libkcapi: infinite loop denial of service in libkcapi _kcapi_aio_read_all() due to unhandled io_getevents() timeout return
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-835
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Redhat Enterprise Linux Hardened Images Hummingbird Openshift Openshift Container Platform
Smuellerdd Libkcapi
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-25T15:03:51.896Z

Reserved: 2026-08-05T09:15:14.859Z

Link: CVE-2026-71227

cve-icon Vulnrichment

Updated: 2026-08-05T13:10:09.072Z

cve-icon NVD

Status : Modified

Published: 2026-08-05T13:24:47.353

Modified: 2026-08-25T15:16:41.547

Link: CVE-2026-71227

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-05T12:29:09Z

Links: CVE-2026-71227 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T10:06:33Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')