# CVE-2023-53429: btrfs: don't check PageError in __extent_writepage

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-09-18T16:04:10.298Z
- Modified: 2026-10-03T11:17:27.770Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

btrfs: don't check PageError in __extent_writepage

__extent_writepage 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 __extent_writepage
by never leaking the error bit into the submission context.

(As written by CVE List.)

## Affected

- Linux Linux: from 61391d562229ed94899ed4b4973dc2f0c015292a before 3c26023365a955d2d69355f5167508a963e44333; from 61391d562229ed94899ed4b4973dc2f0c015292a before d40be032ecd8ee1ca033bee43c7755d21fb4d72a; from 61391d562229ed94899ed4b4973dc2f0c015292a before 3e92499e3b004baffb479d61e191b41b604ece9a; 3.16 (not affected: before 3.16; from 6.1.189 up to 6.1.*; from 6.4.7 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: before 6.4.7

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3c26023365a955d2d69355f5167508a963e44333>
- <https://git.kernel.org/stable/c/d40be032ecd8ee1ca033bee43c7755d21fb4d72a> (patch)
- <https://git.kernel.org/stable/c/3e92499e3b004baffb479d61e191b41b604ece9a> (patch)

## Sources

- CVE List: [CVE-2023-53429](https://www.cve.org/CVERecord?id=CVE-2023-53429), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2023-53429](https://nvd.nist.gov/vuln/detail/CVE-2023-53429), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2023-53429 · Whole record: https://cve.day/CVE-2023-53429.json · Rebuilt by cve.day 2026-11-25T22:58:34.878Z
