linux-stable/drivers
Jan Beulich 16356ddb58 xen-blkback: don't leak persistent grants from xen_blkbk_map()
commit a846738f8c upstream.

The fix for XSA-365 zapped too many of the ->persistent_gnt[] entries.
Ones successfully obtained should not be overwritten, but instead left
for xen_blkbk_unmap_prepare() to pick up and put.

This is XSA-371.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: stable@vger.kernel.org
Reviewed-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-30 14:37:03 +02:00
..
accessibility
acpi ACPI: scan: Use unique number for instance_no 2021-03-30 14:37:02 +02:00
amba amba: Fix resource leak for drivers without .remove 2021-03-04 09:39:46 +01:00
android binder: fix UAF when releasing todo list 2020-10-29 09:54:56 +01:00
ata ata: ahci_brcm: Add back regulators management 2021-03-04 09:39:40 +01:00
atm atm: idt77252: fix null-ptr-dereference 2021-03-30 14:36:58 +02:00
auxdisplay auxdisplay: ht16k33: Fix refresh rate handling 2021-03-04 09:39:45 +01:00
base Revert "PM: runtime: Update device status before letting suppliers suspend" 2021-03-24 11:07:31 +01:00
bcma
block xen-blkback: don't leak persistent grants from xen_blkbk_map() 2021-03-30 14:37:03 +02:00
bluetooth Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl 2021-03-07 12:18:57 +01:00
bus bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD 2021-03-30 14:37:00 +02:00
cdrom
char tpm_tis: Clean up locality release 2021-03-04 09:39:53 +01:00
clk clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs 2021-03-04 09:39:47 +01:00
clocksource clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined 2021-03-04 09:39:44 +01:00
connector
cpufreq cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available 2021-03-04 09:39:57 +01:00
cpuidle cpuidle: Fixup IRQ state 2020-09-09 19:04:23 +02:00
crypto crypto: sun4i-ss - handle BigEndian for cipher 2021-03-04 09:39:54 +01:00
dax
dca
devfreq PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out 2020-10-01 13:14:26 +02:00
dio
dma dmaengine: hsu: disable spurious interrupt 2021-03-04 09:39:43 +01:00
dma-buf dma-fence: Serialise signal enabling (dma_fence_enable_sw_signaling) 2020-10-01 13:14:24 +02:00
edac EDAC/amd64: Fix PCI component registration 2020-12-30 11:26:10 +01:00
eisa
extcon extcon: max77693: Fix modalias string 2020-12-30 11:26:03 +01:00
firewire
firmware firmware: arm_sdei: Use cpus_read_lock() to avoid races with cpuhp 2020-10-01 13:14:35 +02:00
fmc
fpga
fsi
gnss
gpio gpiolib: acpi: Add missing IRQF_ONESHOT 2021-03-30 14:36:58 +02:00
gpu drm/msm: fix shutdown hook in case GPU components failed to bind 2021-03-30 14:37:01 +02:00
hid HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter 2021-03-11 14:05:01 +01:00
hsi HSI: omap_ssi: Don't jump to free ID in ssi_add_controller() 2020-12-30 11:25:57 +01:00
hv Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind() 2021-03-04 09:39:41 +01:00
hwmon hwmon: (lm90) Fix max6658 sporadic wrong temperature reading 2021-03-17 16:43:51 +01:00
hwspinlock
hwtracing stm class: Fix module init return on allocation failure 2021-01-27 11:05:40 +01:00
i2c i2c: rcar: optimize cacheline to minimize HW race condition 2021-03-17 16:43:45 +01:00
ide block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
idle
iio iio: hid-sensor-temperature: Fix issues of timestamp channel 2021-03-24 11:07:36 +01:00
infiniband RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server 2021-03-30 14:37:01 +02:00
input Input: i8042 - add ASUS Zenbook Flip to noselftest list 2021-03-04 09:39:51 +01:00
iommu iommu/amd: Fix sleeping in atomic in increase_address_space() 2021-03-11 14:05:01 +01:00
ipack
irqchip irqchip/mips-cpu: Set IPI domain parent chip 2021-01-27 11:05:40 +01:00
isdn misdn: dsp: select CONFIG_BITREVERSE 2021-01-19 18:22:36 +01:00
leds leds: trigger: fix potential deadlock with libata 2021-02-03 23:23:25 +01:00
lightnvm lightnvm: select CONFIG_CRC32 2021-01-17 14:04:22 +01:00
macintosh
mailbox mailbox: avoid timer start from callback 2020-10-30 10:38:21 +01:00
mcb
md dm verity: add root hash pkcs#7 signature verification 2021-03-30 14:37:02 +02:00
media media: v4l: vsp1: Fix bru null pointer access 2021-03-17 16:43:45 +01:00
memory memory: ti-aemif: Drop child node when jumping out loop 2021-03-04 09:39:34 +01:00
memstick block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
message scsi: mptfusion: Fix null pointer dereferences in mptscsih_remove() 2020-11-05 11:08:47 +01:00
mfd mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq() 2021-03-04 09:39:46 +01:00
misc lkdtm: don't move ctors to .rodata 2021-03-24 11:07:31 +01:00
mmc mmc: cqhci: Fix random crash when remove mmc module/card 2021-03-17 16:43:47 +01:00
mtd block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
mux
net can: peak_usb: Revert "can: peak_usb: add forgotten supported devices" 2021-03-30 14:37:03 +02:00
nfc nfc: s3fwrn5: Release the nfc firmware 2020-12-30 11:26:04 +01:00
ntb NTB: hw: amd: fix an issue about leak system resources 2020-10-30 10:38:25 +01:00
nubus
nvdimm block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
nvme nvme-rdma: fix possible hang when failing to set io queues 2021-03-24 11:07:34 +01:00
nvmem
of of/fdt: Make sure no-map does not remove already reserved regions 2021-03-04 09:39:43 +01:00
opp
oprofile
parisc parisc: mask out enable and reserved bits from sba imask 2020-08-19 08:15:07 +02:00
parport
pci PCI: rpadlpar: Fix potential drc_name corruption in store functions 2021-03-24 11:07:37 +01:00
pcmcia
perf drivers/perf: xgene_pmu: Fix uninitialized resource struct 2020-10-29 09:55:00 +01:00
phy phy: cpcap-usb: Fix warning for missing regulator_disable 2021-02-07 14:48:37 +01:00
pinctrl pinctrl: sunxi: Always call chained_irq_{enter, exit} in sunxi_pinctrl_irq_handler 2020-12-30 11:26:16 +01:00
platform platform/x86: intel-vbtn: Stop reporting SW_DOCK events 2021-03-30 14:36:59 +02:00
pnp
power power: reset: at91-sama5d2_shdwc: fix wkupdbc mask 2021-03-04 09:39:43 +01:00
powercap powercap: restrict energy meter to root access 2020-11-10 21:11:27 +01:00
pps
ps3 powerpc/ps3: use dma_mapping_error() 2020-12-30 11:26:04 +01:00
ptp
pwm pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare() 2021-03-04 09:39:48 +01:00
rapidio rapidio: fix the missed put_device() for rio_mport_add_riodev 2020-10-30 10:38:21 +01:00
ras
regulator regulator: s5m8767: Drop regulators OF node reference 2021-03-04 09:39:44 +01:00
remoteproc remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load 2021-02-13 13:51:14 +01:00
reset
rpmsg rpmsg: glink: Use complete_all for open states 2020-11-05 11:08:43 +01:00
rtc rtc: s5m: select REGMAP_I2C 2021-03-04 09:39:44 +01:00
s390 s390/dasd: fix hanging IO request during DASD driver unbind 2021-03-17 16:43:47 +01:00
sbus
scsi scsi: mpt3sas: Fix error return code of mpt3sas_base_attach() 2021-03-30 14:37:02 +02:00
sfi
sh
siox
slimbus slimbus: qcom-ngd-ctrl: Avoid sending power requests without QMI 2020-12-30 11:25:57 +01:00
sn
soc drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[] 2021-02-03 23:23:24 +01:00
soundwire
spi spi: pxa2xx: Fix the controller numbering for Wildcat Point 2021-03-04 09:39:47 +01:00
spmi
ssb
staging staging: comedi: pcl818: Fix endian problem for AI command data 2021-03-17 16:43:50 +01:00
target scsi: target: core: Prevent underflow for service actions 2021-03-17 16:43:47 +01:00
tc
tee optee: add writeback to valid memory type 2020-12-02 08:48:12 +01:00
thermal thermal: rcar_thermal: Handle probe error gracefully 2020-10-01 13:14:39 +02:00
thunderbolt thunderbolt: Add the missed ida_simple_remove() in ring_request_msix() 2020-11-18 19:18:49 +01:00
tty vt/consolemap: do font sum unsigned 2021-03-07 12:18:57 +01:00
uio uio: Fix use-after-free in uio_unregister_device() 2020-11-18 19:18:49 +01:00
usb usb: gadget: configfs: Fix KASAN use-after-free 2021-03-24 11:07:35 +01:00
uwb
vfio vfio/pci: Move dummy_resources_list init in vfio_pci_probe() 2021-01-06 14:44:59 +01:00
vhost vhost_net: fix ubuf refcount incorrectly when sendmsg fails 2021-01-12 20:10:19 +01:00
video udlfb: Fix memory leak in dlfb_usb_probe 2021-03-07 12:18:55 +01:00
virt drivers/virt/fsl_hypervisor: Fix error handling path 2020-10-29 09:55:09 +01:00
virtio virtio_ring: Avoid loop when vq is broken in virtqueue_poll 2020-08-26 10:31:01 +02:00
visorbus
vlynq
vme
w1 w1: mxc_w1: Fix timeout resolution problem leading to bus error 2020-11-05 11:08:47 +01:00
watchdog watchdog: mei_wdt: request stop on unregister 2021-03-04 09:39:55 +01:00
xen xen/events: avoid handling the same event on two cpus at the same time 2021-03-17 16:43:52 +01:00
zorro
Kconfig
Makefile