Kernel Kit / Infix / v26.10.0latest
CVE-2026-100073
5.5mediumlinux6.18.60 · 6.18.54 · 6.18.8in 3 of 4 releases
Reach linux · 6 builds in 3 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
ext4: fix transaction overflow during writeback
Commit 95ad8ee45cdb ("ext4: correct the reserved credits for extent conversion") was correct to note that we need to reserve enough credits for all extents possibly underlying a large folio. However it was too eager to reduce the number of reserved credits. Extent conversion may not only need to touch several leaf extent blocks, it may also need to split extents - for example a single large unwritten extent may need to be split into many small written ones in case of sparse folio dirtying. This can thus result not only in extent leaf modifications but also in a need to allocate new extent tree nodes. As a result the reserved transaction credits were not sufficient in some corner cases. Use ext4_meta_trans_blocks() for correct upper bound credit estimate.
Published 2026-09-25NVD
CVSS 3.1Local · low privileges · no user interaction
How it is reached
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fable 5.1 · high confidence · 2026-11-06
The configured linux-6.18.60 source still contains the pre-fix credit reservation in ext4_do_writepages() (rsv_blocks = 1 + ext4_ext_index_trans_blocks(inode, bpf), the under-estimate introduced by 95ad8ee45cdb); the fix (switch to ext4_meta_trans_blocks()) is not present and none of the 139 applied Buildroot patches touch ext4.
ext4 is built in (CONFIG_EXT4_FS=y) and the writeback path is active in the factory-default image: the cfg/var partitions are ext4 (fstab, provisioning script) and are mounted at boot by /usr/libexec/infix/mnt as the backing store for /cfg, /etc, /home, /root and /var; dioread_nolock (the condition for this reservation) is the ext4 default when blocksize <= PAGE_SIZE.
Any dirty-page writeback to persistent storage (config save, logs, SSH file uploads, container images) exercises the affected function; impact is a local DoS (journal transaction overflow / filesystem error), not remote code execution.
Evidence 10
ext4_do_writepages() still reserves `rsv_blocks = 1 + ext4_ext_index_trans_blocks(inode, bpf)` under dioread_nolock — the vulnerable under-estimate; the fix's ext4_meta_trans_blocks() call is absent here (only used at :3732 for DIO).
output/build/linux-6.18.60/fs/ext4/inode.c:2860-2867
Kernel is 6.18.60, within the affected range (fix landed in a later stable release).
output/build/linux-6.18.60/Makefile:2-4
139 patches applied; none mention ext4, writeback or credits — no out-of-tree backport of the fix.
output/build/linux-6.18.60/.applied_patches_list
CONFIG_EXT4_FS=y — ext4 compiled into the kernel image.
output/build/linux-6.18.60/.config:7175
fs/ext4/inode.c, the affected file, was compiled.
output/objects.txt (fs/ext4/inode.o)
DIOREAD_NOLOCK is set by default when s_blocksize <= PAGE_SIZE, so the vulnerable reservation branch runs on default-mounted ext4.
output/build/linux-6.18.60/fs/ext4/super.c:4405-4406
LABEL=var and LABEL=cfg are ext4 mounts; /usr/libexec/infix/mnt helper is run from fstab at boot.
board/common/image/image-itb-rootfs/rootfs/etc/fstab:12-13,15
At boot, mounts aux/cfg/var partitions and uses them as overlay backing for /cfg, /etc, /home, /root, /var — ext4 writeback runs in factory-default operation.
board/common/image/image-itb-rootfs/rootfs/usr/libexec/infix/mnt:2-11,273-295,349-354
Devices are provisioned with mkfs.ext4 for aux, cfg and var partitions.
board/common/rootfs/usr/libexec/infix/prod/provision:77-82
Shipped disk images carry cfg.ext4 and var.ext4 filesystems.
board/aarch64/raspberrypi-rpi64/genimage.cfg.in:11-32
Version and patches
Affected: kernels containing 95ad8ee45cdb ("ext4: correct the reserved credits for extent conversion") without the fix "ext4: fix transaction overflow during writeback" (stable refs 46e8e317… / a22464c5…). This tree is 6.18.60 with the vulnerable hunk at fs/ext4/inode.c:2866 and no applied patch or stable backport providing the fix.
Recommendation
Upgrade to the 6.18.y stable release that includes the fix (or backport "ext4: fix transaction overflow during writeback", which only changes the rsv_blocks computation in ext4_do_writepages()). Severity is local DoS (CVSS 5.5, A:H); prioritise as a normal stable bump rather than emergency.
Open questions
Exact first fixed 6.18.y version could not be confirmed offline (no git history for the kernel tarball in this tree). Triggering requires sparse dirtying of large folios over unwritten extents; whether workloads on an Infix device realistically hit the corner case was not assessed, but the code path itself runs by default.
Members of Kernel Kit decide. Sign in if you are one.