Vulnerability · Published Apr 13, 2026 · Assigned by Linux
CVE-2026-31418netfilter: ipset: drop logically empty buckets in mtype_del
Medium 5.5
In plain English
A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: drop logically empty buckets in mtype_del mtype_del() counts empty slots below n->pos in k, but it only drops the bucket when both n->pos and k are zero. This misses buckets whose live entries have all been removed while n->pos still points past deleted slots. Treat a bucket as empty when all positions below n->pos are unused and release it directly instead of shrinking it further.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.170-1 | DEBIAN-CVE-2026-31418 |
| Debian:13 | linux | 6.12.85-1 | DEBIAN-CVE-2026-31418 |
| Debian:14 | linux | 6.19.12-1 | DEBIAN-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux | 5.15.0-185.195 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux | 5.15.0-185.195 | USN-8493-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-134.134 | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux | 6.17.0-40.40 | USN-8490-1 |
| Ubuntu:25.10 | linux | 6.17.0-40.40 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1111.118 | USN-8493-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1111.118 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1060.63 | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-aws | 6.17.0-1019.19 | USN-8490-1 |
| Ubuntu:25.10 | linux-aws | 6.17.0-1019.19 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-aws-6.17 | 6.17.0-1019.19~24.04.1 | USN-8490-1 |
| Ubuntu:24.04:LTS | linux-aws-6.17 | 6.17.0-1019.19~24.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1060.63~22.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1116.125 | USN-8493-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1116.125 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1063.71 | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-azure | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-azure-6.14 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-azure-6.17 | 6.17.0-1021.21~24.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1063.71~22.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1116.125 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-azure-fde | 6.8.0-1062.69 | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-azure-fde-6.14 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1062.69~22.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-azure-nvidia-6.14 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1111.121 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1111.121 | USN-8493-1 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1063.69 | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-gcp | 6.17.0-1020.22 | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-gcp | 6.17.0-1020.22 | USN-8490-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-gcp-6.17 | 6.17.0-1020.22~24.04.1 | USN-8490-1 |
| Ubuntu:24.04:LTS | linux-gcp-6.17 | 6.17.0-1020.22~24.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1063.69~22.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1107.113 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1107.113 | USN-8493-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1058.64 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1094.102 | USN-8493-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1094.102 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1045.48 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-hwe-6.14 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-hwe-6.17 | 6.17.0-40.40~24.04.1 | USN-8545-1 |
| Ubuntu:24.04:LTS | linux-hwe-6.17 | 6.17.0-40.40~24.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-136.136~22.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1105.109 | USN-8493-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1105.109 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1060.61 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1060.61~22.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1106.112 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1106.112 | USN-8493-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1103.108 | USN-8493-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1103.108 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-183.193 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-183.193 | USN-8493-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-134.134.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-134.134.1~22.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1106.107 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1106.107 | USN-8493-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1058.61 | UBUNTU-CVE-2026-31418 |
| Ubuntu:26.04:LTS | linux-nvidia | 7.0.0-1006.6 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-nvidia-6.17 | 6.17.0-1026.26 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-nvidia-6.17 | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1058.61~22.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1058.61.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1063.63 | USN-8493-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1063.63 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1029.30 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1052.52 | USN-8493-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1052.52 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-oem-6.17 | 6.17.0-1028.28 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-oem-6.17 | 6.17.0-1028.28 | USN-8491-1 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1108.114 | USN-8493-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1108.114 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1057.58 | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-oracle | 6.17.0-1018.18 | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-oracle | 6.17.0-1018.18 | USN-8490-1 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-oracle-6.17 | 6.17.0-1018.18~24.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-oracle-6.17 | 6.17.0-1018.18~24.04.1 | USN-8490-1 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1057.58~22.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1105.108 | USN-8527-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1105.108 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1060.64 | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-raspi | 6.17.0-1021.21 | USN-8546-1 |
| Ubuntu:25.10 | linux-raspi | 6.17.0-1021.21 | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-realtime | 6.17.0-1017.19 | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-realtime | 6.17.0-1017.19 | USN-8490-2 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:25.10 | linux-riscv | 6.17.0-40.40.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-riscv-6.17 | 6.17.0-38.38.1~24.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-134.134~22.04.1 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2026-31418 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1032.33 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1074.78 | UBUNTU-CVE-2026-31418 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1074.78 | USN-8528-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 – before c098ff857e7ca923539164af5b3c2fe3e8f8afaf8af1c6fbd9239877998c7f5a591cb2c88d41fb66 – before 58f3a14826d4e6b0d5421f1a64be280b48601ea28af1c6fbd9239877998c7f5a591cb2c88d41fb66 – before ad92ee87462f9a3061361d392e9dbfe2e5c1c9fb8af1c6fbd9239877998c7f5a591cb2c88d41fb66 – before 6cea34d7ec6829b62f521a37a287f670144a22338af1c6fbd9239877998c7f5a591cb2c88d41fb66 – before b7eef00f08b92b0b9efe8ae0df6d0005e61993238af1c6fbd9239877998c7f5a591cb2c88d41fb66 – before 68ca0eea0af02bed36c5e2c13e9fa1647c31a7d48af1c6fbd9239877998c7f5a591cb2c88d41fb66 – before ceacaa76f221a6577aba945bb8873c2e640aeba48af1c6fbd9239877998c7f5a591cb2c88d41fb66 – before 9862ef9ab0a116c6dca98842aab7de13a252ae02 |
| Linux | Linux | 5.6 |
References
- https://git.kernel.org/stable/c/c098ff857e7ca923539164af5b3c2fe3e8f8afaf
- https://git.kernel.org/stable/c/58f3a14826d4e6b0d5421f1a64be280b48601ea2
- https://git.kernel.org/stable/c/ad92ee87462f9a3061361d392e9dbfe2e5c1c9fb
- https://git.kernel.org/stable/c/6cea34d7ec6829b62f521a37a287f670144a2233
- https://git.kernel.org/stable/c/b7eef00f08b92b0b9efe8ae0df6d0005e6199323
- https://git.kernel.org/stable/c/68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4
- https://git.kernel.org/stable/c/ceacaa76f221a6577aba945bb8873c2e640aeba4
- https://git.kernel.org/stable/c/9862ef9ab0a116c6dca98842aab7de13a252ae02
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html