CVE-2026-89835

f2fs: avoid NULL checkpoint thread access in sysfs

State
Published
Severity
Not scored
Published
Sep 16, 2026
Updated
Oct 30, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e65920661708b7c0f3db45c9cd5d0095034ee37f to before 54196bcfde998fb37009f50e0ef16498f651f0f9Affected
  • e65920661708b7c0f3db45c9cd5d0095034ee37f to before 22760e3e9cecbddc475edc91600787abf407a302Affected
  • e65920661708b7c0f3db45c9cd5d0095034ee37f to before a6573f3ffc19542de9ebc1a2b1f930fd48ba538cAffected
  • e65920661708b7c0f3db45c9cd5d0095034ee37f to before aefcec3bebdeed2bff444378122300763325ba23Affected
  • e65920661708b7c0f3db45c9cd5d0095034ee37f to before 8f3b99c50dd0da1777994ce7c7e60d39b9f60f4bAffected
  • e65920661708b7c0f3db45c9cd5d0095034ee37f to before 5cb33b00c8fbb6e8f1fa3d281c3036d5f7c7c41fAffected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.