Skip to content
OpenAdvisories

Description

nf_tables_newset in net/netfilter/nf_tables_api.c in the Linux kernel before 5.12.13 allows local users to cause a denial of service (NULL pointer dereference and general protection fault) because of the missing initialization for nft_set_elem_expr_alloc. A local user can set a netfilter table expression in their own namespace.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.14.6-1 —
Debian 13 linux 5.14.6-1 —
Debian 12 linux 5.14.6-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS linux-aws-5.11 +1 5.11.0-1017.18~20.04.1 —
Ubuntu 20.04 LTS linux-azure-5.11 5.11.0-1015.16~20.04.1 —
Ubuntu 20.04 LTS linux-gcp-5.11 5.11.0-1018.20~20.04.2 —
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1050.52 —
Ubuntu 20.04 LTS linux-riscv +10 No fix yet —
Ubuntu 20.04 LTS linux-riscv-5.11 5.11.0-1018.19~20.04.2 —
Ubuntu 18.04 LTS linux-gcp +12 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP3 kernel-64kb +7 5.3.18-150300.59.43.1 SUSE-SU-2022:0198-1
SLES 15 SP3 kernel-azure +2 5.3.18-150300.38.37.1 SUSE-SU-2022:0169-1
SLES 15 SP3 kernel-default-base 5.3.18-150300.59.43.1.150300.18.27.1 SUSE-SU-2022:0198-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.1 kernel-default 5.3.18-150300.59.43.1 SUSE-SU-2022:0198-1
SLE Micro 5.1 kernel-default-base 5.3.18-150300.59.43.1.150300.18.27.1 SUSE-SU-2022:0198-1
SLE Micro 5.1 kernel-rt 5.3.18-150300.71.1 SUSE-SU-2022:0288-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-150300.59.43.1 SUSE-SU-2022:0198-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_12 1-150300.7.3.1 SUSE-SU-2022:0198-1
SUSE Real Time Module 15 SP3 kernel-rt +3 5.3.18-150300.71.1 SUSE-SU-2022:0288-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 dtb-aarch64 +11 5.3.18-150300.59.43.1 openSUSE-SU-2022:0198-1
openSUSE Leap 15.3 kernel-azure +2 5.3.18-150300.38.37.1 openSUSE-SU-2022:0169-1
openSUSE Leap 15.3 kernel-default-base 5.3.18-150300.59.43.1.150300.18.27.1 openSUSE-SU-2022:0198-1

Advisories 5

References