CVE-2022-49849
Last modified
CVE-2022-49849 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.15.54, < 5.15.79 | — |
| Linux | Linux Kernel | >= 5.16, < 6.0.9 | — |
| Linux | Linux Kernel | 6.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49849?
How severe is CVE-2022-49849?
How do I fix CVE-2022-49849?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49843Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-49844In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49845In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49846In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49847In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49848In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4985Vodafone H500s devices running firmware v3.5.10 (hardware mo…8.7
- CVE-2022-49850In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49851In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49852In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49853In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49854In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49849?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
