{"id":"CVE-2026-89835","aliases":["CVE-2026-89835"],"related":[],"kind":"vulnerability","state":"published","title":"f2fs: avoid NULL checkpoint thread access in sysfs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: avoid NULL checkpoint thread access in sysfs\n\ncheckpoint_merge can be enabled even when no checkpoint merge thread is\nrunning. A read-only mount is one case: f2fs does not start\nf2fs_issue_ckpt there, but ckpt_thread_ioprio is still writable through\nsysfs.\n\nThe ckpt_thread_ioprio store path updates the saved ioprio value and,\nwhen checkpoint_merge is enabled, calls set_task_ioprio() for the\ncheckpoint thread. If cprc->f2fs_issue_ckpt is NULL, that dereferences a\nNULL task pointer.\n\nProtect ckpt_thread_ioprio sysfs writes with s_umount as well, so the\ncheckpoint thread cannot disappear under the store path while updating\nits ioprio.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: avoid NULL checkpoint thread access in sysfs\n\ncheckpoint_merge can be enabled even when no checkpoint merge thread is\nrunning. A read-only mount is one case: f2fs does not start\nf2fs_issue_ckpt there, but ckpt_thread_ioprio is still writable through\nsysfs.\n\nThe ckpt_thread_ioprio store path updates the saved ioprio value and,\nwhen checkpoint_merge is enabled, calls set_task_ioprio() for the\ncheckpoint thread. If cprc->f2fs_issue_ckpt is NULL, that dereferences a\nNULL task pointer.\n\nProtect ckpt_thread_ioprio sysfs writes with s_umount as well, so the\ncheckpoint thread cannot disappear under the store path while updating\nits ioprio.","source":"cvelist"}],"published":"2026-09-16T10:31:08.636Z","modified":"2026-10-30T13:20:30.740Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e65920661708b7c0f3db45c9cd5d0095034ee37f","fixed":"54196bcfde998fb37009f50e0ef16498f651f0f9","status":"affected"},{"type":"git","introduced":"e65920661708b7c0f3db45c9cd5d0095034ee37f","fixed":"22760e3e9cecbddc475edc91600787abf407a302","status":"affected"},{"type":"git","introduced":"e65920661708b7c0f3db45c9cd5d0095034ee37f","fixed":"a6573f3ffc19542de9ebc1a2b1f930fd48ba538c","status":"affected"},{"type":"git","introduced":"e65920661708b7c0f3db45c9cd5d0095034ee37f","fixed":"aefcec3bebdeed2bff444378122300763325ba23","status":"affected"},{"type":"git","introduced":"e65920661708b7c0f3db45c9cd5d0095034ee37f","fixed":"8f3b99c50dd0da1777994ce7c7e60d39b9f60f4b","status":"affected"},{"type":"git","introduced":"e65920661708b7c0f3db45c9cd5d0095034ee37f","fixed":"5cb33b00c8fbb6e8f1fa3d281c3036d5f7c7c41f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/54196bcfde998fb37009f50e0ef16498f651f0f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22760e3e9cecbddc475edc91600787abf407a302","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6573f3ffc19542de9ebc1a2b1f930fd48ba538c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aefcec3bebdeed2bff444378122300763325ba23","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f3b99c50dd0da1777994ce7c7e60d39b9f60f4b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5cb33b00c8fbb6e8f1fa3d281c3036d5f7c7c41f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89835","url":"https://www.cve.org/CVERecord?id=CVE-2026-89835","licence":"CVE Terms of Use","modified":"2026-10-30T12:33:14.173Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89835","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89835","licence":"Public domain","modified":"2026-10-30T13:20:30.740Z"}],"updatedAt":"2026-11-25T22:59:38.951Z","epss":{"score":0.00221,"percentile":0.13516,"date":"2026-12-01T12:00:22.000Z"}}