GHSA-255Q-MG7H-83H5

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: fix deadlock between nilfs_evict_inode() and find_inode()

Syzbot reported a deadlock between nilfs_evict_inode(), executed via an asynchronous workqueue (kworker) as:

process_one_work() process_scheduled_works() nilfs_iput_work_func() nilfs_dispose_list() iput() iput_final() evict() s_op->evict_inode() nilfs_evict_inode()

and find_inode(), called via

nilfs_mkdir() nilfs_new_inode() nilfs_insert_inode_locked() insert_inode_locked4() inode_insert5() find_inode()

When an inode is deleted (i_nlink == 0), nilfs_evict_inode() clears its ifile bitmap entry and then synchronously triggers the log writer via nilfs_transaction_commit() if IS_SYNC(inode) is true.

If a concurrent directory creation via nilfs_new_inode() attempts to allocate the same newly freed inode number, however, find_inode() called just before inserting it into the inode hash, blocks waiting for the old inode's evict() to complete.

Meanwhile, the synchronous log writer invoked from nilfs_evict_inode() tries to acquire a write lock on 'ns_segctor_sem' which is read locked by the caller of nilfs_new_inode() (in this case, nilfs_mkdir()), resulting in a deadlock.

The synchronous log writer invocation from nilfs_evict_inode() is a legacy artifact; it is no longer necessary because the call itself (triggered by iput()) is now handled asynchronously with a kworker if i_nlink == 0. It merely increases the risk of deadlock.

Fix this deadlock by removing the synchronous log writer trigger from nilfs_evict_inode().

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-138983"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:18:00Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix deadlock between nilfs_evict_inode() and find_inode()\n\nSyzbot reported a deadlock between nilfs_evict_inode(), executed via\nan asynchronous workqueue (kworker) as:\n\n  process_one_work()\n    process_scheduled_works()\n      nilfs_iput_work_func()\n        nilfs_dispose_list()\n          iput()\n            iput_final()\n              evict()\n                s_op-\u003eevict_inode()\n                  nilfs_evict_inode()\n\nand find_inode(), called via\n\n  nilfs_mkdir()\n    nilfs_new_inode()\n      nilfs_insert_inode_locked()\n        insert_inode_locked4()\n          inode_insert5()\n            find_inode()\n\nWhen an inode is deleted (i_nlink == 0), nilfs_evict_inode() clears its\nifile bitmap entry and then synchronously triggers the log writer via\nnilfs_transaction_commit() if IS_SYNC(inode) is true.\n\nIf a concurrent directory creation via nilfs_new_inode() attempts to\nallocate the same newly freed inode number, however, find_inode() called\njust before inserting it into the inode hash, blocks waiting for the old\ninode\u0027s evict() to complete.\n\nMeanwhile, the synchronous log writer invoked from nilfs_evict_inode()\ntries to acquire a write lock on \u0027ns_segctor_sem\u0027 which is read locked\nby the caller of nilfs_new_inode() (in this case, nilfs_mkdir()),\nresulting in a deadlock.\n\nThe synchronous log writer invocation from nilfs_evict_inode() is a\nlegacy artifact; it is no longer necessary because the call itself\n(triggered by iput()) is now handled asynchronously with a kworker\nif i_nlink == 0.  It merely increases the risk of deadlock.\n\nFix this deadlock by removing the synchronous log writer trigger from\nnilfs_evict_inode().",
  "id": "GHSA-255q-mg7h-83h5",
  "modified": "2026-11-30T15:32:12Z",
  "published": "2026-11-30T15:32:12Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138983"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/582a0631a00df91e6fc3bbdfc21dfbc77c9bb825"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/831b4daf89279319de1f36fa9cf14e5de08a9b56"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8ec5dd1b933d3e92de7ef6149ccae118bfd35907"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/96ceee0dcea599a6c4f1e82cc048ddbcbd6e0363"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ac163d9cbbbcf9e87681e73fbe5adeffeb679a43"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d03eec2032df908aeeef06a0b442537edb1a4d30"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d0613a385afd4891383540edecf5a9072820ed78"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ff1227f70eead8704ecfec69259fb4c041f92cda"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.