CVE-2022-34918: Canonical Ubuntu Linux

High severity, CVSS 7.8. EPSS: 5.5% chance of exploitation in the next 30 days.

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.

Affected products

  • Canonical Ubuntu Linux: version 14.04 only; version 16.04 only; version 18.04 only; version 20.04 only; version 22.04 only
  • Debian Debian Linux: version 11.0 only
  • Linux Linux Kernel: from 4.1, before 4.14.316 (fixed in 4.14.316); from 4.15, before 4.19.284 (fixed in 4.19.284); from 4.20, before 5.4.244 (fixed in 5.4.244); from 5.5, before 5.10.130 (fixed in 5.10.130); from 5.11, before 5.15.54 (fixed in 5.15.54); from 5.16, before 5.18.11 (fixed in 5.18.11)
  • Netapp h300s Firmware: affected versions not specified
  • Netapp h410c Firmware: affected versions not specified
  • Netapp h410s Firmware: affected versions not specified
  • Netapp h500s Firmware: affected versions not specified
  • Netapp h700s Firmware: affected versions not specified

Published 2022-07-04. Last modified 2026-06-17.