Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-53270

MEDIUM 5.5EPSS 8%

ext4: fix i_disksize exceeding i_size problem in paritally written case

Mitigation

  • Upgrade Linux to 1dedde690303c05ef732b7c5c8356fdf60a4ade3 or later.

Who should check

  • Anyone running Linux >= 64769240bd07f446f83660bb143bb609d8ab4910, < 18eb23891aeae3229baf8c7c23b76be3364e1967; >= 64769240bd07f446f83660bb143bb609d8ab4910, < d30090eb546d993ea3f3023452540c476ea614a5; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 3ecea2fee14227712694c8b54ad99d471e61de92; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 53877ed201baa6b58f7ce9df92664a839113c30e; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 1dedde690303c05ef732b7c5c8356fdf60a4ade3
  • Anyone running Linux 2.6.27

Vulnerability facts

Affected
Linux >= 64769240bd07f446f83660bb143bb609d8ab4910, < 18eb23891aeae3229baf8c7c23b76be3364e1967; >= 64769240bd07f446f83660bb143bb609d8ab4910, < d30090eb546d993ea3f3023452540c476ea614a5; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 3ecea2fee14227712694c8b54ad99d471e61de92; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 53877ed201baa6b58f7ce9df92664a839113c30e; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 1dedde690303c05ef732b7c5c8356fdf60a4ade3; Linux 2.6.27
Fixed in
Linux 18eb23891aeae3229baf8c7c23b76be3364e1967, Linux 3ecea2fee14227712694c8b54ad99d471e61de92, Linux 53877ed201baa6b58f7ce9df92664a839113c30e, Linux 1dedde690303c05ef732b7c5c8356fdf60a4ade3
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, CNA)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.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 64769240bd07f446f83660bb143bb609d8ab4910, < 18eb23891aeae3229baf8c7c23b76be3364e1967; >= 64769240bd07f446f83660bb143bb609d8ab4910, < d30090eb546d993ea3f3023452540c476ea614a5; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 3ecea2fee14227712694c8b54ad99d471e61de92; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 53877ed201baa6b58f7ce9df92664a839113c30e; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 1dedde690303c05ef732b7c5c8356fdf60a4ade3—cvelist
Linux2.6.27—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-2023-53270. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53270.md
Affected: Linux >= 64769240bd07f446f83660bb143bb609d8ab4910, < 18eb23891aeae3229baf8c7c23b76be3364e1967; >= 64769240bd07f446f83660bb143bb609d8ab4910, < d30090eb546d993ea3f3023452540c476ea614a5; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 3ecea2fee14227712694c8b54ad99d471e61de92; >= 64769240bd07f446f83660b…
Fixed in: Linux 18eb23891aeae3229baf8c7c23b76be3364e1967, Linux 3ecea2fee14227712694c8b54ad99d471e61de92, Linux 53877ed201baa6b58f7ce9df92664a839113c30e, Linux 1dedde690303c05ef732b7c5c8356fdf60a4ade3

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-2023-53270 being exploited?

There is no confirmed exploitation: CVE-2023-53270 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-53270?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-53270?

Linux >= 64769240bd07f446f83660bb143bb609d8ab4910, < 18eb23891aeae3229baf8c7c23b76be3364e1967; >= 64769240bd07f446f83660bb143bb609d8ab4910, < d30090eb546d993ea3f3023452540c476ea614a5; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 3ecea2fee14227712694c8b54ad99d471e61de92; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 53877ed201baa6b58f7ce9df92664a839113c30e; >= 64769240bd07f446f83660bb143bb609d8ab4910, < 1dedde690303c05ef732b7c5c8356fdf60a4ade3; Linux 2.6.27.

Is there a fix for CVE-2023-53270?

Yes. Fixed in Linux 18eb23891aeae3229baf8c7c23b76be3364e1967, Linux 3ecea2fee14227712694c8b54ad99d471e61de92, Linux 53877ed201baa6b58f7ce9df92664a839113c30e, Linux 1dedde690303c05ef732b7c5c8356fdf60a4ade3. Upgrade Linux to 1dedde690303c05ef732b7c5c8356fdf60a4ade3 or later.

How do I check if I'm affected by CVE-2023-53270?

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.

Sponsors