Skip to content
Fencer Vulns
high 7.8

CVE-2023-3390 json

Use-after-free in Linux kernel's netfilter subsystem

published 2023-06-28 3 y ago modified 2026-07-22 3 mo ago also EUVD-2023-44057

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 60%
public exploits
0
none known

Summary

A use-after-free vulnerability was found in the Linux kernel's netfilter subsystem in net/netfilter/nf_tables_api.c.

Mishandled error handling with NFT_MSG_NEWRULE makes it possible to use a dangling pointer in the same transaction causing a use-after-free vulnerability. This flaw allows a local attacker with user access to cause a privilege escalation issue.

We recommend upgrading past commit 1240eb93f0616b21c675416516ff3d74798fdc97

Patch / fix

  • Linux Linux Kernel 4.14.322, 4.19.291, 5.4.251, 5.10.188, 5.15.118, 6.1.35, 6.3.9
  • linux Debian 12 6.1.37-1
  • linux Debian 14, Debian 13 6.3.11-1

debian advisories DEBIAN-CVE-2023-3390

  • linux Ubuntu 20.04 LTS 5.4.0-155.172
  • linux Ubuntu 22.04 LTS 5.15.0-78.85
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1106.114
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1040.45
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1109.118
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1038.46
  • linux-gke Ubuntu 20.04 LTS 5.4.0-1104.111
  • linux-gke Ubuntu 22.04 LTS 5.15.0-1038.43

ubuntu advisories UBUNTU-CVE-2023-3390

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kpatch-patch-5_14_0-284_11_1 RHEL 9 1-5.el9_2
  • kpatch-patch-5_14_0-284_18_1 RHEL 9 1-4.el9_2
  • kpatch-patch-5_14_0-284_25_1 RHEL 9 1-3.el9_2
  • kernel RHEL 9 5.14.0-284.30.1.el9_2
  • perf RHEL 9 5.14.0-284.30.1.el9_2
  • rtla RHEL 9 5.14.0-284.30.1.el9_2
  • bpftool RHEL 9 7.0.0-284.30.1.el9_2
  • kernel-64k RHEL 9 5.14.0-284.30.1.el9_2

red hat advisories RHSA-2024:1306RHSA-2024:1250RHSA-2023:5093RHSA-2023:5069RHSA-2023:5091RHSA-2023:5244

  • kernel-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.138.3
  • dtb-aarch64 openSUSE Leap 15.4 5.3.18-150300.59.130.1
  • kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, SLE High Performance Computing 15 SP3-ESPOS +1 more 5.3.18-150300.59.130.1
  • kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +2 more 5.3.18-150300.59.130.1
  • kernel-source SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +4 more 5.3.18-150300.59.130.1
  • kernel-default SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +8 more 5.3.18-150300.59.130.1
  • kernel-preempt SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +4 more 5.3.18-150300.59.130.1
  • kernel-zfcpdump SLES 15 SP3-LTSS, Manager Server 4.2 5.3.18-150300.59.130.1

suse advisories SUSE-SU-2023:4326-1SUSE-SU-2023:4308-1SUSE-SU-2023:4285-1SUSE-SU-2023:4279-1SUSE-SU-2023:4267-1SUSE-SU-2023:4245-1

  • kernel AlmaLinux 8 4.18.0-477.27.2.el8_8
  • perf AlmaLinux 8 4.18.0-477.27.2.el8_8
  • bpftool AlmaLinux 8 4.18.0-477.27.2.el8_8
  • kernel-core AlmaLinux 8 4.18.0-477.27.2.el8_8
  • kernel-tools AlmaLinux 8 4.18.0-477.27.2.el8_8
  • python3-perf AlmaLinux 8 4.18.0-477.27.2.el8_8
  • kernel-modules AlmaLinux 8 4.18.0-477.27.2.el8_8
  • kernel-zfcpdump AlmaLinux 8 4.18.0-477.27.2.el8_8

almalinux advisories ALSA-2023:5244ALSA-2023:5069ALSA-2023:5091

  • kernel Rocky Linux 8 4.18.0-477.27.1.el8_8.cloud
  • kernel Rocky Linux 8 4.18.0-477.27.1.el8_8
  • kernel-rt Rocky Linux 9 5.14.0-284.30.1.rt14.315.el9_2

