# CVE-2023-52436: f2fs: explicitly null-terminate the xattr list

- 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.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2024-02-20T18:34:47.387Z
- Modified: 2026-08-15T13:17:39.870Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

f2fs: explicitly null-terminate the xattr list

When setting an xattr, explicitly null-terminate the xattr list.  This
eliminates the fragile assumption that the unused xattr space is always
zeroed.

(As written by CVE List.)

## Affected

- Linux Linux: from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da before 16ae3132ff7746894894927c1892493693b89135; from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da before 12cf91e23b126718a96b914f949f2cdfeadc7b2a; from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da before 3e47740091b05ac8d7836a33afd8646b6863ca52; from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da before 32a6cfc67675ee96fe107aeed5af9776fec63f11; from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da before 5de9e9dd1828db9b8b962f7ca42548bd596deb8a; from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da before 2525d1ba225b5c167162fa344013c408e8b4de36; from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da before f6c30bfe5a49bc38cae985083a11016800708fea; from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da before e26b6d39270f5eab0087453d9b544189a38c8564; 3.8 (not affected: before 3.8; from 4.19.306 up to 4.19.*; from 5.4.268 up to 5.4.*; from 5.10.209 up to 5.10.*; from 5.15.148 up to 5.15.*; from 6.1.74 up to 6.1.*; from 6.6.13 up to 6.6.*; from 6.7.1 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: before 4.19.306; from 4.20.0 before 5.4.268; from 5.5.0 before 5.10.209; from 5.11.0 before 5.15.148; from 5.16.0 before 6.1.74; from 6.2.0 before 6.6.13; from 6.7.0 before 6.7.1

## 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`
- NVD: 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`

## References

- <https://git.kernel.org/stable/c/16ae3132ff7746894894927c1892493693b89135> (patch)
- <https://git.kernel.org/stable/c/12cf91e23b126718a96b914f949f2cdfeadc7b2a> (patch)
- <https://git.kernel.org/stable/c/3e47740091b05ac8d7836a33afd8646b6863ca52> (patch)
- <https://git.kernel.org/stable/c/32a6cfc67675ee96fe107aeed5af9776fec63f11> (patch)
- <https://git.kernel.org/stable/c/5de9e9dd1828db9b8b962f7ca42548bd596deb8a> (patch)
- <https://git.kernel.org/stable/c/2525d1ba225b5c167162fa344013c408e8b4de36> (patch)
- <https://git.kernel.org/stable/c/f6c30bfe5a49bc38cae985083a11016800708fea> (patch)
- <https://git.kernel.org/stable/c/e26b6d39270f5eab0087453d9b544189a38c8564> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>

## Sources

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

---

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