android_kernel_google_msm/drivers
Mike Snitzer 86325076e9 dm btree: fix leak of bufio-backed block in btree_split_sibling error path
commit 30ce6e1cc5a0f781d60227e9096c86e188d2c2bd upstream.

The block allocated at the start of btree_split_sibling() is never
released if later insert_at() fails.

Fix this by releasing the previously allocated bufio block using
unlock_block().

Reported-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2016-10-26 23:15:35 +08:00
..
accessibility
acpi ACPI: Use correct IRQ when uninstalling ACPI interrupt handler 2016-10-26 23:15:26 +08:00
amba
ata sata_sil: disable trim 2016-10-26 23:15:34 +08:00
atm
auxdisplay auxdisplay: ks0108: fix refcount 2016-04-27 18:55:15 +08:00
base regmap: debugfs: Don't bother actually printing when calculating max length 2016-04-27 18:55:23 +08:00
bcma
block xen-blkfront: check for null drvdata in blkback_changed (XenbusStateClosing) 2016-04-27 18:55:27 +08:00
bluetooth Bluetooth: ath3k: Add support of AR3012 0cf3:817b device 2016-10-26 23:15:25 +08:00
cdrom
char agp/intel: Fix typo in needs_ilk_vtd_wa() 2015-10-22 09:20:06 +08:00
clk
clocksource
connector
cpufreq cpufreq: speedstep-smi: enable interrupts when waiting 2015-06-19 11:40:15 +08:00
cpuidle
crypto crypto: ixp4xx - Remove bogus BUG_ON on scattered dst buffer 2016-03-21 09:17:48 +08:00
dca
devfreq
dio
dma dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup 2015-10-22 09:20:04 +08:00
edac EDAC, ppc4xx: Access mci->csrows array elements properly 2016-03-21 09:17:52 +08:00
eisa
firewire firewire: ohci: fix JMicron JMB38x IT context discovery 2016-10-26 23:15:27 +08:00
firmware
gpio gpio: tps65912: fix wrong container_of arguments 2015-06-19 11:40:18 +08:00
gpu drm/nouveau/gem: return only valid domain when there's only one 2016-04-27 18:55:29 +08:00
hid HID: core: Avoid uninitialized buffer access 2016-10-26 23:15:25 +08:00
hsi
hv Drivers: hv: vmbus: Don't wait after requesting offers 2015-09-18 09:20:26 +08:00
hwmon
hwspinlock
i2c i2c: davinci: generate STP always when NACK is received 2015-04-14 17:33:40 +08:00
ide
idle
ieee802154
infiniband IB/cm: Fix rb-tree duplicate free and use-after-free 2016-04-27 18:55:21 +08:00
input Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen 2016-03-21 09:17:47 +08:00
iommu iommu/vt-d: Fix ATSR handling for Root-Complex integrated endpoints 2016-10-26 23:15:25 +08:00
isdn ppp, slip: Validate VJ compression slot parameters completely 2016-03-21 09:17:54 +08:00
leds
lguest lguest: fix out-by-one error in address checking. 2015-09-18 09:20:43 +08:00
macintosh windfarm: decrement client count when unregistering 2016-04-27 18:55:15 +08:00
mca
md dm btree: fix leak of bufio-backed block in btree_split_sibling error path 2016-10-26 23:15:35 +08:00
media rc-core: fix remove uevent generation 2016-04-27 18:55:13 +08:00
memstick memstick: mspro_block: add missing curly braces 2015-09-18 09:20:31 +08:00
message
mfd mfd: tc6393xb: Fail ohci suspend if full state restore is required 2015-04-14 17:33:43 +08:00
misc
mmc mmc: block: Add missing mmc_blk_put() in power_ro_lock_show() 2016-03-21 09:17:48 +08:00
mtd mtd: mtdpart: fix add_mtd_partitions error path 2016-10-26 23:15:25 +08:00
net wan/x25: Fix use-after-free in x25_asy_open_tty() 2016-10-26 23:15:33 +08:00
nfc
nubus
of of/address: Don't loop forever in of_find_matching_node_by_address(). 2016-04-27 18:55:16 +08:00
oprofile
parisc
parport
pci PCI: Add VPD function 0 quirk for Intel Ethernet devices 2016-04-27 18:55:14 +08:00
pcmcia Disable write buffering on Toshiba ToPIC95 2015-10-22 09:20:04 +08:00
pinctrl
platform dell-laptop: Fix allocating & freeing SMI buffer page 2015-10-22 09:20:06 +08:00
pnp
power wm831x_power: Use IRQF_ONESHOT to request threaded IRQs 2016-10-26 23:15:22 +08:00
pps
ps3
ptp
rapidio
regulator regulator: core: fix constraints output buffer 2015-10-22 09:20:03 +08:00
remoteproc
rpmsg
rtc
s390 s390/3215: fix tty output containing tabs 2015-04-14 17:34:03 +08:00
sbus
scsi scsi_sysfs: Fix queue_ramp_up_period return code 2016-10-26 23:15:28 +08:00
sfi
sh
sn
spi spi: Fix documentation of spi_alloc_master() 2016-04-27 18:55:22 +08:00
ssb
staging iio: lpc32xx_adc: fix warnings caused by enabling unprepared clock 2016-10-26 23:15:30 +08:00
target target/iscsi: Fix double free of a TUR followed by a solicited NOPOUT 2016-03-21 09:17:49 +08:00
tc
thermal
tty drivers/tty: require read access for controlling terminal 2016-04-27 18:55:26 +08:00
uio
usb USB: whci-hcd: add check for dma mapping error 2016-10-26 23:15:35 +08:00
uwb
vhost vhost: actually track log eventfd file 2016-03-21 09:17:49 +08:00
video PCI: Convert pcibios_resource_to_bus() to take a pci_bus, not a pci_dev 2015-06-19 11:40:34 +08:00
virt
virtio virtio_pci: document why we defer kfree 2015-04-14 17:33:50 +08:00
vlynq
w1
watchdog watchdog: omap: assert the counter being stopped before reprogramming 2015-10-22 09:20:06 +08:00
xen xen/events: don't bind non-percpu VIRQs with percpu chip 2015-09-18 09:20:42 +08:00
zorro
Kconfig
Makefile