CVE-2023-53081 Details
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.
A vulnerability in the Linux kernel's OCFS2 file system can lead to data corruption following a failed write operation. When a buffered write does not successfully transfer data to the underlying page cache, the function 'ocfs2_write_end_nolock()' improperly zeros out the page and marks it as dirty. This behavior can leave a dirty page extending beyond the end of the file. If the writeback process attempts to write this page before the write is completed and the file size is updated, the page can enter an inconsistent state. In this state, the page's dirty bit is cleared, but the buffer's dirty bits remain set, causing the data to be lost and not written out. The vulnerability has been addressed by invalidating the page beyond the end of the file after a write failure.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1629f6f522b2d058019710466a84b240683bbee3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/205759c6c18f54659b0b5976b14a52d1b3eb9f57 | kernel.org | Patch |
| https://git.kernel.org/stable/c/47eb055ad3588fc96d34e9e1dd87b210ce62906b | kernel.org | Patch |
| https://git.kernel.org/stable/c/4c24eb49ab44351424ac8fe8567f91ea48a06089 | kernel.org | Patch |
| https://git.kernel.org/stable/c/90410bcf873cf05f54a32183afff0161f44f9715 | kernel.org | Patch |
| https://git.kernel.org/stable/c/91d7a4bd5656552d6259e2d0f8859f9e8cc5ef68 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a9e53869cb43c96d6d851c491fd4e26430ab6ba6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c26f3ff4c0be590c1250f945ac2e4fc5fcdc5f45 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.9.242, < 4.10 >= 4.14.204, < 4.14.312 >= 4.19.155, < 4.19.280 >= 5.4.75, < 5.4.240 >= 5.9.5, < 5.10.177 >= 5.11, < 5.15.105 >= 5.16, < 6.1.21 >= 6.2, < 6.2.8 6.3 rc1 6.3 rc2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | Initial Analysis | [email protected] |
| May 2, 2025 | New CVE Received | kernel.org |