Skip to content
Heist/ feed
Unrated

nilfs2: fix BUG in nilfs_copy_dirty_pages() on dirty state mismatch

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix BUG in nilfs_copy_dirty_pages() on dirty state mismatch Syzbot reported a kernel BUG triggered within nilfs_copy_dirty_pages(), which copies dirty DAT file folios/pages to its shadow page cache. The BUG occurs when a retrieved dirty folio/page unexpectedly loses its 'dirty' status. This issue arises because, since the commit referenced below, the 'dirty' flag of a folio/page can be cleared asynchronously after the filesystem detects metadata corruption and transitions to read-only mode. Resolve the issue by returning an -EROFS error if the filesystem has transitioned to read-only mode. Also change the behavior to issue a kernel warning only once instead of triggering a kernel BUG when this unexpected 'dirty' state is detected while the filesystem is not in read-only mode.

Announced Source revision 1
Original source ↗

CVE-2026-90418

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-90418

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": "8c26c4e2694a163d525976e804d81cd955bbb40c",
        "lessThan": "5166a21b12f549774f2983fa86d2526ea9e66ace",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8c26c4e2694a163d525976e804d81cd955bbb40c",
        "lessThan": "4e1f21e7540b25d83f86b50780836ed7d2afcc93",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8c26c4e2694a163d525976e804d81cd955bbb40c",
        "lessThan": "3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8c26c4e2694a163d525976e804d81cd955bbb40c",
        "lessThan": "f181155baf0c93a74ebe804c6cecbe970e78ee9e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8c26c4e2694a163d525976e804d81cd955bbb40c",
        "lessThan": "66f4ad3ce158902e5f98afea93189972ed8750c2",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/nilfs2/page.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.10"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.10",
        "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.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/nilfs2/page.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-90418

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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