# CVE-2024-43857: f2fs: fix null reference error when checking end of zone

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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 16% of CVEs (2026-11-30)
- Published: 2024-08-17T09:24:27.279Z
- Modified: 2026-06-17T07:51:51.057Z
- Weaknesses: CWE-476
- 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: fix null reference error when checking end of zone

This patch fixes a potentially null pointer being accessed by
is_end_zone_blkaddr() that checks the last block of a zone
when f2fs is mounted as a single device.

(As written by CVE List.)

## Affected

- Linux Linux: from e067dc3c6b9c419bac43c6a0be2d85f44681f863 before b98777309756ebe15cc9ad4e8ab64bbfaf878a3f; from e067dc3c6b9c419bac43c6a0be2d85f44681f863 before 381cbe85592c78fbaeb3e770e3e9f3bfa3e67efb; from e067dc3c6b9c419bac43c6a0be2d85f44681f863 before c82bc1ab2a8a5e73d9728e80c4c2ed87e8921a38; 6.5 (not affected: before 6.5; from 6.6.64 up to 6.6.*; from 6.10.3 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 6.5 before 6.10.3

## References

- <https://git.kernel.org/stable/c/b98777309756ebe15cc9ad4e8ab64bbfaf878a3f>
- <https://git.kernel.org/stable/c/381cbe85592c78fbaeb3e770e3e9f3bfa3e67efb> (patch)
- <https://git.kernel.org/stable/c/c82bc1ab2a8a5e73d9728e80c4c2ed87e8921a38> (patch)

## Sources

- CVE List: [CVE-2024-43857](https://www.cve.org/CVERecord?id=CVE-2024-43857), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-43857](https://nvd.nist.gov/vuln/detail/CVE-2024-43857), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43857 · Whole record: https://cve.day/CVE-2024-43857.json · Rebuilt by cve.day 2026-11-25T22:58:44.506Z
