In the Linux kernel, the following vulnerability has been resolved:
gfs2: Check sb_bsize_shift after reading superblock
Fuzzers like to scribble over sb_bsize_shift but in reality it's very unlikely that this field would be corrupted on its own. Nevertheless it should be checked to avoid the possibility of messy mount errors due to bad calculations. It's always a fixed value based on the block size so we can just check that it's the expected value.
Tested with:
mkfs.gfs2 -O -p lock_nolock /dev/vdb for i in 0 -1 64 65 32 33; do gfs2_edit -p sb field sb_bsize_shift $i /dev/vdb mount /dev/vdb /mnt/test && umount /mnt/test done
Before this patch we get a withdraw after
[ 76.413681] gfs2: fsid=loop0.0: fatal: invalid metadata block [ 76.413681] bh = 19 (type: exp=5, found=4) [ 76.413681] function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 492
and with UBSAN configured we also get complaints like
[ 76.373395] UBSAN: shift-out-of-bounds in fs/gfs2/ops_fstype.c:295:19 [ 76.373815] shift exponent 4294967287 is too large for 64-bit type 'long unsigned int'
After the patch, these complaints don't appear, mount fails immediately and we get an explanation in dmesg.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade python-perf-debuginfoUpgrade python-perfUpgrade kernel-livepatch-4.14.301-224.520Upgrade kernel-toolsUpgrade bpftool-debuginfoUpgrade kernel-headersUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-develUpgrade kernel-tools-develUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-tools-debuginfoUpgrade kernel-livepatch-5.10.157-139.675Upgrade bpftoolUpgrade kernelUpgrade perf-debuginfoUpgrade kernel-debuginfoUpgrade perf | Jun 23, 2025 | May 1, 2025 |
| Debian | — | Upgrade linux | May 5, 2025 | May 1, 2025 |
| Huawei Euleros 2_0_sp10 | — | Upgrade kernel-toolsUpgrade kernelUpgrade kernel-abi-stablelistsUpgrade python3-perfUpgrade kernel-tools-libs | Sep 15, 2025 | Sep 9, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | May 1, 2025 |
| Ubuntu | — | Upgrade linux-aws-5.4Upgrade linux-gcp-4.15Upgrade linux-azureUpgrade linux-awsUpgrade linux-azure-5.4Upgrade linux-azure-fdeUpgrade linux-azure-fipsUpgrade linuxUpgrade linux-intel-iotg-5.15Upgrade linux-hwe-5.15Upgrade linux-gcp-fipsUpgrade linux-hweUpgrade linux-lowlatencyUpgrade linux-azure-4.15Upgrade linux-hwe-5.4Upgrade linux-iotUpgrade linux-raspiUpgrade linux-ibm-5.4Upgrade linux-nvidia-tegra-5.15Upgrade linux-realtimeUpgrade linux-ibmUpgrade linux-bluefieldUpgrade linux-fipsUpgrade linux-aws-hweUpgrade linux-gcp-5.15Upgrade linux-aws-fipsUpgrade linux-intel-iot-realtimeUpgrade linux-oracle-5.15Upgrade linux-xilinx-zynqmpUpgrade linux-gcpUpgrade linux-nvidiaUpgrade linux-intel-iotgUpgrade linux-gcp-5.4Upgrade linux-lowlatency-hwe-5.15Upgrade linux-oracle-5.4Upgrade linux-riscv-5.15Upgrade linux-raspi-5.4Upgrade linux-azure-5.15Upgrade linux-kvmUpgrade linux-gkeopUpgrade linux-azure-fde-5.15Upgrade linux-oracleUpgrade linux-aws-5.15Upgrade linux-gke | May 6, 2025 | May 1, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | May 1, 2025 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub