CVE-2026-45884: apparmor: avoid per-cpu hold underflow in aa_get_buffer

Published May 27, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

apparmor: avoid per-cpu hold underflow in aagetbuffer

When aagetbuffer() pulls from the per-cpu list it unconditionally decrements cache->hold. If hold reaches 0 while count is still non-zero, the unsigned decrement wraps to UINTMAX. This keeps hold non-zero for a very long time, so aaputbuffer() never returns buffers to the global list, which can starve other CPUs and force repeated kmalloc(aagpathmax) allocations.

Guard the decrement so hold never underflows.

Affected Software

4 affected components
Linux Linux kernel (AppArmor)
Linux Linux kernel>=6.7<6.12.75
Linux Linux kernel>=6.13<6.18.14
Linux Linux kernel>=6.19<6.19.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Implement the resolved logic for AppArmor’s aa_get_buffer() so the unsigned decrement of per-cpu cache->hold cannot wrap to UINT_MAX; ensure aa_put_buffer() can return buffers to the global list instead of starving other CPUs.

    Linux kernel (apparmor) aa_get_buffer() per-cpu hold decrement handling = guard decrement so hold never underflows (do not decrement if hold is 0; keep hold non-zero while count is still non-zero)

Event History

May 27, 2026
CVE Published
via MITRE·12:16 PM
Data Sourced
via MITRE·12:16 PM
Description
Data Sourced
via NVD·02:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45884?

CVE-2026-45884 has a medium severity rating of 5.5 on the CVSS scale.

2

What are the risks associated with CVE-2026-45884?

CVE-2026-45884 involves an integer underflow vulnerability that could lead to a denial of service scenario in the Linux kernel.

3

How can I mitigate CVE-2026-45884?

To mitigate CVE-2026-45884, ensure that you update to the patched version of the Linux kernel that addresses this vulnerability.

4

Which software is affected by CVE-2026-45884?

CVE-2026-45884 affects the Linux kernel and specifically the AppArmor feature within it.

5

What is the nature of the vulnerability in CVE-2026-45884?

CVE-2026-45884 is caused by a per-cpu hold underflow in the aa_get_buffer function of the AppArmor subsystem.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203