Description
In the Linux kernel, the following vulnerability has been resolved: ublk: use READ_ONCE() to read struct ublksrv_ctrl_cmd struct ublksrv_ctrl_cmd is part of the io_uring_sqe, which may lie in userspace-mapped memory. It's racy to access its fields with normal loads, as userspace may write to them concurrently. Use READ_ONCE() to copy the ublksrv_ctrl_cmd from the io_uring_sqe to the stack. Use the local copy in place of the one in the io_uring_sqe.
Product status
87213b0d847cd300285b5545598e0548baeb5208 (git) before ce63eda3e6d36e2c253febee1c8421ecbd1a680e
87213b0d847cd300285b5545598e0548baeb5208 (git) before ed9f54cc1e335096733aed03c2a46de3d58922ed
6.19
Any version before 6.19
6.19.4 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/ce63eda3e6d36e2c253febee1c8421ecbd1a680e
git.kernel.org/...c/ed9f54cc1e335096733aed03c2a46de3d58922ed