Use-after-free in Linux kernel - CVE-2025-37926
Published: May 21, 2025 / Updated: May 21, 2025
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 ksmbd_session_rpc_clear_list(), ksmbd_session_rpc_open(), ksmbd_session_rpc_close() and __session_create() functions in fs/smb/server/mgmt/user_session.c. A local user can escalate privileges on the system.
Affected software
Debian Linux
Ubuntu
openEuler
linux (Debian package)
bpftool
kernel
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
linux-fips (Ubuntu package)
linux (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-nvidia-6.8 (Ubuntu package)
linux-azure (Ubuntu package)
linux-oem-6.14 (Ubuntu package)
linux-oracle (Ubuntu package)
linux-aws (Ubuntu package)
linux-aws-6.14 (Ubuntu package)
How to mitigate CVE-2025-37926
linux (Debian package) - update to 6.1.162-1
bpftool - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
kernel - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
python3-perf-debuginfo - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
python3-perf - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
perf-debuginfo - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
perf - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
kernel-tools-devel - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
kernel-tools-debuginfo - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
kernel-tools - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
kernel-source - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
kernel-headers - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
kernel-devel - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
kernel-debugsource - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
kernel-debuginfo - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
bpftool-debuginfo - addressed in versions 6.6.0-96.0.0.89, 6.6.0-96.0.0.100
linux-fips (Ubuntu package) - update to 6.8.0-116.116+fips1
linux (Ubuntu package) - addressed in versions 6.8.0-117.117, 6.8.0-117.117.1, 6.8.0-117.117.1~22.04.1, 6.8.0-1041.44, 6.8.0-1054.60, 6.8.0-1055.56, 6.8.0-1055.56~22.04.1, 6.8.0-1055.58+fips1, 6.8.0-1056.60, 6.8.0-1058.61, 6.8.0-1058.61+fips1, 6.8.0-2045.46, 6.8.1-1051.52, 6.8.1-1051.52~22.04.1, 6.14.0-24.24, 6.14.0-1006.6, 6.14.0-1009.9, 6.14.0-1011.11
linux-nvidia-tegra (Ubuntu package) - update to 6.8.0-1024.24
linux-nvidia (Ubuntu package) - addressed in versions 6.8.0-1054.57, 6.8.0-1054.57.1
linux-nvidia-6.8 (Ubuntu package) - update to 6.8.0-1054.57~22.04.1
linux-azure (Ubuntu package) - update to 6.8.0-1056.62
linux-oem-6.14 (Ubuntu package) - update to 6.14.0-1007.7
linux-oracle (Ubuntu package) - update to 6.14.0-1009.9
linux-aws (Ubuntu package) - update to 6.14.0-1009.9
linux-aws-6.14 (Ubuntu package) - update to 6.14.0-1009.9~24.04.1
External References
- https://git.kernel.org/stable/c/6323fec65fe54b365961fed260dd579191e46121
- https://git.kernel.org/stable/c/8fb3b6c85b7e3127161623586b62abcc366caa20
- https://git.kernel.org/stable/c/a1f46c99d9ea411f9bf30025b912d881d36fc709
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.28
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.14.6
Related Security Bulletins
- Use-after-free in Linux kernel server mgmt
- openEuler 24.03 LTS update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- Ubuntu update for linux-oem-6.14
- Ubuntu update for linux
- Ubuntu update for linux-aws
- Ubuntu update for linux-oracle
- Ubuntu update for linux-aws-6.14
- Debian update for linux
- Ubuntu update for linux
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-fips
- Ubuntu update for linux-nvidia-tegra
- Ubuntu update for linux-nvidia-6.8
- Ubuntu update for linux-azure