NULL pointer dereference in Linux kernel - CVE-2025-22037
Published: April 22, 2025 / Updated: May 10, 2025
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to NULL pointer dereference within the smb2_handle_negotiate(), alloc_preauth_hash(), smb2_sess_setup() and smb2_session_logoff() functions in fs/smb/server/smb2pdu.c, within the destroy_previous_session() function in fs/smb/server/mgmt/user_session.c. A local user can perform a denial of service (DoS) attack.
Affected software
Ubuntu
linux (Ubuntu package)
linux-fips (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-oem-6.11 (Ubuntu package)
How to mitigate CVE-2025-22037
linux (Ubuntu package) - addressed in versions 6.8.0-101.101, 6.8.0-101.101.1, 6.8.0-101.101.1~22.04.1, 6.8.0-101.101~22.04.1, 6.8.0-1031.34, 6.8.0-1044.45, 6.8.0-1048.52, 6.11.0-28.28, 6.11.0-28.28~24.04.1, 6.11.0-1011.11, 6.11.0-1014.14, 6.11.0-1015.16, 6.11.0-1016.16, 6.11.0-1016.16~24.04.1, 6.11.0-1017.18, 6.14.0-22.22, 6.14.0-1004.4, 6.14.0-1007.7, 6.14.0-1008.8
linux-fips (Ubuntu package) - addressed in versions 6.8.0-101.101+fips1, 6.8.0-1048.51+fips1
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1024.25, 6.8.0.1024.25, 6.8.0-1045.45, 6.8.0-1045.45~22.04.1, 6.8.0-1047.50, 6.8.0-1047.50~22.04.1, 6.14.0-1007.7, 6.14.0-1007.7+1
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1044.45~22.04.1, 6.8.0-1044.49, 6.8.0-1048.51, 6.8.0-1048.51~22.04.1
linux-nvidia (Ubuntu package) - addressed in versions 6.8.0-1047.50, 6.8.0-1047.50.1, 6.8.0-1047.50~22.04.1
linux-aws-fips (Ubuntu package) - update to 6.8.0-1047.50+fips1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1047.53+fips1
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1051.57, 6.11.0-1018.18, 6.11.0-1018.18~24.04.1, 6.14.0-1007.7
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1051.57~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2038.39
linux-realtime (Ubuntu package) - update to 6.8.1-1042.43
linux-lowlatency (Ubuntu package) - addressed in versions 6.11.0-1015.16, 6.11.0-1015.16~24.04.2
linux-oem-6.11 (Ubuntu package) - update to 6.11.0-1024.24
External References
- https://git.kernel.org/stable/c/8f216b33a5e1b3489c073b1ea1b3d7cb63c8dc4d
- https://git.kernel.org/stable/c/b8eb243e670ecf30e91524dd12f7260dac07d335
- https://git.kernel.org/stable/c/c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780
- https://git.kernel.org/stable/c/ca8bed31edf728a662ef9d6f39f50e7a7dc2b5ad
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.23
Related Security Bulletins
- NULL pointer dereference in Linux kernel smb server
- Ubuntu update for linux
- Ubuntu update for linux-azure
- Ubuntu update for linux
- Ubuntu update for linux-oem-6.11
- Ubuntu update for linux-lowlatency
- Ubuntu update for linux-azure
- Ubuntu update for linux-aws
- Ubuntu update for linux
- Ubuntu update for linux-raspi-realtime
- Ubuntu update for linux-fips
- Ubuntu update for linux-realtime
- Ubuntu update for linux-gcp
- Ubuntu update for linux-aws
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-azure-6.8
- Ubuntu update for linux-azure