CVE-2023-53101

linux: In the Linux kernel, the following vulnerability has been resolved: ext4: zero i_disksize when initializing the boot...

CVE-2023-53101 is fixed in 20 products on 1 platform, first by ALAS2023-2023-148, released March 30, 2023. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0020
10th percentile

In the Linux kernel, the following vulnerability has been resolved: ext4: zero i_disksize when initializing the bootloader inode If the boot loader inode has never been used before, the EXT4_IOC_SWAP_BOOT inode will initialize it, including setting the i_size to 0. However, if the "never before used" boot loader has a non-zero i_size, then i_disksize will be non-zero, and the inconsistency between i_size and i_disksize can trigger a kernel warning: WARNING: CPU: 0 PID: 2580 at fs/ext4/file.c:319 CPU: 0 PID: 2580 Comm: bb Not tainted 6.3.0-rc1-00004-g703695902cfa RIP: 0010:ext4_file_write_iter+0xbc7/0xd10 Call Trace: vfs_write+0x3b1/0x5c0 ksys_write+0x77/0x160 __x64_sys_write+0x22/0x30 do_syscall_64+0x39/0x80 Reproducer: 1. create corrupted image and mount it: mke2fs -t ext4 /tmp/foo.img 200 debugfs -wR "sif <5> size 25700" /tmp/foo.img mount -t ext4 /tmp/foo.img /mnt cd /mnt echo 123 > file 2. Run the reproducer program: posix_memalign(&buf, 1024, 1024) fd = open("file", O_RDWR | O_DIRECT); ioctl(fd, EXT4_IOC_SWAP_BOOT); write(fd, buf, 1024); Fix this by setting i_disksize as well as i_size to zero when initiaizing the boot loader inode.

Where it's fixed

ProductFixed inFixReleased
Linux
bpftool · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
bpftool-debuginfo · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-debuginfo · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-debuginfo-common-aarch64 · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-debuginfo-common-x86_64 · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-devel · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-headers · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-libbpf · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-libbpf-devel · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-libbpf-static · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-livepatch-6.1.21-1.45 · amzn 2023 1.0-0.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-tools · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-tools-debuginfo · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
kernel-tools-devel · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
linux · Debian 12.15 (bookworm) 6.1.20-1 DEBIAN-CVE-2023-53101 May 2, 2025
linux · Debian 13.5 (trixie) 6.1.20-1 DEBIAN-CVE-2023-53101 May 2, 2025
linux · Debian 14 6.1.20-1 DEBIAN-CVE-2023-53101 May 2, 2025
perf · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
perf-debuginfo · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
python3-perf · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023
python3-perf-debuginfo · amzn 2023 6.1.21-1.45.amzn2023 ALAS2023-2023-148 Mar 30, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.