{"id":"CVE-2026-139340","state":"PUBLISHED","title":"fuse: fix NULL pointer dereference in fuse_request_find","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: fix NULL pointer dereference in fuse_request_find\n\nfuse_dev_install_with_pq() publishes fud->chan before it stores\nfud->pq.processing. The write/splice_write and read paths treat a non-NULL\nfud->chan as \"installed\" and then walk fpq->processing[] without taking\nfch->lock, so they can see the new chan while processing is still NULL and\noops in fuse_request_find().\n\nFix by taking fpq->lock around the cmpxchg + fud->pq.processing assignment.\nThis protects all call sites that dereference fpq->processing, since these\nhave fpq->lock held.","publishedAt":"2026-11-30T13:33:51.443Z","updatedAt":"2026-11-30T13:33:51.443Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"48649c0603bd355fb1d2c26ed4b6f635146278ea","status":"affected","lessThan":"2b46c7eb15c5e8e8627e449bb88158f808ec37f4","versionType":"git"},{"version":"48649c0603bd355fb1d2c26ed4b6f635146278ea","status":"affected","lessThan":"f8cef5c74d8b5a982f49cc40d13cd5c3ea2eacf6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/dev.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/dev.c"]}],"references":["https://git.kernel.org/stable/c/2b46c7eb15c5e8e8627e449bb88158f808ec37f4","https://git.kernel.org/stable/c/f8cef5c74d8b5a982f49cc40d13cd5c3ea2eacf6"],"weaknesses":[],"ingestedAt":"2026-11-30T13:48:04.491Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139340.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139340","state":"PUBLISHED","datePublished":"2026-11-30T13:33:51.443Z","dateUpdated":"2026-11-30T13:33:51.443Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.928Z"},"containers":{"cna":{"title":"fuse: fix NULL pointer dereference in fuse_request_find","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: fix NULL pointer dereference in fuse_request_find\n\nfuse_dev_install_with_pq() publishes fud->chan before it stores\nfud->pq.processing. The write/splice_write and read paths treat a non-NULL\nfud->chan as \"installed\" and then walk fpq->processing[] without taking\nfch->lock, so they can see the new chan while processing is still NULL and\noops in fuse_request_find().\n\nFix by taking fpq->lock around the cmpxchg + fud->pq.processing assignment.\nThis protects all call sites that dereference fpq->processing, since these\nhave fpq->lock held."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"48649c0603bd355fb1d2c26ed4b6f635146278ea","status":"affected","lessThan":"2b46c7eb15c5e8e8627e449bb88158f808ec37f4","versionType":"git"},{"version":"48649c0603bd355fb1d2c26ed4b6f635146278ea","status":"affected","lessThan":"f8cef5c74d8b5a982f49cc40d13cd5c3ea2eacf6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/dev.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/dev.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2b46c7eb15c5e8e8627e449bb88158f808ec37f4"},{"url":"https://git.kernel.org/stable/c/f8cef5c74d8b5a982f49cc40d13cd5c3ea2eacf6"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:33:51.443Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}