CVE-2023-53429

Source
https://cve.org/CVERecord?id=CVE-2023-53429
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53429.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53429
Downstream
Related
Published
2025-09-18T16:04:10.298Z
Modified
2026-03-20T12:33:09.423716Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
btrfs: don't check PageError in __extent_writepage
Details

In the Linux kernel, the following vulnerability has been resolved:

btrfs: don't check PageError in _extentwritepage

_extentwritepage currenly sets PageError whenever any error happens, and the also checks for PageError to decide if to call error handling. This leads to very unclear responsibility for cleaning up on errors. In the VM and generic writeback helpers the basic idea is that once I/O is fired off all error handling responsibility is delegated to the end I/O handler. But if that end I/O handler sets the PageError bit, and the submitter checks it, the bit could in some cases leak into the submission context for fast enough I/O.

Fix this by simply not checking PageError and just using the local ret variable to check for submission errors. This also fundamentally solves the long problem documented in a comment in _extentwritepage by never leaking the error bit into the submission context.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53429.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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
61391d562229ed94899ed4b4973dc2f0c015292a
Fixed
d40be032ecd8ee1ca033bee43c7755d21fb4d72a
Fixed
3e92499e3b004baffb479d61e191b41b604ece9a

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53429.json"