CVE-2026-89839: f2fs: use the mount idmap for the owner check in f2fs_xattr_advise_set()

Published Sep 16, 2026
·
Updated

f2fs: use the mount idmap for the owner check in f2fsxattradviseset()

Affected Software

2 affected componentsFixes available
Linux Kernel
Microsoft azl3 kernel 6.6.152.1-1<6.6.157.1-1
6.6.157.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.157.1-1
  2. Configuration

    In f2fs_xattr_advise_set(), call inode_owner_or_capable() with the idmap that the VFS passes to the ->set() handler (use the mount idmap) instead of passing &nop_mnt_idmap, so the caller's idmap is used for the owner check before allowing the system.advise xattr to be set.

    Linux kernel (F2FS) Use mount idmap for owner check in f2fs_xattr_advise_set() = Pass the handler's idmap instead of &nop_mnt_idmap

Event History

Sep 16, 2026
CVE Published
via MITRE·10:31 AM
Data Sourced
via MITRE·10:31 AM
Description
Data Sourced
via NVD·11:16 AM
Description
Sep 17, 2026
Data Sourced
via Microsoft·08:07 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:07 AM
DescriptionSeverity

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using F2FS with an idmapped mount are exposed. The incorrect ownership check applies when setting the "system.advise" extended attribute through f2fs_xattr_advise_set().

2

What does an attacker need to exploit it?

The attacker needs access to an affected idmapped F2FS mount and must attempt to set the "system.advise" xattr. Because ownership is checked against the unmapped on-disk owner, an unrelated caller may be incorrectly authorized.

3

How can I tell whether I am affected?

You are affected if the running kernel contains the vulnerable F2FS ownership check and you use idmapped mounts on F2FS. The issue is specifically observable when setting "system.advise" results in an incorrect permission decision, such as denying the mapped owner or allowing an unrelated caller.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203