Use-after-free in Linux kernel - CVE-2025-38578

 

Use-after-free in Linux kernel - CVE-2025-38578

Published: August 20, 2025


Vulnerability identifier: #VU114245
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-38578
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the fs/f2fs/inode.c. A local user can escalate privileges on the system.


Affected software

Linux kernel
Anolis OS
Debian Linux
Ubuntu
linux (Debian package)
linux (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oracle (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-gke (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux-lowlatency-hwe-5.15 (Ubuntu package)
linux-hwe-5.15 (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-ibm-5.15 (Ubuntu package)
linux-nvidia-tegra-igx (Ubuntu package)
linux-intel-iotg (Ubuntu package)
linux-realtime (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-ibm (Ubuntu package)
linux-intel-iotg-5.15 (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-nvidia-tegra-5.15 (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-6.1 (Debian package)
linux-oem-6.14 (Ubuntu package)
linux-oracle-6.14 (Ubuntu package)
linux-aws-6.14 (Ubuntu package)
linux-realtime-6.14 (Ubuntu package)
kernel-debug-modules-internal
kernel-tools-libs-devel
kernel-tools-libs
kernel-tools
kernel-modules-internal
kernel-modules-extra
kernel-modules
kernel-headers
kernel-devel
perf
kernel-debug-modules-extra
kernel-debug-modules
kernel-debug-devel
kernel-debug-core
kernel-debug
kernel-core
kernel
bpftool
python3-perf
kernel-64k
kernel-64k-debug
kernel-64k-debug-devel
kernel-64k-devel
linux-hwe-6.8 (Ubuntu package)
linux-xilinx (Ubuntu package)
linux-nvidia-lowlatency (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-gcp-6.14 (Ubuntu package)

How to mitigate CVE-2025-38578

Install update from vendor's repository.

linux (Debian package) - update to 5.10.244-1
linux (Ubuntu package) - addressed in versions 5.15.0-163.173, 6.8.0-100.100, 6.8.0-1047.51, 6.14.0-36.36~24.04.1, 6.14.0-36.36, 6.14.0-1016.16~24.04.1, 6.14.0-1017.17, 6.14.0-1020.21
linux-kvm (Ubuntu package) - update to 5.15.0-1089.94
linux-aws (Ubuntu package) - addressed in versions 5.15.0-1097.104, 6.8.0-1030.33, 6.8.0-1043.44~22.04.1, 6.8.0-1043.44, 6.8.0-1046.49~22.04.1
linux-gcp (Ubuntu package) - addressed in versions 5.15.0-1097.106, 6.8.0-1043.48, 6.8.0-1047.50~22.04.2
linux-azure (Ubuntu package) - addressed in versions 5.15.0-1101.110, 6.8.0-1046.52, 6.14.0-1017.17~24.04.1, 6.14.0-1017.17
linux-raspi (Ubuntu package) - update to 5.15.0-1091.94
linux-oracle (Ubuntu package) - update to 5.15.0-1094.100
linux-lowlatency (Ubuntu package) - addressed in versions 5.15.0-163.173, 6.8.0-100.100.1
linux-gke (Ubuntu package) - update to 5.15.0-1093.99
linux-aws-5.15 (Ubuntu package) - update to 5.15.0-1097.104~20.04.1
linux-lowlatency-hwe-5.15 (Ubuntu package) - update to 5.15.0-163.173~20.04.1
linux-hwe-5.15 (Ubuntu package) - update to 5.15.0-163.173~20.04.1
linux-fips (Ubuntu package) - update to 5.15.0-163.173+fips1
linux-azure-5.15 (Ubuntu package) - update to 5.15.0-1102.111~20.04.1
linux-ibm-5.15 (Ubuntu package) - update to 5.15.0-1091.94~20.04.1
linux-nvidia-tegra-igx (Ubuntu package) - update to 5.15.0-1038.38
linux-intel-iotg (Ubuntu package) - update to 5.15.0-1092.98
linux-realtime (Ubuntu package) - update to 5.15.0-1096.105
linux-gkeop (Ubuntu package) - update to 5.15.0-1080.88
linux-nvidia-tegra (Ubuntu package) - update to 5.15.0-1049.49
linux-nvidia (Ubuntu package) - update to 5.15.0-1092.93
linux-ibm (Ubuntu package) - addressed in versions 5.15.0-1091.94, 6.8.0-1044.44~22.04.1, 6.8.0-1044.44
linux-intel-iotg-5.15 (Ubuntu package) - update to 5.15.0-1092.98~20.04.1
linux-oracle-5.15 (Ubuntu package) - update to 5.15.0-1094.100~20.04.1
linux-gcp-5.15 (Ubuntu package) - update to 5.15.0-1097.106~20.04.1
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1049.49~20.04.1
linux-xilinx-zynqmp (Ubuntu package) - update to 5.15.0-1061.65
linux-intel-iot-realtime (Ubuntu package) - update to 5.15.0-1089.91
linux-gcp-fips (Ubuntu package) - addressed in versions 5.15.0-1097.106+fips1, 6.8.0-1047.50+fips1
linux-aws-fips (Ubuntu package) - addressed in versions 5.15.0-1097.104+fips1, 6.8.0-100.100+fips1, 6.8.0-1046.49+fips1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0-1101.110+fips1, 6.8.0-1046.52+fips1
linux-6.1 (Debian package) - update to 6.1.153-1~deb11u1
linux-oem-6.14 (Ubuntu package) - update to 6.14.0-1016.16
linux-oracle-6.14 (Ubuntu package) - update to 6.14.0-1017.17~24.04.1
linux-aws-6.14 (Ubuntu package) - update to 6.14.0-1017.17~24.04.1
linux-realtime-6.14 (Ubuntu package) - update to 6.14.0-1016.16~24.04.1
kernel-debug-modules-internal - update to 5.10.134-20.2
kernel-tools-libs-devel - addressed in versions 5.10.134-20.2, 6.6.102-5
kernel-tools-libs - addressed in versions 5.10.134-20.2, 6.6.102-5
kernel-tools - addressed in versions 5.10.134-20.2, 6.6.102-5
kernel-modules-internal - update to 5.10.134-20.2
kernel-modules-extra - update to 5.10.134-20.2
kernel-modules - update to 5.10.134-20.2
kernel-headers - addressed in versions 5.10.134-20.2, 6.6.102-5
kernel-devel - addressed in versions 5.10.134-20.2, 6.6.102-5
perf - addressed in versions 5.10.134-20.2, 6.6.102-5
kernel-debug-modules-extra - update to 5.10.134-20.2
kernel-debug-modules - update to 5.10.134-20.2
kernel-debug-devel - addressed in versions 5.10.134-20.2, 6.6.102-5
kernel-debug-core - update to 5.10.134-20.2
kernel-debug - addressed in versions 5.10.134-20.2, 6.6.102-5
kernel-core - update to 5.10.134-20.2
kernel - addressed in versions 5.10.134-20.2, 6.6.102-5
bpftool - addressed in versions 5.10.134-20.2, 6.6.102-5
python3-perf - addressed in versions 5.10.134-20.2, 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
linux-hwe-6.8 (Ubuntu package) - addressed in versions 6.8.0-100.100~22.04.1, 6.8.0-100.100.1~22.04.1
linux-xilinx (Ubuntu package) - addressed in versions 6.8.0-1023.24, 6.8.0.1023.24
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1046.49.1
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-gcp-6.14 (Ubuntu package) - addressed in versions 6.14.0-1018.18, 6.14.0-1020.21~24.04.1

External References

Related Security Bulletins