一、 漏洞 CVE-2023-53081 基础信息
漏洞信息
                                        # ocfs2:修复写入失败后的数据损坏问题

## 概述
在Linux内核中修复了ocfs2导致的数据损坏问题。当缓冲写操作未能将数据复制到底层页面缓存页面时,`ocfs2_write_end_nolock()`会将页面零化并标记为脏页。这会导致脏页超出EOF,并在写入成功前产生不一致的状态,从而导致页面数据丢失。

## 细节
当缓冲写操作失败时,`ocfs2_write_end_nolock()`函数将页面零化并标记为脏页。然而,这可能会导致超出文件尾(EOF)的脏页,并在页面写入尝试过程中产生不一致状态。在这种状态下,页面脏位被清除,但缓冲区脏位仍然设置,导致页面数据永远不会被写入,最终丢失。

## 影响
修复此问题的方法是,在写入失败后,无效化超出文件尾的页面。这样可以防止页面数据丢失并保持文件系统的一致性。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
ocfs2: fix data corruption after failed write
来源:美国国家漏洞数据库 NVD
漏洞描述信息
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.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于ocfs2在写入失败后可能导致数据损坏。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2023-53081 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2023-53081 的情报信息