CVE-2022-49849
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
01/05/2025
Last modified:
10/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
btrfs: fix match incorrectly in dev_args_match_device<br />
<br />
syzkaller found a failed assertion:<br />
<br />
assertion failed: (args->devid != (u64)-1) || args->missing, in fs/btrfs/volumes.c:6921<br />
<br />
This can be triggered when we set devid to (u64)-1 by ioctl. In this<br />
case, the match of devid will be skipped and the match of device may<br />
succeed incorrectly.<br />
<br />
Patch 562d7b1512f7 introduced this function which is used to match device.<br />
This function contains two matching scenarios, we can distinguish them by<br />
checking the value of args->missing rather than check whether args->devid<br />
and args->uuid is default value.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15.54 (including) | 5.15.79 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.0.9 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



