Marc Zyngier
e7eb07515d
UPSTREAM: HID: core: Correctly handle ReportSize being zero
...
commit bce1305c0ece3dc549663605e567655dd701752c upstream.
It appears that a ReportSize value of zero is legal, even if a bit
non-sensical. Most of the HID code seems to handle that gracefully,
except when computing the total size in bytes. When fed as input to
memset, this leads to some funky outcomes.
Detect the corner case and correctly compute the size.
Cc: [email protected]
Signed-off-by: Marc Zyngier <[email protected] >
Signed-off-by: Benjamin Tissoires <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
(cherry picked from commit bce1305c0ece3dc549663605e567655dd701752c)
Change-Id: I5ab5febc22b8d5d8c5d398c3ff93f73cb3c90e05
Signed-off-by: Todd Kjos <[email protected] >
2020-12-04 23:36:51 +00:00
..
accessibility
acpi
This is the 5.4.59 stable release
2020-08-19 08:40:57 +02:00
amba
UPSTREAM: amba: Retry adding deferred devices at late_initcall
2020-06-27 01:02:29 +00:00
android
ANDROID: GKI: net: add vendor hooks for 'struct nf_conn' lifecycle
2020-10-30 10:02:26 +01:00
ata
ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function
2020-06-30 15:37:03 -04:00
atm
atm: fix atm_dev refcnt leaks in atmtcp_remove_persistent
2020-08-11 15:33:38 +02:00
auxdisplay
base
UPSTREAM: driver core: Fix device_pm_lock() locking for device links
2020-11-14 16:20:48 +01:00
bcma
block
This is the 5.4.59 stable release
2020-08-19 08:40:57 +02:00
bluetooth
This is the 5.4.59 stable release
2020-08-19 08:40:57 +02:00
bus
bus: ti-sysc: Add missing quirk flags for usb_host_hs
2020-08-19 08:16:00 +02:00
cdrom
char
FROMLIST: char: misc: increase DYNAMIC_MINORS value
2020-10-29 17:07:39 +09:00
clk
FROMLIST: clk: sunxi-ng: add support for the Allwinner A100 CCU
2020-08-27 17:11:05 +08:00
clocksource
ANDROID: GKI: enable CONFIG_SUN4I_TIMER
2020-11-19 05:51:03 +00:00
connector
counter
counter: 104-quad-8: Add lock guards - generic interface
2020-05-02 08:48:44 +02:00
cpufreq
This is the 5.4.61 stable release
2020-08-26 11:11:38 +02:00
cpuidle
ANDROID: adding __nocfi to cpuidle_enter_state
2020-10-08 12:58:32 +00:00
crypto
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
dax
device-dax: don't leak kernel memory to user space after unloading kmem
2020-05-27 17:46:48 +02:00
dca
devfreq
PM / devfreq: Add missing locking while setting suspend_freq
2020-05-10 10:31:34 +02:00
dio
dma
This is the 5.4.54 stable release
2020-07-29 13:27:01 +02:00
dma-buf
This is the 5.4.54 stable release
2020-07-29 13:27:01 +02:00
edac
EDAC: Fix reference count leaks
2020-08-19 08:15:54 +02:00
eisa
extcon
This is the 5.4.49 stable release
2020-06-25 07:49:21 +02:00
firewire
firmware
This is the 5.4.61 stable release
2020-08-26 11:11:38 +02:00
fpga
fpga: dfl: fix bug in port reset handshake
2020-07-29 10:18:31 +02:00
fsi
gnss
This is the 5.4.48 stable release
2020-06-22 11:43:59 +02:00
gpio
This is the 5.4.54 stable release
2020-07-29 13:27:01 +02:00
gpu
This is the 5.4.61 stable release
2020-08-26 11:11:38 +02:00
greybus
hid
UPSTREAM: HID: core: Correctly handle ReportSize being zero
2020-12-04 23:36:51 +00:00
hsi
hv
Drivers: hv: vmbus: Ignore CHANNELMSG_TL_CONNECT_RESULT(23)
2020-08-11 15:33:38 +02:00
hwmon
This is the 5.4.54 stable release
2020-07-29 13:27:01 +02:00
hwspinlock
hwtracing
coresight: tmc: Fix TMC mode read in tmc_read_unprepare_etb()
2020-08-19 08:16:14 +02:00
i2c
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
i3c
ide
idle
BACKPORT: FROMLIST: cpuidle: change enter_s2idle() prototype
2020-07-29 14:37:49 +00:00
iio
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
infiniband
RDMA/bnxt_re: Do not add user qps to flushlist
2020-08-26 10:41:05 +02:00
input
Revert "ANDROID: vendor_hooks: Add vendor hooks for key combination"
2020-09-11 11:47:54 +09:00
interconnect
iommu
BACKPORT: FROMLIST: iommu/io-pgtable-arm-v7s: Quad lvl1 pgtable for MediaTek
2020-10-22 19:44:39 +00:00
ipack
ipack: tpci200: fix error return code in tpci200_register()
2020-05-27 17:46:47 +02:00
irqchip
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
isdn
leds
leds: core: Flush scheduled work for system suspend
2020-08-19 08:16:11 +02:00
lightnvm
macintosh
macintosh/via-macii: Access autopoll_devs when inside lock
2020-08-19 08:16:15 +02:00
mailbox
mailbox: zynqmp-ipi: Fix NULL vs IS_ERR() check in zynqmp_ipi_mbox_probe()
2020-06-24 17:50:36 +02:00
mcb
md
This is the 5.4.61 stable release
2020-08-26 11:11:38 +02:00
media
This is the 5.4.61 stable release
2020-08-26 11:11:38 +02:00
memory
memstick
message
scsi: mptscsih: Fix read sense data size
2020-07-16 08:16:36 +02:00
mfd
UPSTREAM: mfd: sprd: Add wakeup capability for PMIC IRQ
2020-11-18 02:12:45 +00:00
misc
ANDROID: uid_sys_stats: report uid_cputime stats in microseconds
2020-11-18 23:33:46 +00:00
mmc
UPSTREAM: mmc: sdhci: Fix SDHCI_QUIRK_BROKEN_CQE
2020-11-14 16:55:25 +01:00
mtd
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
mux
net
BACKPORT: mac80211_hwsim: add frame transmission support over virtio
2020-11-23 17:45:44 +00:00
nfc
nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame
2020-08-05 09:59:50 +02:00
ntb
NTB: perf: Fix race condition when run with ntb_test
2020-06-24 17:50:41 +02:00
nubus
nvdimm
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
nvme
nvme-multipath: do not fall back to __nvme_find_path() for non-optimized paths
2020-08-19 08:15:59 +02:00
nvmem
UPSTREAM: nvmem: sprd: Fix return value of sprd_efuse_probe()
2020-11-14 16:29:41 +01:00
of
UPSTREAM: of/platform: Unconditionally pause/resume sync state during kernel init
2020-11-14 16:56:37 +01:00
opp
opp: Enable resources again if they were disabled earlier
2020-08-26 10:40:53 +02:00
oprofile
parisc
parisc: mask out enable and reserved bits from sba imask
2020-08-19 08:16:26 +02:00
parport
pci
ANDROID: PCI: dwc: export symbols for ep driver
2020-10-23 08:44:15 +09:00
pcmcia
perf
drivers/perf: Prevent forced unbinding of PMU drivers
2020-07-29 10:18:40 +02:00
phy
This is the 5.4.59 stable release
2020-08-19 08:40:57 +02:00
pinctrl
FROMLIST: pinctrl: sunxi: add support for the Allwinner A100 pin controller
2020-08-27 17:09:29 +08:00
platform
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
pnp
power
FROMLIST: power: supply: core: property to control reverse charge
2020-09-01 17:57:03 +00:00
powercap
pps
ps3
ptp
pwm
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
rapidio
rapidio: fix an error in get_user_pages_fast() error handling
2020-05-27 17:46:48 +02:00
ras
regulator
This is the 5.4.59 stable release
2020-08-19 08:40:57 +02:00
remoteproc
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
reset
rpmsg
FROMLIST: rpmsg: Guard against null endpoint ops in destroy
2020-08-07 12:03:00 +00:00
rtc
This is the 5.4.61 stable release
2020-08-26 11:11:38 +02:00
s390
scsi: zfcp: Fix use-after-free in request timeout handlers
2020-08-26 10:40:52 +02:00
sbus
scsi
UPSTREAM: scsi: ufs: Fix interrupt error message for shared interrupts
2020-11-14 16:29:33 +01:00
sfi
sh
siox
slimbus
This is the 5.4.53 stable release
2020-07-23 12:36:54 +02:00
soc
This is the 5.4.59 stable release
2020-08-19 08:40:57 +02:00
soundwire
soundwire: intel: fix memory leak with devm_kasprintf
2020-07-22 09:33:00 +02:00
spi
UPSTREAM: spi: Fix regression to return zero on success instead of positive value
2020-11-14 16:56:44 +01:00
spmi
ssb
staging
ANDROID: ion: export some ion symbols
2020-08-27 21:06:34 +00:00
target
scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM
2020-08-26 10:40:54 +02:00
tc
tee
thermal
FROMLIST: thermal: Fix NULL pointer dereference issue
2020-11-17 23:56:27 +05:30
thunderbolt
tty
ANDROID: sysrq: add vendor hook for sysrq crash information
2020-10-13 14:46:48 +09:00
uio
uio_pdrv_genirq: fix use without device tree and no interrupt
2020-07-22 09:33:13 +02:00
usb
UPSTREAM: usb: renesas-xhci: include correct header for get_unaligned_le16()
2020-11-14 16:55:17 +01:00
vfio
This is the 5.4.61 stable release
2020-08-26 11:11:38 +02:00
vhost
This is the 5.4.56 stable release
2020-08-05 11:19:16 +02:00
video
This is the 5.4.61 stable release
2020-08-26 11:11:38 +02:00
virt
virt: vbox: Fix guest capabilities mask check
2020-07-22 09:33:11 +02:00
virtio
This is the 5.4.61 stable release
2020-08-26 11:11:38 +02:00
visorbus
vlynq
vme
w1
w1: omap-hdq: cleanup to add missing newline for some dev_dbg
2020-06-22 09:31:26 +02:00
watchdog
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
xen
xen: don't reschedule in preemption off sections
2020-08-26 10:41:07 +02:00
zorro
Kconfig
Makefile