CVE-2023-53081

ocfs2: fix data corruption after failed write

HIGH
7.8
CVSS Score
Published: May 2, 2025 at 03:55 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix data corruption after failed write When buffered write fails to copy data into underlying page cache page, ocfs2_write_end_nolock() just zeroes out and dirties the page. This can leave dirty page beyond EOF and if page writeback tries to write this page before write succeeds and expands i_size, page gets into inconsistent state where page dirty bit is clear but buffer dirty bits stay set resulting in page data never getting written and so data copied to the page is lost. Fix the problem by invalidating page beyond EOF after failed write.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 4.9.242v ≥ 5.9.54.14.204 ≤ v < 4.14.3124.19.155 ≤ v < 4.19.2804.9.242 ≤ v < 4.105.10 ≤ v < 5.10.1775.10 ≤ v < 5.15.1055.10 ≤ v < 6.1.215.10 ≤ v < 6.2.85.10 ≤ v < 6.35.11 ≤ v < 5.15.1055.16 ≤ v < 6.1.215.4.75 ≤ v < 5.4.2405.9.5 ≤ v < 5.105.9.5 ≤ v < 5.10.1776.2 ≤ v < 6.2.836ed9e604215f58cec0381ca5fcc6da05f2d87ca4.14.2044.19.1554.9.2425.105.4.755.9.56.3 rc16.3 rc26dbf7bb555981fb5faf7b691e8f6169fc2b2e63b7ce2b16bad2cbfa3fa7bbc42c4448914f639ca477ed80e77c908cbaa686529a49f8ae0060c5caee7acef5107e2eacb08a16ad5db60320d65bd26a6c0f8a6a2ed4b7d1c3c8631eeb6d00572bc853094a8
Vendor states this is fixed in 1629f6f522b2d058019710466a84b240683bbee3 (fixed)
Vendor states this is fixed in 205759c6c18f54659b0b5976b14a52d1b3eb9f57 (fixed)
Vendor states this is fixed in 47eb055ad3588fc96d34e9e1dd87b210ce62906b (fixed)
Vendor states this is fixed in 4c24eb49ab44351424ac8fe8567f91ea48a06089 (fixed)
Vendor states this is fixed in 90410bcf873cf05f54a32183afff0161f44f9715 (fixed)
Vendor states this is fixed in 91d7a4bd5656552d6259e2d0f8859f9e8cc5ef68 (fixed)
Vendor states this is fixed in a9e53869cb43c96d6d851c491fd4e26430ab6ba6 (fixed)
Vendor states this is fixed in c26f3ff4c0be590c1250f945ac2e4fc5fcdc5f45 (fixed)
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.14.312 (unaffected)
Vendor states this is fixed in 4.19.280 (unaffected)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.177 (unaffected)
Vendor states this is fixed in 5.15.105 (unaffected)
Vendor states this is fixed in 5.4.240 (unaffected)
Vendor states this is fixed in 6.1.21 (unaffected)
Vendor states this is fixed in 6.2.8 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1629f6f522b2d058019710466a84b240683bbee3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/205759c6c18f54659b0b5976b14a52d1b3eb9f57
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/47eb055ad3588fc96d34e9e1dd87b210ce62906b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4c24eb49ab44351424ac8fe8567f91ea48a06089
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/90410bcf873cf05f54a32183afff0161f44f9715
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/91d7a4bd5656552d6259e2d0f8859f9e8cc5ef68
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9e53869cb43c96d6d851c491fd4e26430ab6ba6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c26f3ff4c0be590c1250f945ac2e4fc5fcdc5f45

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card