{"id":"CVE-2023-53081","summary":"ocfs2: fix data corruption after failed write","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: fix data corruption after failed write\n\nWhen buffered write fails to copy data into underlying page cache page,\nocfs2_write_end_nolock() just zeroes out and dirties the page.  This can\nleave dirty page beyond EOF and if page writeback tries to write this page\nbefore write succeeds and expands i_size, page gets into inconsistent\nstate where page dirty bit is clear but buffer dirty bits stay set\nresulting in page data never getting written and so data copied to the\npage is lost.  Fix the problem by invalidating page beyond EOF after\nfailed write.","modified":"2026-04-03T13:14:31.304426259Z","published":"2025-05-02T15:55:30.453Z","related":["SUSE-SU-2025:01918-1","SUSE-SU-2025:01966-1","SUSE-SU-2025:02173-1","SUSE-SU-2025:02262-1","SUSE-SU-2025:02334-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53081.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1629f6f522b2d058019710466a84b240683bbee3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/205759c6c18f54659b0b5976b14a52d1b3eb9f57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47eb055ad3588fc96d34e9e1dd87b210ce62906b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c24eb49ab44351424ac8fe8567f91ea48a06089"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90410bcf873cf05f54a32183afff0161f44f9715"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91d7a4bd5656552d6259e2d0f8859f9e8cc5ef68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9e53869cb43c96d6d851c491fd4e26430ab6ba6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c26f3ff4c0be590c1250f945ac2e4fc5fcdc5f45"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53081.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53081"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7ed80e77c908cbaa686529a49f8ae0060c5caee7"},{"fixed":"1629f6f522b2d058019710466a84b240683bbee3"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7ce2b16bad2cbfa3fa7bbc42c4448914f639ca47"},{"fixed":"c26f3ff4c0be590c1250f945ac2e4fc5fcdc5f45"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f8a6a2ed4b7d1c3c8631eeb6d00572bc853094a8"},{"fixed":"4c24eb49ab44351424ac8fe8567f91ea48a06089"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6dbf7bb555981fb5faf7b691e8f6169fc2b2e63b"},{"fixed":"91d7a4bd5656552d6259e2d0f8859f9e8cc5ef68"},{"fixed":"a9e53869cb43c96d6d851c491fd4e26430ab6ba6"},{"fixed":"47eb055ad3588fc96d34e9e1dd87b210ce62906b"},{"fixed":"205759c6c18f54659b0b5976b14a52d1b3eb9f57"},{"fixed":"90410bcf873cf05f54a32183afff0161f44f9715"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"acef5107e2eacb08a16ad5db60320d65bd26a6c0"},{"last_affected":"36ed9e604215f58cec0381ca5fcc6da05f2d87ca"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53081.json"}}],"schema_version":"1.7.5"}