rocky linux advisories RXSA-2023:5244RLSA-2023:5244RLSA-2023:5091

  • kernel CBL-Mariner 2.0 5.15.122.1-2

azure linux advisories AZL-27346

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-3390 updated cvss 7.8

kernel: UAF in nftables when nft_set_lookup_global triggered after handling named and anonymous sets in batch requests

  • Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-debuginfo-common-x86_64 4.18.0-372.70.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.70.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.70.1.el8_6
    fixed: vendor fix RHSA-2023:4789
  • Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-debuginfo-common-s390x 5.14.0-70.93.2.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.93.2.el9_0, kernel-debuginfo-common-aarch64 5.14.0-70.93.2.el9_0, kernel-debuginfo-common-ppc64le 5.14.0-70.93.2.el9_0
    fixed: vendor fix RHSA-2024:1250
  • Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-284.30.1.el9_2, rtla 5.14.0-284.30.1.el9_2, kernel-devel-matched 5.14.0-284.30.1.el9_2, kernel-64k-devel-matched 5.14.0-284.30.1.el9_2, kernel-debug-devel-matched 5.14.0-284.30.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.30.1.el9_2, +5 more
    fixed: vendor fix RHSA-2023:5069
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) perf 5.14.0-70.93.2.el9_0, kernel-devel-matched 5.14.0-70.93.2.el9_0, kernel-debug-devel-matched 5.14.0-70.93.2.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.93.2.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.93.2.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.93.2.el9_0, +2 more
    fixed: vendor fix RHSA-2024:1250
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-477.27.1.el8_8, kernel 4.18.0-477.27.1.el8_8, bpftool 4.18.0-477.27.1.el8_8, kernel-core 4.18.0-477.27.1.el8_8, kernel-tools 4.18.0-477.27.1.el8_8, python3-perf 4.18.0-477.27.1.el8_8, +19 more
    fixed: vendor fix RHSA-2023:5244
  • Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.0.0-284.30.1.el9_2, kernel 5.14.0-284.30.1.el9_2, kernel-64k 5.14.0-284.30.1.el9_2, kernel-core 5.14.0-284.30.1.el9_2, kernel-tools 5.14.0-284.30.1.el9_2, python3-perf 5.14.0-284.30.1.el9_2, +31 more
    fixed: vendor fix RHSA-2023:5069
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.128.1.el8_2, kernel 4.18.0-193.128.1.el8_2, bpftool 4.18.0-193.128.1.el8_2, kernel-core 4.18.0-193.128.1.el8_2, kernel-tools 4.18.0-193.128.1.el8_2, python3-perf 4.18.0-193.128.1.el8_2, +8 more
    fixed: vendor fix RHSA-2024:1268
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.103.1.el8_4, kernel 4.18.0-305.103.1.el8_4, bpftool 4.18.0-305.103.1.el8_4, kernel-core 4.18.0-305.103.1.el8_4, kernel-tools 4.18.0-305.103.1.el8_4, python3-perf 4.18.0-305.103.1.el8_4, +8 more
    fixed: vendor fix RHSA-2023:4962
