Input validation error in Linux kernel - CVE-2025-22042
Published: April 22, 2025 / Updated: May 10, 2025
Vulnerability identifier: #VU107808
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-22042
CWE-ID: CWE-20
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 improper input validation within the parse_lease_state() function in fs/smb/server/oplock.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Debian Linux
Ubuntu
openEuler
linux (Debian package)
kernel-debugsource
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-devel
kernel-headers
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
python3-perf-debuginfo
kernel-extra-modules
linux (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-azure-nvidia (Ubuntu package)
linux-oracle-6.8 (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-azure (Ubuntu package)
linux-oem-6.11 (Ubuntu package)
linux-aws (Ubuntu package)
Debian Linux
Ubuntu
openEuler
linux (Debian package)
kernel-debugsource
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-devel
kernel-headers
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
python3-perf-debuginfo
kernel-extra-modules
linux (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-azure-nvidia (Ubuntu package)
linux-oracle-6.8 (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-azure (Ubuntu package)
linux-oem-6.11 (Ubuntu package)
linux-aws (Ubuntu package)
How to mitigate CVE-2025-22042
Install update from vendor's website.
Linux kernel - addressed in versions 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2
linux (Debian package) - update to 6.1.135-1
kernel-debugsource - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
bpftool - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
bpftool-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-devel - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-headers - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-source - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-tools - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-tools-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-tools-devel - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
perf - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
perf-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
python3-perf - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
python3-perf-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-extra-modules - update to 6.6.0-127.0.0.126
linux (Ubuntu package) - addressed in versions 6.8.0-86.87, 6.8.0-86.87.1, 6.8.0-86.87.1~22.04.1, 6.8.0-1025.28, 6.8.0-1038.39, 6.8.0-1039.39, 6.8.0-1039.39~22.04.1, 6.8.0-1041.43~22.04.1, 6.8.0-1041.47+1, 6.8.0-1041.47~22.04.1, 6.8.0-1042.45, 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-hwe-6.8 (Ubuntu package) - update to 6.8.0-86.87~22.04.1
linux-azure-nvidia (Ubuntu package) - update to 6.8.0-1029.32
linux-oracle-6.8 (Ubuntu package) - update to 6.8.0-1038.39~22.04.1
linux-gcp-6.8 (Ubuntu package) - addressed in versions 6.8.0-1038.43, 6.8.0-1041.44, 6.8.0-1041.44.1, 6.8.0-1041.44~22.04.2, 6.8.0-1042.45~22.04.1
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1041.43~22.04.1
linux-raspi (Ubuntu package) - update to 6.8.0-1041.45
linux-azure-fips (Ubuntu package) - update to 6.8.0-1044.50+fips1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2032.33
linux-realtime (Ubuntu package) - addressed in versions 6.8.1-1036.37, 6.8.1-1036.37~22.04.1
linux-lowlatency (Ubuntu package) - addressed in versions 6.11.0-1015.16, 6.11.0-1015.16~24.04.2
linux-azure (Ubuntu package) - addressed in versions 6.11.0-1018.18, 6.11.0-1018.18~24.04.1, 6.14.0-1007.7
linux-oem-6.11 (Ubuntu package) - update to 6.11.0-1024.24
linux-aws (Ubuntu package) - addressed in versions 6.14.0-1007.7, 6.14.0-1007.7+1
linux (Debian package) - update to 6.1.135-1
kernel-debugsource - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
bpftool - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
bpftool-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-devel - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-headers - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-source - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-tools - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-tools-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-tools-devel - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
perf - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
perf-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
python3-perf - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
python3-perf-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-127.0.0.126
kernel-extra-modules - update to 6.6.0-127.0.0.126
linux (Ubuntu package) - addressed in versions 6.8.0-86.87, 6.8.0-86.87.1, 6.8.0-86.87.1~22.04.1, 6.8.0-1025.28, 6.8.0-1038.39, 6.8.0-1039.39, 6.8.0-1039.39~22.04.1, 6.8.0-1041.43~22.04.1, 6.8.0-1041.47+1, 6.8.0-1041.47~22.04.1, 6.8.0-1042.45, 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-hwe-6.8 (Ubuntu package) - update to 6.8.0-86.87~22.04.1
linux-azure-nvidia (Ubuntu package) - update to 6.8.0-1029.32
linux-oracle-6.8 (Ubuntu package) - update to 6.8.0-1038.39~22.04.1
linux-gcp-6.8 (Ubuntu package) - addressed in versions 6.8.0-1038.43, 6.8.0-1041.44, 6.8.0-1041.44.1, 6.8.0-1041.44~22.04.2, 6.8.0-1042.45~22.04.1
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1041.43~22.04.1
linux-raspi (Ubuntu package) - update to 6.8.0-1041.45
linux-azure-fips (Ubuntu package) - update to 6.8.0-1044.50+fips1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2032.33
linux-realtime (Ubuntu package) - addressed in versions 6.8.1-1036.37, 6.8.1-1036.37~22.04.1
linux-lowlatency (Ubuntu package) - addressed in versions 6.11.0-1015.16, 6.11.0-1015.16~24.04.2
linux-azure (Ubuntu package) - addressed in versions 6.11.0-1018.18, 6.11.0-1018.18~24.04.1, 6.14.0-1007.7
linux-oem-6.11 (Ubuntu package) - update to 6.11.0-1024.24
linux-aws (Ubuntu package) - addressed in versions 6.14.0-1007.7, 6.14.0-1007.7+1
External References
- https://git.kernel.org/stable/c/60b7207893a8a06c78441934931a08fdad63f18e
- https://git.kernel.org/stable/c/629dd37acc336ad778979361c351e782053ea284
- https://git.kernel.org/stable/c/800c482c9ef5910f05e3a713943c67cc6c1d4939
- https://git.kernel.org/stable/c/9a1b6ea955e6c7b29939a6d98701202f9d9644ec
- https://git.kernel.org/stable/c/a41cd52f00907a040ca22c73d4805bb79b0d0972
- https://git.kernel.org/stable/c/bab703ed8472aa9d109c5f8c1863921533363dae
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.134
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.23
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.13.11
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.14.2
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.87
Related Security Bulletins
- Input validation error in Linux kernel smb server
- Debian update for linux
- 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-realtime
- Ubuntu update for linux
- Ubuntu update for linux-gcp-6.8
- Ubuntu update for linux-hwe-6.8
- Ubuntu update for linux-oracle-6.8
- Ubuntu update for linux-aws-6.8
- Ubuntu update for linux-raspi-realtime
- Ubuntu update for linux-raspi
- Ubuntu update for linux-aws
- openEuler 24.03 LTS SP2 update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- openEuler 24.03 LTS update for kernel
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-azure-nvidia