CVE-2022-3028
Linux Kernel vulnerability analysis and mitigation

Overview

A race condition was discovered in the Linux kernel's IP framework for transforming packets (XFRM subsystem) when multiple calls to xfrm_probe_algs occurred simultaneously. The vulnerability, identified as CVE-2022-3028, was reported by Abhishek Shah and affects Linux kernel versions prior to 6.0. The issue was introduced by commit 283bc9f35bbb which added namespace support to xfrm/afkey (Kernel Commit).

Technical details

The vulnerability stems from a race condition in the AF_KEY subsystem where previously single-threaded calls to xfrm_probe_algs became multi-threaded after namespace support was added. This occurs specifically when multiple calls to xfrm_probe_algs happen simultaneously during the execution of compose_sadb_supported. The issue has a CVSS 3.1 score of 7.0 (HIGH) with the vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NetApp Advisory).

Impact

This flaw could allow a local attacker to potentially trigger an out-of-bounds write or leak kernel heap memory by performing an out-of-bounds read and copying it into a socket. If an algorithm was added during the racing access, the code allocates a buffer that is smaller than the number of available algorithms, resulting in an out-of-bounds write when the buffer is later populated (Kernel Discussion).

Exploitability

The vulnerability requires local access and high complexity to exploit. A local attacker could potentially exploit this vulnerability to cause a denial of service (crash or memory corruption), obtain sensitive information, or possibly achieve privilege escalation (CVE Mitre).

Mitigation and workarounds

The issue was fixed by adding a mutex lock around the xfrm_probe_algs call in the pfkey_register function. The fix was implemented in Linux kernel version 6.0-rc3 through commit ba953a9d89a00c078b85f4b190bc1dde66fe16b5. Various Linux distributions have backported this fix to their supported kernel versions (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-hwe-7.0
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-raspi-5.4
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-core
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management