mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
Merge tag 'android11-5.4.233_r00' into android11-5.4
This is the merge of the upstream LTS release of 5.4.233 into the android11-5.4 branch. It contains the following commits:6bb176e034Merge 5.4.233 into android11-5.4-lts7f7f254975Revert "iommu: Add gfp parameter to iommu_ops::map"7f7f83ce87Revert "iommu/amd: Pass gfp flags to iommu_map_page() in amd_iommu_map()"bbf1c13935Revert "RDMA/usnic: use iommu_map_atomic() under spin_lock()"69f65d442eLinux 5.4.233c6cc0121d4bpf: add missing header file include5d873a6c65Revert "net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs"99e3fd21f8ext4: Fix function prototype mismatch for ext4_feat_ktype6f86bb6f85wifi: mwifiex: Add missing compatible string for SD87876c750ed036uaccess: Add speculation barrier to copy_from_user()4d2e5de071mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh787ef0db01drm/i915/gvt: fix double free bug in split_2MB_gtt_entry100cf2af1balarmtimer: Prevent starvation by small intervals and SIG_IGNdab2066c5fpowerpc: dts: t208x: Disable 10G on MAC1 and MAC2113e0cde39can: kvaser_usb: hydra: help gcc-13 to figure out cmd_lenf93a1a5bdcKVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRSdb209f39f1KVM: x86: Fail emulation during EMULTYPE_SKIP on any exceptiondc399695dfrandom: always mix cycle counter in add_latent_entropy()eff0e02f7dpowerpc: dts: t208x: Mark MAC1 and MAC2 as 10Gead0689bd6wifi: rtl8xxxu: gen2: Turn on the rate control0a77a966aadrm/etnaviv: don't truncate physical page addressfa2845b216drm: etnaviv: fix common struct sg_table related issues4626550b09scatterlist: add generic wrappers for iterating over sgtable objectsfe3e217272dma-mapping: add generic helpers for mapping sgtable objectsabc4ede193Merge 5.4.232 into android11-5.4-lts64121e2adfLinux 5.4.2328b47e324afiommu/amd: Pass gfp flags to iommu_map_page() in amd_iommu_map()7519069f1fnet: sched: sch: Fix off by one in htb_activate_prios()5660a6ffa7ASoC: SOF: Intel: hda-dai: fix possible stream_tag leak52844d8382nilfs2: fix underflow in second superblock position calculations9f95a161a7kvm: initialize all of the kvm_debugregs structure before sending it to userspace9f4abf2048i40e: Add checking for null for nlmsg_find_attr()e71554a09eipv6: Fix tcp socket connection with DSCP.388886f970ipv6: Fix datagram socket connection with DSCP.905199dac2ixgbe: add double of VLAN header when computing the max MTUdf099e6556net: mpls: fix stale pointer if allocation fails during device rename736f8f66d7net: stmmac: Restrict warning on disabling DMA store and fwd mode1a2c795142bnxt_en: Fix mqprio and XDP ring checking logicde44bdebcfnet: stmmac: fix order of dwmac5 FlexPPS parametrization sequencea753352622net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path0c2651c763dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.a4e9411769sctp: sctp_sock_filter(): avoid list_entry() on possibly empty liste1b54b5612net: bgmac: fix BCM5358 support by setting correct flags8a4d05b0ffi40e: add double of VLAN header when computing the max MTUfdeb4c258bixgbe: allow to increase MTU to 3K with XDP enabled32d81fd54erevert "squashfs: harden sanity check in squashfs_read_xattr_id_table"4c8011e77cnet: Fix unwanted sign extension in netdev_stats_to_stats64()6b08c9fc72Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."8c07792e79hugetlb: check for undefined shift on 32 bit architectures7caeb5457bsched/psi: Fix use-after-free in ep_remove_wait_queue()6c38aa4020ALSA: hda/realtek - fixed wrong gpio assigned6e0ef3fc65ALSA: hda/conexant: add a new hda codec SN6180e9b488d60fmmc: mmc_spi: fix error handling in mmc_spi_probe()761db46b29mmc: sdio: fix possible resource leaks in some error paths98895c225eipv4: Fix incorrect route flushing when source address is deleted04a331c9ddRevert "ipv4: Fix incorrect route flushing when source address is deleted"85eda80883xfs: sync lazy sb accounting on quiesce of read-only mountsfb8ee907c1xfs: prevent UAF in xfs_log_item_in_current_chkpt7c07806ab0xfs: fix the forward progress assertion in xfs_iwalk_run_callbacks313699d505xfs: ensure inobt record walks always make forward progress7f9309a9f5xfs: fix missing CoW blocks writeback conversion retry6246b3a18fxfs: only relog deferred intent items if free space in the log gets low09d6181447xfs: expose the log push threshold5d711e4136xfs: periodically relog deferred intent items870e7d7108xfs: change the order in which child and parent defer ops are finishedf5af1d5c2dxfs: fix an incore inode UAF in xfs_bui_recoverefcdc2e70exfs: clean up xfs_bui_item_recover iget/trans_alloc/ilock orderingabad319deexfs: clean up bmap intent item recovery checking6601531db8xfs: xfs_defer_capture should absorb remaining transaction reservation411b14e68cxfs: xfs_defer_capture should absorb remaining block reservations3324249e6exfs: proper replay of deferred ops queued during log recovery1c89c04305xfs: fix finobt btree block recovery ordering6678b2787bxfs: log new intent items created as part of finishing recovered intent items562da8e704xfs: refactor xfs_defer_finish_noroll42a2406f90xfs: turn dfp_intent into a xfs_log_iteme11f1516fcxfs: merge the ->diff_items defer op into ->create_intente84096edf8xfs: merge the ->log_item defer op into ->create_intent64b21eaa33xfs: factor out a xfs_defer_create_intent helperd24633f3c2xfs: remove the xfs_inode_log_item_t typedefe0373eeaaaxfs: remove the xfs_efd_log_item_t typedef94e0639992xfs: remove the xfs_efi_log_item_t typedef83ef55c428netfilter: nft_tproxy: restrict to prerouting hookb6ac5e6be5btrfs: free device in btrfs_close_devices for a single device filesystem4326d0080faio: fix mremap after fork null-deref62b19b9f3anvme-fc: fix a missing queue put in nvmet_fc_ls_create_association16409f7d9cs390/decompressor: specify __decompress() buf len to avoid overflowfbe71c5dacnet: sched: sch: Bounds check priority09561d5e6anet: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoCa74d3b0ea9net/rose: Fix to not accept on connected socketec54c946b4tools/virtio: fix the vringh test for virtio ring changes6644685f79ASoC: cs42l56: fix DT probed23b66b16eselftests/bpf: Verify copy_register_state() preserves parent/live fieldsa94695e0f9migrate: hugetlb: check for hugetlb shared PMD in node migrationbcd34f1eeabpf: Always return target ifindex in bpf_fib_lookup776f2ccfdcnvme-pci: Move enumeration by class to be last in the table5c86809882arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive4b97dab7cdarm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitivef0302e98edarm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive1509e93916riscv: Fixup race condition on PG_dcache_clean in flush_icache_ptebb3187311eceph: flush cap releases when the session is flushed9b5d37d328usb: typec: altmodes/displayport: Fix probe pin assign checkd9758f7debusb: core: add quirk for Alcor Link AK9563 smartcard reader43379fcacenet: USB: Fix wrong-direction WARNING in plusb.c1bcb431237pinctrl: intel: Restore the pins that used to be in Direct IRQ mode2b763f7de1pinctrl: single: fix potential NULL dereferencecc1affa234pinctrl: aspeed: Fix confusing types in return valuef209431be1ALSA: pci: lx6464es: fix a debug loop1aab663ecbselftests: forwarding: lib: quote the sysctl valuesba38eacaderds: rds_rm_zerocopy_callback() use list_first_entry()87a5e3fc84ice: Do not use WQ_MEM_RECLAIM flag for workqueuef312958f58ionic: clean interrupt before enabling queue to avoid credit racea532f7ebf9net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY73b8e217febonding: fix error checking in bond_debug_reregister()c89ddf134cxfrm: fix bug with DSCP copy to v6 from v4 tunnel80282a3d10RDMA/usnic: use iommu_map_atomic() under spin_lock()fe4d708668iommu: Add gfp parameter to iommu_ops::map4a779187dbIB/IPoIB: Fix legacy IPoIB due to wrong number of queues7896accedfIB/hfi1: Restore allocated resources on failed copyoutae774f480dcan: j1939: do not wait 250 ms if the same addr was already claimed56ee31167ctracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw039f935ae0ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()7e43bb69bcbtrfs: zlib: zero-initialize zlib workspaceed29d8b309btrfs: limit device extents to the device size9f296c615eiio:adc:twl6030: Enable measurement of VAC9cf5e99c1awifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds readse5142a4935f2fs: fix to do sanity check on i_extra_isize in is_alive()3b3d3127f5fbdev: smscufx: fix error handling code in ufx_usb_probe8edda487f0powerpc/imc-pmu: Revert nest_init_lock to being a mutexfc8548c75cserial: 8250_dma: Fix DMA Rx rearm race71d6b277c4serial: 8250_dma: Fix DMA Rx completion raceec5b4ca3d3xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()5af2f74f90mm: swap: properly update readahead statistics in unuse_pte_range()ce62df33fcnvmem: core: fix cell removal on error1369322c1dSquashfs: fix handling and sanity checking of xattr_ids countd49c85a191mm/swapfile: add cond_resched() in get_swap_pages()c127bf9a95fpga: stratix10-soc: Fix return value check in s10_ops_write_init()6d86b4ceb0mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps845a3708f0riscv: disable generation of unwind tablesc89af52d91parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case8e6cc45ba8parisc: Fix return code of pdc_iodc_print()7f5df45fcbiio:adc:twl6030: Enable measurements of VUSB, VBAT and others4b82cc9f7fiio: adc: berlin2-adc: Add missing of_node_put() in error patha300e358c6iio: hid: fix the retval in accel_3d_capture_sample2035cfb958efi: Accept version 2 of memory attributes tablef6ea834e8dwatchdog: diag288_wdt: fix __diag288() inline assembly78e55b52b2watchdog: diag288_wdt: do not use stack buffers for hardware data4abcd352a0fbcon: Check font dimension limitse00d6a74c3Input: i8042 - add Clevo PCX0DX to i8042 quirk tablefaed5af8a9Input: i8042 - add TUXEDO devices to i8042 quirk tablesee77a19ee5Input: i8042 - merge quirk tablesa789c05516Input: i8042 - move __initconst to fix code styling warningd0332cbf53vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF5bf0010b87usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_waitdb3798943ausb: dwc3: qcom: enable vbus override when in OTG dr-modefefffc7825usb: dwc3: dwc3-qcom: Fix typo in the dwc3 vbus override APIe4650c04deiio: adc: stm32-dfsdm: fill module aliases165511b99enet/x25: Fix to not accept on connected socketb05664e036i2c: rk3x: fix a bunch of kernel-doc warningsd4d765f476scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress6122ce1de1scsi: target: core: Fix warning on RT kernelsd92a25627befi: fix potential NULL deref in efi_mem_reserve_persistented6c5e8cafnet: openvswitch: fix flow memory leak in ovs_flow_cmd_new743f7b51fevirtio-net: Keep stop() to follow mirror sequence of open()aed972fbf6selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarkingdf1213a267selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs6c70ece3d3selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are providedd47f886d0cselftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warningdb3f016ad5ata: libata: Fix sata_down_spd_limit() when no link speed is reported6950df42a0can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivatecb079b0770net: phy: meson-gxl: Add generic dummy stubs for MMD register accessdb76fc535fsquashfs: harden sanity check in squashfs_read_xattr_id_tabledffe83a198netfilter: br_netfilter: disable sabotage_in hook after first suppression20355b9569netrom: Fix use-after-free caused by accept on already connected socket03eb2a1b03fix "direction" argument of iov_iter_kvec()34b0fab797fix iov_iter_bvec() "direction" argument50b70599c0WRITE is "data source", not destination...21081886descsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT"14be8b0c4earm64: dts: imx8mm: Fix pad control for UART1_DTE_RXd6870f3800ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()412fddc096ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after use79dfde344ebus: sunxi-rsb: Fix error handling in sunxi_rsb_init()53785fd9b3firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP regione367c7b762Merge 5.4.231 into android11-5.4-lts59342376e8Linux 5.4.231268d595d4dRevert "xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()"6c24a20223usb: host: xhci-plat: add wakeup entry at sysfs1c1291a84eBluetooth: fix null ptr deref on hci_sync_conn_complete_evtaf51fc23a0ipv6: ensure sane device mtu in tunnelsa7cc1b5d76exit: Use READ_ONCE() for all oops/warn limit readseb768617dadocs: Fix path paste-o for /sys/kernel/warn_count6f18d28c26panic: Expose "warn_count" to sysfs7c1273646fpanic: Introduce warn_limit51538bdde3panic: Consolidate open-coded panic_on_warn checks7020a9234eexit: Allow oops_limit to be disabled5a3482f2c1exit: Expose "oops_count" to sysfs28facdf7b0exit: Put an upper limit on how often we can oops3fa431bac2ia64: make IA64_MCA_RECOVERY bool instead of tristate86926761cacsky: Fix function name in csky_alignment() and die()3bf1fa2c7bh8300: Fix build errors from do_exit() to make_task_dead() transitionfcae924b94hexagon: Fix function name in die()49a128ae28objtool: Add a missing comma to avoid string concatenation9a18c9c833exit: Add and use make_task_dead.2f87e25512mm: kasan: do not panic if both panic_on_warn and kasan_multishot set119f6bcef7panic: unset panic_on_warn inside panic()f6c20ed17esysctl: add a new register_sysctl_init() interfacedbe634ce82dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init1986cd616bblk-cgroup: fix missing pd_online_fn() while activating policy4923160393bpf: Skip task with pid=1 in send_signal_common()bd393f0ad5ARM: dts: imx: Fix pca9547 i2c-mux node name8667280a67x86/asm: Fix an assembler warning with current binutils1a5119369aclk: Fix pointer casting to prevent oops in devm_clk_release()fbf7b0e4ceperf/x86/amd: fix potential integer overflow on shift of a intf571e34005netfilter: conntrack: unify established states for SCTP paths8770cd9d7cx86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL4d1757f9feblock: fix and cleanup bio_check_ro3a10a4d5d0nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted5246266958Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode"f7a5644129net: mdio-mux-meson-g12a: force internal PHY off on mux switch2635c4fd91net: xgene: Move shared header file into include/linuxa70b966c6cnet/phy/mdio-i2c: Move header file to include/linux/mdioa9a022a0dbnet/tg3: resolve deadlock in tg3_reset_task() during EEH92a65b0f20thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()e249cea3abnet: ravb: Fix possible hang if RIS2_QFF1 happena7585028acsctp: fail if no bound addresses can be used for a given scopedae05cd371net/sched: sch_taprio: do not schedule in taprio_reset()fe9b9e621cnetrom: Fix use-after-free of a listening socket.67ac3b4cd5netfilter: conntrack: fix vtag checks for ABORT/SHUTDOWN_COMPLETE8f0eb24f1aipv4: prevent potential spectre v1 gadget in fib_metrics_match()746db9ec1eipv4: prevent potential spectre v1 gadget in ip_metrics_convert()4cde1d2f16netlink: annotate data races around sk_statec64bb85471netlink: annotate data races around dst_portid and dst_groupea11a52f55netlink: annotate data races around nlk->portidcfdd81ae47netfilter: nft_set_rbtree: skip elements in transaction from garbage collectionddd49cbbd4net: fix UaF in netns ops registration error path3e5082b1c6netlink: prevent potential spectre v1 gadgets66e10d5f39EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info594618c701EDAC/device: Respect any driver-supplied workqueue polling valuea536d87ec7ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment768e8cdf93thermal: intel: int340x: Protect trip temperature from concurrent updatesaa33d334bdKVM: x86/vmx: Do not skip segment attributes if unusable bit is set91be54849dcifs: Fix oops due to uncleared server->smbd_conn in reconnectbcb65adaa9ftrace/scripts: Update the instructions for ftrace-bisect.sh31b2414abetrace_events_hist: add check for return value of 'create_hist_field'76b2390fdctracing: Make sure trace_printk() can output as soon as it can be used4a4a22dda0module: Don't wait for GOING modules1cd70d8427scsi: hpsa: Fix allocation size for scsi_host_alloc()4d55f918e1Bluetooth: hci_sync: cancel cmd_timer if hci_open failede588a5872dRevert "Revert "xhci: Set HCD flag to defer primary roothub registration""8eb5a68064fs: reiserfs: remove useless new_opts in reiserfs_remounta61bc9197dnetfilter: conntrack: do not renew entry stuck in tcp SYN_SENT stated39117d779Revert "selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID"b4253b47bfmmc: sdhci-esdhc-imx: correct the tuning start tap and step setting14b70b4b4ammc: sdhci-esdhc-imx: disable the CMD CRC check for standard tuning7e66f28ce5mmc: sdhci-esdhc-imx: clear pending interrupt and halt cqhcia58c144b9elockref: stop doing cpu_relax in the cmpxchg loopd6ff82a4d7platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK295690bb05platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD890d850cb2scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id45b3fc9cc6KVM: s390: interrupt: use READ_ONCE() before cmpxchg()dc0867c447spi: spidev: remove debug messages that access spidev->spi without locking0dfd34fb45ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets9e02118045ASoC: fsl_ssi: Rename AC'97 streams to avoid collisions with AC'97 CODEC3163f4ed49cpufreq: armada-37xx: stop using 0 as NULL pointer1ec79234c2s390/debug: add _ASM_S390_ prefix to header guard1869922405drm: Add orientation quirk for Lenovo ideapad D330-10IGLaff2bc5784ASoC: fsl_micfil: Correct the number of steps on SX controls1c587aa6cdcpufreq: Add Tegra234 to cpufreq-dt-platdev blocklist8cca0afccetcp: fix rate_app_limited to default to 111a4d51a4fnet: dsa: microchip: ksz9477: port map correction in ALU table entry register02a4a7dc90driver core: Fix test_async_probe_init saves device in wrong array276052159bw1: fix WARNING after calling w1_process()82867190cew1: fix deadloop in __w1_remove_master_device()c9ada35340tcp: avoid the lookup process failing to get sk in ehash tablee963b33723dmaengine: xilinx_dma: call of_node_put() when breaking out of for_each_child_of_node()9b4482267edmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handlingfe39e74a64dmaengine: xilinx_dma: use devm_platform_ioremap_resource()d3065cc562HID: betop: check shape of output reportsd16b83c804net: macb: fix PTP TX timestamp failure due to packet padding18dd3b30d4dmaengine: Fix double increment of client_count in dma_chan_get()cbed756bd1drm/panfrost: fix GENERIC_ATOMIC64 dependency914c58fec1net: mlx5: eliminate anonymous module_init & module_exit7335ba0c03usb: gadget: f_fs: Ensure ep0req is dequeued before free_requesta8d40942dfusb: gadget: f_fs: Prevent race during ffs_ep0_queue_waitedec50677bHID: revert CHERRY_MOUSE_000C quirkefa29f4ba0net: stmmac: fix invalid call to mdiobus_get_phy()8c3653c4e7HID: check empty report_list in bigben_probe()89e7fe3999HID: check empty report_list in hid_validate_values()8a7b9560a3net: mdio: validate parameter addr in mdiobus_get_phy()ce1e79bf31net: usb: sr9700: Handle negative len4fd6a6b101l2tp: Don't sleep and disable BH under writer-side sk_callback_lock7188c37f3cl2tp: Serialize access to sk_user_data with sk_callback_lock24c7614d31net: fix a concurrency bug in l2tp_tunnel_register()1200388a0bnet/sched: sch_taprio: fix possible use-after-free9042a9a3f2wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oidde0e084f85gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode8df414fce4net: wan: Add checks for NULL for utdm in undo_uhdlc_init and unmap_si_regsa59cdbda37net: nfc: Fix use-after-free in local_cleanup()2a05d513d2phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in rockchip_usb2phy_power_on()81b3374944bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation8b35c7f692amd-xgbe: Delay AN timeout during KR trainingb85e0bb478amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent3d41f4eeabaffs: initialize fsdata in affs_truncate()03965f8ad2IB/hfi1: Fix expected receive setup error exit issuesf5c918dc4eIB/hfi1: Reserve user expected TIDsd307c75f43IB/hfi1: Reject a zero-length user expected buffer902063a9feRDMA/core: Fix ib block iterator counter overflow048c17b619tomoyo: fix broken dependency on *.conf.default8d23f5d252EDAC/highbank: Fix memory leak in highbank_mc_probe()97445814efHID: intel_ish-hid: Add check for ishtp_dma_tx_map4be51ea91aARM: imx: add missing of_node_put()12a763015bARM: imx35: Retrieve the IIM base address from devicetree3b76bc1598ARM: imx31: Retrieve the IIM base address from devicetree61669e6decARM: imx27: Retrieve the SYSCTRL base address from devicetreed4e913bad2ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts'6d7f384268memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe()8959188b2fmemory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe()310268050dclk: Provide new devm_clk helpers for prepared and enabled clocksc7ef7185a1clk: generalize devm_clk_get() a bit46d9b30a0cMerge changes into android11-5.4-ltscc162d31ceMerge branch 'android11-5.4' into android11-5.4-ltsbc37d9c8b3Merge 5.4.230 into android11-5.4-lts90245959a5Linux 5.4.23029487eed37mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma7242fc8c2fx86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN2b1375fac0drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix763a74e1dedrm/amd/display: Fix set scaling doesn's work39e0844a1edrm/i915: re-disable RC6p on Sandy Bridgeffef77794fgsmi: fix null-deref in gsmi_get_variableb4461af0a5serial: atmel: fix incorrect baudrate setup55f9aca283dmaengine: tegra210-adma: fix global intr clear5d99369685serial: pch_uart: Pass correct sg to dma_unmap_sg()97697a252bdt-bindings: phy: g12a-usb3-pcie-phy: fix compatible string documentationaa1b22daa0usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210a21da7f7aausb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate()83b0aac55dusb: gadget: g_webcam: Send color matching descriptor per frame004fbb049busb: typec: altmodes/displayport: Fix pin assignment calculationa1478ef59busb: typec: altmodes/displayport: Add pin assignment helper040e0d1281usb: host: ehci-fsl: Fix module alias8d5740ad8fUSB: serial: cp210x: add SCALANCE LPE-9000 device id9a39f4626bUSB: gadgetfs: Fix race between mounting and unmounting1bc1fdd73fcifs: do not include page data when checking signature89ac597e3ebtrfs: fix race between quota rescan and disable leading to NULL pointer deref61cad0c61cmmc: sunxi-mmc: Fix clock refcount imbalance during unbind4f96ae71d3comedi: adv_pci1760: Fix PWM instruction handlingf11a689164usb: core: hub: disable autosuspend for TI TUSB8041556dfdb226misc: fastrpc: Fix use-after-free race condition for maps4b5c44e924misc: fastrpc: Don't remove map on creater_process and device_release04eb41ec96USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW1007ebb3ecab1USB: serial: option: add Quectel EM05CN modem32165699a0USB: serial: option: add Quectel EM05CN (SG) modem81affe3b46USB: serial: option: add Quectel EC200U modema7c19d94b8USB: serial: option: add Quectel EM05-G (RS) modem5966eda550USB: serial: option: add Quectel EM05-G (CS) modemeece7a6c97USB: serial: option: add Quectel EM05-G (GR) modem96b02125ddprlimit: do_prlimit needs to have a speculation checkafcb4e0ab8xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables84e2e57769usb: acpi: add helper to check port lpm capability using acpi _DSM8a6e963bf2xhci: Add a flag to disable USB3 lpm on a xhci root port level.cf6e5d3c2dxhci: Add update_hub_device override for PCI xHCI hosts133b902378xhci: Fix null pointer dereference when host dies9891e5c73cusb: xhci: Check endpoint is valid before dereferencing it643f7da782xhci-pci: set the dma max_seg_size890792b579ALSA: hda/realtek - Turn on power earlye60730280bdrm/i915/gt: Reset twice2e3e2649eaefi: fix userspace infinite retry read efivars after EFI runtime services page faultb0ba060d32nilfs2: fix general protection fault in nilfs_btree_insert()53dd833fd0Add exception protection processing for vd in axi_chan_handle_err function33a4d05138wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices557e85ff9af2fs: let's avoid panic if extent_tree is not created7165dd4c3bRDMA/srp: Move large values to a new enum for gcc1319304ffb7bnet/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats4de1a5af1bselftests/bpf: check null propagation only neither reg is PTR_TO_BTF_IDa869f7b054pNFS/filelayout: Fix coalescing test for single DS931c2a07ffRevert "net: add atomic_long_t to net_device_stats fields"b1330360dbRevert "PM/devfreq: governor: Add a private governor_data for governor"68fdd20442Merge 5.4.229 into android11-5.4-lts1349fe3a33Linux 5.4.22968a37dc77etipc: call tipc_lxc_xmit without holding node_read_lock1140c3f7adocfs2: fix freeing uninitialized resource on ocfs2_dlm_shutdown2db88851fatipc: Add a missing case of TIPC_DIRECT_MSG type38b5d7054dtty: serial: tegra: Handle RX transfer in PIO mode if DMA wasn't started3188f80b80tipc: fix use-after-free in tipc_disc_rcv()3eeb06132dRevert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"ecd47ffc99mm: Always release pages to the buddy allocator in memblock_free_late().5fcf75a8a4efi: fix NULL-deref in init error pathb30e5dd077arm64: cmpxchg_double*: hazard against entire exchange variableecdd65051barm64: atomics: remove LL/SC trampolinesf840000928arm64: atomics: format whitespace consistentlyd01d6d2b06drm/virtio: Fix GEM handle creation UAF3030f11f27x86/resctrl: Fix task CLOSID/RMID update race22c4eeafc3x86/resctrl: Use task_curr() instead of task_struct->on_cpu to prevent unnecessary IPIb3f9242467iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()ecfe33e075iommu/mediatek-v1: Add error handle for mtk_iommu_probeec049ae2b4net/mlx5: Fix ptp max frequency adjustment range62d707dabbnet/mlx5: Rename ptp clock info2b157c3c5dnet/sched: act_mpls: Fix warning during failed attribute validation9424d2205fnfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()576eadef2chvc/xen: lock console list traversal7d04fe153dtipc: fix unexpected link reset due to discovery messages95b2d4889ftipc: eliminate checking netns if node establishedd6418829cetipc: improve throughput between nodes in netnsd443308edbregulator: da9211: Use irq handler when ready43f48e6c30EDAC/device: Fix period calculation in edac_device_reset_delay_period()a5b737623ex86/boot: Avoid using Intel mnemonics in AT&T syntax asmd0c6d2a310powerpc/imc-pmu: Fix use of mutex in IRQs disabled sectionfeefb33eefnetfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.e431b4fb1fext4: fix uninititialized value in 'ext4_evict_inode'026a4490b5ext4: fix use-after-free in ext4_orphan_cleanupfa41a133eaext4: lost matching-pair of trace in ext4_truncate1d5524832fext4: fix bug_on in __es_tree_search caused by bad quota inode3da22d06e0quota: Factor out setup of quota inodeecb9d0d2e1jbd2: use the correct print format06bb3f4e3busb: ulpi: defer ulpi_register on ulpi_read_id timeouta2689a4464wifi: wilc1000: sdio: fix module autoloading3998dba0f7ipv6: raw: Deduct extension header length in rawv6_push_pending_frames53cefa802fixgbe: fix pci device refcount leake0d6f3b62bplatform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe1ad759df6adrm/msm/adreno: Make adreno quirks not overwrite each other098416c4e3cifs: Fix uninitialized memory read for smb311 posix symlink created6546426cdALSA: hda/hdmi: Add a HP device 0x8715 to force connect listeaa5580a74ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAFc6d29a5ffdnet/ulp: prevent ULP without clone op from entering the LISTEN statusb318d41f1bs390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()f6da927c92s390/kexec: fix ipl report address for kdump4bf6e11c34perf auxtrace: Fix address filter duplicate symbol selection2e4164d3d1docs: Fix the docs build with Sphinx 6.03ed183074cefi: tpm: Avoid READ_ONCE() for accessing the event log3ad31129ceKVM: arm64: Fix S1PTW handling on RO memslots9b83ec63d0net: sched: disallow noqueue for qdisc classesaa52acefc6driver core: Fix bus_type.match() error handling in __driver_attach()8d60a90560selftests: set the BUILD variable to absolute pathcad6d2bb47selftests: Fix kselftest O=objdir build from cluttering top level objdir320dbbd86fparisc: Align parisc MADV_XXX constants with all other architecturesd868597b71mbcache: Avoid nesting of cache->c_list_lock under bit locksda23752d96hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling781fa14141hfs/hfsplus: use WARN_ON for sanity checkb47c690109ext4: don't allow journal inode to have encrypt flag1464feb5b6riscv: uaccess: fix type of 0 variable on error in get_user()da41069c61nfsd: fix handling of readdir in v4root vs. mount upcall timeout8cbd7f2643x86/bugs: Flush IBP in ib_prctl_set()ba780bff9fASoC: Intel: bytcr_rt5640: Add quirk for the Advantech MICA-071 tablete66ae100e7udf: Fix extension of the last extent in the file33df9c5d5ecaif: fix memory leak in cfctrl_linkup_request()3cb1ee82e4drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()ebe6d2fcf7usb: rndis_host: Secure rndis_query check against int overflowa07b4895b9drivers/net/bonding/bond_3ad: return when there's no aggregator2f7a09c1eeperf tools: Fix resources leak in perf_data__open_dir()6b17b84634net: sched: cbq: dont intepret cls results when asked to drop63e469cb54net: sched: atm: dont intepret cls results when asked to dropd16e5fefd8RDMA/mlx5: Fix validation of max_rd_atomic caps for DC564fdc2f8bRDMA/uverbs: Silence shiftTooManyBitsSigned warning00616bd191net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe904ad95b39net: amd-xgbe: add missed tasklet_killa15cbe9b84vhost: fix range used in translate_desc()d8e410315anfc: Fix potential resource leaks8f97eeb02aqlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure55ac68b53fnet: sched: fix memory leak in tcindex_set_parmsb6a0623f75net: hns3: add interrupts re-initialization while doing VF FLRf9c551d874nfsd: shut down the NFSv4 state objects before the filecache7eaaee5268bpf: pull before calling skb_postpull_rcsum()1d449cd240SUNRPC: ensure the matching upcall is in-flight upon downcallaf53065276ext4: fix deadlock due to mbcache entry corruption711ef736ddmbcache: automatically delete entries from cache on freeingaf8ecc8d20ext4: fix race when reusing xattr blocksea4b9091aaext4: unindent codeblock in ext4_xattr_block_set()a5f9bd4beaext4: remove EA inode entry from mbcache on inode eviction951ea4d3dfmbcache: add functions to delete entry if unused81b0bb1eb2mbcache: don't reclaim used entriesc2f1e12b65ext4: use kmemdup() to replace kmalloc + memcpy6453836e37fs: ext4: initialize fsdata in pagecache_write()1af609646cext4: use memcpy_to_page() in pagecache_write()49dac5e017mm/highmem: Lift memcpy_[to|from]_page to coref44dcd9dceext4: correct inconsistent error msg in nojournal modeb02aa6a05aext4: goto right label 'failed_mount3a'e0fce1d665ravb: Fix "failed to switch device to config mode" message during unbind0ebcfdc8c9KVM: nVMX: Properly expose ENABLE_USR_WAIT_PAUSE control to L1e723bafd8fKVM: VMX: Fix the spelling of CPU_BASED_USE_TSC_OFFSETTING7290669045KVM: VMX: Rename NMI_PENDING to NMI_WINDOWda8ff59210KVM: VMX: Rename INTERRUPT_PENDING to INTERRUPT_WINDOWdb99c8d6b7KVM: retpolines: x86: eliminate retpoline from vmx.c exit handlers2c82f134b9KVM: x86: optimize more exit handlers in vmx.c6e3f6d9562perf probe: Fix to get the DW_AT_decl_file and DW_AT_call_file as unsinged datafc67c00defperf probe: Use dwarf_attr_integrate as generic DWARF attr accessord06a7e2049dm thin: resume even if in FAIL mode28cdd90c26media: s5p-mfc: Fix in register read and write for H264640075400cmedia: s5p-mfc: Clear workbit to handle error condition4a52a1a3eamedia: s5p-mfc: Fix to handle reference queue during finishingb9275d8a92PM/devfreq: governor: Add a private governor_data for governor839f3ca8bcbtrfs: replace strncpy() with strscpy()b5db135457ext4: allocate extended attribute value in vmalloc area6ef8b0a743ext4: avoid unaccounted block allocation when expanding inodeb14a553b0fext4: initialize quota before expanding inode in setproject ioctl9ef603086cext4: fix inode leak in ext4_xattr_inode_create() on an error path7138ef745eext4: avoid BUG_ON when creating xattrs4d84ec8e5cext4: fix error code return to user-space in ext4_get_branch()a4c3c1d57dext4: fix corruption when online resizing a 1K bigalloc fs6f4200ec76ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inlinef263e349baext4: init quota for 'old.inode' in 'ext4_rename'78e335fb57ext4: fix bug_on in __es_tree_search caused by bad boot loader inode362ce137d5ext4: fix reserved cluster accounting in __es_remove_extent()e1d946d9c8ext4: add helper to check quota inums2142dfa1deext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode4690a4bdcfext4: fix undefined behavior in bit shift for ext4_check_flag_valuese347c269b5ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop94b283341fdrm/vmwgfx: Validate the box size for the snooped cursoreea62f0461drm/connector: send hotplug uevent on connector cleanupfbfd6dee52device_cgroup: Roll back to original exceptions after copy failure5e4500454dparisc: led: Fix potential null-ptr-deref in start_task()662dc7c6beiommu/amd: Fix ivrs_acpihid cmdline parsing code93e919d9accrypto: n2 - add missing hash statesizea5866d531bPCI/sysfs: Fix double free in error path65bd096299PCI: Fix pci_device_is_present() for VFs by checking PFd23006f2a5ipmi: fix use after free in _ipmi_destroy_user()cf19abbe4bima: Fix a potential NULL pointer access in ima_restore_measurement_listb163363535mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()74531c23adipmi: fix long wait in unload when IPMI disconnectd4f48c648aefi: Add iMac Pro 2017 to uefi skip cert quirk2c4832a089md/bitmap: Fix bitmap chunk size overflow issuesb869cb7a3dcifs: fix missing display of three mount options149babe5e0cifs: fix confusing debug messagea29d621309media: dvb-core: Fix UAF due to refcount races at releasingb21f62b49emedia: dvb-core: Fix double free in dvb_register_device()50c2379f87ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmodc42cb66a89tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_linecb03fc217btracing/hist: Fix wrong return value in parse_action_params()f5489d5a24x86/microcode/intel: Do not retry microcode reloading on the APscf79d5410atracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx'1a5165e80adm cache: set needs_check flag after aborting metadata2f097dfac7dm cache: Fix UAF in destroy()520b56cfd9dm clone: Fix UAF in clone_dtr()792e51aac3dm integrity: Fix UAF in dm_integrity_dtr()7ae6aa6493dm thin: Fix UAF in run_timer_softirq()f758987ff0dm thin: Use last transaction's pmd->root when commit failed200aa33b5ddm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadataf472bfc95ddm cache: Fix ABBA deadlock between shrink_slab and dm_cache_metadata_abort52ba5b87a3binfmt: Fix error return code in load_elf_fdpic_binary()33933af45dbinfmt: Move install_exec_creds after setup_new_exec to match binfmt_elf3cdd91a916cpufreq: Init completion before kobject_init_and_add()6ccb116e6bselftests: Use optional USERCFLAGS and USERLDFLAGS2b8f2e127darm64: dts: qcom: sdm850-lenovo-yoga-c630: correct I2C12 pins drive strengthb22d683c90ARM: ux500: do not directly dereference __iomemc59ee1528bbtrfs: fix resolving backrefs for inline extent followed by prealloce63e1c6793mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K3de2c36283ktest.pl minconfig: Unset configs instead of just removing themd10523afa8kest.pl: Fix grub2 menu handling for rebootingd089baa5b6soc: qcom: Select REMAP_MMIO for LLCC driverbcce46e115media: stv0288: use explicitly signed charde2ea2a0adnet/af_packet: make sure to pull mac headerad3f90a9c4net/af_packet: add VLAN support for AF_PACKET SOCK_RAW GSOaa91afe597SUNRPC: Don't leak netobj memory when gss_read_proxy_verf() failse027f3b9fatpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak927860dfa1tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leakf1c08947abmmc: vub300: fix warning - do not call blocking ops when !TASK_RUNNINGf4b5a27f56f2fs: should put a page when checking the summary infof02d2e2b9bmm, compaction: fix fast_isolate_around() to stay within boundaries384ef33d37md: fix a crash in mempool_free2dae4211b5pnode: terminate at peers of source25e8c6ecb4ALSA: line6: fix stack overflow in line6_midi_transmit10a07d81f6ALSA: line6: correct midi status byte when receiving data from podxt0e727c328eovl: Use ovl mounter's fsuid and fsgid in ovl_link()cae6dddef2hfsplus: fix bug causing custom uid and gid being unable to be assigned with mountfe83242eabHID: plantronics: Additional PIDs for double volume key presses quirkb201fe49eeHID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint515959eb49powerpc/rtas: avoid scheduling in rtas_os_term()c2fa91abf2powerpc/rtas: avoid device tree lookups in rtas_os_term()418ef921ccobjtool: Fix SEGFAULT28046827c3nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition24561f5d09nvme: resync include/linux/nvme.h with nvmeclie69e8d7867ata: ahci: Fix PCS quirk application for suspende74d9f13a4nvme-pci: fix doorbell buffer value endiannesse8e2861cc3cifs: fix oops during encryption3c3baa40dcmedia: dvbdev: fix refcnt bug334a76861bmedia: dvbdev: fix build warning due to comments2a0e42877dgcov: add support for checksum field328f3c084fregulator: core: fix deadlock on regulator enablefb0407d8cdiio: adc128s052: add proper .data members in adc128_of_match tablebcb052a87diio: adc: ad_sigma_delta: do not use internal iio_dev lockad4eb32cedreiserfs: Add missing calls to reiserfs_security_free()5a5ef1882fHID: wacom: Ensure bootloader PID is usable in hidraw mode9e8f60094eusb: dwc3: core: defer probe on ulpi_read_id timeout7778fa1ca8ALSA: hda/hdmi: Add HP Device 0x8711 to force connect list12622fa053ALSA: hda/realtek: Add quirk for Lenovo TianYi510Pro-14IOBfad324bc07pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXESe56423bb8epstore: Switch pmsg_lock to an rt_mutex to avoid priority inversione8a1ccd120ASoC: rt5670: Remove unbalanced pm_runtime_put()737058bd0bASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume()d456c253f3ASoC: wm8994: Fix potential deadlock2705bb1661ASoC: rockchip: pdm: Add missing clk_disable_unprepare() in rockchip_pdm_runtime_resume()ed1376f771ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()df9cd38c3bASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()56f630a0d5ASoC: Intel: Skylake: Fix driver hang during shutdownfd0d3bf37dALSA: hda: add snd_hdac_stop_streams() helperd5952155d6ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.cbdc2d33fa2orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init()2e7c091210orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()511b48ee8edrm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid()6c00350c9fdrm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid()fa71639873hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param()713ad301c2clk: st: Fix memory leak in st_of_quadfs_setup()0ca298d548media: si470x: Fix use-after-free in si470x_int_in_callback()21d26381e1mmc: f-sdh30: Add quirks for broken timeout clock capability5bfc53df28regulator: core: fix use_count leakage when handling boot-on87fd18016ablk-mq: fix possible memleak when register 'hctx' failed17217737c1media: dvb-usb: fix memory leak in dvb_usb_adapter_init()6d18b44bb4media: dvbdev: adopts refcnt to avoid UAF438a4a8decmedia: dvb-frontends: fix leak of memory fw89357aa97bbpf: Prevent decl_tag from being referenced in func_proto arg7da524781cppp: associate skb with a device at txaadb1507a7mrp: introduce active flags to prevent UAF when applicant uninit4bdcc6a5aanet: add atomic_long_t to net_device_stats fields19d5a0e17amd/raid1: stop mdx_raid1 thread when raid1 array run failed5d8d046f3ddrivers/md/md-bitmap: check the return value of md_bitmap_get_counter()2b1b145ca1drm/sti: Use drm_mode_copy()272d12b5f3drm/rockchip: Use drm_mode_copy()20022d551fs390/lcs: Fix return type of lcs_start_xmit()4bee3c75d5s390/netiucv: Fix return type of netiucv_tx()e859e02fbfs390/ctcm: Fix return type of ctc{mp,}m_tx()f96bd8adc8igb: Do not free q_vector unless new one was allocated5b06a8a25ewifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request()e390838eefhamradio: baycom_epp: Fix return type of baycom_send_packet()dbe1a6b930net: ethernet: ti: Fix return type of netcp_ndo_start_xmit()772431f30cbpf: make sure skb->len != 0 when redirecting to a tunneling device9066300fe8ipmi: fix memleak when unload ipmi driver8234c522efASoC: codecs: rt298: Add quirk for KBL-R RVP platform7360b323e0wifi: ar5523: Fix use-after-free on ar5523_cmd() timed outca57748593wifi: ath9k: verify the expected usb_endpoints are present3cc9299036brcmfmac: return error when getting invalid max_flowrings from donglee44bfef5bfdrm/etnaviv: add missing quirks for GC30090103ccb6ehfs: fix OOB Read in __hfs_brec_finda815a3e019acct: fix potential integer overflow in encode_comp_t()d706485dffnilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset()9ef353c92fACPICA: Fix error code path in acpi_ds_call_control_method()50163a1158fs: jfs: fix shift-out-of-bounds in dbDiscardAG156d440deaudf: Avoid double brelse() in udf_rename()359616ce58fs: jfs: fix shift-out-of-bounds in dbAllocAG419b808504binfmt_misc: fix shift-out-of-bounds in check_special_flags3d92527a91rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()4f1d37ff42net: stream: purge sk_error_queue in sk_stream_kill_queues()fbae0dc7e2myri10ge: Fix an error handling path in myri10ge_probe()67af8655c8rxrpc: Fix missing unlock in rxrpc_do_sendmsg()93e794d4fenet_sched: reject TCF_EM_SIMPLE case for complex ematch moduleb3a5c76f61mailbox: zynq-ipi: fix error handling while device_register() fails668dc454bcskbuff: Account for tail adjustment during pull operations8b74211bf6openvswitch: Fix flow lookup to use unmasked key0e91836628rtc: mxc_v2: Add missing clk_disable_unprepare()b0a6135902r6040: Fix kmemleak in probe and remove8bddef54cbnfc: pn533: Clear nfc_target before being useddb77d4d005mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()82ff73638cmISDN: hfcpci: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()5a35d18e79mISDN: hfcsusb: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()fddac3b457nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failuref06d3feee9NFSD: Add tracepoints to NFSD's duplicate reply cachefe142d5ceenfsd: Define the file access mode enum for tracingaa5fafd4a6rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe()686f0793f7rtc: st-lpc: Add missing clk_disable_unprepare in st_rtc_probe()1240ed71a0remoteproc: qcom_q6v5_pas: Fix missing of_node_put() in adsp_alloc_memory_region()27441fab26remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()292c0f3b4apwm: sifive: Call pwm_sifive_update_clock() while mutex is held2b7ad43574selftests/powerpc: Fix resource leaks39633b4051powerpc/hv-gpci: Fix hv_gpci event listaed862896dpowerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe()d539b77baepowerpc/perf: callchain validate kernel stack pointer boundscfb5bbfcb6powerpc/xive: add missing iounmap() in error path in xive_spapr_populate_irq_data()f2d60f6ba1cxl: Fix refcount leak in cxl_calc_capp_routing9bf842ffddpowerpc/52xx: Fix a resource leak in an error handling pathb703da16dcmacintosh/macio-adb: check the return value of ioremap()b29a2f1dd3macintosh: fix possible memory leak in macio_add_one_device()17fd440594iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe()8581ec1febiommu/amd: Fix pci device refcount leak in ppr_notifier()0d96a6f5dbrtc: pcf85063: Fix reading alarmbb1bdc72ddrtc: snvs: Allow a time difference on clock register read6a54d03337include/uapi/linux/swab: Fix potentially missing __always_inlinef170d4bd38RDMA/siw: Fix pointer cast warning8ea68b4e3fpower: supply: fix null pointer dereferencing in power_supply_get_battery_info61e80e7929HSI: omap_ssi_core: Fix error handling in ssi_init()7ae85631aeperf symbol: correction while adjusting symbol739b4294f8perf trace: Handle failure when trace point folder is missed1b4053ad54perf trace: Use macro RAW_SYSCALL_ARGS_NUM to replace number443aaf605fperf trace: Add a strtoul() method to 'struct syscall_arg_fmt'339e08e185perf trace: Allow associating scnprintf routines with well known arg names97cc27a28dperf trace: Add the syscall_arg_fmt pointer to syscall_arga2fcb44f5eperf trace: Factor out the initialization of syscal_arg_fmt->scnprintfba67de37adperf trace: Separate 'struct syscall_fmt' definition from syscall_fmts variable6086919d8cperf trace: Return error if a system call doesn't existf84fff700dpower: supply: fix residue sysfs file in error handle route of __power_supply_register()ef87ed9addHSI: omap_ssi_core: fix possible memory leak in ssi_probe()e9a32f7523HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()0f049375adfbdev: uvesafb: Fixes an error handling path in uvesafb_probe()3c9aaa58f7fbdev: vermilion: decrease reference count in error path9413f188effbdev: via: Fix error in via_core_init()65dbd8eefafbdev: pm2fb: fix missing pci_disable_device()77738055e2fbdev: ssd1307fb: Drop optional dependency72c8770e35samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()19b651db94tracing/hist: Fix issue of losting command info in error_logfab2536ba1usb: storage: Add check for kcalloccdcbae2c50i2c: ismt: Fix an out-of-bounds bug in ismt_access()f3f65c4177vme: Fix error not catched in fake_init()e5c97a433cstaging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor()288ada16a9staging: rtl8192u: Fix use after free in ieee80211_rx()c226717aa8i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probed85b5247a7chardev: fix error handling in cdev_device_add()110dc34c9fmcb: mcb-parse: fix error handing in chameleon_parse_gdd()68e54d9ee8drivers: mcb: fix resource leak in mcb_probe()80dc47e751usb: gadget: f_hid: fix refcount leak on error pathc78c87c4e3usb: gadget: f_hid: fix f_hidg lifetime vs cdevefa2ed93e5usb: gadget: f_hid: optional SETUP/SET_REPORT mode5e193764c2usb: roles: fix of node refcount leak in usb_role_switch_is_parent()76740fd8c6counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update361412dae1cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter()60b2ed21a6cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()0078dd8758misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_osee2715faf7misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()0cd0506237misc: ocxl: fix possible name leak in ocxl_file_register_afu()628de998a3test_firmware: fix memory leak in test_firmware_init()98c01a728bserial: sunsab: Fix error handling in sunsab_init()61f4146a7eserial: altera_uart: fix locking in polling modece40c44e62tty: serial: altera_uart_{r,t}x_chars() need only uart_port071bb9e363tty: serial: clean up stop-tx part in altera_uart_tx_chars()d165388227serial: pch: Fix PCI device refcount leak in pch_request_dma()06c886548cserial: pl011: Do not clear RX FIFO & RX interrupt in unthrottle.965f07ea5fserial: amba-pl011: avoid SBSA UART accessing DMACR register4f257e2ebausb: typec: tcpci: fix of node refcount leak in tcpci_register_port()af4049a2ffusb: typec: Check for ops->exit instead of ops->enter in altmode_exita45ba33d39staging: vme_user: Fix possible UAF in tsi148_dma_list_add90e227d8b4usb: fotg210-udc: Fix ages old endianness issues12d20ba3ceuio: uio_dmem_genirq: Fix deadlock between irq config and handlingeca77a25a7uio: uio_dmem_genirq: Fix missing unlock in irq configurationc2163ecc48vfio: platform: Do not pass return buffer to ACPI _RST method3e0efc3f3fclass: fix possible memory leak in __class_register()0c44f584e3serial: tegra: Read DMA status before terminatingdcb26ea75dtty: serial: tegra: Activate RX DMA transfer by requestda64e01da4drivers: dio: fix possible memory leak in dio_init()d4bf3fcccdIB/IPoIB: Fix queue count inconsistency for PKEY child interfaces5cc818ad53hwrng: geode - Fix PCI device refcount leak1199f8e029hwrng: amd - Fix PCI device refcount leakc75ea343e4crypto: img-hash - Fix variable dereferenced before check 'hdev->req'76a9a58a71orangefs: Fix sysfs not cleanup when dev init failed5a2028369dRDMA/hfi1: Fix error return code in parse_platform_config()7917484c99crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe()c21a09ed1ef2fs: avoid victim selection from previous victim section91f63dd622RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps()6866154c23scsi: snic: Fix possible UAF in snic_tgt_create()be5f1a82adscsi: fcoe: Fix transport not deattached when fcoe_if_init() failseccbec017cscsi: ipr: Fix WARNING in ipr_init()c9f83544fbscsi: fcoe: Fix possible name leak when device_register() fails3c4bb9446dscsi: hpsa: Fix possible memory leak in hpsa_add_sas_device()6fac40d806scsi: hpsa: Fix error handling in hpsa_add_sas_host()d60000cb11scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add()89e3f7324acrypto: tcrypt - Fix multibuffer skcipher speed test mem leakf8fc2f1865scsi: hpsa: Fix possible memory leak in hpsa_init_one()bd7106a600RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create faileda36c929fd7crypto: ccree - Make cc_debugfs_global_fini() available for module init function895bbed5aeRDMA/hfi: Decrease PCI device reference count in error path7e68c0d095PCI: Check for alloc failure in pci_request_irq()a234815ceecrypto: ccree - Remove debugfs when platform_driver_register failedca438aa466crypto: ccree - swap SHA384 and SHA512 larval hashes at build time263d21afbascsi: scsi_debug: Fix a warning in resp_write_scat()b5848661f1RDMA/siw: Set defined status for work completion with undefined statusad1676587cRDMA/nldev: Return "-EAGAIN" if the cm_id isn't from expected port6af043089dRDMA/siw: Fix immediate work request flush to completion queueef6079d98ff2fs: fix normal discard process7826e4c85eRDMA/core: Fix order of nldev_exit call3339d808b6apparmor: Use pointer to struct aa_label for lbs_credf7368ac846apparmor: Fix abi check to include v8 abie1a68ac015apparmor: fix lockdep warning when removing a namespaceeb0f78e28capparmor: fix a memleak in multi_transaction_new()df121012e4stmmac: fix potential division by 0203d604bd5Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()5e832e0182Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()8ae86c1ec2Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave()f360585691Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave()78e76830c7Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave()b38b064cbaBluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave()f6d822ce4bBluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave()a6b9e09403ntb_netdev: Use dev_kfree_skb_any() in interrupt context3f2946a54bnet: lan9303: Fix read error execution path7d67e8ccfccan: tcan4x5x: Remove invalid write in clear_interrupts068672e75bnet: amd-xgbe: Check only the minimum speed for active/passive cables291b9669f6net: amd-xgbe: Fix logic around active and passive cablesbc06c239d5net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave()1e39d57a0ehamradio: don't call dev_kfree_skb() under spin_lock_irqsave()20dd873605net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave()3b748ba07bnet: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave()4b8256d9bfnet: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave()bc51a3cadfnet: apple: mace: don't call dev_kfree_skb() under spin_lock_irqsave()303000c793net/tunnel: wait until all sk_user_data reader finish before releasing the sock0c5f2c7700net: farsync: Fix kmemleak when rmmods farsynccf7416aa01ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave()9ec5781879of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()a44490abafdrivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()429370c40dnet: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload()bba527e4ecnet: defxx: Fix missing err handling in dfx_init()f54731a70cnet: vmw_vsock: vmci: Check memcpy_from_msg()6f2198914fclk: socfpga: Fix memory leak in socfpga_gate_init()dbd1a4fdf5clk: socfpga: use clk_hw_register for a5/c549513eabdaclk: socfpga: clk-pll: Remove unused variable 'rc'fe783eeac4blktrace: Fix output non-blktrace event when blk_classic option enabledd628d5c5b4wifi: brcmfmac: Fix error return code in brcmf_sdio_download_firmware()1a49bba59dwifi: rtl8xxxu: Add __packed to struct rtl8723bu_c2h9e8440a657spi: spi-gpio: Don't set MOSI as an input if not 3WIRE modea00b4e0fa2clk: samsung: Fix memory leak in _samsung_clk_register_pll()7a2c66429bmedia: coda: Add check for kmalloc2b436f1410media: coda: Add check for dcoda_iram_alloc6250bc7331media: c8sectpfe: Add of_node_put() when breaking out of loop0fcee27507mmc: mmci: fix return value check of mmc_add_host()0a41ea4fd4mmc: wbsd: fix return value check of mmc_add_host()f59ef2a47ammc: via-sdmmc: fix return value check of mmc_add_host()9e11c6bb74mmc: meson-gx: fix return value check of mmc_add_host()f153c9e15fmmc: omap_hsmmc: fix return value check of mmc_add_host()6bb26abb92mmc: atmel-mci: fix return value check of mmc_add_host()c7a328cea7mmc: wmt-sdmmc: fix return value check of mmc_add_host()3b29f8769dmmc: vub300: fix return value check of mmc_add_host()3dbb69a024mmc: toshsd: fix return value check of mmc_add_host()937112e991mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()0b7b634225mmc: pxamci: fix return value check of mmc_add_host()32eb502c97mmc: mxcmmc: fix return value check of mmc_add_host()b174f2b36cmmc: moxart: fix return value check of mmc_add_host()289c964fe1mmc: alcor: fix return value check of mmc_add_host()e8f20523cfNFSv4.x: Fail client initialisation if state manager thread can't runf7a8a1e36dSUNRPC: Fix missing release socket in rpc_sockname()bcebcb11fcxprtrdma: Fix regbuf data not freed in rpcrdma_req_create()c7e9624d90ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt6a8c0abcb5media: saa7164: fix missing pci_disable_device()4cabc3af4abpf, sockmap: fix race in sock_map_free()35593d60b1regulator: core: fix resource leak in regulator_register()90c38f57a8configfs: fix possible memory leak in configfs_create_dir()6dea95f640hsr: Avoid double remove of a node.de7dbee4bdclk: qcom: clk-krait: fix wrong div2 functions339ba693daregulator: core: fix module refcount leak in set_supply()46dfff9102wifi: cfg80211: Fix not unregister reg_pdev when load_builtin_regdb_keys() fails624a989db9spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE52fb0ffee0bonding: uninitialized variable in bond_miimon_inspect()31631c2ab4bpf, sockmap: Fix data loss caused by using apply_bytes on ingress redirect7508b9f4dabpf, sockmap: Fix repeated calls to sock_put() when msg has more_datad4145d028anetfilter: conntrack: set icmpv6 redirects as RELATED27c09443ddASoC: pcm512x: Fix PM disable depth imbalance in pcm512x_probe981024abf5drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()470a779890drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()190685ff4eASoC: mediatek: mt8173: Enable IRQ when pdata is ready0e1e311fd9wifi: iwlwifi: mvm: fix double free on tx path.8b0c003e37ALSA: asihpi: fix missing pci_disable_device()5447f1ad0bNFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturne53a7c28a4NFSv4.2: Fix initialisation of struct nfs4_labelb2b472bcdaNFSv4.2: Fix a memory stomp in decode_attr_security_label96f3c70600NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding2672977dc0ASoC: mediatek: mtk-btcvsd: Add checks for write and read of mtk_btcvsd_sndd63e9eca94ASoC: dt-bindings: wcd9335: fix reset line polarity in example4ea79d0747drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe()542a87f1cfmedia: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC8b256d2336media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()9103bf2187media: dvb-core: Fix ignored return value in dvb_register_frontend()3359f8d533pinctrl: pinconf-generic: add missing of_node_put()ffd53b7892clk: imx: replace osc_hdmi with dummyaa79b53df7clk: imx8mn: correct the usb1_ctrl parent to be usb_bus1d8521e112media: imon: fix a race condition in send_packet()cf9c4c25camtd: maps: pxa2xx-flash: fix memory leak in probea7fc25159dbonding: fix link recovery in mode 2 when updelay is nonzero0879f594a7bonding: Rename slave_arr to usable_slaves9eaeb3e460bonding: Export skip slave logic to function26b94635f1clk: rockchip: Fix memory leak in rockchip_clk_register_pll()96be283d10regulator: core: use kfree_const() to free space conditionallyd884ed9a2fALSA: seq: fix undefined behavior in bit shift for SNDRV_SEQ_FILTER_USE_EVENT497279199dALSA: pcm: fix undefined behavior in bit shift for SNDRV_PCM_RATE_KNOTe6364854f5HID: hid-sensor-custom: set fixed size for custom attributes75a5bf8eebbpf: Move skb->len == 0 checks into __bpf_redirect61688b8819media: videobuf-dma-contig: use dma_mmap_coherent9ca9d7fd7dmedia: platform: exynos4-is: Fix error handling in fimc_md_init()7b02c50d39media: solo6x10: fix possible memory leak in solo_sysfs_init()f81f63168fInput: elants_i2c - properly handle the reset GPIO when power is off8eb64dc5a7mtd: lpddr2_nvm: Fix possible null-ptr-deref8e51f5894dwifi: ath10k: Fix return value in ath10k_pci_init()8176538866ima: Fix misuse of dereference of pointer in template_desc_init_fields()9b7c44885aintegrity: Fix memory leakage in keyring allocation error path4d3dc0de9camdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()d39937f8deregulator: core: fix unbalanced of node refcount in regulator_dev_lookup()a8baccb79dASoC: pxa: fix null-pointer dereference in filter()6f13a895cedrm/mediatek: Modify dpi power on/off sequence.a0f26560bedrm/radeon: Add the missed acpi_put_table() to fix memory leak832d0e19cerxrpc: Fix ack.bufferSize to be 0 when generating an ackc9c9350d30net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write()fe443b3fe3media: camss: Clean up received buffers on failed start of streaming08114dc185wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control portfa0d32ab84mtd: Fix device name leak when register device failed in add_mtd_device()d70fa0a6cebpf: propagate precision in ALU/ALU64 operations54f2599060media: vivid: fix compose size exceed boundary38d48fd224ima: Handle -ESTALE returned by ima_filter_rule_match()ecd0a6f81aima: Fix fall-through warnings for Clang55e2430e43ima: Rename internal filter rule functions0b7c47b7f3drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure3fcdc1534bspi: Update reference to struct spi_controllerd87dd4528dclk: renesas: r9a06g032: Repair grave increment errora2046e5a36can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming7482f95315can: kvaser_usb: Add struct kvaser_usb_busparamsf3d20de76fcan: kvaser_usb_leaf: Fix bogus restart eventsad63992b64can: kvaser_usb_leaf: Fix wrong CAN state after stopping9208795770can: kvaser_usb_leaf: Fix improved state not being reported60ad08be78can: kvaser_usb_leaf: Set Warning state even without bus errors12d95e65f7can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT5779a9d0e3can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event0e56748852can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device3a9d74f339can: kvaser_usb: do not increase tx statistics when sending error message frames3f2384f09bmedia: i2c: ad5820: Fix error pathe8e2da03c2pata_ipx4xx_cf: Fix unsigned comparison with less than zero5994e7a806wifi: rtl8xxxu: Fix reading the vendor of combo chips988bd27de2wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()9850791d38wifi: ath9k: hif_usb: fix memory leak of urbs in ath9k_hif_usb_dealloc_tx_urbs()bb7397f631rapidio: devices: fix missing put_device in mport_cdev_open6a95b17e4dhfs: Fix OOB Write in hfs_asc2mac657fea0a8drelay: fix type mismatch when allocating memory in relay_create_buf()e275249e5eeventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD311b488405rapidio: fix possible UAF when kfifo_alloc() fails7aa5325e1bfs: sysv: Fix sysv_nblocks() returns wrong valuecb5859603cMIPS: OCTEON: warn only once if deprecated link status is being usedb7ca75207eMIPS: BCM63xx: Add check for NULL for clk in clk_enable14bb4bde3bplatform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()11ad95912bPM: runtime: Do not call __rpm_callback() from rpm_idle()c40ee4e04bPM: runtime: Improve path in rpm_idle() when no callback4f983ee5e5xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource()29198f667fx86/xen: Fix memory leak in xen_init_lock_cpu()ec88254208x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()6e98158d97xen/events: only register debug interrupt for 2-level events314d510535uprobes/x86: Allow to probe a NOP instruction with 0x66 prefixdfdde4d513ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()805665aa52clocksource/drivers/sh_cmt: Make sure channel clock supply is enabled1bbad5793frapidio: rio: fix possible name leak in rio_register_mport()440afd7fd9rapidio: fix possible name leaks when rio_add_device() fails7ef516888cocfs2: fix memory leak in ocfs2_mount_volume()a4d3062f0aocfs2: rewrite error handling of ocfs2_fill_super227cc62e00ocfs2: ocfs2_mount_volume does cleanup job before return error5c27b46c20debugfs: fix error when writing negative value to atomic_t debugfs filec7bd49275ddocs: fault-injection: fix non-working usage of negative values6865a549f2lib/notifier-error-inject: fix error when writing -errno to debugfs file6fc6461672libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed value75940697c0cpufreq: amd_freq_sensitivity: Add missing pci_dev_put()d25bf9af86genirq/irqdesc: Don't try to remove non-existing sysfs filesb4e28099cdnfsd: don't call nfsd_file_put from client states seqfile displaye6e295a434EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()d5c06dba46irqchip: gic-pm: Use pm_runtime_resume_and_get() in gic_probe()e293263248perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()81b024df47PNP: fix name memory leak in pnp_alloc_dev()821afb8c89selftests/efivarfs: Add checking of the test return valuec0b8cff014MIPS: vpe-cmp: fix possible memory leak while module exitingb3325a4435MIPS: vpe-mt: fix possible memory leak while module exiting7c8bf45ceaocfs2: fix memory leak in ocfs2_stack_glue_init()e039929e36lib/fonts: fix undefined behavior in bit shift for get_default_font160d6d6f14proc: fixup uptime selftestd7b9e43a5ctimerqueue: Use rb_entry_safe() in timerqueue_getnext()248fa44cdeperf: Fix possible memleak in pmu_dev_alloc()044ede4c38selftests/ftrace: event_triggers: wait longer for test_event_enable8511186f10fs: don't audit the capability check in simple_xattr_list()c907c55dc7PM: hibernate: Fix mistake in kerneldoc commentf0ff6c60bcalpha: fix syscall entry in !AUDUT_SYSCALL case1399ce344ecpuidle: dt: Return the correct numbers of parsed idle states082b55fe9ftpm/tpm_crb: Fix error message in __crb_relinquish_locality()4d3126f242pstore: Avoid kcore oops by vmap()ing with VM_IOREMAPe2516652daARM: mmp: fix timer_read delay2de791ff6fpstore/ram: Fix error return code in ramoops_probe()ded1b82716arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC03a666631aARM: dts: turris-omnia: Add switch port 6 nodefe1fc4d84dARM: dts: turris-omnia: Add ethernet aliasesb20454ea05ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port1b7017211eARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port87b951b7c2ARM: dts: armada-375: Fix assigned-addresses for every PCIe Root Porte3cf3f7a6dARM: dts: armada-xp: Fix assigned-addresses for every PCIe Root Porte302758cafARM: dts: armada-370: Fix assigned-addresses for every PCIe Root Port0a8544b723ARM: dts: dove: Fix assigned-addresses for every PCIe Root Portf707c3fee2arm64: dts: mediatek: mt6797: Fix 26M oscillator unit namefdf511fc07arm64: dts: mt2712-evb: Fix usb vbus regulators unit names06fbfc5f43arm64: dts: mt2712-evb: Fix vproc fixed regulators unit namesf0c1f46e49arm64: dts: mt2712e: Fix unit address for pinctrl nodeaaabd7e3e4arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillatorsd69bdb61d5perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()af2256d778perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init()1e9186d628soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe83cfc38091soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe5f07c85ca1soc: ti: knav_qmss_queue: Use pm_runtime_resume_and_get instead of pm_runtime_get_syncf5c521195earm: dts: spear600: Fix clcd interrupt3a90edbab8drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static3459e05ad3arm64: dts: qcom: sdm845-cheza: fix AP suspend pin bias6a24277840ARM: dts: qcom: apq8064: fix coresight compatible1a19212a71usb: musb: remove extra check in musb_gadget_vbus_draw40075e7975net: loopback: use NET_NAME_PREDICTABLE for name_assign_type9fdc79b571Bluetooth: L2CAP: Fix u8 overflow77d5e6f260HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirkc05a7fa010HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10d535a33e83HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch 10E7346b2529fHID: ite: Add support for Acer S1002 keyboard-dock2d91b7a0b0xen-netback: move removal of "hotplug-status" to the right placec581439a97igb: Initialize mailbox message for VF reset50aa193a4bUSB: serial: f81534: fix division by zero on line-speed change0d6bf63eb3USB: serial: f81232: fix division by zero on line-speed changefe0f214385USB: serial: cp210x: add Kamstrup RF sniffer PIDsd487670654USB: serial: option: add Quectel EM05-G modemb8fb1cba93usb: gadget: uvc: Prevent buffer overflow in setup handler2610c2e59cudf: Fix extending file within last blockade1726d8cudf: Do not bother looking for prealloc extents if i_lenExtents matches i_size4d835efd56udf: Fix preallocation discarding at indirect extent boundary0905c78f62udf: Discard preallocation before extending file with a hole0758b50692tracing/ring-buffer: Only do full wait when cpu != RING_BUFFER_ALL_CPUSe1d491fcbfANDROID: Add more hvc devices for virtio-console.92a0ce5d0aMerge 5.4.228 into android11-5.4-lts6429852aefRevert "can: af_can: fix NULL pointer dereference in can_rcv_filter"4ae923b7c6Merge 5.4.227 into android11-5.4-lts57e53c3fa3ANDROID: Revert "tracing/ring-buffer: Have polling block on watermark"851c2b5fb7Linux 5.4.228ff484a9ba4ASoC: ops: Correct bounds check for second channel on SX controls7d4aa09299can: mcba_usb: Fix termination command argumentf843fdcac0can: sja1000: fix size of OCR_MODE_MASK defineb439b12d10pinctrl: meditatek: Startup with the IRQs disabled9796d07c75ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()3c837460f9nfp: fix use-after-free in area_cache_get()a40c3c9ae5block: unhash blkdev part inode when the part is deleted176ba4c19dmm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page69d4f3baa6x86/smpboot: Move rcu_cpu_starting() earlierd1988bf2bbnet: bpf: Allow TC programs to call BPF_FUNC_skb_change_head66bb2e2b24Linux 5.4.227898270ec11can: esd_usb: Allow REC and TEC to return to zero08bf219d62net: mvneta: Fix an out of bounds check6b6d3be366ipv6: avoid use-after-free in ip6_fragment()f73eb3fc9bnet: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()f0af234e2exen/netback: fix build warning99669d94ceethernet: aeroflex: fix potential skb leak in greth_init_rings()3295582cd7ipv4: Fix incorrect route flushing when table ID 0 is used2537b637eaipv4: Fix incorrect route flushing when source address is deleted36eedb9a05tipc: Fix potential OOB in tipc_link_proto_rcv()1b6360a093net: hisilicon: Fix potential use-after-free in hix5hd2_rx()e71a46cc8cnet: hisilicon: Fix potential use-after-free in hisi_femac_rx()7081cf86e1net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wqbc06207b4cnet: stmmac: fix "snps,axi-config" node property parsing7fab7add08nvme initialize core quirks before calling nvme_init_subsystem6778434706NFC: nci: Bounds check struct nfc_target arrayse5292711b0i40e: Disallow ip4 and ip6 l4_4_bytes9337d87da4i40e: Fix for VF MAC address 0a1e295517bi40e: Fix not setting default xps_cpus after reseteec1fc21ednet: mvneta: Prevent out of bounds read in mvneta_config_rss()ed773dd798xen-netfront: Fix NULL sring after live migration18e10a9e0enet: encx24j600: Fix invalid logic in reading of MISTAT register1356c17758net: encx24j600: Add parentheses to fix precedence1831d45404mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()8fb4b50f54selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload0834d4b121net: dsa: ksz: Check return value2c6cf0afc3Bluetooth: Fix not cleanup led when bt_init fails07ea5d74fcBluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn()c66d78aee5af_unix: Get user_ns from in_skb in unix_diag_get_exact().9d2ee8abf1igb: Allocate MSI-X vector when testingcff8ba243fe1000e: Fix TX dispatch condition48bd5d3801gpio: amd8111: Fix PCI device reference count leakd2be7ba2d4drm/bridge: ti-sn65dsi86: Fix output polarity setting buge2e2181772ca8210: Fix crash by zero initializing dataefbca8234aieee802154: cc2520: Fix error return code in cc2520_hw_init()3982652957can: af_can: fix NULL pointer dereference in can_rcv_filterdb1ed1b3fbHID: core: fix shift-out-of-bounds in hid_report_raw_event60bce926a8HID: hid-lg4ff: Add check for empty lbuf625814b85fHID: usbhid: Add ALWAYS_POLL quirk for some mice585a07b820drm/shmem-helper: Remove errant put in error pathb8419d16f4KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field04edfa3dc0mm/gup: fix gup_pud_range() for dax35963b3182memcg: fix possible use-after-free in memcg_write_event_control()4afc77068emedia: v4l2-dv-timings.c: fix too strict blanking sanity checks91516ba54aRevert "net: dsa: b53: Fix valid setting for MDB entries"50e1ab7e63xen/netback: don't call kfree_skb() with interrupts disabled6b1d47f9c3xen/netback: do some code cleanup8fe1bf6f32xen/netback: Ensure protocol headers don't fall in the non-linear area5ffc2a7553mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths48b00ceb54mm/khugepaged: fix GUP-fast interaction by sending IPI324abbd8b9mm/khugepaged: take the right locks for page table retractionb2963819d0net: usb: qmi_wwan: add u-blox 0x1342 compositione35c3ad0c29p/xen: check logical size for buffer size9d5126b574fbcon: Use kzalloc() in fbcon_prepare_logo()102459222dregulator: twl6030: fix get status of twl6032 regulatorsf2ba66d873ASoC: soc-pcm: Add NULL check in BE reparenting3b2c064a8ebtrfs: send: avoid unaligned encoded writes when attempting to clone range63badfed20ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event8d16d3826fregulator: slg51000: Wait after asserting CS pin9327a9c6249p/fd: Use P9_HDRSZ for header size671f950d17ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk31882c2c5d1d10ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation29917e381eARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernels3f39d53bc7ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name135fcc4581ARM: dts: rockchip: fix ir-receiver node names368f2c2640arm: dts: rockchip: fix node name for hym8563 rtc4b346f07f0arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series Change-Id: I0cec2e1f212747f2f82af4006b2b2c19daa97369 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
commit
b86f2ce54f
991 changed files with 9981 additions and 4577 deletions
|
|
@ -331,6 +331,8 @@ static comp_t encode_comp_t(unsigned long value)
|
|||
exp++;
|
||||
}
|
||||
|
||||
if (exp > (((comp_t) ~0U) >> MANTSIZE))
|
||||
return (comp_t) ~0U;
|
||||
/*
|
||||
* Clean it up and polish it off.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -2849,6 +2849,11 @@ static int btf_func_proto_check(struct btf_verifier_env *env,
|
|||
break;
|
||||
}
|
||||
|
||||
if (btf_type_is_resolve_source_only(arg_type)) {
|
||||
btf_verifier_log_type(env, t, "Invalid arg#%u", i + 1);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (args[i].name_off &&
|
||||
(!btf_name_offset_valid(btf, args[i].name_off) ||
|
||||
!btf_name_valid_identifier(btf, args[i].name_off))) {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
#include <linux/kallsyms.h>
|
||||
#include <linux/rcupdate.h>
|
||||
#include <linux/perf_event.h>
|
||||
#include <linux/nospec.h>
|
||||
|
||||
#include <asm/barrier.h>
|
||||
#include <asm/unaligned.h>
|
||||
|
|
@ -1576,9 +1577,7 @@ out:
|
|||
* reuse preexisting logic from Spectre v1 mitigation that
|
||||
* happens to produce the required code on x86 for v4 as well.
|
||||
*/
|
||||
#ifdef CONFIG_X86
|
||||
barrier_nospec();
|
||||
#endif
|
||||
CONT;
|
||||
#define LDST(SIZEOP, SIZE) \
|
||||
STX_MEM_##SIZEOP: \
|
||||
|
|
|
|||
|
|
@ -1924,7 +1924,9 @@ static int check_stack_write(struct bpf_verifier_env *env,
|
|||
bool sanitize = reg && is_spillable_regtype(reg->type);
|
||||
|
||||
for (i = 0; i < size; i++) {
|
||||
if (state->stack[spi].slot_type[i] == STACK_INVALID) {
|
||||
u8 type = state->stack[spi].slot_type[i];
|
||||
|
||||
if (type != STACK_MISC && type != STACK_ZERO) {
|
||||
sanitize = true;
|
||||
break;
|
||||
}
|
||||
|
|
@ -5140,6 +5142,11 @@ static int adjust_reg_min_max_vals(struct bpf_verifier_env *env,
|
|||
return err;
|
||||
return adjust_ptr_min_max_vals(env, insn,
|
||||
dst_reg, src_reg);
|
||||
} else if (dst_reg->precise) {
|
||||
/* if dst_reg is precise, src_reg should be precise as well */
|
||||
err = mark_chain_precision(env, insn->src_reg);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
} else {
|
||||
/* Pretend the src is a reg with a known value, since we only
|
||||
|
|
|
|||
|
|
@ -169,7 +169,6 @@ extern struct mutex cgroup_mutex;
|
|||
extern spinlock_t css_set_lock;
|
||||
extern struct cgroup_subsys *cgroup_subsys[];
|
||||
extern struct list_head cgroup_roots;
|
||||
extern struct file_system_type cgroup_fs_type;
|
||||
|
||||
/* iterate across the hierarchies */
|
||||
#define for_each_root(root) \
|
||||
|
|
|
|||
|
|
@ -10051,13 +10051,15 @@ static int pmu_dev_alloc(struct pmu *pmu)
|
|||
|
||||
pmu->dev->groups = pmu->attr_groups;
|
||||
device_initialize(pmu->dev);
|
||||
ret = dev_set_name(pmu->dev, "%s", pmu->name);
|
||||
if (ret)
|
||||
goto free_dev;
|
||||
|
||||
dev_set_drvdata(pmu->dev, pmu);
|
||||
pmu->dev->bus = &pmu_bus;
|
||||
pmu->dev->release = pmu_dev_release;
|
||||
|
||||
ret = dev_set_name(pmu->dev, "%s", pmu->name);
|
||||
if (ret)
|
||||
goto free_dev;
|
||||
|
||||
ret = device_add(pmu->dev);
|
||||
if (ret)
|
||||
goto free_dev;
|
||||
|
|
|
|||
|
|
@ -63,12 +63,59 @@
|
|||
#include <linux/random.h>
|
||||
#include <linux/rcuwait.h>
|
||||
#include <linux/compat.h>
|
||||
#include <linux/sysfs.h>
|
||||
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/unistd.h>
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/mmu_context.h>
|
||||
|
||||
/*
|
||||
* The default value should be high enough to not crash a system that randomly
|
||||
* crashes its kernel from time to time, but low enough to at least not permit
|
||||
* overflowing 32-bit refcounts or the ldsem writer count.
|
||||
*/
|
||||
static unsigned int oops_limit = 10000;
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
static struct ctl_table kern_exit_table[] = {
|
||||
{
|
||||
.procname = "oops_limit",
|
||||
.data = &oops_limit,
|
||||
.maxlen = sizeof(oops_limit),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_douintvec,
|
||||
},
|
||||
{ }
|
||||
};
|
||||
|
||||
static __init int kernel_exit_sysctls_init(void)
|
||||
{
|
||||
register_sysctl_init("kernel", kern_exit_table);
|
||||
return 0;
|
||||
}
|
||||
late_initcall(kernel_exit_sysctls_init);
|
||||
#endif
|
||||
|
||||
static atomic_t oops_count = ATOMIC_INIT(0);
|
||||
|
||||
#ifdef CONFIG_SYSFS
|
||||
static ssize_t oops_count_show(struct kobject *kobj, struct kobj_attribute *attr,
|
||||
char *page)
|
||||
{
|
||||
return sysfs_emit(page, "%d\n", atomic_read(&oops_count));
|
||||
}
|
||||
|
||||
static struct kobj_attribute oops_count_attr = __ATTR_RO(oops_count);
|
||||
|
||||
static __init int kernel_exit_sysfs_init(void)
|
||||
{
|
||||
sysfs_add_file_to_group(kernel_kobj, &oops_count_attr.attr, NULL);
|
||||
return 0;
|
||||
}
|
||||
late_initcall(kernel_exit_sysfs_init);
|
||||
#endif
|
||||
|
||||
static void __unhash_process(struct task_struct *p, bool group_dead)
|
||||
{
|
||||
nr_threads--;
|
||||
|
|
@ -864,6 +911,31 @@ void __noreturn do_exit(long code)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(do_exit);
|
||||
|
||||
void __noreturn make_task_dead(int signr)
|
||||
{
|
||||
/*
|
||||
* Take the task off the cpu after something catastrophic has
|
||||
* happened.
|
||||
*/
|
||||
unsigned int limit;
|
||||
|
||||
/*
|
||||
* Every time the system oopses, if the oops happens while a reference
|
||||
* to an object was held, the reference leaks.
|
||||
* If the oops doesn't also leak memory, repeated oopsing can cause
|
||||
* reference counters to wrap around (if they're not using refcount_t).
|
||||
* This means that repeated oopsing can make unexploitable-looking bugs
|
||||
* exploitable through repeated oopsing.
|
||||
* To make sure this can't happen, place an upper bound on how often the
|
||||
* kernel may oops without panic().
|
||||
*/
|
||||
limit = READ_ONCE(oops_limit);
|
||||
if (atomic_inc_return(&oops_count) >= limit && limit)
|
||||
panic("Oopsed too often (kernel.oops_limit is %d)", limit);
|
||||
|
||||
do_exit(signr);
|
||||
}
|
||||
|
||||
void complete_and_exit(struct completion *comp, long code)
|
||||
{
|
||||
if (comp)
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ struct gcov_fn_info {
|
|||
* @version: gcov version magic indicating the gcc version used for compilation
|
||||
* @next: list head for a singly-linked list
|
||||
* @stamp: uniquifying time stamp
|
||||
* @checksum: unique object checksum
|
||||
* @filename: name of the associated gcov data file
|
||||
* @merge: merge functions (null for unused counter type)
|
||||
* @n_functions: number of instrumented functions
|
||||
|
|
@ -97,6 +98,10 @@ struct gcov_info {
|
|||
unsigned int version;
|
||||
struct gcov_info *next;
|
||||
unsigned int stamp;
|
||||
/* Since GCC 12.1 a checksum field is added. */
|
||||
#if (__GNUC__ >= 12)
|
||||
unsigned int checksum;
|
||||
#endif
|
||||
const char *filename;
|
||||
void (*merge[GCOV_COUNTERS])(gcov_type *, unsigned int);
|
||||
unsigned int n_functions;
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ enum {
|
|||
* IRQS_PENDING - irq is pending and replayed later
|
||||
* IRQS_SUSPENDED - irq is suspended
|
||||
* IRQS_NMI - irq line is used to deliver NMIs
|
||||
* IRQS_SYSFS - descriptor has been added to sysfs
|
||||
*/
|
||||
enum {
|
||||
IRQS_AUTODETECT = 0x00000001,
|
||||
|
|
@ -64,6 +65,7 @@ enum {
|
|||
IRQS_SUSPENDED = 0x00000800,
|
||||
IRQS_TIMINGS = 0x00001000,
|
||||
IRQS_NMI = 0x00002000,
|
||||
IRQS_SYSFS = 0x00004000,
|
||||
};
|
||||
|
||||
#include "debug.h"
|
||||
|
|
|
|||
|
|
@ -288,22 +288,25 @@ static void irq_sysfs_add(int irq, struct irq_desc *desc)
|
|||
if (irq_kobj_base) {
|
||||
/*
|
||||
* Continue even in case of failure as this is nothing
|
||||
* crucial.
|
||||
* crucial and failures in the late irq_sysfs_init()
|
||||
* cannot be rolled back.
|
||||
*/
|
||||
if (kobject_add(&desc->kobj, irq_kobj_base, "%d", irq))
|
||||
pr_warn("Failed to add kobject for irq %d\n", irq);
|
||||
else
|
||||
desc->istate |= IRQS_SYSFS;
|
||||
}
|
||||
}
|
||||
|
||||
static void irq_sysfs_del(struct irq_desc *desc)
|
||||
{
|
||||
/*
|
||||
* If irq_sysfs_init() has not yet been invoked (early boot), then
|
||||
* irq_kobj_base is NULL and the descriptor was never added.
|
||||
* kobject_del() complains about a object with no parent, so make
|
||||
* it conditional.
|
||||
* Only invoke kobject_del() when kobject_add() was successfully
|
||||
* invoked for the descriptor. This covers both early boot, where
|
||||
* sysfs is not initialized yet, and the case of a failed
|
||||
* kobject_add() invocation.
|
||||
*/
|
||||
if (irq_kobj_base)
|
||||
if (desc->istate & IRQS_SYSFS)
|
||||
kobject_del(&desc->kobj);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3662,7 +3662,8 @@ static bool finished_loading(const char *name)
|
|||
sched_annotate_sleep();
|
||||
mutex_lock(&module_mutex);
|
||||
mod = find_module_all(name, strlen(name), true);
|
||||
ret = !mod || mod->state == MODULE_STATE_LIVE;
|
||||
ret = !mod || mod->state == MODULE_STATE_LIVE
|
||||
|| mod->state == MODULE_STATE_GOING;
|
||||
mutex_unlock(&module_mutex);
|
||||
|
||||
return ret;
|
||||
|
|
@ -3828,20 +3829,35 @@ static int add_unformed_module(struct module *mod)
|
|||
|
||||
mod->state = MODULE_STATE_UNFORMED;
|
||||
|
||||
again:
|
||||
mutex_lock(&module_mutex);
|
||||
old = find_module_all(mod->name, strlen(mod->name), true);
|
||||
if (old != NULL) {
|
||||
if (old->state != MODULE_STATE_LIVE) {
|
||||
if (old->state == MODULE_STATE_COMING
|
||||
|| old->state == MODULE_STATE_UNFORMED) {
|
||||
/* Wait in case it fails to load. */
|
||||
mutex_unlock(&module_mutex);
|
||||
err = wait_event_interruptible(module_wq,
|
||||
finished_loading(mod->name));
|
||||
if (err)
|
||||
goto out_unlocked;
|
||||
goto again;
|
||||
|
||||
/* The module might have gone in the meantime. */
|
||||
mutex_lock(&module_mutex);
|
||||
old = find_module_all(mod->name, strlen(mod->name),
|
||||
true);
|
||||
}
|
||||
err = -EEXIST;
|
||||
|
||||
/*
|
||||
* We are here only when the same module was being loaded. Do
|
||||
* not try to load it again right now. It prevents long delays
|
||||
* caused by serialized module load failures. It might happen
|
||||
* when more devices of the same type trigger load of
|
||||
* a particular module.
|
||||
*/
|
||||
if (old && old->state == MODULE_STATE_LIVE)
|
||||
err = -EEXIST;
|
||||
else
|
||||
err = -EBUSY;
|
||||
goto out;
|
||||
}
|
||||
mod_update_bounds(mod);
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#include <linux/bug.h>
|
||||
#include <linux/ratelimit.h>
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/sysfs.h>
|
||||
#include <asm/sections.h>
|
||||
|
||||
#define PANIC_TIMER_STEP 100
|
||||
|
|
@ -44,6 +45,7 @@ static int pause_on_oops_flag;
|
|||
static DEFINE_SPINLOCK(pause_on_oops_lock);
|
||||
bool crash_kexec_post_notifiers;
|
||||
int panic_on_warn __read_mostly;
|
||||
static unsigned int warn_limit __read_mostly;
|
||||
|
||||
int panic_timeout = CONFIG_PANIC_TIMEOUT;
|
||||
EXPORT_SYMBOL_GPL(panic_timeout);
|
||||
|
|
@ -60,6 +62,45 @@ ATOMIC_NOTIFIER_HEAD(panic_notifier_list);
|
|||
|
||||
EXPORT_SYMBOL(panic_notifier_list);
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
static struct ctl_table kern_panic_table[] = {
|
||||
{
|
||||
.procname = "warn_limit",
|
||||
.data = &warn_limit,
|
||||
.maxlen = sizeof(warn_limit),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_douintvec,
|
||||
},
|
||||
{ }
|
||||
};
|
||||
|
||||
static __init int kernel_panic_sysctls_init(void)
|
||||
{
|
||||
register_sysctl_init("kernel", kern_panic_table);
|
||||
return 0;
|
||||
}
|
||||
late_initcall(kernel_panic_sysctls_init);
|
||||
#endif
|
||||
|
||||
static atomic_t warn_count = ATOMIC_INIT(0);
|
||||
|
||||
#ifdef CONFIG_SYSFS
|
||||
static ssize_t warn_count_show(struct kobject *kobj, struct kobj_attribute *attr,
|
||||
char *page)
|
||||
{
|
||||
return sysfs_emit(page, "%d\n", atomic_read(&warn_count));
|
||||
}
|
||||
|
||||
static struct kobj_attribute warn_count_attr = __ATTR_RO(warn_count);
|
||||
|
||||
static __init int kernel_panic_sysfs_init(void)
|
||||
{
|
||||
sysfs_add_file_to_group(kernel_kobj, &warn_count_attr.attr, NULL);
|
||||
return 0;
|
||||
}
|
||||
late_initcall(kernel_panic_sysfs_init);
|
||||
#endif
|
||||
|
||||
static long no_blink(int state)
|
||||
{
|
||||
return 0;
|
||||
|
|
@ -156,6 +197,19 @@ static void panic_print_sys_info(void)
|
|||
ftrace_dump(DUMP_ALL);
|
||||
}
|
||||
|
||||
void check_panic_on_warn(const char *origin)
|
||||
{
|
||||
unsigned int limit;
|
||||
|
||||
if (panic_on_warn)
|
||||
panic("%s: panic_on_warn set ...\n", origin);
|
||||
|
||||
limit = READ_ONCE(warn_limit);
|
||||
if (atomic_inc_return(&warn_count) >= limit && limit)
|
||||
panic("%s: system warned too often (kernel.warn_limit is %d)",
|
||||
origin, limit);
|
||||
}
|
||||
|
||||
/**
|
||||
* panic - halt the system
|
||||
* @fmt: The text string to print
|
||||
|
|
@ -173,6 +227,16 @@ void panic(const char *fmt, ...)
|
|||
int old_cpu, this_cpu;
|
||||
bool _crash_kexec_post_notifiers = crash_kexec_post_notifiers;
|
||||
|
||||
if (panic_on_warn) {
|
||||
/*
|
||||
* This thread may hit another WARN() in the panic path.
|
||||
* Resetting this prevents additional WARN() from panicking the
|
||||
* system on this thread. Other threads are blocked by the
|
||||
* panic_mutex in panic().
|
||||
*/
|
||||
panic_on_warn = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Disable local interrupts. This will prevent panic_smp_self_stop
|
||||
* from deadlocking the first cpu that invokes the panic, since
|
||||
|
|
@ -571,16 +635,7 @@ void __warn(const char *file, int line, void *caller, unsigned taint,
|
|||
if (args)
|
||||
vprintk(args->fmt, args->args);
|
||||
|
||||
if (panic_on_warn) {
|
||||
/*
|
||||
* This thread may hit another WARN() in the panic path.
|
||||
* Resetting this prevents additional WARN() from panicking the
|
||||
* system on this thread. Other threads are blocked by the
|
||||
* panic_mutex in panic().
|
||||
*/
|
||||
panic_on_warn = 0;
|
||||
panic("panic_on_warn set ...\n");
|
||||
}
|
||||
check_panic_on_warn("kernel");
|
||||
|
||||
print_modules();
|
||||
|
||||
|
|
|
|||
|
|
@ -1680,8 +1680,8 @@ static unsigned long minimum_image_size(unsigned long saveable)
|
|||
* /sys/power/reserved_size, respectively). To make this happen, we compute the
|
||||
* total number of available page frames and allocate at least
|
||||
*
|
||||
* ([page frames total] + PAGES_FOR_IO + [metadata pages]) / 2
|
||||
* + 2 * DIV_ROUND_UP(reserved_size, PAGE_SIZE)
|
||||
* ([page frames total] - PAGES_FOR_IO - [metadata pages]) / 2
|
||||
* - 2 * DIV_ROUND_UP(reserved_size, PAGE_SIZE)
|
||||
*
|
||||
* of them, which corresponds to the maximum size of a hibernation image.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -2319,7 +2319,7 @@ void rcu_force_quiescent_state(void)
|
|||
struct rcu_node *rnp_old = NULL;
|
||||
|
||||
/* Funnel through hierarchy to reduce memory contention. */
|
||||
rnp = __this_cpu_read(rcu_data.mynode);
|
||||
rnp = raw_cpu_read(rcu_data.mynode);
|
||||
for (; rnp != NULL; rnp = rnp->parent) {
|
||||
ret = (READ_ONCE(rcu_state.gp_flags) & RCU_GP_FLAG_FQS) ||
|
||||
!raw_spin_trylock(&rnp->fqslock);
|
||||
|
|
|
|||
|
|
@ -163,13 +163,13 @@ static struct rchan_buf *relay_create_buf(struct rchan *chan)
|
|||
{
|
||||
struct rchan_buf *buf;
|
||||
|
||||
if (chan->n_subbufs > KMALLOC_MAX_SIZE / sizeof(size_t *))
|
||||
if (chan->n_subbufs > KMALLOC_MAX_SIZE / sizeof(size_t))
|
||||
return NULL;
|
||||
|
||||
buf = kzalloc(sizeof(struct rchan_buf), GFP_KERNEL);
|
||||
if (!buf)
|
||||
return NULL;
|
||||
buf->padding = kmalloc_array(chan->n_subbufs, sizeof(size_t *),
|
||||
buf->padding = kmalloc_array(chan->n_subbufs, sizeof(size_t),
|
||||
GFP_KERNEL);
|
||||
if (!buf->padding)
|
||||
goto free_buf;
|
||||
|
|
|
|||
|
|
@ -3986,8 +3986,7 @@ static noinline void __schedule_bug(struct task_struct *prev)
|
|||
print_ip_sym(preempt_disable_ip);
|
||||
pr_cont("\n");
|
||||
}
|
||||
if (panic_on_warn)
|
||||
panic("scheduling while atomic\n");
|
||||
check_panic_on_warn("scheduling while atomic");
|
||||
|
||||
dump_stack();
|
||||
add_taint(TAINT_WARN, LOCKDEP_STILL_OK);
|
||||
|
|
|
|||
|
|
@ -1092,10 +1092,11 @@ void psi_trigger_destroy(struct psi_trigger *t)
|
|||
|
||||
group = t->group;
|
||||
/*
|
||||
* Wakeup waiters to stop polling. Can happen if cgroup is deleted
|
||||
* from under a polling process.
|
||||
* Wakeup waiters to stop polling and clear the queue to prevent it from
|
||||
* being accessed later. Can happen if cgroup is deleted from under a
|
||||
* polling process.
|
||||
*/
|
||||
wake_up_interruptible(&t->event_wait);
|
||||
wake_up_pollfree(&t->event_wait);
|
||||
|
||||
mutex_lock(&group->trigger_lock);
|
||||
|
||||
|
|
|
|||
|
|
@ -1538,6 +1538,8 @@ int do_prlimit(struct task_struct *tsk, unsigned int resource,
|
|||
|
||||
if (resource >= RLIM_NLIMITS)
|
||||
return -EINVAL;
|
||||
resource = array_index_nospec(resource, RLIM_NLIMITS);
|
||||
|
||||
if (new_rlim) {
|
||||
if (new_rlim->rlim_cur > new_rlim->rlim_max)
|
||||
return -EINVAL;
|
||||
|
|
|
|||
|
|
@ -479,11 +479,35 @@ u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(alarm_forward);
|
||||
|
||||
u64 alarm_forward_now(struct alarm *alarm, ktime_t interval)
|
||||
static u64 __alarm_forward_now(struct alarm *alarm, ktime_t interval, bool throttle)
|
||||
{
|
||||
struct alarm_base *base = &alarm_bases[alarm->type];
|
||||
ktime_t now = base->gettime();
|
||||
|
||||
return alarm_forward(alarm, base->gettime(), interval);
|
||||
if (IS_ENABLED(CONFIG_HIGH_RES_TIMERS) && throttle) {
|
||||
/*
|
||||
* Same issue as with posix_timer_fn(). Timers which are
|
||||
* periodic but the signal is ignored can starve the system
|
||||
* with a very small interval. The real fix which was
|
||||
* promised in the context of posix_timer_fn() never
|
||||
* materialized, but someone should really work on it.
|
||||
*
|
||||
* To prevent DOS fake @now to be 1 jiffie out which keeps
|
||||
* the overrun accounting correct but creates an
|
||||
* inconsistency vs. timer_gettime(2).
|
||||
*/
|
||||
ktime_t kj = NSEC_PER_SEC / HZ;
|
||||
|
||||
if (interval < kj)
|
||||
now = ktime_add(now, kj);
|
||||
}
|
||||
|
||||
return alarm_forward(alarm, now, interval);
|
||||
}
|
||||
|
||||
u64 alarm_forward_now(struct alarm *alarm, ktime_t interval)
|
||||
{
|
||||
return __alarm_forward_now(alarm, interval, false);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(alarm_forward_now);
|
||||
|
||||
|
|
@ -557,9 +581,10 @@ static enum alarmtimer_restart alarm_handle_timer(struct alarm *alarm,
|
|||
if (posix_timer_event(ptr, si_private) && ptr->it_interval) {
|
||||
/*
|
||||
* Handle ignored signals and rearm the timer. This will go
|
||||
* away once we handle ignored signals proper.
|
||||
* away once we handle ignored signals proper. Ensure that
|
||||
* small intervals cannot starve the system.
|
||||
*/
|
||||
ptr->it_overrun += alarm_forward_now(alarm, ptr->it_interval);
|
||||
ptr->it_overrun += __alarm_forward_now(alarm, ptr->it_interval, true);
|
||||
++ptr->it_requeue_pending;
|
||||
ptr->it_active = 1;
|
||||
result = ALARMTIMER_RESTART;
|
||||
|
|
|
|||
|
|
@ -1589,7 +1589,8 @@ blk_trace_event_print_binary(struct trace_iterator *iter, int flags,
|
|||
|
||||
static enum print_line_t blk_tracer_print_line(struct trace_iterator *iter)
|
||||
{
|
||||
if (!(blk_tracer_flags.val & TRACE_BLK_OPT_CLASSIC))
|
||||
if ((iter->ent->type != TRACE_BLK) ||
|
||||
!(blk_tracer_flags.val & TRACE_BLK_OPT_CLASSIC))
|
||||
return TRACE_TYPE_UNHANDLED;
|
||||
|
||||
return print_one_line(iter, true);
|
||||
|
|
|
|||
|
|
@ -649,6 +649,9 @@ BPF_CALL_1(bpf_send_signal, u32, sig)
|
|||
return -EPERM;
|
||||
if (unlikely(!nmi_uaccess_okay()))
|
||||
return -EPERM;
|
||||
/* Task should not be pid=1 to avoid kernel panic. */
|
||||
if (unlikely(is_global_init(current)))
|
||||
return -EPERM;
|
||||
|
||||
if (irqs_disabled()) {
|
||||
/* Do an early check on signal validity. Otherwise,
|
||||
|
|
|
|||
|
|
@ -6101,7 +6101,20 @@ waitagain:
|
|||
|
||||
ret = print_trace_line(iter);
|
||||
if (ret == TRACE_TYPE_PARTIAL_LINE) {
|
||||
/* don't print partial lines */
|
||||
/*
|
||||
* If one print_trace_line() fills entire trace_seq in one shot,
|
||||
* trace_seq_to_user() will returns -EBUSY because save_len == 0,
|
||||
* In this case, we need to consume it, otherwise, loop will peek
|
||||
* this event next time, resulting in an infinite loop.
|
||||
*/
|
||||
if (save_len == 0) {
|
||||
iter->seq.full = 0;
|
||||
trace_seq_puts(&iter->seq, "[LINE TOO BIG]\n");
|
||||
trace_consume(iter);
|
||||
break;
|
||||
}
|
||||
|
||||
/* In other cases, don't print partial lines */
|
||||
iter->seq.seq.len = save_len;
|
||||
break;
|
||||
}
|
||||
|
|
@ -8285,9 +8298,6 @@ buffer_percent_write(struct file *filp, const char __user *ubuf,
|
|||
if (val > 100)
|
||||
return -EINVAL;
|
||||
|
||||
if (!val)
|
||||
val = 1;
|
||||
|
||||
tr->buffer_percent = val;
|
||||
|
||||
(*ppos)++;
|
||||
|
|
@ -9304,6 +9314,8 @@ void __init early_trace_init(void)
|
|||
static_key_enable(&tracepoint_printk_key.key);
|
||||
}
|
||||
tracer_alloc_buffers();
|
||||
|
||||
init_events();
|
||||
}
|
||||
|
||||
void __init trace_init(void)
|
||||
|
|
|
|||
|
|
@ -1590,6 +1590,7 @@ extern void trace_event_enable_cmd_record(bool enable);
|
|||
extern void trace_event_enable_tgid_record(bool enable);
|
||||
|
||||
extern int event_trace_init(void);
|
||||
extern int init_events(void);
|
||||
extern int event_trace_add_tracer(struct dentry *parent, struct trace_array *tr);
|
||||
extern int event_trace_del_tracer(struct trace_array *tr);
|
||||
|
||||
|
|
|
|||
|
|
@ -479,7 +479,7 @@ struct action_data {
|
|||
* event param, and is passed to the synthetic event
|
||||
* invocation.
|
||||
*/
|
||||
unsigned int var_ref_idx[TRACING_MAP_VARS_MAX];
|
||||
unsigned int var_ref_idx[SYNTH_FIELDS_MAX];
|
||||
struct synth_event *synth_event;
|
||||
bool use_trace_keyword;
|
||||
char *synth_event_name;
|
||||
|
|
@ -2552,6 +2552,8 @@ static struct hist_field *create_hist_field(struct hist_trigger_data *hist_data,
|
|||
unsigned long fl = flags & ~HIST_FIELD_FL_LOG2;
|
||||
hist_field->fn = hist_field_log2;
|
||||
hist_field->operands[0] = create_hist_field(hist_data, field, fl, NULL);
|
||||
if (!hist_field->operands[0])
|
||||
goto free;
|
||||
hist_field->size = hist_field->operands[0]->size;
|
||||
hist_field->type = kstrdup(hist_field->operands[0]->type, GFP_KERNEL);
|
||||
if (!hist_field->type)
|
||||
|
|
@ -2752,7 +2754,9 @@ static struct hist_field *create_var_ref(struct hist_trigger_data *hist_data,
|
|||
return ref_field;
|
||||
}
|
||||
}
|
||||
|
||||
/* Sanity check to avoid out-of-bound write on 'hist_data->var_refs' */
|
||||
if (hist_data->n_var_refs >= TRACING_MAP_VARS_MAX)
|
||||
return NULL;
|
||||
ref_field = create_hist_field(var_field->hist_data, NULL, flags, NULL);
|
||||
if (ref_field) {
|
||||
if (init_var_ref(ref_field, var_field, system, event_name)) {
|
||||
|
|
@ -4014,6 +4018,7 @@ static int parse_action_params(struct trace_array *tr, char *params,
|
|||
while (params) {
|
||||
if (data->n_params >= SYNTH_FIELDS_MAX) {
|
||||
hist_err(tr, HIST_ERR_TOO_MANY_PARAMS, 0);
|
||||
ret = -EINVAL;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
@ -4338,6 +4343,10 @@ static int trace_action_create(struct hist_trigger_data *hist_data,
|
|||
|
||||
lockdep_assert_held(&event_mutex);
|
||||
|
||||
/* Sanity check to avoid out-of-bound write on 'data->var_ref_idx' */
|
||||
if (data->n_params > SYNTH_FIELDS_MAX)
|
||||
return -EINVAL;
|
||||
|
||||
if (data->use_trace_keyword)
|
||||
synth_event_name = data->synth_event_name;
|
||||
else
|
||||
|
|
@ -6433,7 +6442,7 @@ enable:
|
|||
/* Just return zero, not the number of registered triggers */
|
||||
ret = 0;
|
||||
out:
|
||||
if (ret == 0)
|
||||
if (ret == 0 && glob[0])
|
||||
hist_err_clear();
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -1366,7 +1366,7 @@ static struct trace_event *events[] __initdata = {
|
|||
NULL
|
||||
};
|
||||
|
||||
__init static int init_events(void)
|
||||
__init int init_events(void)
|
||||
{
|
||||
struct trace_event *event;
|
||||
int i, ret;
|
||||
|
|
@ -1384,4 +1384,3 @@ __init static int init_events(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
early_initcall(init_events);
|
||||
|
|
|
|||
Loading…
Reference in a new issue