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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
48649c0603bd355fb1d2c26ed4b6f635146278ea to < 2b46c7eb15c5e8e8627e449bb88158f808ec37f4affected48649c0603bd355fb1d2c26ed4b6f635146278ea to < f8cef5c74d8b5a982f49cc40d13cd5c3ea2eacf6affected
Linux Linux
Default version status: affected
7.2affected0 to < 7.2unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected