Skip to content
Server Security Center
KEVhigh7.8 Used in ransomware campaigns

CVE-2024-1086: Linux Kernel Use-After-Free

Linux Kernel · listed in the CISA catalog of actively exploited vulnerabilities since 2024-05-30.

CVSS v3.1 (CVE record)
7.8
high
EPSS (exploit probability, 30 days)
28%
higher than 98.1% of all CVEs
Added to CISA KEV
2024-05-30
US federal due date 2024-06-20
Ubuntu priority
high

CVE-2024-1086 explained

CVE-2024-1086 is a use-after-free flaw in the Linux kernel's netfilter nf_tables component. A local user can use it to gain elevated privileges on the host. It is listed in the CISA Known Exploited Vulnerabilities catalog with known ransomware use, so patching should be a priority.

Impact

A local attacker with low privileges and no user interaction can trigger a double free in kernel netfilter code. This can lead to local privilege escalation, with high impact on confidentiality, integrity and availability of the affected system. An attacker needs the ability to run code on the host. Exploitation of this vulnerability has been observed, including use in ransomware campaigns.

Who is affected

The linux source package is affected on all listed releases, and each has a fixed version. Debian 12 (bookworm) is fixed in 6.1.76-1. Ubuntu 22.04 LTS is fixed in 5.15.0-101.111 and Ubuntu 20.04 LTS in 5.4.0-174.193. Ubuntu 18.04 LTS is fixed in 4.15.0-223.235 and Ubuntu 16.04 LTS in 4.4.0-252.286, both only through Ubuntu Pro (ESM). Further Ubuntu kernel flavours are listed on the page.

Written with AI from the data on this page and checked against it automatically.

Official description

A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. The nft_verdict_init() function allows positive values as drop error within the hook verdict, and hence the nf_hook_slow() function can cause a double free vulnerability when NF_DROP is issued with a drop error which resembles NF_ACCEPT.

We recommend upgrading past commit f342de4e2f33e0e39165d8639387aa6c19dff660.

CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

CISA notes

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • Linux Kernel
    Affected
    • ≥ 3.15, < 6.8
    Fixed in
    • 6.8

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

