linux/drivers
Caleb Sander Mateos db339b4067 ublk: don't mutate struct bio_vec in iteration
__bio_for_each_segment() uses the returned struct bio_vec's bv_len field
to advance the struct bvec_iter at the end of each loop iteration. So
it's incorrect to modify it during the loop. Don't assign to bv_len (or
bv_offset, for that matter) in ublk_copy_user_pages().

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Fixes: e87d66ab27 ("ublk: use rq_for_each_segment() for user copy")
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-12-09 10:20:18 -07:00
..
accel
accessibility
acpi Thermal control updates for 6.19-rc1 2025-12-02 17:49:12 -08:00
amba
android Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
ata
atm
auxdisplay
base Power management updates for 6.19-rc1 2025-12-02 17:31:22 -08:00
bcma
block ublk: don't mutate struct bio_vec in iteration 2025-12-09 10:20:18 -07:00
bluetooth
bus
cache
cdrom
cdx
char printk changes for 6.19 2025-12-03 12:42:36 -08:00
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
cxl
dax
dca
devfreq
dibs
dio
dma
dma-buf printk changes for 6.19 2025-12-03 12:42:36 -08:00
dpll
edac - imh_edac: Add a new EDAC driver for Intel Diamond Rapids and 2025-12-02 10:45:50 -08:00
eisa
extcon
firewire
firmware arm64 updates for 6.19: 2025-12-02 17:03:55 -08:00
fpga
fsi
fwctl
gnss
gpio
gpu Kbuild updates for v6.19 2025-12-03 14:42:21 -08:00
greybus
hid
hsi
hte
hv A large overhaul of the restartable sequences and CID management: 2025-12-02 08:48:53 -08:00
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
input
interconnect
iommu
ipack
irqchip Updates for [PCI] MSI related code: 2025-12-02 09:35:59 -08:00
isdn
leds
macintosh
mailbox
mcb
md bcache: fix improper use of bi_end_io 2025-12-09 10:20:03 -07:00
media Random number generator updates for Linux 6.19-rc1. 2025-12-02 19:00:26 -08:00
memory
memstick
message
mfd
misc
mmc printk changes for 6.19 2025-12-03 12:42:36 -08:00
most
mtd
mux
net Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
nfc
ntb
nubus
nvdimm
nvme nvme updates for Linux 6.19 2025-12-04 20:58:19 -07:00
nvmem
of Updates for the interrupt core and treewide cleanups: 2025-12-02 09:14:26 -08:00
opp
parisc
parport
pci Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
pcmcia
peci
perf arm64 updates for 6.19: 2025-12-02 17:03:55 -08:00
phy
pinctrl
platform
pmdomain Power management updates for 6.19-rc1 2025-12-02 17:31:22 -08:00
pnp
power
powercap
pps printk changes for 6.19 2025-12-03 12:42:36 -08:00
ps3
ptp Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
pwm
rapidio
ras
regulator
remoteproc
resctrl
reset
rpmsg
rtc
s390 for-6.19/block-20251201 2025-12-03 19:26:18 -08:00
sbus
scsi scsi: sd: reject invalid pr_read_keys() num_keys values 2025-12-04 07:19:26 -07:00
sh
siox
slimbus Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
soc
soundwire
spi
spmi
ssb
staging printk changes for 6.19 2025-12-03 12:42:36 -08:00
target Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
tc
tee
thermal Thermal control updates for 6.19-rc1 2025-12-02 17:49:12 -08:00
thunderbolt
tty printk changes for 6.19 2025-12-03 12:42:36 -08:00
ufs
uio
usb Power management updates for 6.19-rc1 2025-12-02 17:31:22 -08:00
vdpa
vfio
vhost
video
virt
virtio
w1
watchdog
xen Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
zorro
Kconfig
Makefile