In the Linux kernel, the following vulnerability has been resolved:
btrfs: fix match incorrectly in dev_args_match_device
syzkaller found a failed assertion:
assertion failed: (args->devid != (u64)-1) || args->missing, in fs/btrfs/volumes.c:6921
This can be triggered when we set devid to (u64)-1 by ioctl. In this case, the match of devid will be skipped and the match of device may succeed incorrectly.
Patch 562d7b1512f7 introduced this function which is used to match device. This function contains two matching scenarios, we can distinguish them by checking the value of args->missing rather than check whether args->devid and args->uuid is default value.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade kernel-toolsUpgrade perf-debuginfoUpgrade bpftoolUpgrade python-perfUpgrade kernel-tools-debuginfoUpgrade kernel-headersUpgrade kernel-debuginfo-common-x86_64Upgrade bpftool-debuginfoUpgrade python-perf-debuginfoUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-livepatch-5.15.79-51.138Upgrade kernel-develUpgrade kernelUpgrade perfUpgrade kernel-tools-develUpgrade kernel-debuginfo | Jun 23, 2025 | May 1, 2025 |
| Debian | — | Upgrade linux | May 5, 2025 | May 1, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | May 1, 2025 |
| Ubuntu | — | Upgrade linux-intel-iotgUpgrade linux-azureUpgrade linux-azure-5.15Upgrade linux-kvmUpgrade linux-oracle-5.15Upgrade linux-intel-iotg-5.15Upgrade linux-ibmUpgrade linux-gcp-5.15Upgrade linux-realtimeUpgrade linux-hwe-5.15Upgrade linux-gkeopUpgrade linux-oracleUpgrade linux-nvidiaUpgrade linux-raspiUpgrade linux-gcpUpgrade linux-lowlatency-hwe-5.15Upgrade linux-intel-iot-realtimeUpgrade linux-lowlatencyUpgrade linux-awsUpgrade linux-riscv-5.15Upgrade linux-gkeUpgrade linux-bluefieldUpgrade linuxUpgrade linux-nvidia-tegra-5.15Upgrade linux-aws-5.15 | May 8, 2025 | May 1, 2025 |
Prioritise with Active Threat Intelligence
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