On 10/16/24 7:48 AM, Ming Lei wrote: > UBLK_F_USER_COPY requires userspace to call write() on ublk char > device for filling request buffer, and unprivileged device can't > be trusted. > > So don't allow user copy for unprivileged device. > > Fixes: 1172d5b8beca ("ublk: support user copy") I marked this one for stable as well. -- Jens Axboe