CVE-2026-89839

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

N/A
Published: September 16, 2026 at 10:31 AM UTC
Updated: October 19, 2026 at 09:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: use the mount idmap for the owner check in f2fs_xattr_advise_set() f2fs_xattr_advise_set() calls inode_owner_or_capable() with &nop_mnt_idmap before allowing the "system.advise" xattr to be set, instead of the idmap that the VFS passes to the ->set() handler. f2fs supports idmapped mounts, so on such a mount this checks the caller's fsuid against the unmapped on-disk owner rather than the mapped owner: the actual owner can be wrongly denied with -EPERM and an unrelated caller wrongly allowed. Pass the handler's idmap instead.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

01beba7957a26f9b7179127e8ad56bb5a0f561381beba7957a26f9b7179127e8ad56bb5a0f561386.3
Vendor states this is fixed in 3b681229e9f8fb1dd29bc65983bf3c87779e4ca3 (fixed)
Vendor states this is fixed in 4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1 (fixed)
Vendor states this is fixed in a54ffce4637acb0db8e695188a6c7f99f14c3576 (fixed)
Vendor states this is fixed in ab31e3b774f5d06b4489cef6c297b48c47c9dcbd (fixed)
Vendor states this is fixed in c3e2692c7a58e0bdb84bd658d827e89dcecea3ad (fixed)
Vendor states this is fixed in 6.12.110 (unaffected)
Vendor states this is fixed in 6.18.51 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)
Vendor states this is fixed in 6.6.157 (unaffected)
Vendor states this is fixed in 7.2.5 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card