CVE-2022-49348
Last modified
CVE-2022-49348 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: ext4: filter out EXT4_FC_REPLAY from on-disk superblock field s_state The EXT4_FC_REPLAY bit in sbi->s_mount_state is used to indicate that we are in the middle of replay the fast commit journal. This was actually a mistake, since the sbi->s_mount_info is initialized from es->s_state. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: filter out EXT4_FC_REPLAY from on-disk superblock field s_state The EXT4_FC_REPLAY bit in sbi->s_mount_state is used to indicate that we are in the middle of replay the fast commit journal. This was actually a mistake, since the sbi->s_mount_info is initialized from es->s_state. Arguably s_mount_state is misleadingly named, but the name is historical --- s_mount_state and s_state dates back to ext2. What should have been used is the ext4_{set,clear,test}_mount_flag() inline functions, which sets EXT4_MF_* bits in sbi->s_mount_flags. The problem with using EXT4_FC_REPLAY is that a maliciously corrupted superblock could result in EXT4_FC_REPLAY getting set in s_mount_state. This bypasses some sanity checks, and this can trigger a BUG() in ext4_es_cache_extent(). As a easy-to-backport-fix, filter out the EXT4_FC_REPLAY bit for now. We should eventually transition away from EXT4_FC_REPLAY to something like EXT4_MF_REPLAY.
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 |
|---|---|---|
| Linux | Linux Kernel | >= 5.10, < 5.10.121 |
| Linux | Linux Kernel | >= 5.11, < 5.15.46 |
| Linux | Linux Kernel | >= 5.16, < 5.17.14 |
| Linux | Linux Kernel | >= 5.18, < 5.18.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49348?
How severe is CVE-2022-49348?
How do I fix CVE-2022-49348?
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-49342In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49343In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49344In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-49345In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49346In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49347In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49349In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-4935The WCFM Marketplace plugin for WordPress is vulnerable to u…8.8
- CVE-2022-49350In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49351In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49352In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49353In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49348?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
