Merge 5.10.258 into android13-5.10-lts Changes in 5.10.258 ALSA: asihpi: avoid write overflow check warning can: mcp251x: add error handling for power enable in open and resume btrfs: tracepoints: get correct superblock from dentry in event btrfs_sync_file() ALSA: hda/realtek: Add mute LED quirk for HP Pavilion 15-eg0xxx netfilter: nft_set_pipapo_avx2: don't return non-matching entry on expiry wifi: wl1251: validate packet IDs before indexing tx_frames ASoC: soc-core: call missing INIT_LIST_HEAD() for card_aux_list HID: quirks: add HID_QUIRK_ALWAYS_POLL for 8BitDo Pro 3 HID: roccat: fix use-after-free in roccat_report_event ata: ahci: force 32-bit DMA for JMicron JMB582/JMB585 wifi: brcmfmac: validate bsscfg indices in IF events ASoC: stm32_sai: fix incorrect BCLK polarity for DSP_A/B, LEFT_J arm64: dts: imx8mq: Set the correct gpu_ahb clock frequency PCI: hv: Set default NUMA node to 0 for devices without affinity info drm/vc4: Fix memory leak of BO array in hang state drm/vc4: Fix a memory leak in hang state error path drm/vc4: Protect madv read in vc4_gem_object_mmap() with madv_lock net: sched: act_csum: validate nested VLAN headers net: lapbether: Close the LAPB device before its underlying Ethernet device closes net: lapbether: remove trailing whitespaces net: lapbether: replace comparison to NULL with "lapbeth_get_x25_dev" net: lapbether: handle NETDEV_PRE_TYPE_CHANGE tracing/probe: reject non-closed empty immediate strings e1000: check return value of e1000_read_eeprom xsk: tighten UMEM headroom validation to account for tailroom and min frame xfrm_user: fix info leak in build_mapping() netfilter: nfnetlink_log: initialize nfgenmsg in NLMSG_DONE terminator netfilter: xt_multiport: validate range encoding in checkentry netfilter: ip6t_eui64: reject invalid MAC header for all packets af_unix: read UNIX_DIAG_VFS data under unix_state_lock l2tp: Drop large packets with UDP encap netfilter: conntrack: add missing netlink policy validations drm/i915/gt: fix refcount underflow in intel_engine_park_heartbeat MIPS: mm: kmalloc tlb_vpn array to avoid stack overflow mips: mm: Allocate tlb_vpn array atomically MIPS: Always record SEGBITS in cpu_data.vmbits MIPS: mm: Suppress TLB uniquification on EHINV hardware MIPS: mm: Rewrite TLB uniquification for the hidden bit feature netfilter: nft_set_pipapo: do not rely on ZERO_SIZE_PTR batman-adv: hold claim backbone gateways by reference nfc: llcp: add missing return after LLCP_CLOSED checks can: raw: fix ro->uniq use-after-free in raw_rcv() i2c: s3c24xx: check the size of the SMBUS message before using it staging: rtl8723bs: initialize le_tmp64 in rtw_BIP_verify() HID: alps: fix NULL pointer dereference in alps_raw_event() HID: core: clamp report_size in s32ton() to avoid undefined shift net: usb: cdc-phonet: fix skb frags[] overflow in rx_complete() NFC: digital: Bounds check NFC-A cascade depth in SDD response handler ALSA: fireworks: bound device-supplied status before string array lookup fbdev: tdfxfb: avoid divide-by-zero on FBIOPUT_VSCREENINFO usb: gadget: f_ncm: validate minimum block_len in ncm_unwrap_ntb() usb: gadget: f_phonet: fix skb frags[] overflow in pn_rx_complete() usb: gadget: renesas_usb3: validate endpoint index in standard request handlers usbip: validate number_of_packets in usbip_pack_ret_submit() usb: storage: Expand range of matched versions for VL817 quirks entry fbdev: udlfb: avoid divide-by-zero on FBIOPUT_VSCREENINFO staging: sm750fb: fix division by zero in ps_to_hz() USB: serial: option: add Telit Cinterion FN990A MBIM composition ALSA: ctxfi: Limit PTP to a single page media: vidtv: fix NULL pointer dereference in vidtv_channel_pmt_match_sections ocfs2: fix use-after-free in ocfs2_fault() when VM_FAULT_RETRY ocfs2: handle invalid dinode in ocfs2_group_extend KVM: SEV: Drop WARN on large size for KVM_MEMORY_ENCRYPT_REG_REGION ACPI: property: Constify stubs for CONFIG_ACPI=n case rxrpc: Fix call removal to use RCU safe deletion rxrpc: proc: size address buffers for %pISpc output Revert "wifi: cfg80211: stop NAN and P2P in cfg80211_leave" media: uvcvideo: Allow extra entities checkpatch: add support for Assisted-by tag KVM: x86: Use scratch field in MMIO fragment to hold small write values mm/kasan: fix double free for kasan pXds media: vidtv: fix nfeeds state corruption on start_streaming failure media: em28xx: fix use-after-free in em28xx_v4l2_open() ALSA: 6fire: fix use-after-free on disconnect bcache: fix cached_dev.sb_bio use-after-free and crash media: as102: fix to not free memory after the device is registered in as102_usb_probe() nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map media: vidtv: fix pass-by-value structs causing MSAN warnings media: hackrf: fix to not free memory after the device is registered in hackrf_probe() net: tap: NULL pointer derefence in dev_parse_header_protocol when skb->dev is null scsi: qla2xxx: Fix warning message due to adisc being flushed scsi: qla2xxx: Fix crash when I/O abort times out net/sched: act_ct: fix ref leak when switching zones bpf, sockmap: Fix an infinite loop error when len is 0 in tcp_bpf_recvmsg_parser() ipv6: add NULL checks for idev in SRv6 paths drm/amd/display: Add null checker before passing variables wifi: mac80211: always free skb on ieee80211_tx_prepare_skb() failure drm/amd/display: Fix memory leak thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR blk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats() scsi: ufs: core: Improve SCSI abort handling IB/mad: Don't call to function that might sleep while in atomic context powerpc64/bpf: do not increment tailcall count when prog is NULL mailbox: Prevent out-of-bounds access in of_mbox_index_xlate() rxrpc: fix reference count leak in rxrpc_server_keyring() xfrm: clear trailing padding in build_polexpire() ocfs2: add inline inode consistency check to ocfs2_validate_inode_block() ocfs2: validate inline data i_size during inode read ocfs2: fix out-of-bounds write in ocfs2_write_end_inline rxrpc: reject undecryptable rxkad response tickets blk-mq: use quiesced elevator switch when reinitializing queues drivers: base: Free devm resources when unregistering a device x86/uprobes: Fix XOL allocation failure for 32-bit tasks fs/ocfs2: fix comments mentioning i_mutex ocfs2: fix possible deadlock between unlink and dio_end_io_write mm: blk-cgroup: fix use-after-free in cgwb_release_workfn() arm64: dts: imx8mq-librem5-r3: workaround i2c1 issue with 1GHz cpu voltage arm64: dts: imx8mq-librem5: Don't mark buck3 as always on arm64: dts: imx8mq-librem5: set regulators boot-on arm64: dts: imx8mq-librem5: Set the DVS voltages lower arm64: dts: imx8mq-librem5: Bump BUCK1 suspend voltage to 0.81V Revert "arm64: dts: imx8mq-librem5: Set the DVS voltages lower" arm64: dts: imx8mq-librem5: Bump BUCK1 suspend voltage up to 0.85V gfs2: Validate i_depth for exhash directories drm/amd/display: Do not add '-mhard-float' to calcs, dsc, and dcn30 FP files for clang scripts/dtc: Remove unused dts_version in dtc-lexer.l i3c: fix uninitialized variable use in i2c setup Revert "scsi: ufs: core: Improve SCSI abort handling" rxrpc: Fix recvmsg() unconditional requeue cifs: Fix connections leak when tlink setup failed rxrpc: only handle RESPONSE during service challenge rxrpc: Fix anonymous key handling fuse: reject oversized dirents in page cache fuse: quiet down complaints in fuse_conn_limit_write ALSA: usb-audio: apply quirk for MOONDROP JU Jiu ALSA: caiaq: take a reference on the USB device in create_card() crypto: ccp: Don't attempt to copy CSR to userspace if PSP command failed crypto: ccp: Don't attempt to copy PDH cert to userspace if PSP command failed crypto: ccp: Don't attempt to copy ID to userspace if PSP command failed rxrpc: Fix missing validation of ticket length in non-XDR key preparsing ALSA: usb-audio: stop parsing UAC2 rates at MAX_NR_RATES ALSA: usb-audio: Avoid false E-MU sample-rate notifications ALSA: usb-audio: Fix Audio Advantage Micro II SPDIF switch usb: xhci: Make usb_host_endpoint.hcpriv survive endpoint_disable() misc: ibmasm: fix OOB MMIO read in ibmasm_handle_mouse_interrupt() ibmasm: fix OOB reads in command_file_write due to missing size checks ibmasm: fix heap over-read in ibmasm_send_i2o_message() firmware: google: framebuffer: Do not mark framebuffer as busy Revert "riscv: Sparse-Memory/vmemmap out-of-bounds fix" ocfs2: split transactions in dio completion to avoid credit exhaustion padata: Fix pd UAF once and for all padata: Remove comment for reorder_work driver core: Don't let a device probe until it's ready um: drivers: call kernel_strrchr() explicitly in cow_user.c crypto: pcrypt - Fix handling of MAY_BACKLOG requests ALSA: control: Validate buf_len before strnlen() in snd_ctl_elem_init_enum_names() net: caif: clear client service pointer on teardown net: strparser: fix skb_head leak in strp_abort_strp() Revert "ALSA: usb: Increase volume range that triggers a warning" lib/ts_kmp: fix integer overflow in pattern length calculation media: i2c: imx219: Check return value of devm_gpiod_get_optional() in imx219_probe() net: qrtr: ns: Fix use-after-free in driver remove() ext2: reject inodes with zero i_nlink and valid mode in ext2_iget() ALSA: aoa: i2sbus: fix OF node lifetime handling ALSA: ctxfi: Add fallback to default RSR for S/PDIF ALSA: seq_oss: return full count for successful SEQ_FULLSIZE writes parisc: _llseek syscall is only available for 32-bit userspace selftests/mqueue: Fix incorrectly named file ALSA: caiaq: Fix control_put() result and cache rollback ALSA: caiaq: Handle probe errors properly ALSA: 6fire: Fix input volume change detection iio: adc: ad7768-1: fix one-shot mode data acquisition net: rds: fix MR cleanup on copy error net/smc: avoid early lgr access in smc_clc_wait_msg RDMA/rxe: Validate pad and ICRC before payload_size() in rxe_rcv tpm: avoid -Wunused-but-set-variable mmc: block: use single block write in retry tpm: tpm_tis: add error logging for data transfer userfaultfd: allow registration of ranges below mmap_min_addr KVM: nSVM: Sync interrupt shadow to cached vmcb12 after VMRUN of L2 KVM: nSVM: Ensure AVIC is inhibited when restoring a vCPU to guest mode KVM: nSVM: Clear GIF on nested #VMEXIT(INVALID) io_uring/poll: fix EPOLL_URING_WAKE sometimes not being honored io_uring/poll: fix backport of io_poll_add() changes mtd: docg3: fix use-after-free in docg3_release() ext4: fix missing brelse() in ext4_xattr_inode_dec_ref_all() md/raid5: fix soft lockup in retry_aligned_read() md/raid5: validate payload size before accessing journal metadata inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails taskstats: set version in TGID exit notifications crypto: atmel-aes - Fix 3-page memory leak in atmel_aes_buff_cleanup crypto: atmel-ecc - Release client on allocation failure crypto: hisilicon - Fix dma_unmap_single() direction crypto: ccree - fix a memory leak in cc_mac_digest() crypto: atmel-tdes - fix DMA sync direction dm mirror: fix integer overflow in create_dirty_log() IB/core: Fix zero dmac race in neighbor resolution crypto: authencesn - reject short ahash digests during instance creation driver core: Add kernel-doc for DEV_FLAG_COUNT enum value ALSA: caiaq: Fix potentially leftover ep1_in_urb at error path ALSA: caiaq: Don't abort when no input device is available ipv6: rpl: reserve mac_len headroom when recompressed SRH grows drm/amdgpu: fix zero-size GDS range init on RDNA4 ALSA: caiaq: fix usb_dev refcount leak on probe failure netfilter: reject zero shift in nft_bitwise scsi: target: configfs: Bound snprintf() return in tg_pt_gp_members_show() ipmi: Add limits to event and receive message requests ipmi: Check event message buffer response for bad data ipmi:si: Return state to normal if message allocation fails fbdev: udlfb: add vm_ops to dlfb_ops_mmap to prevent use-after-free ACPI: video: force native backlight on HP OMEN 16 (8A44) net/sched: sch_red: Replace direct dequeue call with peek and qdisc_dequeue_peeked ipmi:ssif: Fix a shutdown race ipmi:ssif: Clean up kthread on errors ipmi:ssif: Remove unnecessary indention ipmi:ssif: NULL thread on error wifi: b43legacy: enforce bounds check on firmware key index in RX path wifi: rsi: fix kthread lifetime race between self-exit and external-stop wifi: ath5k: do not access array OOB wifi: b43: enforce bounds check on firmware key index in b43_rx() usb: usblp: fix heap leak in IEEE 1284 device ID via short response usb: usblp: fix uninitialized heap leak via LPGETSTATUS ioctl ALSA: usb-audio: Avoid potential endless loop in convert_chmap_v3() ALSA: usb-audio: Fix UAC3 cluster descriptor size check USB: omap_udc: DMA: Don't enable burst 4 mode USB: serial: option: add Telit Cinterion LE910Cx compositions usb: ulpi: fix memory leak on ulpi_register() error paths ALSA: firewire-tascam: Do not drop unread control events xfrm: provide message size for XFRM_MSG_MAPPING ipv6: xfrm6: release dst on error in xfrm6_rcv_encap() Bluetooth: L2CAP: Fix null-ptr-deref in l2cap_sock_new_connection_cb() Bluetooth: L2CAP: Fix null-ptr-deref in l2cap_sock_state_change_cb() spi: zynqmp-gqspi: fix controller deregistration fanotify: fix false positive on permission events net: rtnetlink: zero ifla_vf_broadcast to avoid stack infoleak in rtnl_fill_vfinfo sound: ua101: fix division by zero at probe ip6_gre: Use cached t->net in ip6erspan_changelink(). net/rds: handle zerocopy send cleanup before the message is queued parisc: Fix IRQ leak in LASI driver hv_sock: fix ARM64 support ibmveth: Disable GSO for packets with small MSS udf: reject descriptors with oversized CRC length thermal/drivers/sprd: Fix temperature clamping in sprd_thm_temp_to_rawdata thermal/drivers/sprd: Fix raw temperature clamping in sprd_thm_rawdata_to_temp spi: topcliff-pch: fix use-after-free on unbind cpuidle: powerpc: avoid double clear when breaking snooze ASoC: fsl_easrc: fix comment typo dm: don't report warning when doing deferred remove dm: fix a buffer overflow in ioctl processing dm-verity-fec: correctly reject too-small FEC devices dm-verity-fec: correctly reject too-small hash devices isofs: validate Rock Ridge CE continuation extent against volume size isofs: validate block number from NFS file handle in isofs_export_iget md/raid10: fix divide-by-zero in setup_geo() with zero far_copies nvmet: avoid recursive nvmet-wq flush in nvmet_ctrl_free s390/debug: Reject zero-length input in debug_input_flush_fn() PCI/AER: Clear only error bits in PCIe Device Status PCI/AER: Stop ruling out unbound devices as error source power: supply: max17042: avoid overflow when determining health RDMA/mlx4: Fix resource leak on error in mlx4_ib_create_srq() RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp() RDMA/rxe: Reject unknown opcodes before ICRC processing RDMA/vmw_pvrdma: Fix double free on pvrdma_alloc_ucontext() error path media: uvcvideo: Enable VB2_DMABUF for metadata stream staging: media: atomisp: Disallow all private IOCTLs regulator: max77650: fix OF node reference imbalance media: rc: xbox_remote: heed DMA restrictions media: rc: streamzap: Error handling in probe regulator: act8945a: fix OF node reference imbalance media: dib8000: avoid division by 0 in dib8000_set_dds() spi: mtk-nor: fix controller deregistration spi: imx: fix runtime pm leak on probe deferral spi: orion: fix clock imbalance on registration failure spi: mpc52xx: fix use-after-free on unbind drm/gem: Fix inconsistent plane dimension calculation in drm_gem_fb_init_with_funcs() drm/radeon: add missing revision check for CI drm/amdgpu/gfx9: drop unnecessary 64-bit fence flag check in KIQ drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission drm/amdgpu/pm: add missing revision check for CI drm/amdgpu/pm: align Hawaii mclk workaround with radeon sctp: revalidate list cursor after sctp_sendmsg_to_asoc() in SCTP_SENDALL batman-adv: fix integer overflow on buff_pos batman-adv: reject new tp_meter sessions during teardown batman-adv: stop caching unowned originator pointers in BAT IV batman-adv: bla: prevent use-after-free when deleting claims batman-adv: bla: only purge non-released claims batman-adv: bla: put backbone reference on failed claim hash insert Bluetooth: L2CAP: Fix null-ptr-deref in l2cap_sock_get_sndtimeo_cb() vsock: fix buffer size clamping order vsock/virtio: fix accept queue count leak on transport mismatch bcache: fix uninitialized closure object fs/omfs: reject s_sys_blocksize smaller than OMFS_DIR_START drbd: Balance RCU calls in drbd_adm_dump_devices() nilfs2: reject zero bd_oblocknr in nilfs_ioctl_mark_blocks_dirty() pstore/ram: fix resource leak when ioremap() fails devres: fix missing node debug info in devm_krealloc() thermal/drivers/spear: Fix error condition for reading st,thermal-flags irqchip/irq-pic32-evic: Address warning related to wrong printf() formatter locking: Fix rwlock support in <linux/spinlock_up.h> firmware: dmi: Correct an indexing error in dmi.h wifi: mwifiex: Fix memory leak in mwifiex_11n_aggregate_pkt() wifi: rtlwifi: pci: fix possible use-after-free caused by unfinished irq_prepare_bcn_tasklet powerpc/crash: fix backup region offset update to elfcorehdr bpf: fix end-of-list detection in cgroup_storage_get_next_key() brcmfmac: support chipsets with different core enumeration space wifi: brcmfmac: Fix error pointer dereference net: bcmgenet: fix off-by-one in bcmgenet_put_txcb netfilter: nft_fwd_netdev: check ttl/hl before forwarding 6pack: propagage new tty types net: hamradio: 6pack: fix uninit-value in sixpack_receive_buf net/sched: act_ct: Only release RCU read lock after ct_ft net/rds: Optimize rds_ib_laddr_check net/rds: Restrict use of RDS/IB to the initial network namespace ppp: require CAP_NET_ADMIN in target netns for unattached ioctls bpf: reject short IPv4/IPv6 inputs in bpf_prog_test_run_skb Bluetooth: L2CAP: Fix printing wrong information if SDU length exceeds MTU Bluetooth: hci_ldisc: Clear HCI_UART_PROTO_INIT on error Bluetooth: fix locking in hci_conn_request_evt() with HCI_PROTO_DEFER Bluetooth: l2cap: Add missing chan lock in l2cap_ecred_reconf_rsp drm/komeda: fix integer overflow in AFBC framebuffer size check ASoC: sti: Return errors from regmap_field_alloc() ASoC: sti: use managed regmap_field allocations dm cache: fix null-deref with concurrent writes in passthrough mode dm cache: fix write path cache coherency in passthrough mode dm cache policy smq: fix missing locks in invalidating cache blocks dm cache: fix concurrent write failure in passthrough mode dm cache: support shrinking the origin device dm cache: fix dirty mapping checking in passthrough mode switching dm cache metadata: fix memory leak on metadata abort retry dm log: fix out-of-bounds write due to region_count overflow spi: fsl-qspi: Use reinit_completion() for repeated operations drm/sun4i: Fix resource leaks fbdev: matroxfb: Mark variable with __maybe_unused to avoid W=1 build break drm/msm/dsi: rename MSM8998 DSI version from V2_2_0 to V2_0_0 drm/panel: simple: Correct G190EAN01 prepare timing ALSA: compress: Drop unused functions ALSA: core: Validate compress device numbers without dynamic minors drm/amd/pm/ci: Use highest MCLK on CI when MCLK DPM is disabled drm/amd/pm/ci: Disable MCLK DPM on problematic CI ASICs drm/amd/pm/ci: Fix powertune defaults for Hawaii 0x67B0 drm/amd/pm/ci: Clear EnabledForActivity field for memory levels drm/amd/pm/ci: Fill DW8 fields from SMC ALSA: hda/realtek: Whitespace fix ALSA: hda/realtek: fix code style (ERROR: else should follow close brace '}') drm/msm/a6xx: Fix HLSQ register dumping drm/msm/a6xx: Use barriers while updating HFI Q headers pmdomain: ti: omap_prm: Fix a reference leak on device node ASoC: fsl_easrc: Check the variable range in fsl_easrc_iec958_put_bits() ASoC: fsl_easrc: Fix value type in fsl_easrc_iec958_get_bits() ASoC: fsl_easrc: Change the type for iec958 channel status controls PCI: Enable AtomicOps only if Root Port supports them Documentation: fix a hugetlbfs reservation statement selftest: memcg: skip memcg_sock test if address family not supported PCI: tegra194: Use devm_gpiod_get_optional() to parse "nvidia,refclk-select" PCI: tegra194: Disable direct speed change for Endpoint mode ktest: Avoid undef warning when WARNINGS_FILE is unset ktest: Honor empty per-test option overrides ktest: Run POST_KTEST hooks on failure and cancellation quota: Fix race of dquot_scan_active() with quota deactivation efi/capsule-loader: fix incorrect sizeof in phys array reallocation ARM: dts: mediatek: mt7623: fix efuse fallback compatible memory: tegra124-emc: Fix dll_change check memory: tegra30-emc: Fix dll_change check soc: qcom: ocmem: return -EPROBE_DEFER is ocmem is not available arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits arm64: dts: qcom: sdm845-xiaomi-beryllium: Mark l1a regulator as powered during boot ocfs2/dlm: validate qr_numregions in dlm_match_regions() ocfs2/dlm: fix off-by-one in dlm_match_regions() region comparison soc: qcom: aoss: compare against normalized cooling state ocfs2: fix listxattr handling when the buffer is full ocfs2: validate bg_bits during freefrag scan ocfs2: validate group add input before caching dmaengine: mxs-dma: Fix missing return value from of_dma_controller_register() tracing: Rebuild full_name on each hist_field_name() call ima: check return value of crypto_shash_final() in boot aggregate HID: asus: make asus_resume adhere to linux kernel coding standards HID: asus: do not abort probe when not necessary mtd: physmap_of_gemini: Fix disabled pinctrl state check mtd: rawnand: sunxi: fix sunxi_nfc_hw_ecc_read_extra_oob HID: usbhid: fix deadlock in hid_post_reset() bpf: Fix precedence bug in convert_bpf_ld_abs alignment check pinctrl: pinctrl-pic32: Fix resource leak perf branch: Avoid incrementing NULL pinctrl: abx500: Fix type of 'argument' variable perf expr: Return -EINVAL for syntax error in expr__find_ids() perf util: Kill die() prototype, dead for a long time driver core: device.h: remove extern from function prototypes driver core: Move dev_err_probe() to where it belogs dev_printk: add new dev_err_probe() helpers backlight: sky81452-backlight: Check return value of devm_gpiod_get_optional() in sky81452_bl_parse_dt() platform/surface: surfacepro3_button: Drop wakeup source on remove tty: hvc: remove HVC_IUCV_MAGIC tty: hvc_iucv: fix off-by-one in number of supported devices mfd: mc13xxx-core: Fix memory leak in mc13xxx_add_subdevice_pdata() nfs/blocklayout: Fix compilation error (`make W=1`) in bl_write_pagelist() platform/x86: dell_rbu: avoid uninit value usage in packet_size_write() RDMA/core: Prefer NLA_NUL_STRING scsi: sg: Resolve soft lockup issue when opening /dev/sgX scsi: target: core: Fix integer overflow in UNMAP bounds check clk: qcom: dispcc-sm8250: Use shared ops on the mdss vsync clk clk: qcom: dispcc-sm8250: Enable parents for pixel clocks clk: imx: imx6q: Fix device node reference leak in pll6_bypassed() clk: imx: imx6q: Fix device node reference leak in of_assigned_ldb_sels() clk: imx8mq: Correct the CSI PHY sels clk: qoriq: avoid format string warning clk: xgene: Fix mapping leak in xgene_pllclk_init() dt-bindings: clock: qcom,dispcc-sc7180: Define MDSS resets clk: qcom: dispcc-sc7180: Add missing MDSS resets lib/hexdump: print_hex_dump_bytes() calls print_hex_dump_debug() crypto: sa2ul - Fix AEAD fallback algorithm names crypto: ccp - copy IV using skcipher ivsize PCMCIA: Fix garbled log messages for KERN_CONT net/sched: sch_cake: fix NAT destination port not being updated in cake_update_flowkeys nexthop: Emit a notification when a nexthop group is modified nexthop: fix IPv6 route referencing IPv4 nexthop taprio: Handle short intervals and large packets net: taprio offload: enforce qdisc to netdev queue mapping net/sched: taprio: stop going through private ops for dequeue and peek net/sched: taprio: replace safety precautions with comments net/sched: taprio: continue with other TXQs if one dequeue() failed net/sched: taprio: refactor one skb dequeue from TXQ to separate function net/sched: taprio: rename close_time to end_time net/sched: taprio: fix use-after-free in advance_sched() on schedule switch tcp: annotate data-races around (tp->write_seq - tp->snd_nxt) i40e: don't advertise IFF_SUPP_NOFCS e1000e: Unroll PTP in probe error handling ipv6: fix possible UAF in icmpv6_rcv() sctp: fix OOB write to userspace in sctp_getsockopt_peer_auth_chunks dissector: do not set invalid PPP protocol flow_dissector: Add number of vlan tags dissector flow_dissector: Add PPPoE dissectors pppoe: drop PFC frames openvswitch: cap upcall PID array size and pre-size vport replies netfilter: nft_osf: restrict it to ipv4 netfilter: nfnetlink_osf: fix divide-by-zero in OSF_WSS_MODULO netfilter: conntrack: remove sprintf usage netfilter: xtables: restrict several matches to inet family ipvs: fix MTU check for GSO packets in tunnel mode netfilter: nfnetlink_osf: fix out-of-bounds read on option matching netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check slip: reject VJ receive packets on instances with no rstate array slip: bound decode() reads against the compressed packet length arm64: dts: meson-gxl-p230: fix ethernet PHY interrupt number net/rds: zero per-item info buffer before handing it to visitors net_sched: sch_hhf: annotate data-races in hhf_dump_stats() net/sched: sch_pie: annotate data-races in pie_dump_stats() net/sched: sch_fq_codel: remove data-races from fq_codel_dump_stats() net: sched: gred/red: remove unused variables in struct red_stats net/sched: sch_red: annotate data-races in red_dump_stats() net/sched: sch_sfb: annotate data-races in sfb_dump_stats() nfp: fix swapped arguments in nfp_encode_basic_qdr() calls tipc: fix double-free in tipc_buf_append() vhost_net: fix sleeping with preempt-disabled in vhost_net_busy_poll() fs/adfs: validate nzones in adfs_validate_bblk() rtc: introduce features bitfield rtc: abx80x: Disable alarm feature if no interrupt attached fbdev: offb: fix PCI device reference leak on probe failure mailbox: mailbox-test: free channels on probe error cgroup/rdma: fix integer overflow in rdmacg_try_charge() mailbox: add sanity check for channel array mailbox: mailbox-test: don't free the reused channel mailbox: mailbox-test: initialize struct earlier mailbox: mailbox-test: make data_ready a per-instance variable btrfs: merge PAGE_CLEAR_DIRTY and PAGE_SET_WRITEBACK to PAGE_START_WRITEBACK btrfs: fix double-decrement of bytes_may_use in submit_one_async_extent() tracing: branch: Fix inverted check on stat tracer registration netfilter: arp_tables: fix IEEE1394 ARP payload parsing drm/amdgpu/gfx6: Support harvested SI chips with disabled TCCs (v2) netfilter: xt_policy: fix strict mode inbound policy matching netfilter: nf_conntrack_sip: don't use simple_strtoul scsi: sr: Add memory allocation failure handling for get_capabilities() cdrom, scsi: sr: propagate read-only status to block layer via set_disk_ro() netdevsim: zero initialize struct iphdr in dummy sk_buff net: sched: sch_netem: Refactor code in 4-state loss generator net/sched: netem: fix probability gaps in 4-state loss model net/sched: netem: fix queue limit check to include reordered packets net/sched: netem: validate slot configuration net: sched: choke: remove unused variables in struct choke_sched_data net/sched: sch_choke: annotate data-races in choke_dump_stats() net/sched: sch_fq_pie: annotate data-races in fq_pie_dump_stats() vrf: Fix a potential NPD when removing a port from a VRF net: usb: rtl8150: fix use-after-free in rtl8150_start_xmit() net: usb: rtl8150: free skb on usb_submit_urb() failure in xmit NFC: trf7970a: Ignore antenna noise when checking for RF field net: phy: dp83869: fix setting CLK_O_SEL field. ASoC: codecs: ab8500: Fix casting of private data netfilter: skip recording stale or retransmitted INIT sctp: discard stale INIT after handshake completion ipv4: rename and move ip_route_output_tunnel() ipv4: remove "proto" argument from udp_tunnel_dst_lookup() ipv4: add new arguments to udp_tunnel_dst_lookup() ipv6: rename and move ip6_dst_lookup_tunnel() bareudp: fix NULL pointer dereference in bareudp_fill_metadata_dst() net/sched: sch_cake: annotate data-races in cake_dump_stats() (V) drm/amd/display: Allow DCE link encoder without AUX registers drm/amd/display: Read EDID from VBIOS embedded panel info btrfs: tracepoints: fix sleep while in atomic context in btrfs_sync_file() net/sched: taprio: Fix init procedure flow_dissector: do not dissect PPPoE PFC frames flow_dissector: Do not count vlan tags inside tunnel payload net/sched: sch_pie: annotate more data-races in pie_dump_stats() rtc: allow rtc_read_alarm without read_alarm callback alarmtimer: Check RTC features instead of ops crypto: af_alg - Cap AEAD AD length to 0x80000000 audit: fix incorrect inheritable capability in CAPSET records netfilter: nft_ct: fix missing expect put in obj eval net: atlantic: preserve PCI wake-from-D3 on shutdown when WOL enabled audit: enforce AUDIT_LOCKED for AUDIT_TRIM and AUDIT_MAKE_EQUIV drm/i915/dp: Fix VSC dynamic range signaling for RGB formats ALSA: usb-audio: Bound MIDI endpoint descriptor scans ceph: fix a buffer leak in __ceph_setxattr() powerpc/warp: Fix error handling in pika_dtm_thread libceph: Fix potential out-of-bounds access in osdmap_decode() libceph: Fix potential null-ptr-deref in decode_choose_args() libceph: Fix potential out-of-bounds access in crush_decode() libceph: handle rbtree insertion error in decode_choose_args() iommu/vt-d: Disable DMAR for Intel Q35 IGFX drm/panfrost: Fix wait_bo ioctl leaking positive return from dma_resv_wait_timeout() drm/gma500/oaktrail_hdmi: fix i2c adapter leak on setup io-wq: check that the predecessor is hashed in io_wq_remove_pending() net/rds: reset op_nents when zerocopy page pin fails s390/debug: Reject zero-length input before trimming a newline selftests: lib.mk: Also install "config" and "settings" Revert "x86/vdso: Fix output operand size of RDPID" net: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_table_delete_entry() Revert "s390/cio: Fix device lifecycle handling in css_alloc_subchannel()" smb: client: reject userspace cifs.spnego descriptions sysfs: don't remove existing directory on update failure hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX ALSA: ua101: Reject too-short USB descriptors ALSA: asihpi: Fix potential OOB array access at reading cache Bluetooth: bnep: Fix UAF read of dev->name Bluetooth: hci_uart: fix UAFs and race conditions in close and init paths phonet/pep: disable BH around forwarded sk_receive_skb() net: bcmgenet: keep RBUF EEE/PM disabled netfilter: ip6t_hbh: reject oversized option lists netfilter: ipset: stop hash:* range iteration at end ring-buffer: Fix reporting of missed events in iterator vsock/vmci: fix UAF when peer resets connection during handshake wifi: ath11k: clear shared SRNG pointer state on restart ipv4: raw: reject IP_HDRINCL packets with ihl < 5 ixgbevf: fix use-after-free in VEPA multicast source pruning wifi: cfg80211: advance loop vars in cfg80211_merge_profile() tracing: Do not call map->ops->elt_free() if elt_alloc() fails scsi: isci: Fix use-after-free in device removal path spi: sprd: fix error pointer deref after DMA setup failure spi: ti-qspi: fix use-after-free after DMA setup failure RDMA/siw: Reject MPA FPDU length underflow before signed receive math drm/bridge: megachips: remove bridge when irq request fails drm/amd/display: Fix integer overflow in bios_get_image() batman-adv: mcast: fix use-after-free in orig_node RCU release batman-adv: clear current gateway during teardown batman-adv: dat: handle forward allocation error batman-adv: fix fragment reassembly length accounting batman-adv: fix tp_meter counter underflow during shutdown batman-adv: frag: disallow unicast fragment in fragment batman-adv: bla: fix report_work leak on backbone_gw purge batman-adv: tp_meter: avoid use of uninit sender vars batman-adv: tt: fix negative last_changeset_len batman-adv: tt: fix negative tt_buff_len hwmon: (pmbus/adm1266) seed timestamp from the real-time clock hwmon: (pmbus/adm1266) reject implausible blackbox record_count hwmon: (pmbus/adm1266) include PEC byte in pmbus_block_xfer read buffer hwmon: (pmbus/adm1266) bounce blackbox records through a protocol-sized buffer hwmon: (pmbus/adm1266) cap PDIO scan in get_multiple at ADM1266_PDIO_NR hwmon: (pmbus/adm1266) don't clobber GPIO bits before PDIO read in get_multiple hwmon: (pmbus/adm1266) register the gpio_chip after pmbus_do_probe() hwmon: (pmbus/adm1266) register the nvmem device after pmbus_do_probe() hwmon: (pmbus/adm1266) reject short block-read responses in the GPIO accessors kunit: config: Enable KUNIT_DEBUGFS by default kunit: config: KUNIT_DEBUGFS should depend on DEBUG_FS ARM: integrator: Fix early initialization ice: fix locking in ice_dcb_rebuild() phy: marvell: mvebu-a3700-utmi: fix incorrect USB2_PHY_CTRL register access irqchip/ath79-cpu: Remove unused function net: ethernet: cortina: Make RX SKB per-port net: ethernet: cortina: Drop half-assembled SKB net: ethernet: cortina: Carry over frag counter net: ethernet: cs89x0: remove stale CONFIG_MACH_MX31ADS reference HID: quirks: really enable the intended work around for appledisplay ethtool: fix ethnl_bitmap32_not_zero() bit interval semantics net: tls: fix off-by-one in sg_chain entry count for wrapped sk_msg ring net: tls: prevent chain-after-chain in plain text SG platform/x86: intel-hid: Check ACPI_HANDLE() against NULL tracing: Avoid NULL return from hist_field_name() on truncation net: ag71xx: check error for platform_get_irq string: add mem_is_zero() helper to check if memory area is all zeros gpiolib: cdev: use !mem_is_zero() instead of memchr_inv(s, 0, n) gpio: cdev: check if uAPI v2 config attributes are correctly zeroed net: usb: lan78xx: Fix double free issue with interrupt buffer allocation Linux 5.10.258 Change-Id: I06ba5bf87aafc3da9c83815fc15f3c66f97e30a7 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
BEST: Make all of your changes to upstream Linux. If appropriate, backport to the stable releases. These patches will be merged automatically in the corresponding common kernels. If the patch is already in upstream Linux, post a backport of the patch that conforms to the patch requirements below.
EXPORT_SYMBOL_GPL() require an in-tree modular driver that uses the symbol -- so include the new driver or changes to an existing driver in the same patchset as the export.LESS GOOD: Develop your patches out-of-tree (from an upstream Linux point-of-view). Unless these are fixing an Android-specific bug, these are very unlikely to be accepted unless they have been coordinated with kernel-team@android.com. If you want to proceed, post a patch that conforms to the patch requirements below.
script/checkpatch.plUPSTREAM:, BACKPORT:, FROMGIT:, FROMLIST:, or ANDROID:.Change-Id: tag (see https://gerrit-review.googlesource.com/Documentation/user-changeid.html)Bug: tag.Signed-off-by: tag by the author and the submitterAdditional requirements are listed below based on patch type
UPSTREAM:, BACKPORT:UPSTREAM:.(cherry picked from commit ...) line important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
- then Joe Smith would upload the patch for the common kernel as
UPSTREAM: important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
Bug: 135791357
Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
(cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
Signed-off-by: Joe Smith <joe.smith@foo.org>
BACKPORT: instead of UPSTREAM:.UPSTREAM:(cherry picked from commit ...) line BACKPORT: important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
Bug: 135791357
Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
(cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
[joe: Resolved minor conflict in drivers/foo/bar.c ]
Signed-off-by: Joe Smith <joe.smith@foo.org>
FROMGIT:, FROMLIST:,FROMGIT:(cherry picked from commit <sha1> <repo> <branch>). This must be a stable maintainer branch (not rebased, so don't use linux-next for example).BACKPORT: FROMGIT: important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
- then Joe Smith would upload the patch for the common kernel as
FROMGIT: important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
Bug: 135791357
(cherry picked from commit 878a2fd9de10b03d11d2f622250285c7e63deace
https://git.kernel.org/pub/scm/linux/kernel/git/foo/bar.git test-branch)
Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
Signed-off-by: Joe Smith <joe.smith@foo.org>
FROMLIST:Link: tag with a link to the submittal on lore.kernel.orgBug: tag with the Android bug (required for patches not accepted into a maintainer tree)BACKPORT: FROMLIST: FROMLIST: important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
Bug: 135791357
Link: https://lore.kernel.org/lkml/20190619171517.GA17557@someone.com/
Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
Signed-off-by: Joe Smith <joe.smith@foo.org>
ANDROID:ANDROID:Fixes: tag that cites the patch with the bug ANDROID: fix android-specific bug in foobar.c
This is the detailed description of the important fix
Fixes: 1234abcd2468 ("foobar: add cool feature")
Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
Signed-off-by: Joe Smith <joe.smith@foo.org>
ANDROID:Bug: tag with the Android bug (required for android-specific features)