Linux XFRM Double-Free Flaw Can Crash RHEL Systems
Patch & Detection Intelligence · 5 sources · Updated 3mo ago · First seen Jan 24, 2024

Red Hat addressed CVE-2022-36879, a moderate-severity Linux kernel flaw in the XFRM packet-transformation framework. Faulty policy resolution in xfrm_bundle_lookup/xfrm_expand_policies can decrement a reference count twice, creating a memory-lifecycle error that a local, low-privileged attacker could use to crash the kernel and cause denial of service. Red Hat rates the issue CVSS 5.5, with high availability impact and no confidentiality or integrity impact.
The defect affects upstream kernels through version 5.18.14; Fedora incorporated the correction in kernel 5.18.15, while upstream Linux includes it in version 5.19. Red Hat shipped fixes for supported RHEL 8 and RHEL 9 releases, including specified kernel-rt and Extended Update Support variants, as well as Red Hat Virtualization 4 for RHEL 8. Organizations should install the applicable supported kernel update and reboot where required; RHEL 6 and RHEL 7 are outside Red Hat's supported scope for this issue.
Why it matters
Impact assessment
CVE-2022-36879 permits a local low-privileged user to crash an affected Linux kernel, causing host-level denial of service. Exposure is limited to systems running vulnerable kernels with XFRM policy handling reachable by a local account; the stated impact is availability only, with no reported confidentiality or integrity impact.
- Affected populations: RHEL 8 and RHEL 9 deployments, including kernel-rt, RHEL 8.6 EUS, RHEL 9.0 EUS, and Red Hat Virtualization 4 for RHEL 8 where the applicable fixed advisory has not been installed.
- Business impact: kernel panic or host outage can interrupt workloads, virtualized services, and network-dependent applications. Availability disruption can be significant on shared multi-user systems.
- Severity: Red Hat rates the issue Moderate; CVSS v3.1 5.5.
- Exploitation scope: local attack surface; an attacker needs an existing low-privileged account or code execution context on the host. The supplied sources do not report exploitation in the wild.
- RHEL 6 and RHEL 7 are outside Red Hat's support scope and should be treated as potentially affected if they run susceptible kernel code.
Structured facts
- Vulnerability: CVE-2022-36879
- Severity: Moderate; CVSS 5.5
- CWE: CWE-911, Improper Update of Reference Count
- Affected component: Linux kernel XFRM packet-transformation and policy-handling subsystem
- Primary impact: denial of service through a kernel crash
- Exploitation in the wild: not reported in the supplied references


