CVEvulnerability

CVE-2023-53081

7.8 HIGH Published 2025-05-02 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-05-02
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-787

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 configurations

• linux linux kernel (>= 4.9.242 < 4.10) • linux linux kernel (>= 4.14.204 < 4.14.312) • linux linux kernel (>= 4.19.155 < 4.19.280) • linux linux kernel (>= 5.4.75 < 5.4.240) • linux linux kernel (>= 5.9.5 < 5.10.177) • linux linux kernel (>= 5.11 < 5.15.105) • linux linux kernel (>= 5.16 < 6.1.21) • linux linux kernel (>= 6.2 < 6.2.8) • linux linux kernel 6.3

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References