[PATCH 7.1.y] nvme-tcp: fix usage of page_frag_cache

Sasha Levin sashal at kernel.org
Fri Aug 28 20:34:34 PDT 2026


> commit 36ac05f7cfd59d90c597071304b14e98090d5dd1 upstream.
>
> nvme uses page_frag_cache to preallocate PDU for each preallocated request
> of block device. Block devices are created in parallel threads,
> consequently page_frag_cache is used in not thread-safe manner.
> That leads to incorrect refcounting of backstore pages and premature free.

Queued for 7.1 and 7.2.

-- 
Thanks,
Sasha



More information about the Linux-nvme mailing list