Buffer overflow in Linux kernel - CVE-2025-21826
Published: March 6, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU105421
CSH Severity: Low
CVSS v4 BT: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2025-21826
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to memory corruption within the nft_set_desc_concat_parse() and nft_set_desc_concat() functions in net/netfilter/nf_tables_api.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Ubuntu
openEuler
linux (Ubuntu package)
linux-hwe-5.15 (Ubuntu package)
linux-aws (Ubuntu package)
linux-azure (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gke (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-gcp (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux-azure-fips (Ubuntu package)
bpftool
kernel-devel
python3-perf-debuginfo
python3-perf
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
perf-debuginfo
perf
kernel
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
linux-ibm (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime (Ubuntu package)
linux-lowlatency (Ubuntu package)
Ubuntu
openEuler
linux (Ubuntu package)
linux-hwe-5.15 (Ubuntu package)
linux-aws (Ubuntu package)
linux-azure (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gke (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-gcp (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux-azure-fips (Ubuntu package)
bpftool
kernel-devel
python3-perf-debuginfo
python3-perf
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
perf-debuginfo
perf
kernel
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
linux-ibm (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime (Ubuntu package)
linux-lowlatency (Ubuntu package)
How to mitigate CVE-2025-21826
Install update from vendor's website.
Linux kernel - update to 6.13.2
linux (Ubuntu package) - addressed in versions 5.15.0.140.126, 5.15.0.140.135, 5.15.0-140.150, 5.15.0.140.150~20.04.1, 5.15.0-140.150~20.04.1, 5.15.0.1066.65, 5.15.0-1066.74, 5.15.0.1076.72, 5.15.0-1076.79, 5.15.0-1076.79~20.04.1, 5.15.0.1076.79~20.04.1, 5.15.0.1078.78, 5.15.0-1078.79, 5.15.0.1079.79, 5.15.0-1079.85, 5.15.0.1080.76, 5.15.0-1080.85, 5.15.0.1081.77, 5.15.0-1081.87, 5.15.0-1081.87~20.04.1, 5.15.0.1081.87~20.04.1, 6.8.0-64.67, 6.8.0-1031.31, 6.8.0-1032.34~22.04.1, 6.11.0-26.26, 6.11.0-26.26~24.04.1, 6.11.0-1010.10, 6.11.0-1013.13, 6.11.0-1015.15, 6.11.0-1015.15~24.04.1, 6.11.0-1022.22
linux-hwe-5.15 (Ubuntu package) - addressed in versions 5.15.0.142.152~20.04.1, 5.15.0-142.152~20.04.1
linux-aws (Ubuntu package) - addressed in versions 5.15.0-1026.26, 5.15.0.1026.28, 5.15.0.1078.76, 5.15.0-1078.81, 5.15.0-1079.85~20.04.1, 5.15.0.1079.85~20.04.1, 5.15.0.1084.86, 5.15.0-1084.91, 6.11.0-1014.15
linux-azure (Ubuntu package) - addressed in versions 5.15.0.1037.37, 5.15.0-1037.37, 5.15.0.1089.87, 5.15.0-1089.98, 5.15.0-1089.98~20.04.1, 5.15.0.1089.98~20.04.1, 6.8.0-1022.23, 6.8.0-1034.39, 6.8.0-1034.39~22.04.1
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.15.0.1050.53, 5.15.0-1050.54
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1077.79, 5.15.0.1077.81, 5.15.0.1084.88, 5.15.0-1084.93
linux-gke (Ubuntu package) - addressed in versions 5.15.0.1081.80, 5.15.0-1081.87
linux-gcp-fips (Ubuntu package) - addressed in versions 5.15.0.1083.73, 5.15.0-1083.92+fips1
linux-gcp (Ubuntu package) - addressed in versions 5.15.0.1083.79, 5.15.0-1083.92, 6.8.0-1033.35, 6.8.0-1033.35~22.04.1
linux-gcp-5.15 (Ubuntu package) - addressed in versions 5.15.0.1083.92~20.04.1, 5.15.0-1083.92~20.04.1
linux-aws-fips (Ubuntu package) - addressed in versions 5.15.0.1084.80, 5.15.0-1084.91+fips1
linux-aws-5.15 (Ubuntu package) - addressed in versions 5.15.0-1084.91~20.04.1, 5.15.0.1084.91~20.04.1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0.1089.74, 5.15.0-1089.98+fips1
bpftool - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-devel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
python3-perf-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
python3-perf - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-debugsource - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
bpftool-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
perf-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
perf - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools-devel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-source - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-headers - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-64.67.1, 6.8.0-64.67.1~22.04.1, 6.8.0-1029.29, 6.8.0-1029.29~22.04.1
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-64.67~22.04.1
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1015.17, 6.8.0-1028.32, 6.8.0-1029.30, 6.8.0-1029.30~22.04.1, 6.8.0-1031.34, 6.8.0-1031.34.1, 6.8.0-1031.34~22.04.1, 6.8.0-1032.34~22.04.1
linux-raspi (Ubuntu package) - update to 6.8.0-1031.35
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2026.27
linux-realtime (Ubuntu package) - update to 6.8.1-1025.26
linux-lowlatency (Ubuntu package) - addressed in versions 6.11.0-1014.15, 6.11.0-1014.15~24.04.1, 6.11.0-1016.17
linux (Ubuntu package) - addressed in versions 5.15.0.140.126, 5.15.0.140.135, 5.15.0-140.150, 5.15.0.140.150~20.04.1, 5.15.0-140.150~20.04.1, 5.15.0.1066.65, 5.15.0-1066.74, 5.15.0.1076.72, 5.15.0-1076.79, 5.15.0-1076.79~20.04.1, 5.15.0.1076.79~20.04.1, 5.15.0.1078.78, 5.15.0-1078.79, 5.15.0.1079.79, 5.15.0-1079.85, 5.15.0.1080.76, 5.15.0-1080.85, 5.15.0.1081.77, 5.15.0-1081.87, 5.15.0-1081.87~20.04.1, 5.15.0.1081.87~20.04.1, 6.8.0-64.67, 6.8.0-1031.31, 6.8.0-1032.34~22.04.1, 6.11.0-26.26, 6.11.0-26.26~24.04.1, 6.11.0-1010.10, 6.11.0-1013.13, 6.11.0-1015.15, 6.11.0-1015.15~24.04.1, 6.11.0-1022.22
linux-hwe-5.15 (Ubuntu package) - addressed in versions 5.15.0.142.152~20.04.1, 5.15.0-142.152~20.04.1
linux-aws (Ubuntu package) - addressed in versions 5.15.0-1026.26, 5.15.0.1026.28, 5.15.0.1078.76, 5.15.0-1078.81, 5.15.0-1079.85~20.04.1, 5.15.0.1079.85~20.04.1, 5.15.0.1084.86, 5.15.0-1084.91, 6.11.0-1014.15
linux-azure (Ubuntu package) - addressed in versions 5.15.0.1037.37, 5.15.0-1037.37, 5.15.0.1089.87, 5.15.0-1089.98, 5.15.0-1089.98~20.04.1, 5.15.0.1089.98~20.04.1, 6.8.0-1022.23, 6.8.0-1034.39, 6.8.0-1034.39~22.04.1
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.15.0.1050.53, 5.15.0-1050.54
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1077.79, 5.15.0.1077.81, 5.15.0.1084.88, 5.15.0-1084.93
linux-gke (Ubuntu package) - addressed in versions 5.15.0.1081.80, 5.15.0-1081.87
linux-gcp-fips (Ubuntu package) - addressed in versions 5.15.0.1083.73, 5.15.0-1083.92+fips1
linux-gcp (Ubuntu package) - addressed in versions 5.15.0.1083.79, 5.15.0-1083.92, 6.8.0-1033.35, 6.8.0-1033.35~22.04.1
linux-gcp-5.15 (Ubuntu package) - addressed in versions 5.15.0.1083.92~20.04.1, 5.15.0-1083.92~20.04.1
linux-aws-fips (Ubuntu package) - addressed in versions 5.15.0.1084.80, 5.15.0-1084.91+fips1
linux-aws-5.15 (Ubuntu package) - addressed in versions 5.15.0-1084.91~20.04.1, 5.15.0.1084.91~20.04.1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0.1089.74, 5.15.0-1089.98+fips1
bpftool - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-devel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
python3-perf-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
python3-perf - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-debugsource - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
bpftool-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
perf-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
perf - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools-devel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-source - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-headers - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-64.67.1, 6.8.0-64.67.1~22.04.1, 6.8.0-1029.29, 6.8.0-1029.29~22.04.1
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-64.67~22.04.1
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1015.17, 6.8.0-1028.32, 6.8.0-1029.30, 6.8.0-1029.30~22.04.1, 6.8.0-1031.34, 6.8.0-1031.34.1, 6.8.0-1031.34~22.04.1, 6.8.0-1032.34~22.04.1
linux-raspi (Ubuntu package) - update to 6.8.0-1031.35
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2026.27
linux-realtime (Ubuntu package) - update to 6.8.1-1025.26
linux-lowlatency (Ubuntu package) - addressed in versions 6.11.0-1014.15, 6.11.0-1014.15~24.04.1, 6.11.0-1016.17
External References
- https://git.kernel.org/stable/c/1b9335a8000fb70742f7db10af314104b6ace220
- https://git.kernel.org/stable/c/2ac254343d3cf228ae0738b2615fedf85d000752
- https://git.kernel.org/stable/c/49b7182b97bafbd5645414aff054b4a65d05823d
- https://git.kernel.org/stable/c/82e491e085719068179ff6a5466b7387cc4bbf32
- https://git.kernel.org/stable/c/ab50d0eff4a939d20c37721fd9766347efcdb6f6
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.13.2
Related Security Bulletins
- Buffer overflow in Linux kernel netfilter
- openEuler 24.03 LTS update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- Ubuntu update for linux-gcp-5.15
- Ubuntu update for linux-gcp-fips
- Ubuntu update for linux-gcp
- Ubuntu update for linux
- Ubuntu update for linux-gke
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-intel-iot-realtime
- Ubuntu update for linux-azure
- Ubuntu update for linux-aws
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-aws
- Ubuntu update for linux-lowlatency
- Ubuntu update for linux
- Ubuntu update for linux-aws-5.15
- Ubuntu update for linux-hwe-5.15
- Ubuntu update for linux-xilinx-zynqmp
- Ubuntu update for linux-hwe-6.8
- Ubuntu update for linux-realtime
- Ubuntu update for linux
- Ubuntu update for linux-ibm
- Ubuntu update for linux-aws-6.8
- Ubuntu update for linux-gcp
- Ubuntu update for linux-raspi-realtime
- Ubuntu update for linux-raspi
- Ubuntu update for linux-azure