Use-after-free in Linux kernel - CVE-2022-49622

 

Use-after-free in Linux kernel - CVE-2022-49622

Published: February 26, 2025 / Updated: May 11, 2025


Vulnerability identifier: #VU104454
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-49622
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the DEFINE_STATIC_KEY_FALSE(), nft_trace_notify() and nft_trace_init() functions in net/netfilter/nf_tables_trace.c, within the __nft_trace_packet(), nft_trace_packet() and __nft_trace_verdict() functions in net/netfilter/nf_tables_core.c. A local user can escalate privileges on the system.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-kvm (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oracle (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-gke (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux-lowlatency-hwe-5.15 (Ubuntu package)
linux-hwe-5.15 (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-ibm-5.15 (Ubuntu package)
linux-azure-fde-5.15 (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-realtime (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-nvidia-tegra-5.15 (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)

How to mitigate CVE-2022-49622

Install update from vendor's website.

Linux kernel - addressed in versions 5.18.13, 5.19
linux (Ubuntu package) - update to 5.15.0-204.214
linux-kvm (Ubuntu package) - update to 5.15.0-1113.118
linux-gcp (Ubuntu package) - update to 5.15.0-1122.132
linux-aws (Ubuntu package) - update to 5.15.0-1121.128
linux-azure (Ubuntu package) - update to 5.15.0-1127.136
linux-raspi (Ubuntu package) - update to 5.15.0-1114.117
linux-oracle (Ubuntu package) - update to 5.15.0-1118.124
linux-lowlatency (Ubuntu package) - update to 5.15.0-199.209
linux-gke (Ubuntu package) - update to 5.15.0-1117.123
linux-aws-5.15 (Ubuntu package) - update to 5.15.0-1121.128~20.04.1
linux-lowlatency-hwe-5.15 (Ubuntu package) - update to 5.15.0-199.209~20.04.1
linux-hwe-5.15 (Ubuntu package) - update to 5.15.0-204.214~20.04.1
linux-fips (Ubuntu package) - update to 5.15.0-204.214+fips1
linux-azure-5.15 (Ubuntu package) - update to 5.15.0-1127.136~20.04.1
linux-ibm-5.15 (Ubuntu package) - update to 5.15.0-1115.119~20.04.1
linux-azure-fde-5.15 (Ubuntu package) - update to 5.15.0-1126.135~20.04.1
linux-nvidia-tegra (Ubuntu package) - update to 5.15.0-1072.74
linux-nvidia (Ubuntu package) - update to 5.15.0-1116.117
linux-realtime (Ubuntu package) - update to 5.15.0-1120.129
linux-gkeop (Ubuntu package) - update to 5.15.0-1104.112
linux-ibm (Ubuntu package) - update to 5.15.0-1115.119
linux-oracle-5.15 (Ubuntu package) - update to 5.15.0-1118.124~20.04.1
linux-gcp-5.15 (Ubuntu package) - update to 5.15.0-1122.132~20.04.1
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1072.74~20.04.1
linux-azure-fde (Ubuntu package) - update to 5.15.0-1126.135
linux-intel-iot-realtime (Ubuntu package) - update to 5.15.0-1113.117
linux-gcp-fips (Ubuntu package) - update to 5.15.0-1122.132+fips1
linux-aws-fips (Ubuntu package) - update to 5.15.0-1121.128+fips1
linux-azure-fips (Ubuntu package) - update to 5.15.0-1127.136+fips1

External References

Related Security Bulletins