Out-of-bounds read in Linux kernel - CVE-2026-31708
Published: May 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to an out-of-bounds read in smb2_ioctl_query_info() when processing a crafted QUERY_INFO response from an SMB server. A remote attacker can return a malformed response with an OutputBufferLength larger than the actual response buffer to disclose sensitive information.
Affected software
openEuler
Ubuntu
Anolis OS
bpftool
kernel
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
kernel-tools
kernel-extra-modules
kernel-debug
kernel-debug-devel
kernel-tools-libs
kernel-tools-libs-devel
linux (Ubuntu package)
linux-fips (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle-6.8 (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-aws (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-azure-fde-6.8 (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-raspi (Ubuntu package)
How to mitigate CVE-2026-31708
bpftool - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
kernel - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
python3-perf-debuginfo - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
python3-perf - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
perf-debuginfo - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
perf - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
kernel-tools-devel - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
kernel-tools-debuginfo - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
kernel-source - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
kernel-headers - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
kernel-devel - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
kernel-debugsource - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
kernel-debuginfo - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
bpftool-debuginfo - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
kernel-tools - addressed in versions 5.10.0-315.0.0.218, 6.6.0-145.1.14.152, 6.6.0-145.3.14.145
kernel-extra-modules - update to 6.6.0-145.3.14.145
bpftool - update to 6.6.102-6
kernel - update to 6.6.102-6
kernel-debug - update to 6.6.102-6
kernel-debug-devel - update to 6.6.102-6
kernel-devel - update to 6.6.102-6
kernel-headers - update to 6.6.102-6
kernel-tools - update to 6.6.102-6
kernel-tools-libs - update to 6.6.102-6
kernel-tools-libs-devel - update to 6.6.102-6
perf - update to 6.6.102-6
python3-perf - update to 6.6.102-6
linux (Ubuntu package) - addressed in versions 6.8.0-136.136, 6.8.0-1046.50, 6.8.0-1059.67, 6.8.0-1064.72, 6.8.0-1064.72~22.04.1, 6.8.1-1056.57, 6.8.1-1056.57~22.04.2, 7.0.0-27.27
linux-fips (Ubuntu package) - addressed in versions 6.8.0-136.136+fips2, 6.8.0-136.136.2, 6.8.0-136.136.2~22.04.1, 6.8.0-1058.61
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-136.136~22.04.1
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-1030.31, 6.8.0-1033.34, 6.8.0-1061.62, 6.8.0-1061.62~22.04.1
linux-oracle-6.8 (Ubuntu package) - update to 6.8.0-1058.61~22.04.1
linux-nvidia (Ubuntu package) - addressed in versions 6.8.0-1059.62, 6.8.0-1059.62.1, 6.8.0-1059.62~22.04.1, 7.0.0-1013.13
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1061.64+fips1, 6.8.0-1061.64~22.04.1
linux-aws (Ubuntu package) - update to 6.8.0-1061.64+1
linux-azure-fde (Ubuntu package) - update to 6.8.0-1062.69
linux-azure-fde-6.8 (Ubuntu package) - update to 6.8.0-1062.69~22.04.1
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1063.71, 6.8.0-1063.71~22.04.1, 7.0.0-1009.9, 7.0.0-1010.10
linux-azure-fips (Ubuntu package) - update to 6.8.0-1063.71+fips2
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1064.72+fips1
linux-raspi (Ubuntu package) - update to 7.0.0-1014.14
External References
- https://git.kernel.org/stable/c/078fae8f50adebb903ccf2252b44391324571e78
- https://git.kernel.org/stable/c/85fd46ee26a11841c670449508025965f61ce131
- https://git.kernel.org/stable/c/a34d456934fe42e4da5d2cc07787bf418bee99c6
- https://git.kernel.org/stable/c/a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e
- https://git.kernel.org/stable/c/ac2f14e4705d020f04e806efa0d49ab8dc2b145f
Related Security Bulletins
- Out-of-bounds read in Linux kernel smb client
- openEuler 22.03 LTS SP4 update for kernel
- openEuler 24.03 LTS SP3 update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- Ubuntu update for linux
- Ubuntu update for linux-raspi
- Ubuntu update for linux-nvidia
- Ubuntu update for linux
- Ubuntu update for linux-gcp-fips
- Ubuntu update for linux-oracle-6.8
- Ubuntu update for linux-fips
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-azure
- Ubuntu update for linux-azure-fde-6.8
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-azure-fde
- Ubuntu update for linux-azure
- Ubuntu update for linux-aws
- Ubuntu update for linux-hwe-6.8
- Ubuntu update for linux-aws-6.8
- Ubuntu update for linux-ibm
- Anolis OS update for kernel:6.6