CVE-2026-139340

fuse: fix NULL pointer dereference in fuse_request_find

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

fuse: fix NULL pointer dereference in fuse_request_find

fuse_dev_install_with_pq() publishes fud->chan before it stores
fud->pq.processing. The write/splice_write and read paths treat a non-NULL
fud->chan as "installed" and then walk fpq->processing[] without taking
fch->lock, so they can see the new chan while processing is still NULL and
oops in fuse_request_find().

Fix by taking fpq->lock around the cmpxchg + fud->pq.processing assignment.
This protects all call sites that dereference fpq->processing, since these
have fpq->lock held.

Analysis

AI-generated

Technical impact

In the Linux kernel, a race condition in the FUSE subsystem can cause a NULL pointer dereference in fuse_request_find. During fuse_dev_install_with_pq(), the channel reference fud->chan is published before the processing flag fud->pq.processing is set. Subsequent read or write paths treat a non‑NULL channel as installed and traverse fpq->processing[] without holding fpq->lock, allowing them to see the yet‑uninitialized channel and crash the kernel with an oops. The resulting kernel crash leads to a denial of service.

Affected Systems

The vulnerability exists in any Linux kernel that implements the FUSE subsystem and has not yet incorporated the commit referenced in the advisory. The advisory does not specify distribution or version, so any generic Linux kernel prior to that commit may be affected.

Risk and Exploitability

The CVSS score is not provided and the EPSS score is unavailable, so a precise quantitative risk assessment cannot be made. The flaw causes a kernel crash rather than privilege escalation. Based on the description, it is inferred that an attacker would need local or privileged access and the capability to orchestrate the timing between channel publication and a read or write operation to trigger the race. If such conditions are met, the attacker can bring the host down. The vulnerability is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch for fuse_dev_install_with_pq (e.g., the commit referenced in the advisory).
  • If an upgrade cannot be performed immediately, unload the fuse module or restrict access to /dev/fuse to prevent exploitation of the race condition.
  • Monitor kernel logs for oops or panic events and apply any subsequent patches that address related kernel issues.

Generated by OpenCVE AI on December 1, 2026 at 08:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fuse: fix NULL pointer dereference in fuse_request_find fuse_dev_install_with_pq() publishes fud->chan before it stores fud->pq.processing. The write/splice_write and read paths treat a non-NULL fud->chan as "installed" and then walk fpq->processing[] without taking fch->lock, so they can see the new chan while processing is still NULL and oops in fuse_request_find(). Fix by taking fpq->lock around the cmpxchg + fud->pq.processing assignment. This protects all call sites that dereference fpq->processing, since these have fpq->lock held.
Title fuse: fix NULL pointer dereference in fuse_request_find
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-476

    NULL Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM