Type Confusion Vulnerability in nft_set_elem_init Leading to Privilege Escalation

Type Confusion Vulnerability in nft_set_elem_init Leading to Privilege Escalation

CVE-2022-34918 · HIGH Severity

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

An issue was discovered in the Linux kernel through 5.18.9. A type confusion bug in nft_set_elem_init (leading to a buffer overflow) could be used by a local attacker to escalate privileges, a different vulnerability than CVE-2022-32250. (The attacker can obtain root access, but must start with an unprivileged user namespace to obtain CAP_NET_ADMIN access.) This can be fixed in nft_setelem_parse_data in net/netfilter/nf_tables_api.c.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.