PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-45884 Linux CVE debrief

A vulnerability in the Linux kernel's AppArmor security module could cause memory pressure and performance degradation under specific conditions. The flaw exists in the per-CPU buffer cache management code where an unsigned integer underflow prevents proper buffer recycling between CPUs. When triggered, this causes buffers to remain stranded on individual CPUs rather than being returned to the global pool, forcing repeated large memory allocations and potentially exhausting kernel memory. The issue has been resolved by adding a guard condition to prevent the hold counter from underflowing.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-27
Original CVE updated
2026-06-25
Advisory published
2026-05-27
Advisory updated
2026-06-25

Who should care

Linux system administrators running kernels with AppArmor enabled, particularly those with high-frequency path lookups or constrained memory environments; security teams monitoring for kernel-level denial-of-service conditions; distribution maintainers responsible for kernel stable backports

Technical summary

The vulnerability is located in security/apparmor/path.c in the aa_get_buffer() function. The per-CPU buffer cache uses two counters: 'count' tracking allocated buffers and 'hold' tracking references. When aa_get_buffer() retrieves a buffer from the per-CPU list, it unconditionally decrements cache->hold. If hold reaches 0 while count > 0, the unsigned 32-bit decrement wraps to UINT_MAX. This artificially inflated hold value prevents aa_put_buffer() from returning buffers to the global free list, causing per-CPU cache starvation. The fix adds a conditional check to only decrement hold when it is greater than zero, preventing the underflow condition.

Defensive priority

medium

Recommended defensive actions

  • Apply kernel updates containing the referenced stable commits when available for your distribution
  • Monitor for kernel memory pressure indicators if running affected kernels with heavy AppArmor policy enforcement
  • Consider temporary mitigation via AppArmor policy tuning to reduce path lookup frequency if memory pressure is observed
  • Verify buffer cache behavior through /sys/kernel/security/apparmor/debug interfaces if available

Evidence notes

The vulnerability description is sourced from the official CVE record published 2026-05-27. The fix involves guarding a decrement operation on cache->hold in aa_get_buffer() to prevent unsigned integer wraparound when hold reaches zero while count remains non-zero. Multiple stable kernel commits are referenced, indicating backports to maintained kernel branches.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-45884 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-45884

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-45884 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-45884

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/202824a1f89a9786c20a3d646a7c88d223abb1b2

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/4bcddd0f6b2e52b4c7b520e4d36a115caf5b7169

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/640cf2f09575c9dc344b3f7be2498d31e3923ead

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/80c334acc6d0bee8605a358a33e69b4aea1ffb92

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.