Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-89839

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89839

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "01beba7957a26f9b7179127e8ad56bb5a0f56138",
        "lessThan": "4c0c610b480cfbc57528aa1acbd6be12ed2a6fb1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "01beba7957a26f9b7179127e8ad56bb5a0f56138",
        "lessThan": "c3e2692c7a58e0bdb84bd658d827e89dcecea3ad",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "01beba7957a26f9b7179127e8ad56bb5a0f56138",
        "lessThan": "3b681229e9f8fb1dd29bc65983bf3c87779e4ca3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "01beba7957a26f9b7179127e8ad56bb5a0f56138",
        "lessThan": "ab31e3b774f5d06b4489cef6c297b48c47c9dcbd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "01beba7957a26f9b7179127e8ad56bb5a0f56138",
        "lessThan": "a54ffce4637acb0db8e695188a6c7f99f14c3576",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/f2fs/xattr.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.3"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.3",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.110",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.51",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/f2fs/xattr.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89839

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#36291 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement