# CVE-2026-89835: f2fs: avoid NULL checkpoint thread access in sysfs

- Severity: not scored yet
- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:08.636Z
- Modified: 2026-10-30T13:20:30.740Z
- Assigned by: Linux

## Description

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

f2fs: avoid NULL checkpoint thread access in sysfs

checkpoint_merge can be enabled even when no checkpoint merge thread is
running. A read-only mount is one case: f2fs does not start
f2fs_issue_ckpt there, but ckpt_thread_ioprio is still writable through
sysfs.

The ckpt_thread_ioprio store path updates the saved ioprio value and,
when checkpoint_merge is enabled, calls set_task_ioprio() for the
checkpoint thread. If cprc->f2fs_issue_ckpt is NULL, that dereferences a
NULL task pointer.

Protect ckpt_thread_ioprio sysfs writes with s_umount as well, so the
checkpoint thread cannot disappear under the store path while updating
its ioprio.

(As written by CVE List.)

## Affected

- Linux Linux: from e65920661708b7c0f3db45c9cd5d0095034ee37f before 54196bcfde998fb37009f50e0ef16498f651f0f9; from e65920661708b7c0f3db45c9cd5d0095034ee37f before 22760e3e9cecbddc475edc91600787abf407a302; from e65920661708b7c0f3db45c9cd5d0095034ee37f before a6573f3ffc19542de9ebc1a2b1f930fd48ba538c; from e65920661708b7c0f3db45c9cd5d0095034ee37f before aefcec3bebdeed2bff444378122300763325ba23; from e65920661708b7c0f3db45c9cd5d0095034ee37f before 8f3b99c50dd0da1777994ce7c7e60d39b9f60f4b; from e65920661708b7c0f3db45c9cd5d0095034ee37f before 5cb33b00c8fbb6e8f1fa3d281c3036d5f7c7c41f; 5.12 (not affected: before 5.12; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/54196bcfde998fb37009f50e0ef16498f651f0f9>
- <https://git.kernel.org/stable/c/22760e3e9cecbddc475edc91600787abf407a302>
- <https://git.kernel.org/stable/c/a6573f3ffc19542de9ebc1a2b1f930fd48ba538c>
- <https://git.kernel.org/stable/c/aefcec3bebdeed2bff444378122300763325ba23>
- <https://git.kernel.org/stable/c/8f3b99c50dd0da1777994ce7c7e60d39b9f60f4b>
- <https://git.kernel.org/stable/c/5cb33b00c8fbb6e8f1fa3d281c3036d5f7c7c41f>

## Sources

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

---

Page: https://cve.day/CVE-2026-89835 · Whole record: https://cve.day/CVE-2026-89835.json · Rebuilt by cve.day 2026-11-25T22:59:38.951Z
