Skip to main content
Network Thinking Solutions Logo

CVE-2022-50428

Linux kernel: ext4: fix off-by-one errors in fast-commit block filling

All CVEs
CVE-2022-50428Published 10/1/2025

Linux kernel: ext4: fix off-by-one errors in fast-commit block filling

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
10/1/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.10, < 5.15.87

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.0.18

Verify advisory

Source
linux kernel
linux
≥ 6.1, < 6.1.4

Verify advisory

Source
Linux
Linux
≥ aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 18f28f13301d1afb8cea9c4ddcecdbff14488ec6

Verify advisory

Source
Linux
Linux
≥ aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5ca65dffdead16572ca046c43fb576b227f7f635

Verify advisory

Source
Linux
Linux
≥ aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 5439ad45c0d0c8db41eb6f4dce6f778f15a5ee16

Verify advisory

Source
Linux
Linux
≥ aa75f4d3daaeb1389b9cce9d6b84401eaf228d4e, < 48a6a66db82b8043d298a630f22c62d43550cae5

Verify advisory

Source
Linux
Linux
5.10

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.