CVE-2022-49849
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
btrfs: fix match incorrectly in dev_args_match_device
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5578b681fbf2b22d61189a2539efd3009518b328 | affected | git | c9fe4719c662e0af17eea723cf345e37719fd3c9 | Unavailable | None listed |
| 562d7b1512f7369a19bca2883e2e8672d78f0481 | affected | git | bc6c127c377010f136360552ebf91c2723081c1b | Unavailable | None listed |
| 562d7b1512f7369a19bca2883e2e8672d78f0481 | affected | git | 0fca385d6ebc3cabb20f67bcf8a71f1448bdc001 | Unavailable | None listed |
| 5.15.54 | affected | semver | 5.15.79 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.16 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.16 | Unavailable | None listed |
| 5.15.79 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.0.9 | unaffected | semver | Unavailable | 6.0.* | None listed |
| 6.1 | unaffected | original_commit_for_fix | Unavailable | * | None listed |