show 19 more
  • Red Hat Enterprise Linux BaseOS E4S (v. 8.1) perf 4.18.0-147.90.1.el8_1, kernel 4.18.0-147.90.1.el8_1, bpftool 4.18.0-147.90.1.el8_1, kernel-core 4.18.0-147.90.1.el8_1, kernel-tools 4.18.0-147.90.1.el8_1, python3-perf 4.18.0-147.90.1.el8_1, +14 more
    fixed: vendor fix RHSA-2023:5238
  • Red Hat Enterprise Linux BaseOS E4S (v. 8.2) perf 4.18.0-193.128.1.el8_2, kernel 4.18.0-193.128.1.el8_2, bpftool 4.18.0-193.128.1.el8_2, kernel-core 4.18.0-193.128.1.el8_2, kernel-tools 4.18.0-193.128.1.el8_2, python3-perf 4.18.0-193.128.1.el8_2, +13 more
    fixed: vendor fix RHSA-2024:1268
  • Red Hat Enterprise Linux BaseOS E4S (v.8.4) perf 4.18.0-305.103.1.el8_4, kernel 4.18.0-305.103.1.el8_4, bpftool 4.18.0-305.103.1.el8_4, kernel-core 4.18.0-305.103.1.el8_4, kernel-tools 4.18.0-305.103.1.el8_4, python3-perf 4.18.0-305.103.1.el8_4, +21 more
    fixed: vendor fix RHSA-2023:4962
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) perf 4.18.0-372.70.1.el8_6, kernel 4.18.0-372.70.1.el8_6, bpftool 4.18.0-372.70.1.el8_6, kernel-core 4.18.0-372.70.1.el8_6, kernel-tools 4.18.0-372.70.1.el8_6, python3-perf 4.18.0-372.70.1.el8_6, +21 more
    fixed: vendor fix RHSA-2023:4789
  • Red Hat Enterprise Linux BaseOS EUS (v.9.0) kernel 5.14.0-70.93.2.el9_0, bpftool 5.14.0-70.93.2.el9_0, kernel-core 5.14.0-70.93.2.el9_0, kernel-tools 5.14.0-70.93.2.el9_0, python3-perf 5.14.0-70.93.2.el9_0, kernel-modules 5.14.0-70.93.2.el9_0, +19 more
    fixed: vendor fix RHSA-2024:1250
  • Red Hat Enterprise Linux BaseOS TUS (v. 8.2) perf 4.18.0-193.128.1.el8_2, kernel 4.18.0-193.128.1.el8_2, bpftool 4.18.0-193.128.1.el8_2, kernel-core 4.18.0-193.128.1.el8_2, kernel-tools 4.18.0-193.128.1.el8_2, python3-perf 4.18.0-193.128.1.el8_2, +8 more
    fixed: vendor fix RHSA-2024:1268
  • Red Hat Enterprise Linux BaseOS TUS (v.8.4) perf 4.18.0-305.103.1.el8_4, kernel 4.18.0-305.103.1.el8_4, bpftool 4.18.0-305.103.1.el8_4, kernel-core 4.18.0-305.103.1.el8_4, kernel-tools 4.18.0-305.103.1.el8_4, python3-perf 4.18.0-305.103.1.el8_4, +8 more
    fixed: vendor fix RHSA-2023:4962
  • Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-477.27.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.27.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.27.1.el8_8
    fixed: vendor fix RHSA-2023:5244
  • Red Hat Enterprise Linux CRB (v. 9) kernel-debuginfo-common-s390x 5.14.0-284.30.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.30.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.30.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.30.1.el9_2
    fixed: vendor fix RHSA-2023:5069
  • Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-477.27.1.rt7.290.el8_8, kernel-rt-kvm 4.18.0-477.27.1.rt7.290.el8_8, kernel-rt-core 4.18.0-477.27.1.rt7.290.el8_8, kernel-rt-modules 4.18.0-477.27.1.rt7.290.el8_8, kernel-rt-debug-kvm 4.18.0-477.27.1.rt7.290.el8_8, kernel-rt-debug-core 4.18.0-477.27.1.rt7.290.el8_8, +4 more
    fixed: vendor fix RHSA-2023:5255
  • Red Hat Enterprise Linux NFV (v. 9) kernel-rt 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-kvm 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-core 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-modules 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-debug-kvm 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-debug-core 5.14.0-284.30.1.rt14.315.el9_2, +6 more
    fixed: vendor fix RHSA-2023:5091
  • Red Hat Enterprise Linux NFV E4S (v.8.4) kernel-rt 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-kvm 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-core 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-modules 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-debug-kvm 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-debug-core 4.18.0-305.103.1.rt7.178.el8_4, +4 more Red Hat Enterprise Linux NFV TUS (v.8.4) kernel-rt 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-kvm 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-core 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-modules 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-debug-kvm 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-debug-core 4.18.0-305.103.1.rt7.178.el8_4, +4 more
    fixed: vendor fix RHSA-2023:4961
  • Red Hat Enterprise Linux Real Time EUS (v.9.0) kernel-rt 5.14.0-70.93.1.rt21.165.el9_0, kernel-rt-core 5.14.0-70.93.1.rt21.165.el9_0, kernel-rt-modules 5.14.0-70.93.1.rt21.165.el9_0, kernel-rt-debug-core 5.14.0-70.93.1.rt21.165.el9_0, kernel-rt-debug-modules 5.14.0-70.93.1.rt21.165.el9_0, kernel-rt-modules-extra 5.14.0-70.93.1.rt21.165.el9_0, +2 more Red Hat Enterprise Linux Real Time for NFV EUS (v.9.0) kernel-rt 5.14.0-70.93.1.rt21.165.el9_0, kernel-rt-kvm 5.14.0-70.93.1.rt21.165.el9_0, kernel-rt-core 5.14.0-70.93.1.rt21.165.el9_0, kernel-rt-modules 5.14.0-70.93.1.rt21.165.el9_0, kernel-rt-debug-kvm 5.14.0-70.93.1.rt21.165.el9_0, kernel-rt-debug-core 5.14.0-70.93.1.rt21.165.el9_0, +4 more
    fixed: vendor fix RHSA-2024:1306
  • Red Hat Enterprise Linux Real Time for NFV TUS (v. 8.2) kernel-rt 4.18.0-193.128.1.rt13.179.el8_2, kernel-rt-kvm 4.18.0-193.128.1.rt13.179.el8_2, kernel-rt-core 4.18.0-193.128.1.rt13.179.el8_2, kernel-rt-modules 4.18.0-193.128.1.rt13.179.el8_2, kernel-rt-debug-kvm 4.18.0-193.128.1.rt13.179.el8_2, kernel-rt-debug-core 4.18.0-193.128.1.rt13.179.el8_2, +4 more Red Hat Enterprise Linux Real Time TUS (v. 8.2) kernel-rt 4.18.0-193.128.1.rt13.179.el8_2, kernel-rt-core 4.18.0-193.128.1.rt13.179.el8_2, kernel-rt-modules 4.18.0-193.128.1.rt13.179.el8_2, kernel-rt-debug-core 4.18.0-193.128.1.rt13.179.el8_2, kernel-rt-debug-modules 4.18.0-193.128.1.rt13.179.el8_2, kernel-rt-modules-extra 4.18.0-193.128.1.rt13.179.el8_2, +2 more
    fixed: vendor fix RHSA-2024:1269
  • Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-477.27.1.rt7.290.el8_8, kernel-rt-core 4.18.0-477.27.1.rt7.290.el8_8, kernel-rt-modules 4.18.0-477.27.1.rt7.290.el8_8, kernel-rt-debug-core 4.18.0-477.27.1.rt7.290.el8_8, kernel-rt-debug-modules 4.18.0-477.27.1.rt7.290.el8_8, kernel-rt-modules-extra 4.18.0-477.27.1.rt7.290.el8_8, +2 more
    fixed: vendor fix RHSA-2023:5255
  • Red Hat Enterprise Linux RT (v. 9) kernel-rt 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-core 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-modules 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-debug-core 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-modules-core 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-debug-modules 5.14.0-284.30.1.rt14.315.el9_2, +4 more
    fixed: vendor fix RHSA-2023:5091
  • Red Hat Enterprise Linux RT TUS (v.8.4) kernel-rt 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-core 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-modules 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-debug-core 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-debug-modules 4.18.0-305.103.1.rt7.178.el8_4, kernel-rt-modules-extra 4.18.0-305.103.1.rt7.178.el8_4, +2 more
    fixed: vendor fix RHSA-2023:4961
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.70.1.el8_6, kernel-debuginfo-common-x86_64 4.18.0-372.70.1.el8_6
    fixed: vendor fix RHSA-2023:4789
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux AppStream (v. 9) kernel-doc 5.14.0-284.30.1.el9_2
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-166-10 updated cvss 7.8

Siemens SIMATIC S7-1500 TM MFP BIOS

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-046-11 updated cvss 7.8

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Linux Linux Kernel

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.