111 more Ubuntu kernel flavours (cloud, HWE, low-latency, real-time …) – 137 release entries
  • 24.04 linux-raspi-realtime (Pro): 6.8.0-2001.1
  • 22.04 linux-allwinner-5.19: no fixed version published
  • 22.04 linux-aws: 5.15.0-1056.61
  • 22.04 linux-aws-5.19: no fixed version published
  • 22.04 linux-aws-6.2: no fixed version published
  • 22.04 linux-aws-6.5: 6.5.0-1016.16~22.04.1
  • 22.04 linux-azure: 5.15.0-1059.67
  • 22.04 linux-azure-5.19: no fixed version published
  • 22.04 linux-azure-6.2: no fixed version published
  • 22.04 linux-azure-6.5: 6.5.0-1017.17~22.04.1
  • 22.04 linux-azure-fde: 5.15.0-1059.67.1
  • 22.04 linux-azure-fde-5.19: no fixed version published
  • 22.04 linux-azure-fde-6.2: no fixed version published
  • 22.04 linux-gcp: 5.15.0-1054.62
  • 22.04 linux-gcp-5.19: no fixed version published
  • 22.04 linux-gcp-6.2: no fixed version published
  • 22.04 linux-gcp-6.5: 6.5.0-1016.16~22.04.1
  • 22.04 linux-gke: 5.15.0-1053.58
  • 22.04 linux-gkeop: 5.15.0-1039.45
  • 22.04 linux-hwe-5.19: no fixed version published
  • 22.04 linux-hwe-6.2: no fixed version published
  • 22.04 linux-hwe-6.5: 6.5.0-26.26~22.04.1
  • 22.04 linux-ibm: 5.15.0-1049.52
  • 22.04 linux-intel-iotg: 5.15.0-1051.57
  • 22.04 linux-kvm: 5.15.0-1053.58
  • 22.04 linux-lowlatency: 5.15.0-101.111
  • 22.04 linux-lowlatency-hwe-5.19: no fixed version published
  • 22.04 linux-lowlatency-hwe-6.2: no fixed version published
  • 22.04 linux-lowlatency-hwe-6.5: 6.5.0-26.26.1~22.04.1
  • 22.04 linux-nvidia: 5.15.0-1047.47
  • 22.04 linux-nvidia-6.2: no fixed version published
  • 22.04 linux-nvidia-6.5: 6.5.0-1014.14
  • 22.04 linux-nvidia-tegra: 5.15.0-1025.25
  • 22.04 linux-nvidia-tegra-igx: 5.15.0-1012.12
  • 22.04 linux-oem-5.17: no fixed version published
  • 22.04 linux-oem-6.0: no fixed version published
  • 22.04 linux-oem-6.1: 6.1.0-1035.35
  • 22.04 linux-oem-6.5: 6.5.0-1018.19
  • 22.04 linux-oracle: 5.15.0-1054.60
  • 22.04 linux-oracle-6.5: 6.5.0-1019.19~22.04.1
  • 22.04 linux-raspi: 5.15.0-1049.52
  • 22.04 linux-riscv: no fixed version published
  • 22.04 linux-riscv-5.19: no fixed version published
  • 22.04 linux-riscv-6.5: 6.5.0-26.26.1~22.04.1
  • 22.04 linux-starfive-5.19: no fixed version published
  • 22.04 linux-starfive-6.2: no fixed version published
  • 22.04 linux-starfive-6.5: 6.5.0-1010.11~22.04.1
  • 22.04 linux-xilinx-zynqmp: 5.15.0-1030.34
  • 22.04 linux-intel-iot-realtime (Pro): 5.15.0-1049.51
  • 22.04 linux-realtime (Pro): 5.15.0-1057.64
  • 20.04 linux-aws: 5.4.0-1121.131
  • 20.04 linux-aws-5.11: no fixed version published
  • 20.04 linux-aws-5.13: no fixed version published
  • 20.04 linux-aws-5.15: 5.15.0-1056.61~20.04.1
  • 20.04 linux-aws-5.8: no fixed version published
  • 20.04 linux-azure: 5.4.0-1126.133
  • 20.04 linux-azure-5.11: no fixed version published
  • 20.04 linux-azure-5.13: no fixed version published
  • 20.04 linux-azure-5.15: 5.15.0-1059.67~20.04.1
  • 20.04 linux-azure-5.8: no fixed version published
  • 20.04 linux-azure-fde: no fixed version published
  • 20.04 linux-bluefield: 5.4.0-1081.88
  • 20.04 linux-gcp: 5.4.0-1125.134
  • 20.04 linux-gcp-5.11: no fixed version published
  • 20.04 linux-gcp-5.13: no fixed version published
  • 20.04 linux-gcp-5.15: 5.15.0-1054.62~20.04.1
  • 20.04 linux-gcp-5.8: no fixed version published
  • 20.04 linux-gke: no fixed version published
  • 20.04 linux-gke-5.15: no fixed version published
  • 20.04 linux-gkeop: 5.4.0-1088.92
  • 20.04 linux-gkeop-5.15: 5.15.0-1039.45~20.04.1
  • 20.04 linux-hwe-5.11: no fixed version published
  • 20.04 linux-hwe-5.13: no fixed version published
  • 20.04 linux-hwe-5.15: 5.15.0-101.111~20.04.1
  • 20.04 linux-hwe-5.8: no fixed version published
  • 20.04 linux-ibm: 5.4.0-1068.73
  • 20.04 linux-ibm-5.15: 5.15.0-1049.52~20.04.1
  • 20.04 linux-intel-5.13: no fixed version published
  • 20.04 linux-intel-iotg-5.15: 5.15.0-1051.57~20.04.1
  • 20.04 linux-iot: 5.4.0-1033.34
  • 20.04 linux-kvm: 5.4.0-1109.116
  • 20.04 linux-lowlatency-hwe-5.15: 5.15.0-101.111~20.04.1
  • 20.04 linux-nvidia-tegra-5.15: 5.15.0-1025.25~20.04.1
  • 20.04 linux-oem-5.10: no fixed version published
  • 20.04 linux-oem-5.13: no fixed version published
  • 20.04 linux-oem-5.14: no fixed version published
  • 20.04 linux-oem-5.6: no fixed version published
  • 20.04 linux-oracle: 5.4.0-1120.129
  • 20.04 linux-oracle-5.11: no fixed version published
  • 20.04 linux-oracle-5.13: no fixed version published
  • 20.04 linux-oracle-5.15: 5.15.0-1054.60~20.04.1
  • 20.04 linux-oracle-5.8: no fixed version published
  • 20.04 linux-raspi: 5.4.0-1105.117
  • 20.04 linux-raspi2: no fixed version published
  • 20.04 linux-riscv: no fixed version published
  • 20.04 linux-riscv-5.11: no fixed version published
  • 20.04 linux-riscv-5.15: 5.15.0-1052.56~20.04.1
  • 20.04 linux-riscv-5.8: no fixed version published
  • 20.04 linux-xilinx-zynqmp: 5.4.0-1040.44
  • 18.04 linux-aws-5.0: no fixed version published
  • 18.04 linux-aws-5.3: no fixed version published
  • 18.04 linux-azure: no fixed version published
  • 18.04 linux-azure-5.3: no fixed version published
  • 18.04 linux-azure-edge: no fixed version published
  • 18.04 linux-gcp: no fixed version published
  • 18.04 linux-gcp-5.3: no fixed version published
  • 18.04 linux-gke-4.15: no fixed version published
  • 18.04 linux-gke-5.4: no fixed version published
  • 18.04 linux-gkeop-5.4: no fixed version published
  • 18.04 linux-hwe: no fixed version published
  • 18.04 linux-hwe-edge: no fixed version published
  • 18.04 linux-oem: no fixed version published
  • 18.04 linux-oracle-5.0: no fixed version published
  • 18.04 linux-oracle-5.3: no fixed version published
  • 18.04 linux-aws (Pro): 4.15.0-1166.179
  • 18.04 linux-aws-5.4 (Pro): 5.4.0-1121.131~18.04.1
  • 18.04 linux-azure-4.15 (Pro): 4.15.0-1175.190
  • 18.04 linux-azure-5.4 (Pro): 5.4.0-1126.133~18.04.1
  • 18.04 linux-gcp-4.15 (Pro): 4.15.0-1160.177
  • 18.04 linux-gcp-5.4 (Pro): 5.4.0-1125.134~18.04.1
  • 18.04 linux-hwe-5.4 (Pro): 5.4.0-174.193~18.04.1
  • 18.04 linux-ibm-5.4 (Pro): 5.4.0-1068.73~18.04.1
  • 18.04 linux-kvm (Pro): 4.15.0-1150.155
  • 18.04 linux-oracle (Pro): 4.15.0-1129.140
  • 18.04 linux-oracle-5.4 (Pro): 5.4.0-1120.129~18.04.1
  • 18.04 linux-raspi-5.4 (Pro): 5.4.0-1105.117~18.04.1
  • 16.04 linux-hwe-edge: no fixed version published
  • 16.04 linux-aws (Pro): 4.4.0-1167.182
  • 16.04 linux-aws-hwe (Pro): 4.15.0-1166.179~16.04.1
  • 16.04 linux-azure (Pro): 4.15.0-1175.190~16.04.1
  • 16.04 linux-gcp (Pro): 4.15.0-1160.177~16.04.1
  • 16.04 linux-hwe (Pro): 4.15.0-223.235~16.04.1
  • 16.04 linux-kvm (Pro): 4.4.0-1130.140
  • 16.04 linux-oracle (Pro): 4.15.0-1129.140~16.04.1
  • 14.04 linux-aws (Pro): 4.4.0-1129.135
  • 14.04 linux-azure (Pro): 4.15.0-1175.190~14.04.1
  • 14.04 linux-lts-xenial (Pro): 4.4.0-252.286~14.04.1

