{"id":"CVE-2026-89839","revision":"f16a4d349f7a4e8c8d52273c6e47a6be","records":[{"revision":"f16a4d349f7a4e8c8d52273c6e47a6be","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-89839","aliases":[],"title":"f2fs: use the mount idmap for the owner check in f2fs_xattr_advise_set()","description":"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.","state":0,"publishedAt":"2026-09-16T10:31:13.727+00:00","modifiedAt":"2026-10-19T08:53:32.43+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/f2fs/xattr.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"01beba7957a26f9b7179127e8ad56bb5a0f56138\",\n                            \"lessThan\": \"4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"01beba7957a26f9b7179127e8ad56bb5a0f56138\",\n                            \"lessThan\": \"c3e2692c7a58e0bdb84bd658d827e89dcecea3ad\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"01beba7957a26f9b7179127e8ad56bb5a0f56138\",\n                            \"lessThan\": \"3b681229e9f8fb1dd29bc65983bf3c87779e4ca3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"01beba7957a26f9b7179127e8ad56bb5a0f56138\",\n                            \"lessThan\": \"ab31e3b774f5d06b4489cef6c297b48c47c9dcbd\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"01beba7957a26f9b7179127e8ad56bb5a0f56138\",\n                            \"lessThan\": \"a54ffce4637acb0db8e695188a6c7f99f14c3576\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/f2fs/xattr.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.3\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.3\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.157\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.110\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.51\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.5\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1","https://git.kernel.org/stable/c/c3e2692c7a58e0bdb84bd658d827e89dcecea3ad","https://git.kernel.org/stable/c/3b681229e9f8fb1dd29bc65983bf3c87779e4ca3","https://git.kernel.org/stable/c/ab31e3b774f5d06b4489cef6c297b48c47c9dcbd","https://git.kernel.org/stable/c/a54ffce4637acb0db8e695188a6c7f99f14c3576"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-89839","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-89839","identifiers":["CVE-2026-89839"]},"retained":false,"historicalAffected":[]}],"coverage":[]}