# CVE-2026-89839: f2fs: use the mount idmap for the owner check in f2fs\_xattr\_advise\_set()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 10, 2026-12-04)
- **Published:** 2026-09-16T10:31:13.727Z
- **Modified:** 2026-10-19T09:18:27.823Z

## Who should check

- Anyone running Linux \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< 4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< c3e2692c7a58e0bdb84bd658d827e89dcecea3ad; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< 3b681229e9f8fb1dd29bc65983bf3c87779e4ca3; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< ab31e3b774f5d06b4489cef6c297b48c47c9dcbd; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< a54ffce4637acb0db8e695188a6c7f99f14c3576
- Anyone running Linux 6.3

## 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 and fixed versions

- Linux: \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< 4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< c3e2692c7a58e0bdb84bd658d827e89dcecea3ad; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< 3b681229e9f8fb1dd29bc65983bf3c87779e4ca3; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< ab31e3b774f5d06b4489cef6c297b48c47c9dcbd; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< a54ffce4637acb0db8e695188a6c7f99f14c3576 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89839. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89839.md
Affected: Linux >= 01beba7957a26f9b7179127e8ad56bb5a0f56138, < 4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1; >= 01beba7957a26f9b7179127e8ad56bb5a0f56138, < c3e2692c7a58e0bdb84bd658d827e89dcecea3ad; >= 01beba7957a26f9b7179127e8ad56bb5a0f56138, < 3b681229e9f8fb1dd29bc65983bf3c87779e4ca3; >= 01beba7957a26f9b7179127…
Fixed in: Linux 4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1, Linux 3b681229e9f8fb1dd29bc65983bf3c87779e4ca3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89839 being exploited?

There is no confirmed exploitation: CVE-2026-89839 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-12-04).

### How serious is CVE-2026-89839?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89839?

Linux \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< 4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< c3e2692c7a58e0bdb84bd658d827e89dcecea3ad; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< 3b681229e9f8fb1dd29bc65983bf3c87779e4ca3; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< ab31e3b774f5d06b4489cef6c297b48c47c9dcbd; \>= 01beba7957a26f9b7179127e8ad56bb5a0f56138, \< a54ffce4637acb0db8e695188a6c7f99f14c3576; Linux 6.3.

### Is there a fix for CVE-2026-89839?

Yes. Fixed in Linux 4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1, Linux 3b681229e9f8fb1dd29bc65983bf3c87779e4ca3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89839?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1>
- other: <https://git.kernel.org/stable/c/c3e2692c7a58e0bdb84bd658d827e89dcecea3ad>
- other: <https://git.kernel.org/stable/c/3b681229e9f8fb1dd29bc65983bf3c87779e4ca3>
- other: <https://git.kernel.org/stable/c/ab31e3b774f5d06b4489cef6c297b48c47c9dcbd>
- other: <https://git.kernel.org/stable/c/a54ffce4637acb0db8e695188a6c7f99f14c3576>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89839>

HTML: <https://flawdb.com/CVE-2026-89839> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89839>