What to do

  1. Identify hosts running an affected linux kernel package on the listed releases.
  2. Install the fixed kernel version for your release from the distribution archive.
  3. On Ubuntu 16.04 LTS and 18.04 LTS, enable Ubuntu Pro (ESM) to receive the fixed kernel.
  4. Reboot each host so the fixed kernel is actually running, then confirm the running kernel version.
  5. Plan upgrades of Ubuntu 16.04 LTS hosts to a supported release, since it is end of life.
  6. Restrict local shell and code-execution access to trusted users until all hosts are patched.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Kernel fixes arrive as a new kernel package (new ABI) through the metapackages, so upgrade the whole system and boot into the new kernel.

1. Show the running kernel and the version of its package

uname -r && dpkg-query -W -f='${Version}\n' "linux-image-$(uname -r)"

2. Compare with the fixed version for your release and kernel flavour from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the new kernel, then reboot (or apply a livepatch)

sudo apt update && sudo apt full-upgrade && sudo reboot

On Debian, signed kernel images come from the linux-signed-* source packages; the version to compare is the same.

Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-416 Use After Free

Questions about CVE-2024-1086

Is CVE-2024-1086 being exploited?
Yes. It was added to the CISA Known Exploited Vulnerabilities catalog on 2024-05-30, and known ransomware use is reported. The required action is to apply vendor mitigations or discontinue use of the product if mitigations are unavailable.
Can this be exploited remotely?
The attack vector is local. An attacker needs low-privileged access to run code on the system. The result is privilege escalation on that host.
Is installing the updated kernel package enough?
No. The fix only takes effect once the system is running the new kernel. Reboot each host after installing the update and verify the running kernel version.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.