CVE-2022-49348
publishedext4: filter out EXT4_FC_REPLAY from on-disk superblock field s_state
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < cc5b09cb6dacd4b32640537929ab4ee8fb2b9e04 · 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < b99fd73418350dea360da8311e87a6a7b0e15a4c · 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < af2f1932743fb52ebcb008ad7ac500d9df0aa796 · 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < 55b4dbb29054a05d839562f6d635ce05669b016d · 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < c878bea3c9d724ddfa05a813f30de3d25a0ba83f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.10 (affected) · 0 to < 5.10 (unaffected · semver) · 5.10.121 through 5.10.* (unaffected · semver) · 5.15.46 through 5.15.* (unaffected · semver) · 5.17.14 through 5.17.* (unaffected · semver) · 5.18.3 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2022-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolss390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfoaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfoppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfos390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfox86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-libsaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-libsppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-libsx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdumps390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdump-cores390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdump-debuginfos390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdump-devels390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdump-devel-matcheds390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdump-moduless390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdump-modules-extras390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | perfaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | perfppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | perfs390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | perfx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | perf-debuginfoaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | perf-debuginfoppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | perf-debuginfos390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | perf-debuginfox86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | python3-perfaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | python3-perfppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | python3-perfs390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < cc5b09cb6dacd4b32640537929ab4ee8fb2b9e04 (affected · git)8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < b99fd73418350dea360da8311e87a6a7b0e15a4c (affected · git)8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < af2f1932743fb52ebcb008ad7ac500d9df0aa796 (affected · git)8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < 55b4dbb29054a05d839562f6d635ce05669b016d (affected · git)8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < c878bea3c9d724ddfa05a813f30de3d25a0ba83f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.10 (affected)0 to < 5.10 (unaffected · semver)5.10.121 through 5.10.* (unaffected · semver)5.15.46 through 5.15.* (unaffected · semver)5.17.14 through 5.17.* (unaffected · semver)5.18.3 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/55b4dbb29054a05d839562f6d635ce05669b016d
- https://git.kernel.org/stable/c/af2f1932743fb52ebcb008ad7ac500d9df0aa796
- https://git.kernel.org/stable/c/b99fd73418350dea360da8311e87a6a7b0e15a4c
- https://git.kernel.org/stable/c/c878bea3c9d724ddfa05a813f30de3d25a0ba83f
- https://git.kernel.org/stable/c/cc5b09cb6dacd4b32640537929ab4ee8fb2b9e04
Provider assertions
1Linux · cna
ext4: filter out EXT4_FC_REPLAY from on-disk superblock field s_state
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9a470eabaa976ee3cef4cac0f8a526f404bd54fe019faeed48fa3ee36dc4eb2a
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record