linux/drivers
Johan Hovold 6bfc8d01ac USB: serial: keyspan_pda: fix information leak
The write() callback is supposed to return the number of characters
accepted or a negative errno. Since the addition of write fifo support
the keyspan_pda implementation will however return the number characters
submitted to the device if the write urb is not already in use. If this
number is larger than the number of characters passed to write(), the
line discipline continues writing data from beyond the tty write buffer.

Fix the information leak by making sure that keyspan_pda_write_start()
returns zero on success as intended.

Fixes: 034e38e8f6 ("USB: serial: keyspan_pda: add write-fifo support")
Cc: stable@vger.kernel.org	# 5.11
Signed-off-by: Johan Hovold <johan@kernel.org>
2026-06-30 10:36:06 +02:00
..
accel drm-next for 7.2-rc1 2026-06-17 10:21:00 +01:00
accessibility
acpi platform-drivers-x86 for v7.2-1 2026-06-23 08:31:33 -07:00
amba
android
ata ata changes for 7.2-rc1 2026-06-18 08:12:50 -07:00
atm atm: remove unused ATM PHY operations 2026-06-16 08:53:53 -07:00
auxdisplay
base mm.git review status for mm-hotfixes-stable..mm-stable 2026-06-19 10:14:34 -07:00
bcma
block mm.git review status for mm-hotfixes-stable..mm-stable 2026-06-19 10:14:34 -07:00
bluetooth Bluetooth: btintel_pcie: Separate coredump work from RX work 2026-06-11 14:24:42 -04:00
bus Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
cache
cdrom
cdx Devicetree updates for v7.2: 2026-06-17 11:54:57 -07:00
char platform-drivers-x86 for v7.2-1 2026-06-23 08:31:33 -07:00
clk soc: drivers for 7.2 2026-06-17 11:21:40 -07:00
clocksource A series of updates for the VDSO: 2026-06-15 13:57:13 +05:30
comedi
connector
counter Counter updates for 7.2 2026-06-08 21:26:09 +02:00
cpufreq tracing: Updates for v7.2: 2026-06-18 20:53:00 -07:00
cpuidle
crypto pci-v7.2-changes 2026-06-24 12:48:43 -07:00
cxl Merge branch 'for-7.2/cxl-type2-attach-region' into cxl-for-next 2026-06-12 13:47:53 -07:00
dax mm.git review status for mm-hotfixes-stable..mm-stable 2026-06-19 10:14:34 -07:00
dca
devfreq
dibs
dio
dma pci-v7.2-changes 2026-06-24 12:48:43 -07:00
dma-buf drm-next for 7.2-rc1 2026-06-17 10:21:00 +01:00
dpll dpll: allow fwnode pins to attempt state change without capability bit 2026-06-13 13:24:34 -07:00
edac
eisa
extcon
firewire firewire: core: Open-code topology list walk 2026-06-13 11:10:23 +09:00
firmware Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
fpga
fsi
fwctl
gnss
gpib
gpio Networking changes for 7.2. 2026-06-17 08:17:00 +01:00
gpu mm.git review status for mm-hotfixes-stable..mm-nonmm-stable 2026-06-21 13:20:19 -07:00
greybus
hid tracing: Updates for v7.2: 2026-06-18 20:53:00 -07:00
hsi
hte
hv hyperv-next for v7.2-rc1 2026-06-22 08:06:13 -07:00
hwmon platform-drivers-x86 for v7.2-1 2026-06-23 08:31:33 -07:00
hwspinlock hwspinlock: qcom: avoid uninitialized struct members 2026-06-08 21:51:12 -05:00
hwtracing Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
i2c i2c: pxa: Use named initializers for the platform_device_id array 2026-06-18 12:08:49 +02:00
i3c i3c: mipi-i3c-hci: Use named initializers for platform_device_id's .driver_data 2026-06-16 23:19:45 +02:00
idle x86/msr updates for v7.2: 2026-06-15 15:08:14 +05:30
iio Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
infiniband RDMA v7.2 merge window 2026-06-18 08:16:21 -07:00
input Merge branch 'next' into for-linus 2026-06-22 23:10:08 -07:00
interconnect
iommu hyperv-next for v7.2-rc1 2026-06-22 08:06:13 -07:00
ipack
irqchip Miscellaneous irqchip driver fixes: 2026-06-23 16:02:03 -07:00
leds LEDs for v7.2 2026-06-18 14:45:08 -07:00
macintosh
mailbox mailbox: imx: Don't force-thread the primary handler 2026-06-20 21:18:39 -05:00
mcb
md mm.git review status for mm-hotfixes-stable..mm-nonmm-stable 2026-06-21 13:20:19 -07:00
media [GIT PULL for v7.2] media updates 2026-06-18 17:21:54 -07:00
memory soc: drivers for 7.2 2026-06-17 11:21:40 -07:00
memstick
message
mfd MFD for v7.2 2026-06-18 14:26:29 -07:00
misc pci-v7.2-changes 2026-06-24 12:48:43 -07:00
mmc for-7.2/block-20260615 2026-06-16 13:02:47 +05:30
most
mtd NAND changes: 2026-06-21 12:25:17 -07:00
mux
net USB/Thunderbolt driver changes for 7.2-rc1 2026-06-22 12:09:47 -07:00
nfc nfc: Use named initializers for struct i2c_device_id 2026-06-11 20:24:47 +02:00
ntb pci-v7.2-changes 2026-06-24 12:48:43 -07:00
nubus
nvdimm Updates for the 7.2 release 2026-06-18 16:27:58 -07:00
nvme pci-v7.2-changes 2026-06-24 12:48:43 -07:00
nvmem nvmem: core: fix use-after-free bugs in error paths 2026-06-05 17:18:58 +02:00
of Devicetree updates for v7.2: 2026-06-17 11:54:57 -07:00
opp
parisc
parport
pci pci-v7.2-changes 2026-06-24 12:48:43 -07:00
pcmcia
peci
perf perf/arm-cmn: Fix DVM node events 2026-06-03 20:50:24 +01:00
phy phy-for-7.2 2026-06-23 15:41:48 -07:00
pinctrl Pin control changes for the v7.2 kernel cycle: 2026-06-18 15:03:21 -07:00
platform platform-drivers-x86 for v7.2-1 2026-06-23 08:31:33 -07:00
pmdomain pmdomain: core: fix unused variable warning with !PM_GENERIC_DOMAINS_OF 2026-06-15 21:12:35 +02:00
pnp
power power supply and reset changes for the 7.2 series 2026-06-19 18:13:09 -07:00
powercap
pps
ps3
ptp bitmap updates for v7.2 2026-06-17 11:38:38 +01:00
pwm pwm: Changes for v7.2-rc1 2026-06-16 07:26:47 +05:30
rapidio mm.git review status for mm-hotfixes-stable..mm-nonmm-stable 2026-06-21 13:20:19 -07:00
ras - Fix a malformed Kconfig default for the AMD Address Translation Library 2026-06-16 05:31:01 +05:30
regulator regulator: Updates for v7.2 2026-06-16 07:50:31 +05:30
remoteproc remoteproc: qcom: pas: Drop start/stop completion from struct qcom_pas 2026-06-08 21:53:51 -05:00
resctrl arm64 updates for 7.2 2026-06-16 05:18:04 +05:30
reset
rpmsg rpmsg update for v7.2 2026-06-20 23:31:15 -07:00
rtc
s390 more s390 updates for 7.2 merge window 2026-06-22 07:43:48 -07:00
sbus
scsi mm.git review status for mm-hotfixes-stable..mm-nonmm-stable 2026-06-21 13:20:19 -07:00
sh
siox
slimbus slimbus: qcom-ngd-ctrl: Avoid ABBA on tx_lock/ctrl->lock 2026-06-05 17:19:51 +02:00
soc soc: drivers for 7.2 2026-06-17 11:21:40 -07:00
soundwire soundwire updates for 7.2 2026-06-23 13:58:38 -07:00
spi spi: Updates for v7.2 2026-06-16 07:56:47 +05:30
spmi
ssb
staging Staging driver updates for 7.2-rc1 2026-06-22 12:43:16 -07:00
target Merge branch 7.1/scsi-fixes into 7.2/scsi-staging 2026-06-15 21:01:30 -04:00
tc
tee soc: drivers for 7.2 2026-06-17 11:21:40 -07:00
thermal x86/cpu updates for v7.2: 2026-06-15 15:25:17 +05:30
thunderbolt USB/Thunderbolt driver changes for 7.2-rc1 2026-06-22 12:09:47 -07:00
tty TTY / Serial driver update for 7.2-rc1 2026-06-22 11:51:49 -07:00
ufs SCSI misc on 20260621 2026-06-21 10:29:45 -07:00
uio
usb USB: serial: keyspan_pda: fix information leak 2026-06-30 10:36:06 +02:00
vdpa vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler 2026-06-10 02:17:00 -04:00
vfio vfio/qat: fix f_pos race in qat_vf_resume_write() 2026-06-10 14:33:05 -06:00
vhost mm.git review status for mm-hotfixes-stable..mm-nonmm-stable 2026-06-21 13:20:19 -07:00
video Backlight for v7.2 2026-06-18 14:55:20 -07:00
virt Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
virtio virtio,vhost,vdpa: features, fixes 2026-06-17 11:49:00 -07:00
w1 w1: ds2482: Use named initializers for arrays of i2c_device_data 2026-06-08 21:37:56 +02:00
watchdog watchdog updates and fixes for v7.2 2026-06-16 08:04:24 +05:30
xen Devicetree updates for v7.2: 2026-06-17 11:54:57 -07:00
zorro
Kconfig
Makefile