CVE-2022-50428
ext4: fix off-by-one errors in fast-commit block filling
Mitigation
- Upgrade Linux to 48a6a66db82b8043d298a630f22c62d43550cae5 or later.
Who should check
- Anyone running Linux >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 18f28f13301d1afb8cea9c4ddcecdbff14488ec6; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5ca65dffdead16572ca046c43fb576b227f7f635; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5439ad45c0d0c8db41eb6f4dce6f778f15a5ee16; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 48a6a66db82b8043d298a630f22c62d43550cae5
- Anyone running Linux 5.10
Vulnerability facts
- Affected
- Linux >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 18f28f13301d1afb8cea9c4ddcecdbff14488ec6; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5ca65dffdead16572ca046c43fb576b227f7f635; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5439ad45c0d0c8db41eb6f4dce6f778f15a5ee16; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 48a6a66db82b8043d298a630f22c62d43550cae5; Linux 5.10
- Fixed in
- Linux 18f28f13301d1afb8cea9c4ddcecdbff14488ec6, Linux 5ca65dffdead16572ca046c43fb576b227f7f635, Linux 5439ad45c0d0c8db41eb6f4dce6f778f15a5ee16, Linux 48a6a66db82b8043d298a630f22c62d43550cae5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-193
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix off-by-one errors in fast-commit block filling Due to several different off-by-one errors, or perhaps due to a late change in design that wasn't fully reflected in the code that was actually merged, there are several very strange constraints on how fast-commit blocks are filled with tlv entries: - tlvs must start at least 10 bytes before the end of the block, even though the minimum tlv length is 8. Otherwise, the replay code will ignore them. (BUG: ext4_fc_reserve_space() could violate this requirement if called with a len of blocksize - 9 or blocksize - 8. Fortunately, this doesn't seem to happen currently.) - tlvs must end at least 1 byte before the end of the block. Otherwise the replay code will consider them to be invalid. This quirk contributed to a bug (fixed by an earlier commit) where uninitialized memory was being leaked to disk in the last byte of blocks. Also, strangely these constraints don't apply to the replay code in e2fsprogs, which will accept any tlvs in the blocks (with no bounds checks at all, but that is a separate issue...). Given that this all seems to be a bug, let's fix it by just filling blocks with tlv entries in the natural way. Note that old kernels will be unable to replay fast-commit journals created by kernels that have this commit.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 18f28f13301d1afb8cea9c4ddcecdbff14488ec6; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5ca65dffdead16572ca046c43fb576b227f7f635; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5439ad45c0d0c8db41eb6f4dce6f778f15a5ee16; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 48a6a66db82b8043d298a630f22c62d43550cae5 | — | cvelist |
| Linux | 5.10 | — | 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-50428. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50428.md Affected: Linux >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 18f28f13301d1afb8cea9c4ddcecdbff14488ec6; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5ca65dffdead16572ca046c43fb576b227f7f635; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5439ad45c0d0c8db41eb6f4dce6f778f15a5ee16; >= aa75f4d3daaeb1389b9cce9… Fixed in: Linux 18f28f13301d1afb8cea9c4ddcecdbff14488ec6, Linux 5ca65dffdead16572ca046c43fb576b227f7f635, Linux 5439ad45c0d0c8db41eb6f4dce6f778f15a5ee16, Linux 48a6a66db82b8043d298a630f22c62d43550cae5 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-50428 being exploited?
There is no confirmed exploitation: CVE-2022-50428 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50428?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50428?
Linux >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 18f28f13301d1afb8cea9c4ddcecdbff14488ec6; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5ca65dffdead16572ca046c43fb576b227f7f635; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5439ad45c0d0c8db41eb6f4dce6f778f15a5ee16; >= aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 48a6a66db82b8043d298a630f22c62d43550cae5; Linux 5.10.
Is there a fix for CVE-2022-50428?
Yes. Fixed in Linux 18f28f13301d1afb8cea9c4ddcecdbff14488ec6, Linux 5ca65dffdead16572ca046c43fb576b227f7f635, Linux 5439ad45c0d0c8db41eb6f4dce6f778f15a5ee16, Linux 48a6a66db82b8043d298a630f22c62d43550cae5. Upgrade Linux to 48a6a66db82b8043d298a630f22c62d43550cae5 or later.
How do I check if I'm affected by CVE-2022-50428?
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.