Out-of-bounds read in Linux kernel - CVE-2025-38218
Published: July 5, 2025
Vulnerability identifier: #VU112293
CSH Severity: Low
CVSS v4: 6.8 [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]
CVE-ID: CVE-2025-38218
CWE-ID: CWE-125
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 an out-of-bounds read error within the f2fs_sanity_check_ckpt() and DIV_ROUND_UP() functions in fs/f2fs/super.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Debian Linux
Ubuntu
Anolis OS
linux-aws-fips (Ubuntu package)
linux (Ubuntu package)
linux-nvidia-tegra-igx (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-kvm (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux (Debian package)
kernel-debug-devel
kernel-devel
kernel-headers
kernel-tools
kernel-tools-libs
kernel-tools-libs-devel
perf
python3-perf
kernel-64k
kernel-64k-debug
kernel-64k-debug-devel
kernel-64k-devel
kernel
bpftool
kernel-debug
linux-lowlatency (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-xilinx (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-ibm (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)
linux-hwe-6.14 (Ubuntu package)
linux-realtime-6.14 (Ubuntu package)
linux-aws-6.14 (Ubuntu package)
linux-gcp-6.14 (Ubuntu package)
Debian Linux
Ubuntu
Anolis OS
linux-aws-fips (Ubuntu package)
linux (Ubuntu package)
linux-nvidia-tegra-igx (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-kvm (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux (Debian package)
kernel-debug-devel
kernel-devel
kernel-headers
kernel-tools
kernel-tools-libs
kernel-tools-libs-devel
perf
python3-perf
kernel-64k
kernel-64k-debug
kernel-64k-debug-devel
kernel-64k-devel
kernel
bpftool
kernel-debug
linux-lowlatency (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-xilinx (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-ibm (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)
linux-hwe-6.14 (Ubuntu package)
linux-realtime-6.14 (Ubuntu package)
linux-aws-6.14 (Ubuntu package)
linux-gcp-6.14 (Ubuntu package)
How to mitigate CVE-2025-38218
Install update from vendor's repository.
linux-aws-fips (Ubuntu package) - addressed in versions 5.15.0.156.89, 5.15.0-156.166+fips1, 5.15.0.1092.82, 5.15.0.1092.88, 5.15.0-1092.99+fips1, 5.15.0-1092.101+fips1, 6.8.0-100.100+fips1, 6.8.0-1046.49+fips1
linux (Ubuntu package) - addressed in versions 5.15.0.156.135, 5.15.0.156.154, 5.15.0-156.166, 5.15.0-156.166~20.04.1, 5.15.0.156.166~20.04.1, 5.15.0-1045.45, 5.15.0.1045.45, 5.15.0-1045.45~20.04.1, 5.15.0.1045.45~20.04.1, 5.15.0.1056.59, 5.15.0-1056.60, 5.15.0.1075.74, 5.15.0-1075.83, 5.15.0.1086.82, 5.15.0.1086.84, 5.15.0-1086.89, 5.15.0-1086.89~20.04.1, 5.15.0.1086.89~20.04.1, 5.15.0.1087.87, 5.15.0-1087.88, 5.15.0-1087.91~20.04.1, 5.15.0.1087.91~20.04.1, 5.15.0-1087.93, 5.15.0.1087.93~20.04.1, 5.15.0-1087.93~20.04.1, 5.15.0.1089.88, 5.15.0-1089.95, 5.15.0.1090.86, 5.15.0-1090.96, 5.15.0.1092.88, 5.15.0.1092.95, 5.15.0-1092.99, 5.15.0-1092.99~20.04.1, 5.15.0.1092.99~20.04.1, 5.15.0-1092.101, 5.15.0.1092.101~20.04.1, 5.15.0-1092.101~20.04.1, 6.8.0-100.100, 6.8.0-1047.51, 6.14.0-34.34, 6.14.0-1014.14~24.04.1, 6.14.0-1015.15, 6.14.0-1015.15~24.04.1, 6.14.0-1016.16, 6.14.0-1018.19
linux-nvidia-tegra-igx (Ubuntu package) - addressed in versions 5.15.0-1034.34, 5.15.0.1034.36
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1085.87, 5.15.0.1085.89, 5.15.0.1092.96, 5.15.0-1092.101
linux-kvm (Ubuntu package) - addressed in versions 5.15.0.1088.84, 5.15.0-1088.93
linux-oracle-5.15 (Ubuntu package) - addressed in versions 5.15.0.1090.96~20.04.1, 5.15.0-1090.96~20.04.1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0.1096.81, 5.15.0-1096.105+fips1, 6.8.0-1046.52+fips1
linux-azure (Ubuntu package) - addressed in versions 5.15.0.1096.94, 5.15.0-1096.105, 6.8.0-1046.52, 6.14.0-1007.7+25.10.1, 6.14.0-1014.14, 6.14.0-1014.14~24.04.1
linux-azure-5.15 (Ubuntu package) - addressed in versions 5.15.0-1096.105~20.04.1, 5.15.0.1096.105~20.04.1
linux (Debian package) - update to 6.1.147-1
kernel-debug-devel - update to 6.6.102-5
kernel-devel - update to 6.6.102-5
kernel-headers - update to 6.6.102-5
kernel-tools - update to 6.6.102-5
kernel-tools-libs - update to 6.6.102-5
kernel-tools-libs-devel - update to 6.6.102-5
perf - update to 6.6.102-5
python3-perf - update to 6.6.102-5
kernel-64k - update to 6.6.102-5
kernel-64k-debug - update to 6.6.102-5
kernel-64k-debug-devel - update to 6.6.102-5
kernel-64k-devel - update to 6.6.102-5
kernel - update to 6.6.102-5
bpftool - update to 6.6.102-5
kernel-debug - update to 6.6.102-5
linux-lowlatency (Ubuntu package) - update to 6.8.0-100.100.1
linux-hwe-6.8 (Ubuntu package) - addressed in versions 6.8.0-100.100.1~22.04.1, 6.8.0-100.100~22.04.1
linux-xilinx (Ubuntu package) - addressed in versions 6.8.0.1023.24, 6.8.0-1023.24
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1030.33, 6.8.0-1043.44, 6.8.0-1043.44~22.04.1, 6.8.0-1046.49~22.04.1
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1043.48, 6.8.0-1047.50~22.04.2
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-1044.44, 6.8.0-1044.44~22.04.1
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1046.49.1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1047.50+fips1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1047.50~22.04.2
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1051.57~22.04.1
linux-raspi-realtime (Ubuntu package) - addressed in versions 6.8.0-2037.38, 6.8.1-1041.42
linux-realtime-6.8 (Ubuntu package) - update to 6.8.1-1041.42~22.04.1
linux-hwe-6.14 (Ubuntu package) - update to 6.14.0-34.34~24.04.1
linux-realtime-6.14 (Ubuntu package) - update to 6.14.0-1014.14~24.04.1
linux-aws-6.14 (Ubuntu package) - update to 6.14.0-1015.15~24.04.1
linux-gcp-6.14 (Ubuntu package) - update to 6.14.0-1018.19~24.04.1
linux (Ubuntu package) - addressed in versions 5.15.0.156.135, 5.15.0.156.154, 5.15.0-156.166, 5.15.0-156.166~20.04.1, 5.15.0.156.166~20.04.1, 5.15.0-1045.45, 5.15.0.1045.45, 5.15.0-1045.45~20.04.1, 5.15.0.1045.45~20.04.1, 5.15.0.1056.59, 5.15.0-1056.60, 5.15.0.1075.74, 5.15.0-1075.83, 5.15.0.1086.82, 5.15.0.1086.84, 5.15.0-1086.89, 5.15.0-1086.89~20.04.1, 5.15.0.1086.89~20.04.1, 5.15.0.1087.87, 5.15.0-1087.88, 5.15.0-1087.91~20.04.1, 5.15.0.1087.91~20.04.1, 5.15.0-1087.93, 5.15.0.1087.93~20.04.1, 5.15.0-1087.93~20.04.1, 5.15.0.1089.88, 5.15.0-1089.95, 5.15.0.1090.86, 5.15.0-1090.96, 5.15.0.1092.88, 5.15.0.1092.95, 5.15.0-1092.99, 5.15.0-1092.99~20.04.1, 5.15.0.1092.99~20.04.1, 5.15.0-1092.101, 5.15.0.1092.101~20.04.1, 5.15.0-1092.101~20.04.1, 6.8.0-100.100, 6.8.0-1047.51, 6.14.0-34.34, 6.14.0-1014.14~24.04.1, 6.14.0-1015.15, 6.14.0-1015.15~24.04.1, 6.14.0-1016.16, 6.14.0-1018.19
linux-nvidia-tegra-igx (Ubuntu package) - addressed in versions 5.15.0-1034.34, 5.15.0.1034.36
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1085.87, 5.15.0.1085.89, 5.15.0.1092.96, 5.15.0-1092.101
linux-kvm (Ubuntu package) - addressed in versions 5.15.0.1088.84, 5.15.0-1088.93
linux-oracle-5.15 (Ubuntu package) - addressed in versions 5.15.0.1090.96~20.04.1, 5.15.0-1090.96~20.04.1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0.1096.81, 5.15.0-1096.105+fips1, 6.8.0-1046.52+fips1
linux-azure (Ubuntu package) - addressed in versions 5.15.0.1096.94, 5.15.0-1096.105, 6.8.0-1046.52, 6.14.0-1007.7+25.10.1, 6.14.0-1014.14, 6.14.0-1014.14~24.04.1
linux-azure-5.15 (Ubuntu package) - addressed in versions 5.15.0-1096.105~20.04.1, 5.15.0.1096.105~20.04.1
linux (Debian package) - update to 6.1.147-1
kernel-debug-devel - update to 6.6.102-5
kernel-devel - update to 6.6.102-5
kernel-headers - update to 6.6.102-5
kernel-tools - update to 6.6.102-5
kernel-tools-libs - update to 6.6.102-5
kernel-tools-libs-devel - update to 6.6.102-5
perf - update to 6.6.102-5
python3-perf - update to 6.6.102-5
kernel-64k - update to 6.6.102-5
kernel-64k-debug - update to 6.6.102-5
kernel-64k-debug-devel - update to 6.6.102-5
kernel-64k-devel - update to 6.6.102-5
kernel - update to 6.6.102-5
bpftool - update to 6.6.102-5
kernel-debug - update to 6.6.102-5
linux-lowlatency (Ubuntu package) - update to 6.8.0-100.100.1
linux-hwe-6.8 (Ubuntu package) - addressed in versions 6.8.0-100.100.1~22.04.1, 6.8.0-100.100~22.04.1
linux-xilinx (Ubuntu package) - addressed in versions 6.8.0.1023.24, 6.8.0-1023.24
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1030.33, 6.8.0-1043.44, 6.8.0-1043.44~22.04.1, 6.8.0-1046.49~22.04.1
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1043.48, 6.8.0-1047.50~22.04.2
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-1044.44, 6.8.0-1044.44~22.04.1
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1046.49.1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1047.50+fips1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1047.50~22.04.2
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1051.57~22.04.1
linux-raspi-realtime (Ubuntu package) - addressed in versions 6.8.0-2037.38, 6.8.1-1041.42
linux-realtime-6.8 (Ubuntu package) - update to 6.8.1-1041.42~22.04.1
linux-hwe-6.14 (Ubuntu package) - update to 6.14.0-34.34~24.04.1
linux-realtime-6.14 (Ubuntu package) - update to 6.14.0-1014.14~24.04.1
linux-aws-6.14 (Ubuntu package) - update to 6.14.0-1015.15~24.04.1
linux-gcp-6.14 (Ubuntu package) - update to 6.14.0-1018.19~24.04.1
External References
- https://git.kernel.org/stable/c/38ef48a8afef8df646b6f6ae7abb872f18b533c1
- https://git.kernel.org/stable/c/3e5ac62a56a24f4d88ce8ffd7bc452428b235868
- https://git.kernel.org/stable/c/5db0d252c64e91ba1929c70112352e85dc5751e7
- https://git.kernel.org/stable/c/79ef8a6c4ec53d327580fd7d2b522cf4f1d05b0c
- https://git.kernel.org/stable/c/82f51bff393e4c12cf4de553120ca831cfa4ef19
- https://git.kernel.org/stable/c/ad862f71016ba38039df1c96ed55c0a4314cc183
- https://git.kernel.org/stable/c/ee1b421c469876544e297ec1090574bd76100247
Related Security Bulletins
- Out-of-bounds read in Linux kernel f2fs
- Debian update for linux
- Ubuntu update for linux
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-intel-iot-realtime
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-oracle-5.15
- Ubuntu update for linux-azure
- Ubuntu update for linux-azure-5.15
- Ubuntu update for linux-kvm
- Ubuntu update for linux-nvidia-tegra-igx
- Ubuntu update for linux-realtime-6.14
- Ubuntu update for linux-azure
- Ubuntu update for linux
- Anolis OS update for kernel:6.6
- Ubuntu update for linux-aws-6.14
- Ubuntu update for linux-gcp-6.14
- Ubuntu update for linux-hwe-6.14
- Ubuntu update for linux
- Ubuntu update for linux-realtime-6.8
- Ubuntu update for linux-gcp-6.8
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-raspi-realtime
- Ubuntu update for linux-aws
- Ubuntu update for linux-gcp-fips
- Ubuntu update for linux-hwe-6.8
- Ubuntu update for linux-lowlatency
- Ubuntu update for linux-gcp
- Ubuntu update for linux-nvidia-lowlatency
- Ubuntu update for linux-xilinx
- Ubuntu update for linux-ibm
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-azure
- Ubuntu update for linux-azure-6.8