CVE-2022-49274
ocfs2: fix crash when mount with quota enabled
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < 7c5312fdb1dcfdc1951b018669af88d5d6420b31; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < 01931e1c4e3de5d777253acae64c0e8fd071a1dd; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < eda31f77317647b9fbf889779ee1fb6907651865; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < de19433423c7bedabbd4f9a25f7dbc62c5e78921
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < 7c5312fdb1dcfdc1951b018669af88d5d6420b31; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < 01931e1c4e3de5d777253acae64c0e8fd071a1dd; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < eda31f77317647b9fbf889779ee1fb6907651865; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < de19433423c7bedabbd4f9a25f7dbc62c5e78921; Linux 5.15
- Fixed in
- Linux 7c5312fdb1dcfdc1951b018669af88d5d6420b31, Linux 01931e1c4e3de5d777253acae64c0e8fd071a1dd
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-908
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix crash when mount with quota enabled There is a reported crash when mounting ocfs2 with quota enabled. RIP: 0010:ocfs2_qinfo_lock_res_init+0x44/0x50 [ocfs2] Call Trace: ocfs2_local_read_info+0xb9/0x6f0 [ocfs2] dquot_load_quota_sb+0x216/0x470 dquot_load_quota_inode+0x85/0x100 ocfs2_enable_quotas+0xa0/0x1c0 [ocfs2] ocfs2_fill_super.cold+0xc8/0x1bf [ocfs2] mount_bdev+0x185/0x1b0 legacy_get_tree+0x27/0x40 vfs_get_tree+0x25/0xb0 path_mount+0x465/0xac0 __x64_sys_mount+0x103/0x140 It is caused by when initializing dqi_gqlock, the corresponding dqi_type and dqi_sb are not properly initialized. This issue is introduced by commit 6c85c2c72819, which wants to avoid accessing uninitialized variables in error cases. So make global quota info properly initialized.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < 7c5312fdb1dcfdc1951b018669af88d5d6420b31; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < 01931e1c4e3de5d777253acae64c0e8fd071a1dd; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < eda31f77317647b9fbf889779ee1fb6907651865; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < de19433423c7bedabbd4f9a25f7dbc62c5e78921 | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49274. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49274.md Affected: Linux >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < 7c5312fdb1dcfdc1951b018669af88d5d6420b31; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < 01931e1c4e3de5d777253acae64c0e8fd071a1dd; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < eda31f77317647b9fbf889779ee1fb6907651865; >= 6c85c2c728193d19d6a908a… Fixed in: Linux 7c5312fdb1dcfdc1951b018669af88d5d6420b31, Linux 01931e1c4e3de5d777253acae64c0e8fd071a1dd Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-49274 being exploited?
There is no confirmed exploitation: CVE-2022-49274 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49274?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2022-49274?
Linux >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < 7c5312fdb1dcfdc1951b018669af88d5d6420b31; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < 01931e1c4e3de5d777253acae64c0e8fd071a1dd; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < eda31f77317647b9fbf889779ee1fb6907651865; >= 6c85c2c728193d19d6a908ae9fb312d0325e65ca, < de19433423c7bedabbd4f9a25f7dbc62c5e78921; Linux 5.15.
Is there a fix for CVE-2022-49274?
Yes. Fixed in Linux 7c5312fdb1dcfdc1951b018669af88d5d6420b31, Linux 01931e1c4e3de5d777253acae64c0e8fd071a1dd. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49274?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.