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

 

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

Published: May 21, 2025 / Updated: May 21, 2025


Vulnerability identifier: #VU109508
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-37926
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 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

Linux kernel
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

Install update from vendor's website.

Linux kernel - addressed in versions 6.12.28, 6.14.6
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

Related Security Bulletins