Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-49849— btrfs: fix match incorrectly in dev_args_match_device

AI Predicted 5.5 Difficulty: Moderate EPSS 0.19% · P9

Possible ATT&CK Techniques 1AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 9

VendorProductVersion RangeStatus
LinuxLinux5578b681fbf2b22d61189a2539efd3009518b328< c9fe4719c662e0af17eea723cf345e37719fd3c9affected
562d7b1512f7369a19bca2883e2e8672d78f0481< bc6c127c377010f136360552ebf91c2723081c1baffected
562d7b1512f7369a19bca2883e2e8672d78f0481< 0fca385d6ebc3cabb20f67bcf8a71f1448bdc001affected
5.15.54< 5.15.79affected
5.16affected
< 5.16unaffected
5.15.79≤ 5.15.*unaffected
6.0.9≤ 6.0.*unaffected
… +1 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-49849

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
btrfs: fix match incorrectly in dev_args_match_device
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于btrfs驱动中dev_args_match_device函数对devid匹配不当,可能导致断言失败。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 5578b681fbf2b22d61189a2539efd3009518b328 ~ c9fe4719c662e0af17eea723cf345e37719fd3c9 -
LinuxLinux 5.16 -

II. Public POCs for CVE-2022-49849

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-49849

登录查看更多情报信息。

Patches & Fixes for CVE-2022-49849 (3)

Same Patch Batch · Linux · 2025-05-01 · 245 CVEs total

CVE-2025-377509.8 CRITICALsmb: client: fix UAF in decryption with multichannel
CVE-2025-377789.8 CRITICALksmbd: Fix dangling pointer in krb_authenticate
CVE-2022-497709.8 CRITICALceph: avoid putting the realm twice when decoding snaps fails
CVE-2022-499318.8 HIGHIB/hfi1: Correctly move list in sc_disable()
CVE-2025-377768.8 HIGHksmbd: fix use-after-free in smb_break_all_levII_oplock()
CVE-2025-377778.8 HIGHksmbd: fix use-after-free in __smb2_lease_break_noti()
CVE-2025-377908.8 HIGHnet: mctp: Set SOCK_RCU_FREE
CVE-2022-499108.8 HIGHBluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu
CVE-2022-498868.4 HIGHx86/tdx: Panic on bad configs that #VE on "private" memory access
CVE-2025-231598.4 HIGHmedia: venus: hfi: add a check to handle OOB in sfr region
CVE-2025-377498.2 HIGHnet: ppp: Add bound checking for skb data on ppp_sync_txmung
CVE-2025-377747.8 HIGHslab: ensure slab->obj_exts is clear in a newly allocated slab page
CVE-2025-377897.8 HIGHnet: openvswitch: fix nested key length validation in the set() action
CVE-2025-377797.8 HIGHlib/iov_iter: fix to increase non slab folio refcount
CVE-2022-499207.8 HIGHnetfilter: nf_tables: netlink notifier might race to release objects
CVE-2022-499197.8 HIGHnetfilter: nf_tables: release flow rule object from commit path
CVE-2025-377567.8 HIGHnet: tls: explicitly disallow disconnect
CVE-2025-377617.8 HIGHdrm/xe: Fix an out-of-bounds shift when invalidating TLB
CVE-2025-377637.8 HIGHdrm/imagination: take paired job reference
CVE-2025-231417.8 HIGHKVM: x86: Acquire SRCU in KVM_GET_MP_STATE to protect guest memory accesses

Showing top 20 of 245 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-49849

No comments yet


Leave a comment