Bug 2363702 (CVE-2023-53081) - CVE-2023-53081 kernel: ocfs2: fix data corruption after failed write
Summary: CVE-2023-53081 kernel: ocfs2: fix data corruption after failed write
Keywords:
Status: NEW
Alias: CVE-2023-53081
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-02 16:02 UTC by OSIDB Bzimport
Modified: 2025-05-05 05:35 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-02 16:02:21 UTC
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.

Comment 1 Avinash Hanwate 2025-05-05 05:31:08 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050217-CVE-2023-53081-f8a2@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.