Merge 4.14.306 into android-4.14-q
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 22 Feb 2023 12:26:02 +0000 (12:26 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 22 Feb 2023 12:26:02 +0000 (12:26 +0000)
Changes in 4.14.306
firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region
bus: sunxi-rsb: Fix error handling in sunxi_rsb_init()
ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
netrom: Fix use-after-free caused by accept on already connected socket
squashfs: harden sanity check in squashfs_read_xattr_id_table
sctp: do not check hb_timer.expires when resetting hb_timer
net: openvswitch: fix flow memory leak in ovs_flow_cmd_new
scsi: target: core: Fix warning on RT kernels
scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
net/x25: Fix to not accept on connected socket
usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait
fbcon: Check font dimension limits
watchdog: diag288_wdt: do not use stack buffers for hardware data
watchdog: diag288_wdt: fix __diag288() inline assembly
efi: Accept version 2 of memory attributes table
iio: hid: fix the retval in accel_3d_capture_sample
iio: adc: berlin2-adc: Add missing of_node_put() in error path
iio:adc:twl6030: Enable measurements of VUSB, VBAT and others
parisc: Fix return code of pdc_iodc_print()
parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case
mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps
mm/swapfile: add cond_resched() in get_swap_pages()
Squashfs: fix handling and sanity checking of xattr_ids count
serial: 8250_dma: Fix DMA Rx completion race
serial: 8250_dma: Fix DMA Rx rearm race
btrfs: limit device extents to the device size
ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()
ALSA: pci: lx6464es: fix a debug loop
pinctrl: aspeed: Fix confusing types in return value
pinctrl: single: fix potential NULL dereference
net: USB: Fix wrong-direction WARNING in plusb.c
usb: core: add quirk for Alcor Link AK9563 smartcard reader
migrate: hugetlb: check for hugetlb shared PMD in node migration
tools/virtio: fix the vringh test for virtio ring changes
net/rose: Fix to not accept on connected socket
nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association
aio: fix mremap after fork null-deref
Revert "x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN"
mmc: sdio: fix possible resource leaks in some error paths
ALSA: hda/conexant: add a new hda codec SN6180
hugetlb: check for undefined shift on 32 bit architectures
revert "squashfs: harden sanity check in squashfs_read_xattr_id_table"
i40e: add double of VLAN header when computing the max MTU
net: bgmac: fix BCM5358 support by setting correct flags
dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.
net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path
net: stmmac: Restrict warning on disabling DMA store and fwd mode
net: mpls: fix stale pointer if allocation fails during device rename
ipv6: Fix datagram socket connection with DSCP.
ipv6: Fix tcp socket connection with DSCP.
i40e: Add checking for null for nlmsg_find_attr()
kvm: initialize all of the kvm_debugregs structure before sending it to userspace
nilfs2: fix underflow in second superblock position calculations
Linux 4.14.306

Change-Id: Ic9885729bdbc06c5c70faf43db25137b071005ea
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
1  2 
Makefile
drivers/mmc/core/sdio_bus.c
drivers/video/fbdev/core/fbcon.c
fs/proc/task_mmu.c
mm/mempolicy.c

diff --cc Makefile
Simple merge
index 3800b5d47b14f51b213aa6444fa65f1b911aa845,d9be64aeae70ee585535b16ada7c59124faa74dd..75d1e34a47f22bc3612e2540acfa7c0994d01c4e
@@@ -268,16 -264,15 +268,22 @@@ static void sdio_release_func(struct de
  {
        struct sdio_func *func = dev_to_sdio_func(dev);
  
 -      if (!(func->card->quirks & MMC_QUIRK_NONSTD_SDIO))
 -              sdio_free_func_cis(func);
 +#ifdef CONFIG_MMC_EMBEDDED_SDIO
 +      /*
 +       * If this device is embedded then we never allocated
 +       * cis tables for this func
 +       */
 +      if (!func->card->host->embedded_sdio_data.funcs)
 +#endif
 +              if (!(func->card->quirks & MMC_QUIRK_NONSTD_SDIO))
 +                      sdio_free_func_cis(func);
  
+       /*
+        * We have now removed the link to the tuples in the
+        * card structure, so remove the reference.
+        */
+       put_device(&func->card->dev);
        kfree(func->info);
        kfree(func->tmpbuf);
        kfree(func);
Simple merge
Simple merge
diff --cc mm/mempolicy.c
Simple merge