{"id":"CVE-2026-89839","aliases":["CVE-2026-89839"],"related":[],"kind":"vulnerability","state":"published","title":"f2fs: use the mount idmap for the owner check in f2fs_xattr_advise_set()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: use the mount idmap for the owner check in f2fs_xattr_advise_set()\n\nf2fs_xattr_advise_set() calls inode_owner_or_capable() with &nop_mnt_idmap\nbefore allowing the \"system.advise\" xattr to be set, instead of the idmap\nthat the VFS passes to the ->set() handler.\n\nf2fs supports idmapped mounts, so on such a mount this checks the caller's\nfsuid against the unmapped on-disk owner rather than the mapped owner: the\nactual owner can be wrongly denied with -EPERM and an unrelated caller\nwrongly allowed.  Pass the handler's idmap instead.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: use the mount idmap for the owner check in f2fs_xattr_advise_set()\n\nf2fs_xattr_advise_set() calls inode_owner_or_capable() with &nop_mnt_idmap\nbefore allowing the \"system.advise\" xattr to be set, instead of the idmap\nthat the VFS passes to the ->set() handler.\n\nf2fs supports idmapped mounts, so on such a mount this checks the caller's\nfsuid against the unmapped on-disk owner rather than the mapped owner: the\nactual owner can be wrongly denied with -EPERM and an unrelated caller\nwrongly allowed.  Pass the handler's idmap instead.","source":"cvelist"}],"published":"2026-09-16T10:31:13.727Z","modified":"2026-10-19T09:18:27.823Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"01beba7957a26f9b7179127e8ad56bb5a0f56138","fixed":"4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1","status":"affected"},{"type":"git","introduced":"01beba7957a26f9b7179127e8ad56bb5a0f56138","fixed":"c3e2692c7a58e0bdb84bd658d827e89dcecea3ad","status":"affected"},{"type":"git","introduced":"01beba7957a26f9b7179127e8ad56bb5a0f56138","fixed":"3b681229e9f8fb1dd29bc65983bf3c87779e4ca3","status":"affected"},{"type":"git","introduced":"01beba7957a26f9b7179127e8ad56bb5a0f56138","fixed":"ab31e3b774f5d06b4489cef6c297b48c47c9dcbd","status":"affected"},{"type":"git","introduced":"01beba7957a26f9b7179127e8ad56bb5a0f56138","fixed":"a54ffce4637acb0db8e695188a6c7f99f14c3576","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.157","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/4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3e2692c7a58e0bdb84bd658d827e89dcecea3ad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b681229e9f8fb1dd29bc65983bf3c87779e4ca3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab31e3b774f5d06b4489cef6c297b48c47c9dcbd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a54ffce4637acb0db8e695188a6c7f99f14c3576","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89839","url":"https://www.cve.org/CVERecord?id=CVE-2026-89839","licence":"CVE Terms of Use","modified":"2026-10-19T08:53:32.430Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89839","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89839","licence":"Public domain","modified":"2026-10-19T09:18:27.823Z"}],"updatedAt":"2026-11-25T22:59:38.952Z","epss":{"score":0.002,"percentile":0.10395,"date":"2026-12-01T12:00:22.000Z"}}