GHSA-Q428-2CXG-3P53

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:

fuse: fix copy_file_range reply handling race

__fuse_copy_file_range() selects its request opcode and output buffer using fc->no_copy_file_range_64, then reads the flag again to handle the reply. Copies to different destination inodes can run concurrently on the same connection, so the flag may change while a request is pending.

For example, task A submits FUSE_COPY_FILE_RANGE_64 and waits for its reply. Task B submits the same opcode, receives -ENOSYS and sets no_copy_file_range_64. When A receives a successful reply, it reads the uninitialized outarg.size instead of outarg_64.bytes_copied. This can produce an incorrect return value, page cache invalidation range and inode size update, and disclose stack contents if automatic stack initialization is disabled.

If A also receives -ENOSYS, it instead mistakes that reply for rejection of the legacy opcode and sets no_copy_file_range, skipping the legacy fallback and unnecessarily disabling copy offload for the connection.

KCSAN reported the conflicting accesses:

BUG: KCSAN: data-race in __fuse_copy_file_range / __fuse_copy_file_range

read to 0xffff8881014a4d4d of 1 bytes by task 123 on cpu 4: __fuse_copy_file_range+0x1a7/0x6e0 fuse_copy_file_range+0x54/0xd0 vfs_copy_file_range+0x290/0x9d0 __do_sys_copy_file_range+0x10f/0x2f0

write to 0xffff8881014a4d4d of 8 bytes by task 119 on cpu 0: __fuse_copy_file_range+0x633/0x6e0 fuse_copy_file_range+0x54/0xd0 vfs_copy_file_range+0x290/0x9d0 __do_sys_copy_file_range+0x10f/0x2f0

The bug can lead to leak kernel base address for KASLR bypass, the corresponding reproducer can be provided per request.

Use args.opcode for both -ENOSYS handling and output buffer selection. It records the opcode actually sent and is updated on fallback, keeping each reply tied to its request regardless of concurrent flag updates.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-100045"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:17:22Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: fix copy_file_range reply handling race\n\n__fuse_copy_file_range() selects its request opcode and output buffer\nusing fc-\u003eno_copy_file_range_64, then reads the flag again to handle the\nreply. Copies to different destination inodes can run concurrently on\nthe same connection, so the flag may change while a request is pending.\n\nFor example, task A submits FUSE_COPY_FILE_RANGE_64 and waits for its\nreply. Task B submits the same opcode, receives -ENOSYS and sets\nno_copy_file_range_64. When A receives a successful reply, it reads the\nuninitialized outarg.size instead of outarg_64.bytes_copied. This can\nproduce an incorrect return value, page cache invalidation range and\ninode size update, and disclose stack contents if automatic stack\ninitialization is disabled.\n\nIf A also receives -ENOSYS, it instead mistakes that reply for rejection\nof the legacy opcode and sets no_copy_file_range, skipping the legacy\nfallback and unnecessarily disabling copy offload for the connection.\n\nKCSAN reported the conflicting accesses:\n\n  BUG: KCSAN: data-race in __fuse_copy_file_range / __fuse_copy_file_range\n\n  read to 0xffff8881014a4d4d of 1 bytes by task 123 on cpu 4:\n   __fuse_copy_file_range+0x1a7/0x6e0\n   fuse_copy_file_range+0x54/0xd0\n   vfs_copy_file_range+0x290/0x9d0\n   __do_sys_copy_file_range+0x10f/0x2f0\n\n  write to 0xffff8881014a4d4d of 8 bytes by task 119 on cpu 0:\n   __fuse_copy_file_range+0x633/0x6e0\n   fuse_copy_file_range+0x54/0xd0\n   vfs_copy_file_range+0x290/0x9d0\n   __do_sys_copy_file_range+0x10f/0x2f0\n\nThe bug can lead to leak kernel base address for KASLR bypass, the\ncorresponding reproducer can be provided per request.\n\nUse args.opcode for both -ENOSYS handling and output buffer selection.\nIt records the opcode actually sent and is updated on fallback, keeping\neach reply tied to its request regardless of concurrent flag updates.",
  "id": "GHSA-q428-2cxg-3p53",
  "modified": "2026-11-30T15:32:02Z",
  "published": "2026-11-30T15:32:02Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100045"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0d503ae692491cfeb09050ea5680ea08f0e9fe54"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0e49fbd593ed3c9876d72c0ba481a5e70b3e59b9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bf4ccbaad8bdff8c90fd290ed6135b63f89ee8a7"
    }
  ],
  "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.