CVE-2022-49849
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
5.15.54,
5.16
and later are affected. Fixed in
5.15.79,
6.0.9,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-49849 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0fca385d6ebc3cabb20f67bcf8a71f1448bdc001
-
PatchKernel patch commithttps://git.kernel.org/stable/c/bc6c127c377010f136360552ebf91c2723081c1b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/c9fe4719c662e0af17eea723cf345e37719fd3c9
Frequently asked questions
-
What is CVE-2022-49849?
CVE-2022-49849 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.15.54 onward and has been patched in 5.15.79, 6.0.9 and 6.1. CVE-2022-49849 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49849?
CVE-2022-49849 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49849?
Yes — CVE-2022-49849 has been patched. Fixed versions include 5.15.79, 6.0.9 and 6.1. If you are running Linux kernel 5.15.54 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49849 actively exploited?
No — CVE-2022-49849 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.