Input validation error in Linux kernel - CVE-2022-49698

 

Input validation error in Linux kernel - CVE-2022-49698

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


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

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to improper input validation within the DEFINE_PER_CPU(), nft_ng_random_gen() and nft_ng_random_init() functions in net/netfilter/nft_numgen.c, within the DEFINE_PER_CPU(), nft_meta_get_eval_ifname(), nft_meta_get_eval() and nft_meta_get_init() functions in net/netfilter/nft_meta.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-bluefield (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oracle (Ubuntu package)
linux-azure (Ubuntu package)

How to mitigate CVE-2022-49698

Install update from vendor's website.

Linux kernel - update to 5.15.51
linux (Ubuntu package) - addressed in versions 5.4.0.225.217, 5.4.0-225.245, 5.4.0.225.245~18.04.1, 5.4.0-225.245~18.04.1, 5.4.0-1058.61, 5.4.0-1100.105, 5.4.0.1100.105~18.04.1, 5.4.0-1100.105~18.04.1, 5.4.0.1100.129, 5.4.0.1141.137, 5.4.0-1141.150, 5.4.0.1154.151, 5.4.0-1154.164, 5.4.0.1154.164~18.04.1, 5.4.0-1154.164~18.04.1, 5.4.0.1157.159, 5.4.0-1157.166, 5.4.0.1157.166~18.04.1, 5.4.0-1157.166~18.04.1
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.4.0.1072.72, 5.4.0-1072.76
linux-bluefield (Ubuntu package) - addressed in versions 5.4.0.1116.112, 5.4.0-1116.123
linux-aws-fips (Ubuntu package) - addressed in versions 5.4.0.1128.125, 5.4.0-1128.138, 5.4.0.1154.101, 5.4.0-1154.164+fips1, 5.4.0.1157.99, 5.4.0-1157.166+fips1
linux-raspi (Ubuntu package) - addressed in versions 5.4.0-1137.150, 5.4.0-1137.150~18.04.1, 5.4.0.1137.150~18.04.1, 5.4.0.1137.168
linux-oracle (Ubuntu package) - addressed in versions 5.4.0.1152.146, 5.4.0-1152.162, 5.4.0.1152.162~18.04.1, 5.4.0-1152.162~18.04.1
linux-azure (Ubuntu package) - addressed in versions 5.4.0.1157.151, 5.4.0-1157.164, 5.4.0-1157.164~18.04.1, 5.4.0.1157.164~18.04.1, 5.4.0.1158.95, 5.4.0-1158.165+fips1

External References

Related Security Bulletins