CVE-2022-49849

Medium

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.

Package Linux Kernel
Published 2025-05-01
Last modified 2025-11-10
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
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.

Affected from
≥ 5.15.54 ≥ 5.16
Fixed in
✓ 5.15.79 5.15.x ✓ 6.0.9 6.0.x ✓ 6.1

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.

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.