Description
In the Linux kernel, the following vulnerability has been resolved: NFS/localio: hold the client across an asynchronous LOCALIO probe nfs_local_probe_async() queues the client's own cl_local_probe_work without a reference on the client, and nfs_free_client() does not cancel it. The work takes a reference only once it runs. If the last nfs_put_client() comes first, for example at umount after an NFSv3 I/O queued a throttled probe, the client is freed with its work queued, and the work then runs on freed memory. Take the reference when the work is queued, and drop it when the work has run. If the work is already queued, it already holds a reference, and the one just taken is dropped.
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
76d4cb6345da0f2cd505e552157258325bcc8bcd to < c28535f6a738c961d41a5f21313771305bcf306daffected76d4cb6345da0f2cd505e552157258325bcc8bcd to < b0bc2e54c58b6497fe0c678bb4919adf8af7f659affected76d4cb6345da0f2cd505e552157258325bcc8bcd to < 000a87910213562ff09f5bc38cd366ce34fccf71affected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected