Skip to main content
Network Thinking Solutions Logo

CVE-2023-53270

In the Linux kernel, the following vulnerability has been resolved: ext4: fix i_disksize exceeding i_size problem in paritally written case It is possible for i_disksize can exceed i_size, triggering a warning.

All CVEs
CVE-2023-53270Published 9/16/2025

In the Linux kernel, the following vulnerability has been resolved: ext4: fix i_disksize exceeding i_size problem in paritally written case It is possible for i_disksize can exceed i_size, triggering a warning.

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: ext4: fix i_disksize exceeding i_size problem in paritally written case It is possible for i_disksize can exceed i_size, triggering a warning. generic_perform_write copied = iov_iter_copy_from_user_atomic(len) // copied < len ext4_da_write_end | ext4_update_i_disksize | new_i_size = pos + copied; | WRITE_ONCE(EXT4_I(inode)->i_disksize, newsize) // update i_disksize | generic_write_end | copied = block_write_end(copied, len) // copied = 0 | if (unlikely(copied < len)) | if (!PageUptodate(page)) | copied = 0; | if (pos + copied > inode->i_size) // return false if (unlikely(copied == 0)) goto again; if (unlikely(iov_iter_fault_in_readable(i, bytes))) { status = -EFAULT; break; } We get i_disksize greater than i_size here, which could trigger WARNING check 'i_size_read(inode) < EXT4_I(inode)->i_disksize' while doing dio: ext4_dio_write_iter iomap_dio_rw __iomap_dio_rw // return err, length is not aligned to 512 ext4_handle_inode_extension WARN_ON_ONCE(i_size_read(inode) < EXT4_I(inode)->i_disksize) // Oops WARNING: CPU: 2 PID: 2609 at fs/ext4/file.c:319 CPU: 2 PID: 2609 Comm: aa Not tainted 6.3.0-rc2 RIP: 0010:ext4_file_write_iter+0xbc7 Call Trace: vfs_write+0x3b1 ksys_write+0x77 do_syscall_64+0x39 Fix it by updating 'copied' value before updating i_disksize just like ext4_write_inline_data_end() does. A reproducer can be found in the buganizer link below.

Published
9/16/2025
Last modified
6/17/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
≥ 2.6.27, < 5.15.111

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.28

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.2.15

Verify advisory

Source
linux kernel
linux
≥ 6.3, < 6.3.2

Verify advisory

Source
Linux
Linux
≥ 64769240bd07f446f83660bb143bb609d8ab4910, < 18eb23891aeae3229baf8c7c23b76be3364e1967

Verify advisory

Source
Linux
Linux
≥ 64769240bd07f446f83660bb143bb609d8ab4910, < d30090eb546d993ea3f3023452540c476ea614a5

Verify advisory

Source
Linux
Linux
≥ 64769240bd07f446f83660bb143bb609d8ab4910, < 3ecea2fee14227712694c8b54ad99d471e61de92

Verify advisory

Source
Linux
Linux
≥ 64769240bd07f446f83660bb143bb609d8ab4910, < 53877ed201baa6b58f7ce9df92664a839113c30e

Verify advisory

Source
Linux
Linux
≥ 64769240bd07f446f83660bb143bb609d8ab4910, < 1dedde690303c05ef732b7c5c8356fdf60a4ade3

Verify advisory

Source
Linux
Linux
2.6.27

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.