CVE-2026-139340

Source
https://cve.org/CVERecord?id=CVE-2026-139340
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139340.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139340
Downstream
Published
2026-11-30T13:33:51Z
Modified
2026-12-01T21:02:37Z
Summary
fuse: fix NULL pointer dereference in fuse_request_find
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139340.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
48649c0603bd355fb1d2c26ed4b6f635146278ea
Fixed
2b46c7eb15c5e8e8627e449bb88158f808ec37f4
Fixed
f8cef5c74d8b5a982f49cc40d13cd5c3ea2eacf6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139340.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.2.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139340.json"