{"id":"CVE-2026-89839","summary":"f2fs: use the mount idmap for the owner check in f2fs_xattr_advise_set()","details":"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 -\u003eset() 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.","modified":"2026-09-18T03:48:33.447161221Z","published":"2026-09-16T10:31:13.727Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89839.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3b681229e9f8fb1dd29bc65983bf3c87779e4ca3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a54ffce4637acb0db8e695188a6c7f99f14c3576"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ab31e3b774f5d06b4489cef6c297b48c47c9dcbd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3e2692c7a58e0bdb84bd658d827e89dcecea3ad"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89839.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89839"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"01beba7957a26f9b7179127e8ad56bb5a0f56138"},{"fixed":"4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1"},{"fixed":"c3e2692c7a58e0bdb84bd658d827e89dcecea3ad"},{"fixed":"3b681229e9f8fb1dd29bc65983bf3c87779e4ca3"},{"fixed":"ab31e3b774f5d06b4489cef6c297b48c47c9dcbd"},{"fixed":"a54ffce4637acb0db8e695188a6c7f99f14c3576"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89839.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.3.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89839.json"}}],"schema_version":"1.9.0"}