linux/drivers
Johan Hovold 59021c058a USB: serial: kl5kusb105: fix line-state error handling
commit 146cc8a17a upstream.

The current implementation failed to detect short transfers when
attempting to read the line state, and also, to make things worse,
logged the content of the uninitialised heap transfer buffer.

Fixes: abf492e7b3 ("USB: kl5kusb105: fix DMA buffers on stack")
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-02-26 20:01:49 +00:00
..
accessibility printk: move braille console support into separate braille.[ch] files 2013-07-31 14:41:03 -07:00
acpi ACPI / APEI: Fix incorrect return value of ghes_proc() 2017-02-23 03:54:20 +00:00
amba ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
ata scsi: fix race between simultaneous decrements of ->host_failed 2016-08-22 22:38:13 +01:00
atm atm: fore200e.c: Cleaning up uninitialized variables 2014-06-02 17:11:03 -07:00
auxdisplay auxdisplay: ks0108: fix refcount 2015-09-28 10:21:35 +01:00
base PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails 2017-02-23 03:54:32 +00:00
bcma x86/quirks: Add early quirk to reset Apple AirPort card 2016-11-20 01:16:48 +00:00
block nvme/pci: Don't free queues on error 2017-02-23 03:54:35 +00:00
bluetooth Bluetooth: Add support of 13d3:3490 AR3012 device 2016-11-20 01:16:49 +00:00
bus bus: imx-weim: Take the 'status' property value into account 2016-05-01 00:05:57 +02:00
cdrom Merge branch 'for-linus' of git://git.kernel.dk/linux-block 2014-06-11 08:41:17 -07:00
char virtio: console: Unlock vqs while freeing buffers 2017-02-23 03:54:26 +00:00
clk clk: divider: Fix clk_divider_round_rate() to use clk_readl() 2017-02-23 03:53:55 +00:00
clocksource clocksource/drivers/sun4i: Clear interrupts after stopping timer in probe function 2016-11-20 01:17:18 +00:00
connector connector: bump skb->users before callback invocation 2016-01-28 10:14:29 +00:00
cpufreq cpufreq: intel_pstate: Fix ->set_policy() interface for no_turbo 2016-08-22 22:38:10 +01:00
cpuidle cpuidle: Fix cpuidle_state_is_coupled() argument in cpuidle_enter() 2016-08-22 22:38:01 +01:00
crypto crypto: caam - fix non-hmac hashes 2016-11-20 01:17:07 +00:00
dca dca: convert to idr_alloc() 2013-02-27 19:10:15 -08:00
devfreq PM / devfreq: Fix incorrect type issue. 2016-11-20 01:17:39 +00:00
dio m68k: don't export static inline functions 2009-12-06 11:18:28 +01:00
dma dmaengine: dw: disable BLOCK IRQs for non-cyclic xfer 2016-03-04 10:26:40 +00:00
edac EDAC: Increment correct counter in edac_inc_ue_error() 2016-08-22 22:37:51 +01:00
eisa Revert "EISA: Initialize device before its resources" 2014-01-17 14:57:29 -07:00
extcon extcon: palmas: Use devm_extcon_dev_allocate for extcon_dev 2014-04-29 09:52:12 +09:00
firewire firewire: net: fix fragmented datagram_size off-by-one 2017-02-23 03:54:28 +00:00
firmware efi/libstub: Allocate headspace in efi_get_memory_map() 2016-11-20 01:17:23 +00:00
fmc Merge 3.14-rc5 into char-misc-next 2014-03-02 19:53:09 -08:00
gpio gpio/mvebu: Use irq_domain_add_linear 2017-02-23 03:54:27 +00:00
gpu drm/radeon/si_dpm: workaround for SI kickers 2017-02-23 03:54:21 +00:00
hid HID: core: prevent out-of-bound readings 2017-02-23 03:54:45 +00:00
hsi hsi: omap_ssi_port: Prevent warning if cawake_gpio is not defined. 2015-12-13 17:49:33 +00:00
hv hv: do not lose pending heartbeat vmbus packets 2017-02-23 03:54:20 +00:00
hwmon hwmon: (adt7411) set bit 3 in CFG1 register 2016-11-20 01:16:56 +00:00
hwspinlock A single patch from Vincent extending OMAP's hwspinlock support to OMAP5. 2013-05-07 14:01:27 -07:00
i2c i2c: core: fix NULL pointer dereference under race condition 2017-02-23 03:54:29 +00:00
ide Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide 2014-07-21 22:44:24 -07:00
idle intel_idle: fix IVT idle state table setting 2014-04-21 23:36:07 +02:00
iio iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation. 2017-02-23 03:54:29 +00:00
infiniband IB/mlx4: Fix create CQ error flow 2017-02-23 03:54:36 +00:00
input Input: i8042 - add XMG C504 to keyboard reset table 2017-02-23 03:54:17 +00:00
iommu iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions 2017-02-23 03:54:26 +00:00
ipack ipack: convert bus code to use dev_groups 2013-10-16 18:40:57 -07:00
irqchip irqchip/gic: Ensure ordering between read of INTACK and shared data 2016-08-22 22:37:57 +01:00
isdn ser_gigaset: return -ENOMEM on error instead of success 2017-02-23 03:54:44 +00:00
leds leds / PM: fix hibernation on arm when gpio-led used with CPU led trigger 2015-07-09 14:36:01 +01:00
lguest lguest: fix out-by-one error in address checking. 2015-06-03 14:30:03 +01:00
macintosh windfarm: decrement client count when unregistering 2015-09-30 13:20:39 +01:00
mailbox drivers/mailbox/omap: make mbox->irq signed for error handling 2014-01-23 16:36:53 -08:00
mcb mcb: Fixed bar number assignment for the gdd 2016-08-22 22:37:53 +01:00
md md: be careful not lot leak internal curr_resync value into metadata. -- (all) 2017-02-23 03:54:24 +00:00
media xc2028: Fix use-after-free bug properly 2017-02-23 03:54:39 +00:00
memory memory: mvebu-devbus: add a devbus, keep-config property 2014-04-29 13:17:10 +00:00
memstick memstick: rtsx_usb_ms: Manage runtime PM when accessing the device 2017-02-23 03:54:16 +00:00
message mptfusion: enable no_write_same for vmware scsi disks 2014-10-30 09:40:12 -07:00
mfd mfd: core: Fix device reference leak in mfd_clone_cell 2017-02-23 03:54:34 +00:00
misc mei: bus: fix received data size check in NFC fixup 2017-02-23 03:54:26 +00:00
mmc mmc: mxs: Initialize the spinlock prior to using it 2017-02-23 03:54:30 +00:00
mtd ubi: Fix Fastmap's update_vol() 2017-02-23 03:54:08 +00:00
net can: peak: fix bad memory access and free sequence 2017-02-23 03:54:44 +00:00
nfc NFC: microread: Potential overflows in microread_target_discovered() 2014-10-05 13:41:05 -07:00
ntb ntb: Use pci_enable_msix_range() instead of pci_enable_msix() 2014-04-07 10:59:20 -07:00
nubus kernel/printk: use symbolic defines for console loglevels 2014-06-04 16:54:17 -07:00
of of_mdio: fix node leak in of_phy_register_fixed_link error path 2017-02-23 03:54:37 +00:00
oprofile oprofile, nmi-timer: Fix CPU hotplug callback registration 2014-03-20 13:43:46 +01:00
parisc parisc iommu: fix panic due to trying to allocate too large region 2016-01-18 22:27:29 +00:00
parport parport: fix menu breakage 2014-07-25 18:00:23 -07:00
pci PCI: Mark Atheros AR9580 to avoid bus reset 2017-02-23 03:53:55 +00:00
pcmcia Disable write buffering on Toshiba ToPIC95 2015-07-15 10:00:33 +01:00
phy phy: sun4i-usb: Use spinlock to guard phyctl register access 2017-02-23 03:53:59 +00:00
pinctrl pinctrl: single: Fix missing flush of posted write for a wakeirq 2016-08-22 22:38:17 +01:00
platform hp-wmi: Fix wifi cannot be hard-unblocked 2016-11-20 01:16:43 +00:00
pnp ACPI / PNP: Reserve ACPI resources at the fs_initcall_sync stage 2015-07-15 10:01:34 +01:00
power power: supply: max17042_battery: fix model download bug. 2016-11-20 01:17:10 +00:00
powercap powercap / RAPL: fix BIOS lock check 2016-01-25 10:43:36 +00:00
pps pps: do not crash when failed to register 2016-11-20 01:16:57 +00:00
ps3 ps3-vuart: don't use PREPARE_WORK 2014-03-07 10:24:48 -05:00
ptp ptp: ptp_pch depends on x86_32 2014-06-17 15:43:48 -07:00
pwm pwm: Fix device reference leak 2017-02-23 03:54:40 +00:00
rapidio rapidio/tsi721_dma: fix failure to obtain transaction descriptor 2014-07-30 17:16:13 -07:00
regulator regulator: tps65910: Work around silicon erratum SWCZ010 2017-02-23 03:54:03 +00:00
remoteproc remoteproc: avoid stack overflow in debugfs file 2016-01-05 12:08:23 +00:00
reset reset: sunxi: fix spinlock initialization 2015-01-22 16:33:34 +00:00
rpmsg A small pull request consisting of: 2013-05-07 14:02:00 -07:00
rtc rtc: ds1307: Fix relying on reset value for weekday 2016-11-20 01:16:47 +00:00
s390 scsi: zfcp: spin_lock_irqsave() is not nestable 2017-02-23 03:54:15 +00:00
sbus bbc-i2c: Fix BBC I2C envctrl on SunBlade 2000 2014-08-14 10:09:44 +08:00
scsi sg_write()/bsg_write() is not fit to be called under KERNEL_DS 2017-02-23 03:54:47 +00:00
sfi SFI / ACPI: Fix warnings reported during builds with W=1 2013-12-07 01:24:33 +01:00
sh SH Driver Update for v3.16 2014-06-06 11:44:09 -07:00
sn Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
soc soc: qcom: fix of_device_id table 2014-05-26 21:27:09 +02:00
spi spi: sunxi: fix transfer timeout 2016-08-22 22:38:14 +01:00
spmi spmi: pm: drop bus-level PM suspend/resume routines 2014-03-08 22:15:52 -08:00
ssb Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2014-01-30 17:20:32 -08:00
staging staging/android/ion : fix a race condition in the ion driver 2017-02-23 03:54:47 +00:00
target target: Don't override EXTENDED_COPY xcopy_pt_cmd SCSI status code 2017-02-23 03:54:18 +00:00
tc TC: Handle device_register() errors. 2014-06-26 10:48:23 +01:00
thermal thermal: exynos: Fix unbalanced regulator disable on probe failure 2015-12-13 17:49:07 +00:00
tty tty: Prevent ldisc drivers from re-using stale tty fields 2017-02-23 03:54:44 +00:00
uio uio: fix dmem_region_start computation 2017-02-23 03:53:56 +00:00
usb USB: serial: kl5kusb105: fix line-state error handling 2017-02-26 20:01:49 +00:00
uwb uwb: fix device reference leaks 2017-02-23 03:54:27 +00:00
vfio vfio/pci: Fix integer overflows, bitmask check 2016-11-20 01:17:37 +00:00
vhost vhost: actually track log eventfd file 2015-08-25 10:13:39 +01:00
video fbdev: color map copying bounds checking 2017-02-23 03:54:46 +00:00
virt drivers: clean-up prom.h implicit includes 2013-10-09 20:04:04 -05:00
virtio balloon: check the number of available pages in leak balloon 2016-11-20 01:17:03 +00:00
vlynq drivers/vlynq/vlynq.c: fix another resource size off by 1 error 2014-01-23 16:36:55 -08:00
vme vme_tsi148: Utilize to_pci_dev() macro 2014-04-16 14:08:37 -07:00
w1 w1_therm reference count family data 2015-07-09 14:36:07 +01:00
watchdog watchdog: rc32434_wdt: fix ioctl error handling 2016-05-01 00:05:52 +02:00
xen xenbus: don't look up transaction IDs for ordinary writes 2016-11-20 01:17:39 +00:00
zorro zorro/UAPI: Use proper types (endianness/size) in <linux/zorro.h> 2013-11-26 11:09:09 +01:00
Kconfig soc: Introduce drivers/soc place-holder for SOC specific drivers 2014-05-23 11:37:46 -05:00
Makefile Char / misc driver patches for 3.16-rc1 2014-06-03 08:06:56 -07:00