CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2026-64579

Description

A flaw was found in the Linux kernel's xfrm policy component. An issue in the xfrm_hash_rebuild() function, specifically with the preallocation of inexact policy bins, can lead to memory allocation failures under memory pressure. This failure can corrupt internal data structures, allowing a local attacker to trigger a kernel panic, resulting in a denial of service.

Statement

A flaw of moderate severity was found in the Linux kernel's xfrm (IPsec) policy subsystem. The preallocation loop in xfrm_hash_rebuild() has an inverted guard: it preallocates for exact-match policies, which never allocate during reinsertion, while skipping the inexact policies whose bins are allocated with GFP_ATOMIC during the reinsert phase. If that allocation fails under memory pressure, the error path only emits a warning and leaves a poisoned bydst list node; the next policy hash rebuild dereferences that poisoned pointer in hlist_del_rcu(), causing a general protection fault and a kernel panic. A local attacker with the ability to create or modify xfrm policies (typically requiring CAP_NET_ADMIN) could exploit this to crash the system, resulting in a denial of service. Red Hat Enterprise Linux 8, 9, and 10 (kernel and kernel-rt) and Red Hat In-Vehicle OS 2 are affected; Red Hat Enterprise Linux 6 and 7 Extended Lifecycle Support are not affected because the vulnerable code is not present in those kernels. Because exploitation is local-only, requires elevated privileges and allocation failure under memory pressure, and the impact is limited to availability, the fix is currently deferred for the affected streams; the residual risk is a local denial of service with no impact on confidentiality or integrity.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

Want to get errata notifications? Sign up here.