Commit Graph

65111 Commits

Author SHA1 Message Date
Martin Willi
adad2dab31 UPSTREAM: Revert "Fix XFRM-I support for nested ESP tunnels"
[ Upstream commit 5fc46f94219d1d103ffb5f0832be9da674d85a73 ]

This reverts commit b0355dbbf13c0052931dd14c38c789efed64d3de.

The reverted commit clears the secpath on packets received via xfrm interfaces
to support nested IPsec tunnels. This breaks Netfilter policy matching using
xt_policy in the FORWARD chain, as the secpath is missing during forwarding.
Additionally, Benedict Wong reports that it breaks Transport-in-Tunnel mode.

Fix this regression by reverting the commit until we have a better approach
for nested IPsec tunnels.

Fixes: b0355dbbf13c ("Fix XFRM-I support for nested ESP tunnels")
Link: https://lore.kernel.org/netdev/20230412085615.124791-1-martin@strongswan.org/
Signed-off-by: Martin Willi <martin@strongswan.org>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>

Bug: 288489934
(cherry picked from commit c5449195f8)
Change-Id: Iefaed6d21a641fefb02e0fd0067086a9ae3a802a
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2023-07-18 16:48:03 +00:00
Hangyu Hua
6a975c2771 UPSTREAM: net/sched: flower: fix possible OOB write in fl_set_geneve_opt()
[ Upstream commit 4d56304e5827c8cc8cc18c75343d283af7c4825c ]

If we send two TCA_FLOWER_KEY_ENC_OPTS_GENEVE packets and their total
size is 252 bytes(key->enc_opts.len = 252) then
key->enc_opts.len = opt->length = data_len / 4 = 0 when the third
TCA_FLOWER_KEY_ENC_OPTS_GENEVE packet enters fl_set_geneve_opt. This
bypasses the next bounds check and results in an out-of-bounds.

Bug: 288660424
Fixes: 0a6e77784f ("net/sched: allow flower to match tunnel options")
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Link: https://lore.kernel.org/r/20230531102805.27090-1-hbh25y@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 45f47d2cf1142fbfe5d6fc39ad78f4aac058907c)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I53c534b7d43f4c7da5a9f63556c79d35797aa598
2023-07-03 19:13:10 +00:00
Lee Jones
39c3d16903 UPSTREAM: net/sched: cls_u32: Fix reference counter leak leading to overflow
[ Upstream commit 04c55383fa5689357bcdd2c8036725a55ed632bc ]

In the event of a failure in tcf_change_indev(), u32_set_parms() will
immediately return without decrementing the recently incremented
reference counter.  If this happens enough times, the counter will
rollover and the reference freed, leading to a double free which can be
used to do 'bad things'.

In order to prevent this, move the point of possible failure above the
point where the reference counter is incremented.  Also save any
meaningful return values to be applied to the return data at the
appropriate point in time.

This issue was caught with KASAN.

Bug: 273251569
Fixes: 705c709126 ("net: sched: cls_u32: no need to call tcf_exts_change for newly allocated struct")
Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 07f9cc229b44cbcee6385802d390091d915f38c3)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I95524bfda9a08a40b3d54515e528419dba18dc55
2023-06-26 12:06:33 +01:00
Ruihan Li
5bffeca4fb UPSTREAM: bluetooth: Perform careful capability checks in hci_sock_ioctl()
commit 25c150ac103a4ebeed0319994c742a90634ddf18 upstream.

Previously, capability was checked using capable(), which verified that the
caller of the ioctl system call had the required capability. In addition,
the result of the check would be stored in the HCI_SOCK_TRUSTED flag,
making it persistent for the socket.

However, malicious programs can abuse this approach by deliberately sharing
an HCI socket with a privileged task. The HCI socket will be marked as
trusted when the privileged task occasionally makes an ioctl call.

This problem can be solved by using sk_capable() to check capability, which
ensures that not only the current task but also the socket opener has the
specified capability, thus reducing the risk of privilege escalation
through the previously identified vulnerability.

Bug: 286456284
Cc: stable@vger.kernel.org
Fixes: f81f5b2db8 ("Bluetooth: Send control open and close messages for HCI raw sockets")
Signed-off-by: Ruihan Li <lrh2000@pku.edu.cn>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 47e6893a5b0ad14c0b1c25983a1facb1cf667b6e)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I9a4b20c7b1e9b4e6bbd6371264aec039770a52ff
2023-06-19 11:23:12 +01:00
Zheng Wang
708d51e22a UPSTREAM: 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
[ Upstream commit ea4f1009408efb4989a0f139b70fb338e7f687d0 ]

In xen_9pfs_front_probe, it calls xen_9pfs_front_alloc_dataring
to init priv->rings and bound &ring->work with p9_xen_response.

When it calls xen_9pfs_front_event_handler to handle IRQ requests,
it will finally call schedule_work to start the work.

When we call xen_9pfs_front_remove to remove the driver, there
may be a sequence as follows:

Fix it by finishing the work before cleanup in xen_9pfs_front_free.

Note that, this bug is found by static analysis, which might be
false positive.

CPU0                  CPU1

                     |p9_xen_response
xen_9pfs_front_remove|
  xen_9pfs_front_free|
kfree(priv)          |
//free priv          |
                     |p9_tag_lookup
                     |//use priv->client

Bug: 284409180
Fixes: 71ebd71921 ("xen/9pfs: connect to the backend")
Signed-off-by: Zheng Wang <zyytlz.wz@163.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 9266e939d7)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I3a50acfe9957e0140e01d17f4d766532ec5670e0
2023-06-12 11:27:42 +00:00
Greg Kroah-Hartman
f3670bd0ff This is the 5.10.177 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmQtPjAACgkQONu9yGCS
 aT4xmRAAvwO3WPc76Yo+6GQRbtKotLTPDz5njffcHeQwDnsdjMKwHnn9lH9Xt44v
 YdBtRtKql9MUSR9voqx+nXX25g7m5yemLEam5BNRInGZ2jyKNXXc/5VmQvQukbFc
 DWlM3wuzeGSJ8nWit6fWGvi4xNcQPjcVyyuhba27YMAU2qz4dgOOccnDXoVA3goz
 5VqsZkw6UHKQRTzVs/ygJ2Ke4YldPB3QV4TBvpJFgJVQRm0f/vigKlaUgvOoawDc
 +iulDe2tvQNn2nQakP7KNzRntfY75iuJs+eexyfkxhTdAPtwRuZrztZpA5sL+c1N
 MYSZk3Gldz05EsAc9FKwLy+CP2L7yCNpdQso8r7cXPlO8J4MLbpuTBzCbM26CaCH
 IJigHCya38mgQX2VfpWxegNgft2D9WoIMdjMtQG8AqNEynG86PBBD48MHP1eNC8X
 CnBSVt+Ho31FMwfrzT1en2ExbEbZXsKNHdY8077iiCO+/Zc+aea7BXzEAiL0Ui1z
 6Qo0zLTG9Wmhwl3Q6R2iShf7zJIM0kpGJ+5qjpE1qhihFFRIe4aYuhrDRH4F01ec
 XJFxBr94brfgCp9F/XnFLOQ2SqXGn5C3pJiu6UymcTF9XJUT9llNNt4v6Xbnp/8Y
 YsDF16Fm0mpperbG0m9LBtUP4zmA1soZtNC4EEI3YsXVe9x6uEA=
 =ArYR
 -----END PGP SIGNATURE-----

Merge 5.10.177 into android12-5.10-lts

Changes in 5.10.177
	interconnect: qcom: osm-l3: fix icc_onecell_data allocation
	perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
	perf: fix perf_event_context->time
	ipmi:ssif: make ssif_i2c_send() void
	ipmi:ssif: Increase the message retry time
	ipmi:ssif: resend_msg() cannot fail
	ipmi:ssif: Add a timer between request retries
	KVM: Clean up benign vcpu->cpu data races when kicking vCPUs
	KVM: KVM: Use cpumask_available() to check for NULL cpumask when kicking vCPUs
	KVM: Optimize kvm_make_vcpus_request_mask() a bit
	KVM: Pre-allocate cpumasks for kvm_make_all_cpus_request_except()
	KVM: Register /dev/kvm as the _very_ last thing during initialization
	serial: fsl_lpuart: Fix comment typo
	tty: serial: fsl_lpuart: fix race on RX DMA shutdown
	serial: 8250: SERIAL_8250_ASPEED_VUART should depend on ARCH_ASPEED
	serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it
	drm/sun4i: fix missing component unbind on bind errors
	net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
	power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
	power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition
	power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
	ARM: dts: imx6sll: e60k02: fix usbotg1 pinctrl
	ARM: dts: imx6sl: tolino-shine2hd: fix usbotg1 pinctrl
	xsk: Add missing overflow check in xdp_umem_reg
	iavf: fix inverted Rx hash condition leading to disabled hash
	iavf: fix non-tunneled IPv6 UDP packet type and hashing
	intel/igbvf: free irq on the error path in igbvf_request_msix()
	igbvf: Regard vf reset nack as success
	igc: fix the validation logic for taprio's gate list
	i2c: imx-lpi2c: check only for enabled interrupt flags
	scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
	net: usb: smsc95xx: Limit packet length to skb->len
	qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
	xirc2ps_cs: Fix use after free bug in xirc2ps_detach
	net: phy: Ensure state transitions are processed from phy_stop()
	net: mdio: fix owner field for mdio buses registered using device-tree
	net: qcom/emac: Fix use after free bug in emac_remove due to race condition
	net/ps3_gelic_net: Fix RX sk_buff length
	net/ps3_gelic_net: Use dma_mapping_error
	bootconfig: Fix testcase to increase max node
	keys: Do not cache key in task struct if key is requested from kernel thread
	bpf: Adjust insufficient default bpf_jit_limit
	net/mlx5: Fix steering rules cleanup
	net/mlx5: Read the TC mapping of all priorities on ETS query
	net/mlx5: E-Switch, Fix an Oops in error handling code
	atm: idt77252: fix kmemleak when rmmod idt77252
	erspan: do not use skb_mac_header() in ndo_start_xmit()
	net/sonic: use dma_mapping_error() for error check
	nvme-tcp: fix nvme_tcp_term_pdu to match spec
	gve: Cache link_speed value from device
	net: mdio: thunder: Add missing fwnode_handle_put()
	Bluetooth: btqcomsmd: Fix command timeout after setting BD address
	Bluetooth: L2CAP: Fix not checking for maximum number of DCID
	Bluetooth: L2CAP: Fix responding with wrong PDU type
	Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
	platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
	hwmon: fix potential sensor registration fail if of_node is missing
	hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
	scsi: qla2xxx: Perform lockless command completion in abort path
	uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
	thunderbolt: Use scale field when allocating USB3 bandwidth
	thunderbolt: Use const qualifier for `ring_interrupt_index`
	riscv: Bump COMMAND_LINE_SIZE value to 1024
	HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
	ca8210: fix mac_len negative array access
	m68k: Only force 030 bus error if PC not in exception table
	selftests/bpf: check that modifier resolves after pointer
	scsi: target: iscsi: Fix an error message in iscsi_check_key()
	scsi: hisi_sas: Check devm_add_action() return value
	scsi: ufs: core: Add soft dependency on governor_simpleondemand
	scsi: lpfc: Avoid usage of list iterator variable after loop
	scsi: storvsc: Handle BlockSize change in Hyper-V VHD/VHDX file
	net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
	net: usb: qmi_wwan: add Telit 0x1080 composition
	sh: sanitize the flags on sigreturn
	cifs: empty interface list when server doesn't support query interfaces
	scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
	usb: dwc2: fix a devres leak in hw_enable upon suspend resume
	usb: gadget: u_audio: don't let userspace block driver unbind
	fsverity: Remove WQ_UNBOUND from fsverity read workqueue
	igb: revert rtnl_lock() that causes deadlock
	dm thin: fix deadlock when swapping to thin device
	usb: cdns3: Fix issue with using incorrect PCI device function
	usb: chipdea: core: fix return -EINVAL if request role is the same with current role
	usb: chipidea: core: fix possible concurrent when switch role
	usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
	wifi: mac80211: fix qos on mesh interfaces
	nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
	drm/i915/active: Fix missing debug object activation
	drm/i915: Preserve crtc_state->inherited during state clearing
	tee: amdtee: fix race condition in amdtee_open_session
	firmware: arm_scmi: Fix device node validation for mailbox transport
	i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
	dm stats: check for and propagate alloc_percpu failure
	dm crypt: add cond_resched() to dmcrypt_write()
	sched/fair: sanitize vruntime of entity being placed
	sched/fair: Sanitize vruntime of entity being migrated
	ocfs2: fix data corruption after failed write
	xfs: shut down the filesystem if we screw up quota reservation
	xfs: don't reuse busy extents on extent trim
	KVM: fix memoryleak in kvm_init()
	NFSD: fix use-after-free in __nfs42_ssc_open()
	usb: dwc3: gadget: move cmd_endtransfer to extra function
	usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC
	kernel: kcsan: kcsan_test: build without structleak plugin
	kcsan: avoid passing -g for test
	drm/meson: Fix error handling when afbcd.ops->init fails
	drm/meson: fix missing component unbind on bind errors
	bus: imx-weim: fix branch condition evaluates to a garbage value
	dm crypt: avoid accessing uninitialized tasklet
	fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
	md: avoid signed overflow in slot_store()
	net: hsr: Don't log netdev_err message on unknown prp dst node
	ALSA: asihpi: check pao in control_message()
	ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
	fbdev: tgafb: Fix potential divide by zero
	sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
	fbdev: nvidia: Fix potential divide by zero
	fbdev: intelfb: Fix potential divide by zero
	fbdev: lxfb: Fix potential divide by zero
	fbdev: au1200fb: Fix potential divide by zero
	tools/power turbostat: Fix /dev/cpu_dma_latency warnings
	tracing: Fix wrong return in kprobe_event_gen_test.c
	ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
	mips: bmips: BCM6358: disable RAC flush for TP1
	mtd: rawnand: meson: invalidate cache on polling ECC bit
	sfc: ef10: don't overwrite offload features at NIC reset
	scsi: megaraid_sas: Fix crash after a double completion
	ptp_qoriq: fix memory leak in probe()
	r8169: fix RTL8168H and RTL8107E rx crc error
	regulator: Handle deferred clk
	net/net_failover: fix txq exceeding warning
	net: stmmac: don't reject VLANs when IFF_PROMISC is set
	can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
	s390/vfio-ap: fix memory leak in vfio_ap device driver
	ALSA: ymfpci: Fix assignment in if condition
	ALSA: ymfpci: Fix BUG_ON in probe function
	net: ipa: compute DMA pool size properly
	i40e: fix registers dump after run ethtool adapter self test
	bnxt_en: Fix typo in PCI id to device description string mapping
	bnxt_en: Add missing 200G link speed reporting
	net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
	pinctrl: ocelot: Fix alt mode for ocelot
	Input: alps - fix compatibility with -funsigned-char
	Input: focaltech - use explicitly signed char type
	cifs: prevent infinite recursion in CIFSGetDFSRefer()
	cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
	Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
	btrfs: fix race between quota disable and quota assign ioctls
	xen/netback: don't do grant copy across page boundary
	net: phy: dp83869: fix default value for tx-/rx-internal-delay
	pinctrl: amd: Disable and mask interrupts on resume
	pinctrl: at91-pio4: fix domain name assignment
	powerpc: Don't try to copy PPR for task with NULL pt_regs
	NFSv4: Fix hangs when recovering open state after a server reboot
	ALSA: hda/conexant: Partial revert of a quirk for Lenovo
	ALSA: usb-audio: Fix regression on detection of Roland VS-100
	ALSA: hda/realtek: Add quirk for Lenovo ZhaoYang CF4620Z
	xtensa: fix KASAN report for show_stack
	rcu: Fix rcu_torture_read ftrace event
	drm/etnaviv: fix reference leak when mmaping imported buffer
	drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub
	s390/uaccess: add missing earlyclobber annotations to __clear_user()
	btrfs: scan device in non-exclusive mode
	zonefs: Fix error message in zonefs_file_dio_append()
	selftests/bpf: Test btf dump for struct with padding only fields
	libbpf: Fix BTF-to-C converter's padding logic
	selftests/bpf: Add few corner cases to test padding handling of btf_dump
	libbpf: Fix btf_dump's packed struct determination
	ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
	gfs2: Always check inode size of inline inodes
	hsr: ratelimit only when errors are printed
	Linux 5.10.177

Change-Id: Ib596b399350d080d7e94c80c1a6bb3c64e971187
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-04-05 14:11:48 +00:00
Matthieu Baerts
34a02011c5 hsr: ratelimit only when errors are printed
commit 1b0120e4db0bf2838d1ce741195ce4b7cc100b91 upstream.

Recently, when automatically merging -net and net-next in MPTCP devel
tree, our CI reported [1] a conflict in hsr, the same as the one
reported by Stephen in netdev [2].

When looking at the conflict, I noticed it is in fact the v1 [3] that
has been applied in -net and the v2 [4] in net-next. Maybe the v1 was
applied by accident.

As mentioned by Jakub Kicinski [5], the new condition makes more sense
before the net_ratelimit(), not to update net_ratelimit's state which is
unnecessary if we're not going to print either way.

Here, this modification applies the v2 but in -net.

Link: https://github.com/multipath-tcp/mptcp_net-next/actions/runs/4423171069 [1]
Link: https://lore.kernel.org/netdev/20230315100914.53fc1760@canb.auug.org.au/ [2]
Link: https://lore.kernel.org/netdev/20230307133229.127442-1-koverskeid@gmail.com/ [3]
Link: https://lore.kernel.org/netdev/20230309092302.179586-1-koverskeid@gmail.com/ [4]
Link: https://lore.kernel.org/netdev/20230308232001.2fb62013@kernel.org/ [5]
Fixes: 28e8cabe80f3 ("net: hsr: Don't log netdev_err message on unknown prp dst node")
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Link: https://lore.kernel.org/r/20230315-net-20230315-hsr_framereg-ratelimit-v1-1-61d2ef176d11@tessares.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-05 11:23:52 +02:00
Ivan Orlov
ab2a559078 can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
[ Upstream commit 2b4c99f7d9a57ecd644eda9b1fb0a1072414959f ]

Syzkaller reported the following issue:

=====================================================
BUG: KMSAN: uninit-value in aio_rw_done fs/aio.c:1520 [inline]
BUG: KMSAN: uninit-value in aio_write+0x899/0x950 fs/aio.c:1600
 aio_rw_done fs/aio.c:1520 [inline]
 aio_write+0x899/0x950 fs/aio.c:1600
 io_submit_one+0x1d1c/0x3bf0 fs/aio.c:2019
 __do_sys_io_submit fs/aio.c:2078 [inline]
 __se_sys_io_submit+0x293/0x770 fs/aio.c:2048
 __x64_sys_io_submit+0x92/0xd0 fs/aio.c:2048
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

Uninit was created at:
 slab_post_alloc_hook mm/slab.h:766 [inline]
 slab_alloc_node mm/slub.c:3452 [inline]
 __kmem_cache_alloc_node+0x71f/0xce0 mm/slub.c:3491
 __do_kmalloc_node mm/slab_common.c:967 [inline]
 __kmalloc+0x11d/0x3b0 mm/slab_common.c:981
 kmalloc_array include/linux/slab.h:636 [inline]
 bcm_tx_setup+0x80e/0x29d0 net/can/bcm.c:930
 bcm_sendmsg+0x3a2/0xce0 net/can/bcm.c:1351
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 sock_write_iter+0x495/0x5e0 net/socket.c:1108
 call_write_iter include/linux/fs.h:2189 [inline]
 aio_write+0x63a/0x950 fs/aio.c:1600
 io_submit_one+0x1d1c/0x3bf0 fs/aio.c:2019
 __do_sys_io_submit fs/aio.c:2078 [inline]
 __se_sys_io_submit+0x293/0x770 fs/aio.c:2048
 __x64_sys_io_submit+0x92/0xd0 fs/aio.c:2048
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

CPU: 1 PID: 5034 Comm: syz-executor350 Not tainted 6.2.0-rc6-syzkaller-80422-geda666ff2276 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
=====================================================

We can follow the call chain and find that 'bcm_tx_setup' function
calls 'memcpy_from_msg' to copy some content to the newly allocated
frame of 'op->frames'. After that the 'len' field of copied structure
being compared with some constant value (64 or 8). However, if
'memcpy_from_msg' returns an error, we will compare some uninitialized
memory. This triggers 'uninit-value' issue.

This patch will add 'memcpy_from_msg' possible errors processing to
avoid uninit-value issue.

Tested via syzkaller

Reported-by: syzbot+c9bfd85eca611ebf5db1@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?id=47f897f8ad958bbde5790ebf389b5e7e0a345089
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Fixes: 6f3b911d5f ("can: bcm: add support for CAN FD frames")
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://lore.kernel.org/all/20230314120445.12407-1-ivan.orlov0322@gmail.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-05 11:23:47 +02:00
Kristian Overskeid
b94ffa2874 net: hsr: Don't log netdev_err message on unknown prp dst node
[ Upstream commit 28e8cabe80f3e6e3c98121576eda898eeb20f1b1 ]

If no frames has been exchanged with a node for HSR_NODE_FORGET_TIME, the
node will be deleted from the node_db list. If a frame is sent to the node
after it is deleted, a netdev_err message for each slave interface is
produced. This should not happen with dan nodes because of supervision
frames, but can happen often with san nodes, which clutters the kernel
log. Since the hsr protocol does not support sans, this is only relevant
for the prp protocol.

Signed-off-by: Kristian Overskeid <koverskeid@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-05 11:23:45 +02:00
Felix Fietkau
560437bba1 wifi: mac80211: fix qos on mesh interfaces
commit 4e348c6c6e23491ae6eb5e077848a42d0562339c upstream.

When ieee80211_select_queue is called for mesh, the sta pointer is usually
NULL, since the nexthop is looked up much later in the tx path.
Explicitly check for unicast address in that case in order to make qos work
again.

Cc: stable@vger.kernel.org
Fixes: 50e2ab392919 ("wifi: mac80211: fix queue selection for mesh/OCB interfaces")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20230314095956.62085-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-05 11:23:41 +02:00
Luiz Augusto von Dentz
fce0e47e9e Bluetooth: L2CAP: Fix responding with wrong PDU type
[ Upstream commit 9aa9d9473f1550d1936c31259720b3f1f4690576 ]

L2CAP_ECRED_CONN_REQ shall be responded with L2CAP_ECRED_CONN_RSP not
L2CAP_LE_CONN_RSP:

L2CAP LE EATT Server - Reject - run
  Listening for connections
  New client connection with handle 0x002a
  Sending L2CAP Request from client
  Client received response code 0x15
  Unexpected L2CAP response code (expected 0x18)
L2CAP LE EATT Server - Reject - test failed

> ACL Data RX: Handle 42 flags 0x02 dlen 26
      LE L2CAP: Enhanced Credit Connection Request (0x17) ident 1 len 18
        PSM: 39 (0x0027)
        MTU: 64
        MPS: 64
        Credits: 5
        Source CID: 65
        Source CID: 66
        Source CID: 67
        Source CID: 68
        Source CID: 69
< ACL Data TX: Handle 42 flags 0x00 dlen 16
      LE L2CAP: LE Connection Response (0x15) ident 1 len 8
        invalid size
        00 00 00 00 00 00 06 00

L2CAP LE EATT Server - Reject - run
  Listening for connections
  New client connection with handle 0x002a
  Sending L2CAP Request from client
  Client received response code 0x18
L2CAP LE EATT Server - Reject - test passed

Fixes: 15f02b9105 ("Bluetooth: L2CAP: Add initial code for Enhanced Credit Based Mode")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-05 11:23:36 +02:00
Luiz Augusto von Dentz
77a61df0a0 Bluetooth: L2CAP: Fix not checking for maximum number of DCID
[ Upstream commit 7cf3b1dd6aa603fd80969e9e7160becf1455a0eb ]

When receiving L2CAP_CREDIT_BASED_CONNECTION_REQ the remote may request
more channels than allowed by the spec (10 octecs = 5 CIDs) so this
checks if the number of channels is bigger than the maximum allowed and
respond with an error.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Stable-dep-of: 9aa9d9473f15 ("Bluetooth: L2CAP: Fix responding with wrong PDU type")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-05 11:23:36 +02:00
Eric Dumazet
f8cec30541 erspan: do not use skb_mac_header() in ndo_start_xmit()
[ Upstream commit 8e50ed774554f93d55426039b27b1e38d7fa64d8 ]

Drivers should not assume skb_mac_header(skb) == skb->data in their
ndo_start_xmit().

Use skb_network_offset() and skb_transport_offset() which
better describe what is needed in erspan_fb_xmit() and
ip6erspan_tunnel_xmit()

syzbot reported:
WARNING: CPU: 0 PID: 5083 at include/linux/skbuff.h:2873 skb_mac_header include/linux/skbuff.h:2873 [inline]
WARNING: CPU: 0 PID: 5083 at include/linux/skbuff.h:2873 ip6erspan_tunnel_xmit+0x1d9c/0x2d90 net/ipv6/ip6_gre.c:962
Modules linked in:
CPU: 0 PID: 5083 Comm: syz-executor406 Not tainted 6.3.0-rc2-syzkaller-00866-gd4671cb96fa3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:skb_mac_header include/linux/skbuff.h:2873 [inline]
RIP: 0010:ip6erspan_tunnel_xmit+0x1d9c/0x2d90 net/ipv6/ip6_gre.c:962
Code: 04 02 41 01 de 84 c0 74 08 3c 03 0f 8e 1c 0a 00 00 45 89 b4 24 c8 00 00 00 c6 85 77 fe ff ff 01 e9 33 e7 ff ff e8 b4 27 a1 f8 <0f> 0b e9 b6 e7 ff ff e8 a8 27 a1 f8 49 8d bf f0 0c 00 00 48 b8 00
RSP: 0018:ffffc90003b2f830 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 000000000000ffff RCX: 0000000000000000
RDX: ffff888021273a80 RSI: ffffffff88e1bd4c RDI: 0000000000000003
RBP: ffffc90003b2f9d8 R08: 0000000000000003 R09: 000000000000ffff
R10: 000000000000ffff R11: 0000000000000000 R12: ffff88802b28da00
R13: 00000000000000d0 R14: ffff88807e25b6d0 R15: ffff888023408000
FS: 0000555556a61300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e5b11eb6e8 CR3: 0000000027c1b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__netdev_start_xmit include/linux/netdevice.h:4900 [inline]
netdev_start_xmit include/linux/netdevice.h:4914 [inline]
__dev_direct_xmit+0x504/0x730 net/core/dev.c:4300
dev_direct_xmit include/linux/netdevice.h:3088 [inline]
packet_xmit+0x20a/0x390 net/packet/af_packet.c:285
packet_snd net/packet/af_packet.c:3075 [inline]
packet_sendmsg+0x31a0/0x5150 net/packet/af_packet.c:3107
sock_sendmsg_nosec net/socket.c:724 [inline]
sock_sendmsg+0xde/0x190 net/socket.c:747
__sys_sendto+0x23a/0x340 net/socket.c:2142
__do_sys_sendto net/socket.c:2154 [inline]
__se_sys_sendto net/socket.c:2150 [inline]
__x64_sys_sendto+0xe1/0x1b0 net/socket.c:2150
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f123aaa1039
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc15d12058 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f123aaa1039
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000020000040 R09: 0000000000000014
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f123aa648c0
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000

Fixes: 1baf5ebf89 ("erspan: auto detect truncated packets.")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230320163427.8096-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-05 11:23:35 +02:00
Kal Conley
580634b03a xsk: Add missing overflow check in xdp_umem_reg
[ Upstream commit c7df4813b149362248d6ef7be41a311e27bf75fe ]

The number of chunks can overflow u32. Make sure to return -EINVAL on
overflow. Also remove a redundant u32 cast assigning umem->npgs.

Fixes: bbff2f321a ("xsk: new descriptor addressing scheme")
Signed-off-by: Kal Conley <kal.conley@dectris.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/20230308174013.1114745-1-kal.conley@dectris.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-05 11:23:32 +02:00
Hangyu Hua
1fde5782f1 net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
commit 49c47cc21b5b7a3d8deb18fc57b0aa2ab1286962 upstream.

ctx->crypto_send.info is not protected by lock_sock in
do_tls_getsockopt_conf(). A race condition between do_tls_getsockopt_conf()
and error paths of do_tls_setsockopt_conf() may lead to a use-after-free
or null-deref.

More discussion:  https://lore.kernel.org/all/Y/ht6gQL+u6fj3dG@hog/

Fixes: 3c4d755915 ("tls: kernel TLS support")
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Link: https://lore.kernel.org/r/20230228023344.9623-1-hbh25y@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Meena Shanmugam <meenashanmugam@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-05 11:23:31 +02:00
Greg Kroah-Hartman
df23049a96 This is the 5.10.176 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmQa9NgACgkQONu9yGCS
 aT4Iew//X/3+Bpiu+FyaYe0NZ4I95rQvNh4fG6wXCFd/PVbCRpxVOAKQ91GnkU+D
 iMeuGBPqkpPhHvesRybsq0u8GmJ+fJj58+fgy1ABI7UzkWihzNDu1n2RntYmuRvl
 TEEsAIS+6/lhVKosDhyYcXAL5eT8F06zFOI9HspWRe+lYoRBIQyykcLgZQwt5mBX
 qyKAFkvhH0Z77ATiID5alRkVArgi/t3qBUANTrJ7LqOlhtY42EOS0Sp7wpZWskqI
 7Mpb6pfODsOq5d+6zNvZzdrtMaKRBal0Inxj2+zLEYdSv+xbTqp4Cb6UI18gJTA7
 zsvItAzTRxp+7KiZVS2HP3uMRRV4lQ5HxgMJhSsONHSSRh7ndhkW7NQq/o/dRFm2
 IgVf1beHk2pE+LN0Plf2oQCOMV8h/vQRZLCejoQEbFy6oNQ6bA4btJaXZnfluqDb
 KXONyDqXZ3uX3DSrKO4pCNCTsm5JhinkFHhO125kjSkPp/k2YWXdnBftQT1mWPYf
 dbWu1z/E+3qvObedwNn+icuu/MUznZMTYwDOD31tJp+1iEBgeBQWI+IRaIaWbDyD
 dxSoV8cScNZz+X4M70EFlwJMYL/VcIzDljeH2EA3CImDycDH0tspo6z8Z+xFhsrg
 D1wshmaT9XkSEJ92xDMw82B/1noOati75HpkUW1W/PKTqvjH/uU=
 =/t/A
 -----END PGP SIGNATURE-----

Merge 5.10.176 into android12-5.10-lts

Changes in 5.10.176
	xfrm: Allow transport-mode states with AF_UNSPEC selector
	drm/panfrost: Don't sync rpm suspension after mmu flushing
	cifs: Move the in_send statistic to __smb_send_rqst()
	drm/meson: fix 1px pink line on GXM when scaling video overlay
	clk: HI655X: select REGMAP instead of depending on it
	docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
	scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
	ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
	netfilter: nft_nat: correct length for loading protocol registers
	netfilter: nft_masq: correct length for loading protocol registers
	netfilter: nft_redir: correct length for loading protocol registers
	netfilter: nft_redir: correct value of inet type `.maxattrs`
	scsi: core: Fix a comment in function scsi_host_dev_release()
	scsi: core: Fix a procfs host directory removal regression
	tcp: tcp_make_synack() can be called from process context
	nfc: pn533: initialize struct pn533_out_arg properly
	ipvlan: Make skb->skb_iif track skb->dev for l3s mode
	i40e: Fix kernel crash during reboot when adapter is in recovery mode
	net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()
	qed/qed_dev: guard against a possible division by zero
	net: tunnels: annotate lockless accesses to dev->needed_headroom
	net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
	nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
	net/smc: fix deadlock triggered by cancel_delayed_work_syn()
	net: usb: smsc75xx: Limit packet length to skb->len
	drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
	null_blk: Move driver into its own directory
	block: null_blk: Fix handling of fake timeout request
	nvme: fix handling single range discard request
	nvmet: avoid potential UAF in nvmet_req_complete()
	block: sunvdc: add check for mdesc_grab() returning NULL
	ice: xsk: disable txq irq before flushing hw
	net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290
	ipv4: Fix incorrect table ID in IOCTL path
	net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
	net/iucv: Fix size of interrupt data
	selftests: net: devlink_port_split.py: skip test if no suitable device available
	qed/qed_mng_tlv: correctly zero out ->min instead of ->hour
	ethernet: sun: add check for the mdesc_grab()
	hwmon: (adt7475) Display smoothing attributes in correct order
	hwmon: (adt7475) Fix masking of hysteresis registers
	hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
	hwmon: (ina3221) return prober error code
	hwmon: (ucd90320) Add minimum delay between bus accesses
	hwmon: tmp512: drop of_match_ptr for ID table
	hwmon: (adm1266) Set `can_sleep` flag for GPIO chip
	media: m5mols: fix off-by-one loop termination error
	mmc: atmel-mci: fix race between stop command and start of next command
	jffs2: correct logic when creating a hole in jffs2_write_begin
	ext4: fail ext4_iget if special inode unallocated
	ext4: fix task hung in ext4_xattr_delete_inode
	drm/amdkfd: Fix an illegal memory access
	sh: intc: Avoid spurious sizeof-pointer-div warning
	drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
	ext4: fix possible double unlock when moving a directory
	tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
	serial: 8250_em: Fix UART port type
	firmware: xilinx: don't make a sleepable memory allocation from an atomic context
	interconnect: fix mem leak when freeing nodes
	tracing: Make splice_read available again
	tracing: Check field value in hist_field_name()
	tracing: Make tracepoint lockdep check actually test something
	cifs: Fix smb2_set_path_size()
	KVM: nVMX: add missing consistency checks for CR0 and CR4
	ALSA: hda: intel-dsp-config: add MTL PCI id
	ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro
	drm/shmem-helper: Remove another errant put in error path
	mptcp: avoid setting TCP_CLOSE state twice
	ftrace: Fix invalid address access in lookup_rec() when index is 0
	mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage
	mmc: sdhci_am654: lower power-on failed message severity
	fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
	cpuidle: psci: Iterate backwards over list in psci_pd_remove()
	x86/mce: Make sure logged MCEs are processed after sysfs update
	x86/mm: Fix use of uninitialized buffer in sme_enable()
	drm/i915: Don't use stolen memory for ring buffers with LLC
	drm/i915/active: Fix misuse of non-idle barriers as fence trackers
	io_uring: avoid null-ptr-deref in io_arm_poll_handler
	s390/ipl: add missing intersection check to ipl_report handling
	PCI: Unify delay handling for reset and resume
	PCI/DPC: Await readiness of secondary bus after reset
	xfs: don't assert fail on perag references on teardown
	xfs: purge dquots after inode walk fails during quotacheck
	xfs: don't leak btree cursor when insrec fails after a split
	xfs: remove XFS_PREALLOC_SYNC
	xfs: fallocate() should call file_modified()
	xfs: set prealloc flag in xfs_alloc_file_space()
	xfs: use setattr_copy to set vfs inode attributes
	fs: add mode_strip_sgid() helper
	fs: move S_ISGID stripping into the vfs_*() helpers
	attr: add in_group_or_capable()
	fs: move should_remove_suid()
	attr: add setattr_should_drop_sgid()
	attr: use consistent sgid stripping checks
	fs: use consistent setgid checks in is_sxid()
	xfs: remove xfs_setattr_time() declaration
	HID: core: Provide new max_buffer_size attribute to over-ride the default
	HID: uhid: Over-ride the default maximum data buffer value with our own
	Linux 5.10.176

Change-Id: Icd45189f4182c749d1758c13e18705abb4ea9c5a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-03-24 16:03:04 +00:00
Greg Kroah-Hartman
87cdb8101e This is the 5.10.175 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmQUGpYACgkQONu9yGCS
 aT6Tvw/6ArxWVYpls1upkabuByNmK0vvbDD5uyBzJpJUf1sbKQqG6myLaPSuq0gp
 L/xJrdtP6Nk6hrqPgEfI4bNvX2ycBJZyQQdfTAf99bRiA+iZG1C6Opg7GUj5uJbM
 56w0/Gr+SjaDWw2f0j0yJRYIBn4PzJ6RyxYHaVA+s8jQ8n0wzRRdT3UXA2dNOid/
 5YSCIm9bvBchLBVHqtVk49wzo21kRPKGHxu0tYMdsLfMMmnp+guozvGbcn/JRK0g
 CHQF4UNy8wgtkUOYHPJl5IdWqaHxc6wrJ+NBMgrhF30RFshIA4ZC5+3EVD0fPO1i
 WyxUwnGPMXKHN84lr/vGrwVRUrrF0sbtUmashGI8Eo4t9fm4O0f/zG4d5MHKfRVq
 lXqRDu/uqe29IIXQJCpDTA8VChXSMWgNpN8KTatd1MaV5MZaqkspvXp/8Jg9rwrf
 IoE/0zDtp/QuIianJ684bQ7VvK0dzPc0KIYlRsntrJlMw0ZCwFWuhSoSDDhcvsU8
 eydVpncw+Z5/whuB6ilGQM8C7XnUjcOViDh8ppz8jIIwP6CErBUTPv35iRkimSKQ
 JBQVVSuGWd02jRYNXgarlMQ1z/5A1puHHEOieuIUP7z8eTUkPUIxRnHt65CozdbG
 tFNpv0MuLkOqUTN3+YIV6uz0UyemJIID6qgY68FRKfjwBhyEFik=
 =yaay
 -----END PGP SIGNATURE-----

Merge 5.10.175 into android12-5.10-lts

Changes in 5.10.175
	fs: prevent out-of-bounds array speculation when closing a file descriptor
	fork: allow CLONE_NEWTIME in clone3 flags
	x86/CPU/AMD: Disable XSAVES on AMD family 0x17
	drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15
	drm/connector: print max_requested_bpc in state debugfs
	ext4: fix cgroup writeback accounting with fs-layer encryption
	ext4: fix RENAME_WHITEOUT handling for inline directories
	ext4: fix another off-by-one fsmap error on 1k block filesystems
	ext4: move where set the MAY_INLINE_DATA flag is set
	ext4: fix WARNING in ext4_update_inline_data
	ext4: zero i_disksize when initializing the bootloader inode
	nfc: change order inside nfc_se_io error path
	udf: Fix off-by-one error when discarding preallocation
	irq: Fix typos in comments
	irqdomain: Look for existing mapping only once
	irqdomain: Refactor __irq_domain_alloc_irqs()
	irqdomain: Fix mapping-creation race
	irqdomain: Change the type of 'size' in __irq_domain_add() to be consistent
	irqdomain: Fix domain registration race
	iommu/vt-d: Fix lockdep splat in intel_pasid_get_entry()
	iommu/vt-d: Fix PASID directory pointer coherency
	arm64: efi: Make efi_rt_lock a raw_spinlock
	RISC-V: Avoid dereferening NULL regs in die()
	riscv: Avoid enabling interrupts in die()
	riscv: Add header include guards to insn.h
	scsi: core: Remove the /proc/scsi/${proc_name} directory earlier
	ext4: Fix possible corruption when moving a directory
	drm/nouveau/kms/nv50-: remove unused functions
	drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype
	drm/msm: Fix potential invalid ptr free
	drm/msm/a5xx: fix setting of the CP_PREEMPT_ENABLE_LOCAL register
	drm/msm: Document and rename preempt_lock
	drm/msm/a5xx: fix the emptyness check in the preempt code
	drm/msm/a5xx: fix context faults during ring switch
	bgmac: fix *initial* chip reset to support BCM5358
	nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
	powerpc: dts: t1040rdb: fix compatible string for Rev A boards
	ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()
	selftests: nft_nat: ensuring the listening side is up before starting the client
	net: usb: lan78xx: Remove lots of set but unused 'ret' variables
	net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver
	net: caif: Fix use-after-free in cfusbl_device_notify()
	net: stmmac: add to set device wake up flag when stmmac init phy
	net: phylib: get rid of unnecessary locking
	bnxt_en: Avoid order-5 memory allocation for TPA data
	netfilter: ctnetlink: revert to dumping mark regardless of event type
	netfilter: tproxy: fix deadlock due to missing BH disable
	btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR
	net: ethernet: mtk_eth_soc: fix RX data corruption issue
	scsi: megaraid_sas: Update max supported LD IDs to 240
	platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it
	net/smc: fix fallback failed while sendmsg with fastopen
	SUNRPC: Fix a server shutdown leak
	riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode
	RISC-V: Don't check text_mutex during stop_machine
	ext4: Fix deadlock during directory rename
	iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
	watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error paths
	tpm/eventlog: Don't abort tpm_read_log on faulty ACPI address
	block, bfq: fix possible uaf for 'bfqq->bic'
	block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
	block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC"
	block, bfq: replace 0/1 with false/true in bic apis
	block, bfq: fix uaf for bfqq in bic_set_bfqq()
	MIPS: Fix a compilation issue
	powerpc/kcsan: Exclude udelay to prevent recursive instrumentation
	alpha: fix R_ALPHA_LITERAL reloc for large modules
	macintosh: windfarm: Use unsigned type for 1-bit bitfields
	PCI: Add SolidRun vendor ID
	scripts: handle BrokenPipeError for python scripts
	media: ov5640: Fix analogue gain control
	media: rc: gpio-ir-recv: add remove function
	ipmi/watchdog: replace atomic_add() and atomic_sub()
	ipmi:watchdog: Set panic count to proper value on a panic
	skbuff: Fix nfct leak on napi stolen
	drm/i915: Don't use BAR mappings for ring buffers with LLC
	ext4: refactor ext4_free_blocks() to pull out ext4_mb_clear_bb()
	ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid()
	ext4: add strict range checks while freeing blocks
	ext4: block range must be validated before use in ext4_mb_clear_bb()
	arch: fix broken BuildID for arm64 and riscv
	powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
	powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
	s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36
	sh: define RUNTIME_DISCARD_EXIT
	UML: define RUNTIME_DISCARD_EXIT
	KVM: nVMX: Don't use Enlightened MSR Bitmap for L3
	KVM: VMX: Introduce vmx_msr_bitmap_l01_changed() helper
	KVM: VMX: Fix crash due to uninitialized current_vmcs
	s390/dasd: add missing discipline function
	Linux 5.10.175

Change-Id: Ia88bd3919a9280f6aa87c2a048ad156d7f3f2e1d
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-03-24 14:42:30 +00:00
Greg Kroah-Hartman
1baa036104 Merge 5.10.174 into android12-5.10-lts
Changes in 5.10.174
	wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"
	staging: rtl8192e: Remove function ..dm_check_ac_dc_power calling a script
	staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh
	Linux 5.10.174

Change-Id: Ia794e92ff18af212189321d9e505987f135da5d1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-03-24 14:38:51 +00:00
Greg Kroah-Hartman
fe51d37c6c Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits:

976d98e9aa ANDROID: ABI: Add page_pinner_inited into symbols list
16c2b1d94f ANDROID: page_pinner: prevent pp_buffer access before initialization
cd1d9c42a2 UPSTREAM: hwrng: virtio - add an internal buffer
05fa7d8eee ANDROID: fix ABI by undoing atomic64_t -> u64 type conversion
cda90416c0 UPSTREAM: net: retrieve netns cookie via getsocketopt
78a559e2a9 UPSTREAM: net: initialize net->net_cookie at netns setup
fb0cece721 Merge tag 'android12-5.10.168_r00' into android12-5.10
989d4c69a9 UPSTREAM: ext4: fix another off-by-one fsmap error on 1k block filesystems
b0d829f27f UPSTREAM: ext4: block range must be validated before use in ext4_mb_clear_bb()
0301fe419a UPSTREAM: ext4: add strict range checks while freeing blocks
1d4b2a4ad7 UPSTREAM: ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid()
8ddbd3df93 UPSTREAM: ext4: refactor ext4_free_blocks() to pull out ext4_mb_clear_bb()
370cb1c270 UPSTREAM: usb: dwc3: core: do not use 3.0 clock when operating in 2.0 mode
eb53a59b4d ANDROID: GKI: rockchip: Add symbols for clk api
a13e8447e8 BACKPORT: arm64: mte: move register initialization to C
eddac45546 UPSTREAM: rcu: Remove __read_mostly annotations from rcu_scheduler_active externs
afff17f583 ANDROID: GKI: Update symbol list for mtk
62f5fae173 UPSTREAM: ext4: refuse to create ea block when umounted
33245a0eac UPSTREAM: ext4: optimize ea_inode block expansion
09e5cc649d UPSTREAM: ext4: allocate extended attribute value in vmalloc area
8926771f7e UPSTREAM: usb: gadget: composite: Draw 100mA current if not configured
87a065fb94 UPSTREAM: usb: dwc3: gadget: Change condition for processing suspend event
26638f8e54 ANDROID: GKI: update xiaomi symbol list
193b312b2f UPSTREAM: net/sched: tcindex: update imperfect hash filters respecting rcu
9a1be9a472 FROMGIT: KVM: arm64: Ignore kvm-arm.mode if !is_hyp_mode_available()
dbcd8cb535 UPSTREAM: KVM: arm64: Allow KVM to be disabled from the command line
631630d75f ANDROID: ABI: Cuttlefish Symbol update
278dfb09d7 Revert "ANDROID: dma-ops: Add restricted vendor hook"
c2e3f757d3 UPSTREAM: io_uring: ensure that io_init_req() passes in the right issue_flags
9abdacf47f FROMGIT: usb: gadget: configfs: Restrict symlink creation is UDC already binded
d415c6e56f UPSTREAM: io_uring: add missing lock in io_get_file_fixed
52cc662810 ANDROID: ABI: Update oplus symbol list
d01f7e1269 ANDROID: vendor_hooks: Add hooks for mutex and rwsem optimistic spin
d4d05c6e6e ANDROID: dma-buf: heaps: Don't lock unused dmabuf_page_pool mutex
1d05213028 ANDROID: mm/filemap: Fix missing put_page() for speculative page fault
fda8a58faa UPSTREAM: KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS
5692e2bb4e UPSTREAM: net: qrtr: combine nameservice into main module
4b9d11ae5f ANDROID: GKI: Update symbol list for mtk
b086cc7361 FROMLIST: rcu-tasks: Fix build error
7fd4fbe615 ANDROID: incremental fs: Move throttling to outside page lock
5d9b0e83e3 ANDROID: incremental fs: Fix race between truncate and write last block
6a8037d4eb UPSTREAM: usb: gadget: u_serial: Add null pointer check in gserial_resume
f0be4b9779 Revert "ANDROID: GKI: loadavg: Export for get_avenrun"
781e1c83ef ANDROID: ABI: Update allowed list for QCOM
579f8bf863 ANDROID: Update symbol list for mtk
80b27def69 UPSTREAM: ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop
a4d6d4d1e7 UPSTREAM: net_sched: reject TCF_EM_SIMPLE case for complex ematch module
fb952695c8 UPSTREAM: io_uring/rw: remove leftover debug statement
ca331f289a UPSTREAM: io_uring/rw: ensure kiocb_end_write() is always called
d54d41716d UPSTREAM: io_uring: fix double poll leak on repolling
fc978be7b2 UPSTREAM: io_uring: Clean up a false-positive warning from GCC 9.3.0
827f8fcb29 UPSTREAM: io_uring/net: fix fast_iov assignment in io_setup_async_msg()
403642c036 UPSTREAM: io_uring: io_kiocb_update_pos() should not touch file for non -1 offset
0c50a117bf UPSTREAM: io_uring/rw: defer fsnotify calls to task context
b29c357309 UPSTREAM: io_uring: do not recalculate ppos unnecessarily
84e34d2ef5 UPSTREAM: io_uring: update kiocb->ki_pos at execution time
b543e0d210 UPSTREAM: io_uring: remove duplicated calls to io_kiocb_ppos
9166f5418a UPSTREAM: io_uring: ensure that cached task references are always put on exit
fee5372abf UPSTREAM: io_uring: fix CQ waiting timeout handling
a4d056e350 UPSTREAM: io_uring: lock overflowing for IOPOLL
0dfe72e890 UPSTREAM: io_uring: check for valid register opcode earlier
1b735b5eb2 UPSTREAM: io_uring: fix async accept on O_NONBLOCK sockets
63bf975936 UPSTREAM: io_uring: allow re-poll if we made progress
a64d6ea01b UPSTREAM: io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)
cf7ef78842 UPSTREAM: io_uring: add flag for disabling provided buffer recycling
45b2a34e21 UPSTREAM: io_uring: ensure recv and recvmsg handle MSG_WAITALL correctly
4b912a635e UPSTREAM: io_uring: improve send/recv error handling
ef0c71d0f1 UPSTREAM: io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL
1531e1fb8d BACKPORT: iommu: Avoid races around device probe
60944bdddc UPSTREAM: io_uring/io-wq: only free worker if it was allocated for creation
ac06912075 UPSTREAM: io_uring/io-wq: free worker if task_work creation is canceled
98a15feed0 UPSTREAM: io_uring: Fix unsigned 'res' comparison with zero in io_fixup_rw_res()
a234cc4e55 UPSTREAM: um: Increase stack frame size threshold for signal.c
d40d310e5e ANDROID: GKI: Enable ARM64_ERRATUM_2454944
9d2ec2e0b6 ANDROID: dma-ops: Add restricted vendor hook
3c75a6fb7f ANDROID: arm64: Work around Cortex-A510 erratum 2454944
865f370bf9 ANDROID: mm/vmalloc: Add override for lazy vunmap
1eb5992d60 ANDROID: cpuidle-psci: Fix suspicious RCU usage
d6b2899ce6 ANDROID: ABI: update allowed list for galaxy
3fcc69ca4d FROMGIT: f2fs: add sysfs nodes to set last_age_weight
899476c3af FROMGIT: f2fs: fix wrong calculation of block age
d0f788b8fa ANDROID: struct io_uring ABI preservation hack for 5.10.162 changes
fef924db72 ANDROID: fix up struct task_struct ABI change in 5.10.162
d369ac0b2a ANDROID: add flags variable back to struct proto_ops
5756328b3f UPSTREAM: io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
72d1c48675 UPSTREAM: eventfd: provide a eventfd_signal_mask() helper
d7a47b29d5 UPSTREAM: eventpoll: add EPOLL_URING_WAKE poll wakeup flag
7c9f38c09b UPSTREAM: Revert "proc: don't allow async path resolution of /proc/self components"
498b35b3c4 UPSTREAM: Revert "proc: don't allow async path resolution of /proc/thread-self components"
4b17dea786 UPSTREAM: net: remove cmsg restriction from io_uring based send/recvmsg calls
d10f30da0d UPSTREAM: task_work: unconditionally run task_work from get_signal()
62822bf630 UPSTREAM: signal: kill JOBCTL_TASK_WORK
5e6347b586 UPSTREAM: io_uring: import 5.15-stable io_uring
518e02ed06 UPSTREAM: task_work: add helper for more targeted task_work canceling
86acb6a529 UPSTREAM: kernel: don't call do_exit() for PF_IO_WORKER threads
52f564e57b UPSTREAM: kernel: stop masking signals in create_io_thread()
bcb749b0b1 UPSTREAM: x86/process: setup io_threads more like normal user space threads
1f4eb35546 UPSTREAM: arch: ensure parisc/powerpc handle PF_IO_WORKER in copy_thread()
150dea15cb UPSTREAM: arch: setup PF_IO_WORKER threads like PF_KTHREAD
cf487d3c6a UPSTREAM: entry/kvm: Exit to user mode when TIF_NOTIFY_SIGNAL is set
6e4362caf9 UPSTREAM: kernel: allow fork with TIF_NOTIFY_SIGNAL pending
b25b8c55ba UPSTREAM: coredump: Limit what can interrupt coredumps
723de95c0c UPSTREAM: kernel: remove checking for TIF_NOTIFY_SIGNAL
8492c5dd3b UPSTREAM: task_work: remove legacy TWA_SIGNAL path
1987566815 UPSTREAM: alpha: fix TIF_NOTIFY_SIGNAL handling
ad4ba3038a UPSTREAM: ARC: unbork 5.11 bootup: fix snafu in _TIF_NOTIFY_SIGNAL handling
bb855b51a9 UPSTREAM: ia64: don't call handle_signal() unless there's actually a signal queued
7140fddd84 UPSTREAM: sparc: add support for TIF_NOTIFY_SIGNAL
c9c70c8cb6 UPSTREAM: riscv: add support for TIF_NOTIFY_SIGNAL
52a756bf17 UPSTREAM: nds32: add support for TIF_NOTIFY_SIGNAL
6eaa6653e4 UPSTREAM: ia64: add support for TIF_NOTIFY_SIGNAL
1dcd12493b UPSTREAM: h8300: add support for TIF_NOTIFY_SIGNAL
b265cdb085 UPSTREAM: c6x: add support for TIF_NOTIFY_SIGNAL
f4ece56973 UPSTREAM: alpha: add support for TIF_NOTIFY_SIGNAL
01af0730c9 UPSTREAM: xtensa: add support for TIF_NOTIFY_SIGNAL
29420dc96b UPSTREAM: arm: add support for TIF_NOTIFY_SIGNAL
6c3e852b4f UPSTREAM: microblaze: add support for TIF_NOTIFY_SIGNAL
8c81f539a0 UPSTREAM: hexagon: add support for TIF_NOTIFY_SIGNAL
175cc59b9c UPSTREAM: csky: add support for TIF_NOTIFY_SIGNAL
2b94543d45 UPSTREAM: openrisc: add support for TIF_NOTIFY_SIGNAL
e2e4fbbceb UPSTREAM: sh: add support for TIF_NOTIFY_SIGNAL
8548375354 UPSTREAM: um: add support for TIF_NOTIFY_SIGNAL
eae40ee91c UPSTREAM: s390: add support for TIF_NOTIFY_SIGNAL
8489c86344 UPSTREAM: mips: add support for TIF_NOTIFY_SIGNAL
b1f0e1159f UPSTREAM: powerpc: add support for TIF_NOTIFY_SIGNAL
98031aa870 UPSTREAM: parisc: add support for TIF_NOTIFY_SIGNAL
470c17bd71 UPSTREAM: nios32: add support for TIF_NOTIFY_SIGNAL
c5825095c4 UPSTREAM: m68k: add support for TIF_NOTIFY_SIGNAL
fcf75a019e UPSTREAM: arm64: add support for TIF_NOTIFY_SIGNAL
d6b63ac444 UPSTREAM: arc: add support for TIF_NOTIFY_SIGNAL
109ccff96d UPSTREAM: x86: Wire up TIF_NOTIFY_SIGNAL
862aa233e7 UPSTREAM: task_work: Use TIF_NOTIFY_SIGNAL if available
a14b028722 UPSTREAM: entry: Add support for TIF_NOTIFY_SIGNAL
00af4b88ad UPSTREAM: fs: provide locked helper variant of close_fd_get_file()
82c3becbef UPSTREAM: file: Rename __close_fd_get_file close_fd_get_file
98006a0a15 UPSTREAM: fs: make do_renameat2() take struct filename
661bc0f679 UPSTREAM: signal: Add task_sigpending() helper
13f03f5275 UPSTREAM: net: add accept helper not installing fd
af091af9db UPSTREAM: net: provide __sys_shutdown_sock() that takes a socket
9505ff1a81 UPSTREAM: tools headers UAPI: Sync openat2.h with the kernel sources
2507b99d9a UPSTREAM: fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED
6b92128557 UPSTREAM: Make sure nd->path.mnt and nd->path.dentry are always valid pointers
eaf736aa71 UPSTREAM: fix handling of nd->depth on LOOKUP_CACHED failures in try_to_unlazy*
7928a1689b UPSTREAM: fs: add support for LOOKUP_CACHED
72d2f4c1cd UPSTREAM: saner calling conventions for unlazy_child()
ee44bd07c4 UPSTREAM: iov_iter: add helper to save iov_iter state
463a74a83b UPSTREAM: kernel: provide create_io_thread() helper
8e993eabeb UPSTREAM: net: loopback: use NET_NAME_PREDICTABLE for name_assign_type
4373e5def3 UPSTREAM: Bluetooth: L2CAP: Fix u8 overflow
5278199031 UPSTREAM: HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk
fa335f5bb9 UPSTREAM: HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10
784df646aa UPSTREAM: HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch 10E
29cde746b8 UPSTREAM: HID: ite: Add support for Acer S1002 keyboard-dock
228253f43f UPSTREAM: igb: Initialize mailbox message for VF reset
001a013e84 UPSTREAM: xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N
4fa772e757 UPSTREAM: USB: serial: f81534: fix division by zero on line-speed change
d81b6e6e88 UPSTREAM: USB: serial: f81232: fix division by zero on line-speed change
190b01ac50 UPSTREAM: USB: serial: cp210x: add Kamstrup RF sniffer PIDs
34d4848ba3 UPSTREAM: USB: serial: option: add Quectel EM05-G modem
9e620f2b54 UPSTREAM: usb: gadget: uvc: Prevent buffer overflow in setup handler
a20fd832a4 BACKPORT: f2fs: do not allow to decompress files have FI_COMPRESS_RELEASED
16996773d6 BACKPORT: f2fs: handle decompress only post processing in softirq
ce72626280 BACKPORT: f2fs: introduce memory mode
246a996565 BACKPORT: f2fs: allow compression for mmap files in compress_mode=user
f069ba2b3d UPSTREAM: iommu/iova: Fix alloc iova overflows issue
a1806694fc UPSTREAM: media: dvb-core: Fix UAF due to refcount races at releasing
5f30de1dff ANDROID: GKI: Add Tuxera symbol list
e3a5b60c60 UPSTREAM: usb: dwc3: gadget: Skip waiting for CMDACT cleared during endxfer
6b23440751 UPSTREAM: usb: dwc3: Increase DWC3 controller halt timeout
4091dff1ff UPSTREAM: usb: dwc3: Remove DWC3 locking during gadget suspend/resume
4fc3932857 UPSTREAM: usb: dwc3: Avoid unmapping USB requests if endxfer is not complete
19803140c0 UPSTREAM: usb: dwc3: gadget: Continue handling EP0 xfercomplete events
0bbc89c346 UPSTREAM: usb: dwc3: gadget: Synchronize IRQ between soft connect/disconnect
35cb147c38 UPSTREAM: usb: dwc3: gadget: Force sending delayed status during soft disconnect
5dc06419d8 UPSTREAM: usb: dwc3: Do not service EP0 and conndone events if soft disconnected
dd8418a59a UPSTREAM: efi: rt-wrapper: Add missing include
67884a649c UPSTREAM: arm64: efi: Execute runtime services from a dedicated stack
6bd9415d98 ANDROID: cpu: correct dl_cpu_busy() calls
9e2b4cc230 UPSTREAM: ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
80cad52515 UPSTREAM: firmware: tegra: Reduce stack usage
79c4f55c94 UPSTREAM: scsi: bfa: Move a large struct from the stack onto the heap
e096145ac3 ANDROID: mm: page_pinner: ensure do_div() arguments matches with respect to type
e427004fad ANDROID: Revert "ANDROID: allmodconfig: disable WERROR"
8cf3c25495 FROMGIT: scsi: ufs: Modify Tactive time setting conditions
fc1490c621 UPSTREAM: remoteproc: core: Fix rproc->firmware free in rproc_set_firmware()
869cae6f25 UPSTREAM: usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait
56c8a40436 UPSTREAM: usb: gadget: f_hid: fix f_hidg lifetime vs cdev
e973de77ad UPSTREAM: usb: gadget: f_hid: optional SETUP/SET_REPORT mode
283eb356fd ANDROID: GKI: add symbol list file for honor
d30de90932 ANDROID: add TEST_MAPPING for net/, include/net
75d0665639 BACKPORT: arm64/bpf: Remove 128MB limit for BPF JIT programs

Change-Id: I111e3dafc40d4f06832e374fd10ae5984921dff5
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-03-24 10:32:49 +00:00
Maciej Żenczykowski
05fa7d8eee ANDROID: fix ABI by undoing atomic64_t -> u64 type conversion
This is pretty much a no-op, but avoids changing struct net ABI.

Bug: 274789652
Test: builds, net_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ia744bdf0a026adccaef8382aaecc771a8d0763a6
2023-03-23 15:42:38 +00:00
Martynas Pumputis
cda90416c0 UPSTREAM: net: retrieve netns cookie via getsocketopt
It's getting more common to run nested container environments for
testing cloud software. One of such examples is Kind [1] which runs a
Kubernetes cluster in Docker containers on a single host. Each container
acts as a Kubernetes node, and thus can run any Pod (aka container)
inside the former. This approach simplifies testing a lot, as it
eliminates complicated VM setups.

Unfortunately, such a setup breaks some functionality when cgroupv2 BPF
programs are used for load-balancing. The load-balancer BPF program
needs to detect whether a request originates from the host netns or a
container netns in order to allow some access, e.g. to a service via a
loopback IP address. Typically, the programs detect this by comparing
netns cookies with the one of the init ns via a call to
bpf_get_netns_cookie(NULL). However, in nested environments the latter
cannot be used given the Kubernetes node's netns is outside the init ns.
To fix this, we need to pass the Kubernetes node netns cookie to the
program in a different way: by extending getsockopt() with a
SO_NETNS_COOKIE option, the orchestrator which runs in the Kubernetes
node netns can retrieve the cookie and pass it to the program instead.

Thus, this is following up on Eric's commit 3d368ab87cf6 ("net:
initialize net->net_cookie at netns setup") to allow retrieval via
SO_NETNS_COOKIE.  This is also in line in how we retrieve socket cookie
via SO_COOKIE.

  [1] https://kind.sigs.k8s.io/

Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Martynas Pumputis <m@lambda.lt>
Cc: Eric Dumazet <edumazet@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit e8b9eab99232c4e62ada9d7976c80fd5e8118289)
Bug: 274789652
Tested: builds, net_test passes
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: If784a592450af38d70f16da61e36cbbaff80ebca
2023-03-23 15:42:38 +00:00
Eric Dumazet
78a559e2a9 UPSTREAM: net: initialize net->net_cookie at netns setup
It is simpler to make net->net_cookie a plain u64
written once in setup_net() instead of looping
and using atomic64 helpers.

Lorenz Bauer wants to add SO_NETNS_COOKIE socket option
and this patch would makes his patch series simpler.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Lorenz Bauer <lmb@cloudflare.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 3d368ab87cf6681f928de1ddf804d69600671bb2)
Bug: 274789652
Tested: builds, net_test passes
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ia4d018b37af2792f0a21de028f724193797c5138
2023-03-23 15:42:38 +00:00
Greg Kroah-Hartman
fb0cece721 Merge tag 'android12-5.10.168_r00' into android12-5.10
This is the merge of the upstream LTS release of 5.10.168 into the
android12-5.10 branch.

It contains the following commits:

* b34e092097 Revert "nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property"
*   570621d64f Merge 5.10.168 into android12-5.10-lts
|\
| * 707c48210a Linux 5.10.168
| * 0a626e27f9 Fix page corruption caused by racy check in __free_pages
| * 0ef2490a87 arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive
| * 5bfc8f0961 arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive
| * 809f4acb7f arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive
| * 8eee3521bc riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte
| * 6ff8b48253 ceph: flush cap releases when the session is flushed
| * 4f518a4a79 usb: typec: altmodes/displayport: Fix probe pin assign check
| * f25fa93e52 usb: core: add quirk for Alcor Link AK9563 smartcard reader
| * dd965ad39d btrfs: free device in btrfs_close_devices for a single device filesystem
| * 1be271c52b net: USB: Fix wrong-direction WARNING in plusb.c
| * 2b693fe3f7 cifs: Fix use-after-free in rdata->read_into_pages()
| * bbc8509044 pinctrl: intel: Restore the pins that used to be in Direct IRQ mode
| * 4863f46dda spi: dw: Fix wrong FIFO level setting for long xfers
| * 6e2a0521e4 pinctrl: single: fix potential NULL dereference
| * 61f8a493c0 pinctrl: aspeed: Fix confusing types in return value
| * ef3edede7b ALSA: pci: lx6464es: fix a debug loop
| * 3914b71dad selftests: forwarding: lib: quote the sysctl values
| * c53f34ec3f rds: rds_rm_zerocopy_callback() use list_first_entry()
| * 3eb04ef278 net/mlx5: fw_tracer, Zero consumer index when reloading the tracer
| * fac1fb8008 net/mlx5: fw_tracer, Clear load bit when freeing string DBs buffers
| * 703c3efa4b net/mlx5e: IPoIB, Show unknown speed instead of error
| * 896bd85688 net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q"
| * 1ad4112c9f ice: Do not use WQ_MEM_RECLAIM flag for workqueue
| * 34a5af788e uapi: add missing ip/ipv6 header dependencies for linux/stddef.h
| * 4259a40827 ionic: clean interrupt before enabling queue to avoid credit race
| * 07097ad30b net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY
| * cafa2ad4f1 bonding: fix error checking in bond_debug_reregister()
| * 30fdf66035 xfrm: fix bug with DSCP copy to v6 from v4 tunnel
| * 491b7a5fc8 RDMA/usnic: use iommu_map_atomic() under spin_lock()
| * b1afb666c3 IB/IPoIB: Fix legacy IPoIB due to wrong number of queues
| * a893cc6448 xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()
| * 79b595d959 IB/hfi1: Restore allocated resources on failed copyout
| * 3797e94c19 xfrm: compat: change expression for switch in xfrm_xlate64
| * bc9771cd63 can: j1939: do not wait 250 ms if the same addr was already claimed
| * edaf5c7183 of/address: Return an error when no valid dma-ranges are found
| * b7d5fa8052 tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw
| * 35452bf986 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360
| * e1646e2be9 ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()
| * 1c65762399 ALSA: hda/realtek: Add Positivo N14KP6-TG
| * f1fd16cd97 btrfs: zlib: zero-initialize zlib workspace
| * a1406d5aa3 btrfs: limit device extents to the device size
| * dbe5a11954 migrate: hugetlb: check for hugetlb shared PMD in node migration
| * 97a5104d64 mm/migration: return errno when isolate_huge_page failed
| * 91ad3104b2 iio:adc:twl6030: Enable measurement of VAC
| * e4c3ea9b60 bpf: Do not reject when the stack read size is different from the tracked scalar size
| * 34ec4c7831 nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property
| * b2e4128795 wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads
| * 914e38f02a f2fs: fix to do sanity check on i_extra_isize in is_alive()
| * 3931014367 fbdev: smscufx: fix error handling code in ufx_usb_probe
| * 6c8a2c67a9 serial: 8250_dma: Fix DMA Rx rearm race
| * 967e726e57 serial: 8250_dma: Fix DMA Rx completion race
| * 1fd7a6a579 nvmem: core: fix cell removal on error
| * bb875f0a34 nvmem: core: initialise nvmem->id early
| * b591abac78 drm/i915: Fix potential bit_17 double-free
| * 5c4d4a83bf Squashfs: fix handling and sanity checking of xattr_ids count
| * 30187be290 mm/swapfile: add cond_resched() in get_swap_pages()
| * 639b40007a fpga: stratix10-soc: Fix return value check in s10_ops_write_init()
| * 0139d61d28 x86/debug: Fix stack recursion caused by wrongly ordered DR7 accesses
| * 556959327b mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps
| * 50d31309c9 riscv: disable generation of unwind tables
| * 71a4f39f99 parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case
| * 2982b473d7 parisc: Fix return code of pdc_iodc_print()
| * 170e1cc3c0 nvmem: qcom-spmi-sdam: fix module autoloading
| * f11330b7ba iio: imu: fxos8700: fix MAGN sensor scale and unit
| * 5b30998c7f iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN
| * 42e34a0839 iio: imu: fxos8700: fix failed initialization ODR mode assignment
| * ab976ecd04 iio: imu: fxos8700: fix incorrect ODR mode readback
| * 9d6502ed63 iio: imu: fxos8700: fix swapped ACCEL and MAGN channels readback
| * aff4add609 iio: imu: fxos8700: fix map label of channel type to MAGN sensor
| * 9545ce720a iio: imu: fxos8700: fix IMU data bits returned to user space
| * 6d43eddc56 iio: imu: fxos8700: fix incomplete ACCEL and MAGN channels readback
| * f7d996c953 iio: imu: fxos8700: fix ACCEL measurement range selection
| * 11ac43f763 iio:adc:twl6030: Enable measurements of VUSB, VBAT and others
| * 5602f6a244 iio: adc: berlin2-adc: Add missing of_node_put() in error path
| * 33483172b3 iio: hid: fix the retval in accel_3d_capture_sample
| * 55cf65461b efi: Accept version 2 of memory attributes table
| * 8fb515c8b1 ALSA: hda/realtek: Add Acer Predator PH315-54
| * 192fd121d0 watchdog: diag288_wdt: fix __diag288() inline assembly
| * 5bcdcf437d watchdog: diag288_wdt: do not use stack buffers for hardware data
| * 0c76eddc1f net: qrtr: free memory on error path in radix_tree_insert()
| * 28d190882b fbcon: Check font dimension limits
| * 658e0d99db Input: i8042 - add Clevo PCX0DX to i8042 quirk table
| * a82d493604 Input: i8042 - add TUXEDO devices to i8042 quirk tables
| * 04d99a0a96 Input: i8042 - merge quirk tables
| * ab85074c30 Input: i8042 - move __initconst to fix code styling warning
| * 55515d7d87 vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
| * 434a36ed64 usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait
| * 6e5565aa00 usb: dwc3: qcom: enable vbus override when in OTG dr-mode
| * 1ca8629505 usb: dwc3: dwc3-qcom: Fix typo in the dwc3 vbus override API
| * 30d0e2cf99 iio: adc: stm32-dfsdm: fill module aliases
| * 4bbc34401d net/x25: Fix to not accept on connected socket
| * 2b1e8e20b9 platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table
| * ac4d9c86e9 i2c: rk3x: fix a bunch of kernel-doc warnings
| * 9758ffe1c0 scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
| * 1b28bf868f scsi: target: core: Fix warning on RT kernels
| * 4e66ba3cfb i2c: mxs: suppress probe-deferral error message
| * d09b0bf9ff qede: execute xdp_do_flush() before napi_complete_done()
| * 8aba483f70 qede: add netpoll support for qede driver
| * 87d4ff1873 efi: fix potential NULL deref in efi_mem_reserve_persistent
| * 70154489f5 net: openvswitch: fix flow memory leak in ovs_flow_cmd_new
| * 4fb430c698 virtio-net: Keep stop() to follow mirror sequence of open()
| * 812236bb6a selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking
| * 9e7e2887cc selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs
| * 4babbd1f59 selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided
| * a4a493e599 selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning
| * 4d9c962716 ata: libata: Fix sata_down_spd_limit() when no link speed is reported
| * b6d4407211 can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate
| * 6362b86170 igc: return an error if the mac type is unknown in igc_ptp_systim_to_hwtstamp()
| * 98c93a0160 net: phy: meson-gxl: Add generic dummy stubs for MMD register access
| * de2785aa34 squashfs: harden sanity check in squashfs_read_xattr_id_table
| * f53c6e7e77 netfilter: br_netfilter: disable sabotage_in hook after first suppression
| * dd6991251a netrom: Fix use-after-free caused by accept on already connected socket
| * 362a2f5531 net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices
| * 6824169e74 sfc: correctly advertise tunneled IPv6 segmentation
| * 539fc3ef51 virtio-net: execute xdp_do_flush() before napi_complete_done()
| * 63d1c4edbf fix "direction" argument of iov_iter_kvec()
| * 0c67fb7775 fix iov_iter_bvec() "direction" argument
| * b5437e0ba9 READ is "data destination", not source...
| * fefb47a833 WRITE is "data source", not destination...
| * f9815b303e vhost/net: Clear the pending messages when the backend is removed
| * de990d1571 scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT"
| * d08a9b0ad2 drm/vc4: hdmi: make CEC adapter name unique
| * 8c6b46d426 arm64: dts: imx8mm: Fix pad control for UART1_DTE_RX
| * 9bd6074e18 bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener
| * 36dbb8daf0 bpf: Fix to preserve reg parent/live fields when copying range info
| * 8de8c4a25e bpf: Support <8-byte scalar spill and refill
| * 2b557fa635 ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
| * 1b1f56cc0e bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers
| * 2d0f276d50 powerpc/imc-pmu: Revert nest_init_lock to being a mutex
| * 9ff2bebc2c bpf: Fix incorrect state pruning for <8B spill/fill
| * 60c27e0e37 bus: sunxi-rsb: Fix error handling in sunxi_rsb_init()
| * d5a2dcee53 firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region
* | b405332f4b Merge 5.10.167 into android12-5.10-lts
|\|
| * a5acb54d40 Linux 5.10.167
| * 6446369fb9 net: fix NULL pointer in skb_segment_list
| * 0f9db1209f Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt
| * d744c03c04 ACPI: processor idle: Practically limit "Dummy wait" workaround to old Intel systems
| * bd0050b7ff dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init
| * 19c9a2ba46 blk-cgroup: fix missing pd_online_fn() while activating policy
| * a1c0263f1e bpf: Skip task with pid=1 in send_signal_common()
| * f185468631 arm64: dts: imx8mq-thor96: fix no-mmc property for SDHCI
| * a26cef0041 ARM: dts: vf610: Fix pca9548 i2c-mux node names
| * 67a8beb854 ARM: dts: imx: Fix pca9547 i2c-mux node name
* | 0ddb73d446 Merge 5.10.166 into android12-5.10-lts
|\|
| * 8d823aaa22 Linux 5.10.166
| * 19f1f99be3 clk: Fix pointer casting to prevent oops in devm_clk_release()
| * f84c9b72fb perf/x86/amd: fix potential integer overflow on shift of a int
| * 743435cd17 netfilter: conntrack: unify established states for SCTP paths
| * e284c273db x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL
| * 2eca102b35 block: fix and cleanup bio_check_ro
| * 7fe4fab870 Revert "selftests/ftrace: Update synthetic event syntax errors"
| * 032a7d5ff5 nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted
| * 8fe3e574b3 nouveau: explicitly wait on the fence in nouveau_bo_move_m2mf
| * 9f3dd454fe Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode"
| * 230be65a18 tools: gpio: fix -c option of gpio-event-mon
| * 7ff8128bb1 net: mdio-mux-meson-g12a: force internal PHY off on mux switch
| * 62a0806eb4 net/tg3: resolve deadlock in tg3_reset_task() during EEH
| * e9c1b1e1a0 thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()
| * 3af20f6321 net: ravb: Fix possible hang if RIS2_QFF1 happen
| * 6ef652f35d sctp: fail if no bound addresses can be used for a given scope
| * cf9a2ce038 net/sched: sch_taprio: do not schedule in taprio_reset()
| * 7de16d75b2 netrom: Fix use-after-free of a listening socket.
| * 498584ccf4 netfilter: conntrack: fix vtag checks for ABORT/SHUTDOWN_COMPLETE
| * 7f9828fb1f ipv4: prevent potential spectre v1 gadget in fib_metrics_match()
| * 34c6142f0d ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
| * 870a565bd6 netlink: annotate data races around sk_state
| * 8583f52c23 netlink: annotate data races around dst_portid and dst_group
| * eccb532ada netlink: annotate data races around nlk->portid
| * 0308b7dfea netfilter: nft_set_rbtree: skip elements in transaction from garbage collection
| * 4aacf3d784 netfilter: nft_set_rbtree: Switch to node list walk for overlap detection
| * d4c008f3b7 net: fix UaF in netns ops registration error path
| * 539ca5dcbc netlink: prevent potential spectre v1 gadgets
| * ed173f77fd i2c: designware: use casting of u64 in clock multiplication to avoid overflow
| * 8949ef3a7a i2c: designware: Use DIV_ROUND_CLOSEST() macro
| * 8ebc2efcb6 units: Add SI metric prefix definitions
| * 974aaf1180 units: Add Watt units
| * 76d9ebb7f0 EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info
| * 511f6c7c40 EDAC/device: Respect any driver-supplied workqueue polling value
| * 0cb922cef7 ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment
| * 98d85586aa thermal: intel: int340x: Protect trip temperature from concurrent updates
| * 76c5640737 KVM: x86/vmx: Do not skip segment attributes if unusable bit is set
| * e037baee16 cifs: Fix oops due to uncleared server->smbd_conn in reconnect
| * c42a6e6870 ftrace/scripts: Update the instructions for ftrace-bisect.sh
| * 886aa44923 trace_events_hist: add check for return value of 'create_hist_field'
| * de3930a488 tracing: Make sure trace_printk() can output as soon as it can be used
| * 083b3dda86 module: Don't wait for GOING modules
| * ce3aa76946 scsi: hpsa: Fix allocation size for scsi_host_alloc()
| * 6da7055826 xhci: Set HCD flag to defer primary roothub registration
| * 1d580d3e13 Bluetooth: hci_sync: cancel cmd_timer if hci_open failed
| * b98a8b731b exit: Use READ_ONCE() for all oops/warn limit reads
| * 53f177b504 docs: Fix path paste-o for /sys/kernel/warn_count
| * b0bd5dcfa6 panic: Expose "warn_count" to sysfs
| * 8c99d4c4c1 panic: Introduce warn_limit
| * 55eba18262 panic: Consolidate open-coded panic_on_warn checks
| * 530cdae5c2 exit: Allow oops_limit to be disabled
| * 7cffbcd68f exit: Expose "oops_count" to sysfs
| * de586785b9 exit: Put an upper limit on how often we can oops
| * 191a3b17dd panic: Separate sysctl logic from CONFIG_SMP
| * 1b9a33a94b ia64: make IA64_MCA_RECOVERY bool instead of tristate
| * 6d971830da csky: Fix function name in csky_alignment() and die()
| * 648d8b8c49 h8300: Fix build errors from do_exit() to make_task_dead() transition
| * 63d77c5596 hexagon: Fix function name in die()
| * b2c178f311 objtool: Add a missing comma to avoid string concatenation
| * d9c740c765 exit: Add and use make_task_dead.
| * 715a63588f kasan: no need to unset panic_on_warn in end_report()
| * b857b42a8c ubsan: no need to unset panic_on_warn in ubsan_epilogue()
| * 590ba6fee0 panic: unset panic_on_warn inside panic()
| * e97ec099d7 kernel/panic: move panic sysctls to its own file
| * e6226917f4 sysctl: add a new register_sysctl_init() interface
| * c4097e844a fs: reiserfs: remove useless new_opts in reiserfs_remount
| * 1f6768143b x86: ACPI: cstate: Optimize C3 entry on AMD CPUs
| * 5fb884d748 netfilter: conntrack: do not renew entry stuck in tcp SYN_SENT state
| * a7345145e7 Revert "selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID"
| * 20a02bc845 lockref: stop doing cpu_relax in the cmpxchg loop
| * f8ddf7dbf5 platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK
| * 9968f9a862 platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD
| * 52249c2168 scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id
| * 71bd134c4e KVM: s390: interrupt: use READ_ONCE() before cmpxchg()
| * 300da569a1 spi: spidev: remove debug messages that access spidev->spi without locking
| * a84def9b10 ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets
| * d9a0752a6a ASoC: fsl_ssi: Rename AC'97 streams to avoid collisions with AC'97 CODEC
| * 00f2301611 cpufreq: armada-37xx: stop using 0 as NULL pointer
| * 2ca345d19c s390/debug: add _ASM_S390_ prefix to header guard
| * ae108a5fc9 drm: Add orientation quirk for Lenovo ideapad D330-10IGL
| * 96f4899a38 ASoC: fsl_micfil: Correct the number of steps on SX controls
| * 3b154d5204 kcsan: test: don't put the expect array on the stack
| * b75e9fc402 cpufreq: Add Tegra234 to cpufreq-dt-platdev blocklist
| * 6bc564f3fe scsi: iscsi: Fix multiple iSCSI session unbind events sent to userspace
| * d79e700680 tcp: fix rate_app_limited to default to 1
| * a84240df70 net: dsa: microchip: ksz9477: port map correction in ALU table entry register
| * 704a423c93 driver core: Fix test_async_probe_init saves device in wrong array
| * 216f35db6e w1: fix WARNING after calling w1_process()
| * 8e5be0ae55 w1: fix deadloop in __w1_remove_master_device()
| * ddf16dae65 tcp: avoid the lookup process failing to get sk in ehash table
| * 5f10f7efe0 nvme-pci: fix timeout request state check
| * 98519ed691 dmaengine: xilinx_dma: call of_node_put() when breaking out of for_each_child_of_node()
| * 28fc6095da HID: betop: check shape of output reports
| * 16791d5a7a l2tp: prevent lockdep issue in l2tp_tunnel_register()
| * f96b2f6908 net: macb: fix PTP TX timestamp failure due to packet padding
| * 42ecd72f02 dmaengine: Fix double increment of client_count in dma_chan_get()
| * 1e97e2e08e drm/panfrost: fix GENERIC_ATOMIC64 dependency
| * 31f63c62a8 net: mlx5: eliminate anonymous module_init & module_exit
| * 4b3b5cc1a7 usb: gadget: f_fs: Ensure ep0req is dequeued before free_request
| * 6dd9ea0553 usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait
| * 55be77aa89 HID: revert CHERRY_MOUSE_000C quirk
| * 34f1194993 net: stmmac: fix invalid call to mdiobus_get_phy()
| * 20fd459876 HID: check empty report_list in bigben_probe()
| * 5dc3469a11 HID: check empty report_list in hid_validate_values()
| * 4bc5f1f6bc net: mdio: validate parameter addr in mdiobus_get_phy()
| * 67866b1e0a net: usb: sr9700: Handle negative len
| * 2d77e5c0ad l2tp: close all race conditions in l2tp_tunnel_register()
| * 76c640d6a1 l2tp: convert l2tp_tunnel_list to idr
| * 5b209b8c99 l2tp: Don't sleep and disable BH under writer-side sk_callback_lock
| * e34a965f77 l2tp: Serialize access to sk_user_data with sk_callback_lock
| * c60fe70078 net/sched: sch_taprio: fix possible use-after-free
| * 802fd7623e wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid
| * 1af8071bd0 gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode
| * 613020d048 net: wan: Add checks for NULL for utdm in undo_uhdlc_init and unmap_si_regs
| * ad1baab3a5 net: nfc: Fix use-after-free in local_cleanup()
| * 2a0156a4aa phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in rockchip_usb2phy_power_on()
| * da75dec7c6 bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation
| * f351af45e2 amd-xgbe: Delay AN timeout during KR training
| * a65a8727a2 amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent
| * aa8b584cec ARM: dts: at91: sam9x60: fix the ddr clock for sam9x60
| * fa566549a1 phy: ti: fix Kconfig warning and operator precedence
| * b18490138d PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe()
| * 39ab0fc498 affs: initialize fsdata in affs_truncate()
| * f6fa12fbb1 IB/hfi1: Remove user expected buffer invalidate race
| * 6ce4382bd1 IB/hfi1: Immediately remove invalid memory from hardware
| * 6dd8136fd1 IB/hfi1: Fix expected receive setup error exit issues
| * ee474dd66e IB/hfi1: Reserve user expected TIDs
| * 73e5666bf3 IB/hfi1: Reject a zero-length user expected buffer
| * d66c1d4178 RDMA/core: Fix ib block iterator counter overflow
| * eab7a92037 tomoyo: fix broken dependency on *.conf.default
| * 6813d8ba7d firmware: arm_scmi: Harden shared memory access in fetch_notification
| * e85df1db28 firmware: arm_scmi: Harden shared memory access in fetch_response
| * 329fbd2603 EDAC/highbank: Fix memory leak in highbank_mc_probe()
| * 7b4516ba56 HID: intel_ish-hid: Add check for ishtp_dma_tx_map
| * d775671dcc ARM: imx: add missing of_node_put()
| * 5c1dcedd52 arm64: dts: imx8mm-beacon: Fix ecspi2 pinmux
| * cccb0aea9c ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts'
| * 6805e392f5 ARM: dts: imx7d-pico: Use 'clock-frequency'
| * 2a3c3a01e2 ARM: dts: imx6ul-pico-dwarf: Use 'clock-frequency'
| * e57ea0c6ba memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe()
| * 53f55d6e07 memory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe()
| * 935ec78de5 clk: Provide new devm_clk helpers for prepared and enabled clocks
| * 0b8b21c0b3 clk: generalize devm_clk_get() a bit
* | e5ea3c44c8 Revert "xhci: Add update_hub_device override for PCI xHCI hosts"
* | a73c1dbdd5 Revert "xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables"
* | fa89210a0e Revert "xhci: Add a flag to disable USB3 lpm on a xhci root port level."
* | 78da590924 Merge 5.10.165 into android12-5.10-lts
|\|
| * 179624a57b Linux 5.10.165
| * e699cce29a io_uring/rw: remove leftover debug statement
| * 3d5f181bda io_uring/rw: ensure kiocb_end_write() is always called
| * c1a279d79e io_uring: fix double poll leak on repolling
| * ddaaadf22b io_uring: Clean up a false-positive warning from GCC 9.3.0
| * 8bc72b4952 mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma
| * 217721b763 Bluetooth: hci_qca: Fixed issue during suspend
| * c208f1e84a Bluetooth: hci_qca: check for SSR triggered flag while suspend
| * ef11bc4bb9 Bluetooth: hci_qca: Wait for SSR completion during suspend
| * c392c350a0 soc: qcom: apr: Make qcom,protection-domain optional again
| * 71e5cd1018 Revert "wifi: mac80211: fix memory leak in ieee80211_if_add()"
| * be1067427a net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work()
| * f6c201b438 net/ulp: use consistent error code when blocking ULP
| * fc2491562a io_uring/net: fix fast_iov assignment in io_setup_async_msg()
| * 89a77271d2 io_uring: io_kiocb_update_pos() should not touch file for non -1 offset
| * c6e3c12ff9 tracing: Use alignof__(struct {type b;}) instead of offsetof()
| * 03ba86bb38 x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN
| * 2f45b20c39 Revert "drm/amdgpu: make display pinning more flexible (v2)"
| * d6544bccc1 efi: rt-wrapper: Add missing include
| * 4012603cbd arm64: efi: Execute runtime services from a dedicated stack
| * bf1d287c14 drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix
| * 75105d943d drm/amd/display: Calculate output_color_space after pixel encoding adjustment
| * a3ef532483 drm/amd/display: Fix set scaling doesn's work
| * 59590f50ec drm/i915: re-disable RC6p on Sandy Bridge
| * d960fff8e2 mei: me: add meteor lake point M DID
| * ae2a9dcc8c gsmi: fix null-deref in gsmi_get_variable
| * a75e80d118 serial: atmel: fix incorrect baudrate setup
| * 5a7a040795 dmaengine: tegra210-adma: fix global intr clear
| * c9da2cb968 serial: pch_uart: Pass correct sg to dma_unmap_sg()
| * e924f79e67 dt-bindings: phy: g12a-usb3-pcie-phy: fix compatible string documentation
| * 31132df12a dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation
| * a9f2658a01 usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210
| * e92c700591 usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate()
| * 06600ae7e0 usb: gadget: g_webcam: Send color matching descriptor per frame
| * 6107a8f15c usb: typec: altmodes/displayport: Fix pin assignment calculation
| * d26f38d16f usb: typec: altmodes/displayport: Add pin assignment helper
| * 9c58f1e9e6 usb: host: ehci-fsl: Fix module alias
| * 3dc896db02 USB: serial: cp210x: add SCALANCE LPE-9000 device id
| * 856e4b5e53 USB: gadgetfs: Fix race between mounting and unmounting
| * 894681682d tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
| * c4ab24e333 thunderbolt: Use correct function to calculate maximum USB3 link rate
| * 531268a875 cifs: do not include page data when checking signature
| * 3bd4337485 btrfs: fix race between quota rescan and disable leading to NULL pointer deref
| * 6ee8feca91 mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting
| * 79819909c2 mmc: sunxi-mmc: Fix clock refcount imbalance during unbind
| * 2eed23765b comedi: adv_pci1760: Fix PWM instruction handling
| * 7efeed828c usb: core: hub: disable autosuspend for TI TUSB8041
| * b171d0d2cf misc: fastrpc: Fix use-after-free race condition for maps
| * 193cd85314 misc: fastrpc: Don't remove map on creater_process and device_release
| * e0db5d44bc USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100
| * 20d0dedc7a staging: vchiq_arm: fix enum vchiq_status return types
| * a06e9ec5ab USB: serial: option: add Quectel EM05CN modem
| * 2f44c60bb8 USB: serial: option: add Quectel EM05CN (SG) modem
| * fcd49b2309 USB: serial: option: add Quectel EC200U modem
| * 21c5b61812 USB: serial: option: add Quectel EM05-G (RS) modem
| * 46b898f934 USB: serial: option: add Quectel EM05-G (CS) modem
| * 3774654f7a USB: serial: option: add Quectel EM05-G (GR) modem
| * 9f8e45720e prlimit: do_prlimit needs to have a speculation check
| * 96562a23cf xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables
| * 2551f8cbf2 usb: acpi: add helper to check port lpm capability using acpi _DSM
| * 4d70a8a9ab xhci: Add a flag to disable USB3 lpm on a xhci root port level.
| * 83e3a5be74 xhci: Add update_hub_device override for PCI xHCI hosts
| * 081105213f xhci: Fix null pointer dereference when host dies
| * 66fc160085 usb: xhci: Check endpoint is valid before dereferencing it
| * 8ca60d59b9 xhci-pci: set the dma max_seg_size
| * ea2e6286e3 io_uring/rw: defer fsnotify calls to task context
| * e90cfb9699 io_uring: do not recalculate ppos unnecessarily
| * ea528ecac3 io_uring: update kiocb->ki_pos at execution time
| * 076f872314 io_uring: remove duplicated calls to io_kiocb_ppos
| * e9c6556708 io_uring: ensure that cached task references are always put on exit
| * e0140e9da3 io_uring: fix CQ waiting timeout handling
| * de77faee28 io_uring: lock overflowing for IOPOLL
| * 78e8151f04 io_uring: check for valid register opcode earlier
| * aa4c9b3e45 io_uring: fix async accept on O_NONBLOCK sockets
| * 4bc17e6381 io_uring: allow re-poll if we made progress
| * f901b4bfd0 io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)
| * 96ccba4a1a io_uring: add flag for disabling provided buffer recycling
| * aadd9b0930 io_uring: ensure recv and recvmsg handle MSG_WAITALL correctly
| * abdc16c836 io_uring: improve send/recv error handling
| * 2fd232bbd6 io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL
| * e84ec6e25d Bluetooth: hci_qca: Fix driver shutdown on closed serdev
| * 1ab0098333 Bluetooth: hci_qca: Wait for timeout during suspend
| * 413638f615 drm/i915/gt: Reset twice
| * cab2123567 ALSA: hda/realtek - Turn on power early
| * 5822baf950 efi: fix userspace infinite retry read efivars after EFI runtime services page fault
| * 712bd74ecc nilfs2: fix general protection fault in nilfs_btree_insert()
| * 03bf73e09a zonefs: Detect append writes at invalid locations
| * 20d0a6d17e Add exception protection processing for vd in axi_chan_handle_err function
| * 187523fa7c wifi: mac80211: sdata can be NULL during AMPDU start
| * 2d1fd99e8e wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices
| * 72009139a6 f2fs: let's avoid panic if extent_tree is not created
| * bf6c7f1801 x86/asm: Fix an assembler warning with current binutils
| * 18bd1c9c02 btrfs: always report error in run_one_delayed_ref()
| * 936b8b15a2 RDMA/srp: Move large values to a new enum for gcc13
| * 0040e48492 net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats
| * f7845de23f tools/virtio: initialize spinlocks in vring_test.c
| * 3093027183 selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID
| * c7c36bb6ea pNFS/filelayout: Fix coalescing test for single DS
| * 2cbd815970 btrfs: fix trace event name typo for FLUSH_DELAYED_REFS
* | 1e32d1c96a Revert "xhci: Prevent infinite loop in transaction errors recovery for streams"
* | b0d4a37a43 Merge 5.10.164 into android12-5.10-lts
|\|
| * 3a9f1b907b Linux 5.10.164
| * 74985c5757 Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"
| * a88a0d16e1 io_uring/io-wq: only free worker if it was allocated for creation
| * b912ed1363 io_uring/io-wq: free worker if task_work creation is canceled
| * 68bcd06385 drm/virtio: Fix GEM handle creation UAF
| * 4ca71bc0e1 efi: fix NULL-deref in init error path
| * 057f5ddfbc arm64: cmpxchg_double*: hazard against entire exchange variable
| * 9a5fd0844e arm64: atomics: remove LL/SC trampolines
| * 28840e46ea arm64: atomics: format whitespace consistently
| * 5dac4c7212 x86/resctrl: Fix task CLOSID/RMID update race
| * 446c7251f0 x86/resctrl: Use task_curr() instead of task_struct->on_cpu to prevent unnecessary IPI
| * 196c6f0c3e KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
| * 0027164b24 Documentation: KVM: add API issues section
| * caaea2ab6b iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
| * cf38e76241 iommu/mediatek-v1: Add error handle for mtk_iommu_probe
| * 60806adc9b mm: Always release pages to the buddy allocator in memblock_free_late().
| * 092f0c2d1f net/mlx5e: Don't support encap rules with gbp option
| * b3d47227f0 net/mlx5: Fix ptp max frequency adjustment range
| * 453277feb4 net/sched: act_mpls: Fix warning during failed attribute validation
| * 0ca78c9965 nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
| * 92b30a27e4 hvc/xen: lock console list traversal
| * 14e72a56e1 octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable
| * 8e2bfcfaab octeontx2-af: Map NIX block from CGX connection
| * d9be5b57ab octeontx2-af: Update get/set resource count functions
| * 0d0675bc33 tipc: fix unexpected link reset due to discovery messages
| * d83cac6c00 ASoC: wm8904: fix wrong outputs volume after power reactivation
| * d4aa749e04 regulator: da9211: Use irq handler when ready
| * 3ca8ef4d91 EDAC/device: Fix period calculation in edac_device_reset_delay_period()
| * 28b9a0e216 x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
| * 8cbeb60320 powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
| * 4e6a70fd84 netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
| * a3a1114aa6 xfrm: fix rcu lock in xfrm_notify_userpolicy()
| * 091f85db4c ext4: fix uninititialized value in 'ext4_evict_inode'
| * 98407a4ae3 usb: ulpi: defer ulpi_register on ulpi_read_id timeout
| * 3d13818a99 xhci: Prevent infinite loop in transaction errors recovery for streams
| * 2f90fcedc5 xhci: move and rename xhci_cleanup_halted_endpoint()
| * cad965cedb xhci: store TD status in the td struct instead of passing it along
| * 9b63a80c45 xhci: move xhci_td_cleanup so it can be called by more functions
| * 44c635c60f xhci: Add xhci_reset_halted_ep() helper function
| * 10287d18f5 xhci: adjust parameters passed to cleanup_halted_endpoint()
| * aaaa7cc4ab xhci: get isochronous ring directly from endpoint structure
| * a81ace0656 xhci: Avoid parsing transfer events several times
| * ba20d6056b clk: imx: imx8mp: add shared clk gate for usb suspend clk
| * 2b331d2137 dt-bindings: clocks: imx8mp: Add ID for usb suspend clock
| * cb769960ef clk: imx8mp: add clkout1/2 support
| * 85eaaa17c0 clk: imx8mp: Add DISP2 pixel clock
| * 6b21077146 iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options
| * 5badda810f iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commands
| * ab9bb65b85 bus: mhi: host: Fix race between channel preparation and M0 event
| * 6c9e2c11c3 ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
| * 112df4cd2b ixgbe: fix pci device refcount leak
| * f401062d8d platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
| * 785607e5e6 drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer
| * 8c71777b6a drm/msm/adreno: Make adreno quirks not overwrite each other
| * afb6063aa8 cifs: Fix uninitialized memory read for smb311 posix symlink create
| * 51dbedee2f s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
| * bddb355267 s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops
| * 2adc64f3e6 ASoC: qcom: lpass-cpu: Fix fallback SD line index handling
| * 5ee3083307 s390/kexec: fix ipl report address for kdump
| * d1725dbf23 perf auxtrace: Fix address filter duplicate symbol selection
| * eaabceae1b docs: Fix the docs build with Sphinx 6.0
| * 38c4a17c6b efi: tpm: Avoid READ_ONCE() for accessing the event log
| * c47883105c KVM: arm64: Fix S1PTW handling on RO memslots
| * 443b390f2c ALSA: hda/realtek: Enable mute/micmute LEDs on HP Spectre x360 13-aw0xxx
| * 550efeff98 netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits
* | 2702f09758 Revert "ASoC/SoundWire: dai: expand 'stream' concept beyond SoundWire"
* | 5417a09eec Revert "ASoC: Intel/SOF: use set_stream() instead of set_tdm_slots() for HDAudio"
* | c35badfe0d Revert "net: add atomic_long_t to net_device_stats fields"
* | f1242cd146 Revert "PM/devfreq: governor: Add a private governor_data for governor"
* | 4922049993 Merge 5.10.163 into android12-5.10-lts
|\|
| * 19ff2d645f Linux 5.10.163
| * de4a20e148 ALSA: hda - Enable headset mic on another Dell laptop with ALC3254
| * 0ad275c139 ALSA: hda/hdmi: Add a HP device 0x8715 to force connect list
| * df02234e6b ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
| * f8ed0a93b5 net/ulp: prevent ULP without clone op from entering the LISTEN status
| * 9f7bc28a6b net: sched: disallow noqueue for qdisc classes
| * 6eb02c596e mptcp: use proper req destructor for IPv6
| * f4c7afa951 mptcp: dedicated request sock for subflow in v6
| * 31472f94c6 mptcp: remove MPTCP 'ifdef' in TCP SYN cookies
| * 5aa15a8400 mptcp: mark ops structures as ro_after_init
| * f5ef26276b serial: fixup backport of "serial: Deassert Transmit Enable on probe in driver-specific way"
| * 2ecf0819e4 fsl_lpuart: Don't enable interrupts too early
| * 23ad034760 ext4: don't set up encryption key during jbd2 transaction
| * d9ff5ad203 ext4: disable fast-commit of encrypted dir operations
| * 5b700b9c04 parisc: Align parisc MADV_XXX constants with all other architectures
| * 07b3672c40 io_uring: Fix unsigned 'res' comparison with zero in io_fixup_rw_res()
| * b57d7b1dcd efi: random: combine bootloader provided RNG seed with RNG protocol output
| * da20f56a35 mbcache: Avoid nesting of cache->c_list_lock under bit locks
| * be01f35efa hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
| * 1f881d9201 hfs/hfsplus: use WARN_ON for sanity check
| * 434909edca selftests: set the BUILD variable to absolute path
| * a41d63f204 ext4: don't allow journal inode to have encrypt flag
| * af90f8b36d drm/i915/gvt: fix vgpu debugfs clean in remove
| * bb7c7b2c89 drm/i915/gvt: fix gvt debugfs destroy
| * bc847857fb riscv: uaccess: fix type of 0 variable on error in get_user()
| * f64e56fb28 fbdev: matroxfb: G200eW: Increase max memory from 1 MB to 16 MB
| * d0c46b55d6 nfsd: fix handling of readdir in v4root vs. mount upcall timeout
| * 67e39c4f4c x86/bugs: Flush IBP in ib_prctl_set()
| * f13301a69a nvme: fix multipath crash caused by flush request when blktrace is enabled
| * 3f257a98e5 ASoC: Intel: bytcr_rt5640: Add quirk for the Advantech MICA-071 tablet
| * 6df376e245 udf: Fix extension of the last extent in the file
| * 84b2cc7b36 caif: fix memory leak in cfctrl_linkup_request()
| * e5a0583744 drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()
| * 232ef345e5 usb: rndis_host: Secure rndis_query check against int overflow
| * 2a9ee7c24b drivers/net/bonding/bond_3ad: return when there's no aggregator
| * bc6a0993bf perf tools: Fix resources leak in perf_data__open_dir()
| * ee756980e4 netfilter: ipset: Rework long task execution when adding/deleting entries
| * ba5d279097 netfilter: ipset: fix hash:net,port,net hang with /0 subnet
| * b2c917e510 net: sched: cbq: dont intepret cls results when asked to drop
| * 5f65f48516 net: sched: atm: dont intepret cls results when asked to drop
| * f4a2ad1002 gpio: sifive: Fix refcount leak in sifive_gpio_probe
| * 7ec369e215 ceph: switch to vfs_inode_has_locks() to fix file lock bug
| * 407710427d filelock: new helper: vfs_inode_has_locks
| * 9f0ff5de3e drm/meson: Reduce the FIFO lines held when AFBC is not used
| * ae2639cd2c RDMA/mlx5: Fix validation of max_rd_atomic caps for DC
| * 106d0d33c9 net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
| * 398e14bb73 net: amd-xgbe: add missed tasklet_kill
| * e3d90ca906 net/mlx5e: Fix hw mtu initializing at XDP SQ allocation
| * 6d655a9d82 net/mlx5e: IPoIB, Don't allow CQE compression to be turned on by default
| * 670b206173 net/mlx5: Avoid recovery in probe flows
| * 66b92b80c9 net/mlx5: Add forgotten cleanup calls into mlx5_init_once() error path
| * b6c74d2376 vhost: fix range used in translate_desc()
| * 264fb6dcbf vringh: fix range used in iotlb_translate()
| * eabb3ceb04 vhost/vsock: Fix error handling in vhost_vsock_init()
| * e0f5c962c0 nfc: Fix potential resource leaks
| * 513787ff9a qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure
| * b314f6c351 net: sched: fix memory leak in tcindex_set_parms
| * 4226ce95a9 net: hns3: add interrupts re-initialization while doing VF FLR
| * 998ebbdc3b nfsd: shut down the NFSv4 state objects before the filecache
| * 69d896b609 veth: Fix race with AF_XDP exposing old or uninitialized descriptors
| * 5f41212dc2 vmxnet3: correctly report csum_level for encapsulated packet
| * 0b70f6ea4d drm/panfrost: Fix GEM handle creation ref-counting
| * e68e088d0d bpf: pull before calling skb_postpull_rcsum()
| * cb0d627bc7 SUNRPC: ensure the matching upcall is in-flight upon downcall
| * 1be16a0c2f ext4: fix deadlock due to mbcache entry corruption
| * 0da99012d3 mbcache: automatically delete entries from cache on freeing
| * 1a56cd972c ext4: fix race when reusing xattr blocks
| * 4cc218e217 ext4: unindent codeblock in ext4_xattr_block_set()
| * 0e6fbc566f ext4: remove EA inode entry from mbcache on inode eviction
| * 27c0867397 mbcache: add functions to delete entry if unused
| * fb59d12ae7 mbcache: don't reclaim used entries
| * 4c363e2961 ext4: use kmemdup() to replace kmalloc + memcpy
| * b8b7922374 ext4: fix leaking uninitialized memory in fast-commit journal
| * a5584ba9b3 ext4: fix various seppling typos
| * adfefe804b ext4: simplify ext4 error translation
| * 95eaa8a953 ext4: move functions in super.c
| * 769469f8f1 fs: ext4: initialize fsdata in pagecache_write()
| * b33e42d65e ext4: use memcpy_to_page() in pagecache_write()
| * 60d4383c1b mm/highmem: Lift memcpy_[to|from]_page to core
| * f86d3338c8 ext4: correct inconsistent error msg in nojournal mode
| * 99017eb3de ext4: goto right label 'failed_mount3a'
| * 56d87959c6 riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
| * ecb8e8b2e5 riscv/stacktrace: Fix stack output without ra on the stack top
| * b5c75efd0a ravb: Fix "failed to switch device to config mode" message during unbind
| * 5451efb2ca staging: media: tegra-video: fix device_node use after free
| * f899baf6cb x86/kprobes: Fix optprobe optimization check with CONFIG_RETHUNK
| * 5d112deb2a x86/kprobes: Convert to insn_decode()
| * a1766efc5b perf probe: Fix to get the DW_AT_decl_file and DW_AT_call_file as unsinged data
| * b5d0f7c240 perf probe: Use dwarf_attr_integrate as generic DWARF attr accessor
| * c0a3d21584 media: s5p-mfc: Fix in register read and write for H264
| * 8ff64edf9d media: s5p-mfc: Clear workbit to handle error condition
| * dcd1a4ade5 media: s5p-mfc: Fix to handle reference queue during finishing
| * 97e7896000 x86/MCE/AMD: Clear DFR errors found in THR handler
| * ec75bc4368 x86/mce: Get rid of msr_ops
| * 58de7a95f0 btrfs: replace strncpy() with strscpy()
| * 7a04f85009 perf/x86/intel/uncore: Clear attr_update properly
| * 53d24a9592 perf/x86/intel/uncore: Generalize I/O stacks to PMON mapping procedure
| * 9620f8a5c7 ARM: renumber bits related to _TIF_WORK_MASK
| * 6302709784 drm/amdgpu: make display pinning more flexible (v2)
| * dfc01905b8 drm/amdgpu: handle polaris10/11 overlap asics (v2)
| * 30e95fdc96 ext4: allocate extended attribute value in vmalloc area
| * 8d3e87d43c ext4: avoid unaccounted block allocation when expanding inode
| * 15d0cf84df ext4: initialize quota before expanding inode in setproject ioctl
| * 9882601ee6 ext4: fix inode leak in ext4_xattr_inode_create() on an error path
| * 407f47728c ext4: avoid BUG_ON when creating xattrs
| * 00092b218d ext4: fix error code return to user-space in ext4_get_branch()
| * f06c980287 ext4: fix corruption when online resizing a 1K bigalloc fs
| * 9404839e0c ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline
| * 84a2f2ed49 ext4: init quota for 'old.inode' in 'ext4_rename'
| * 71e99ec131 ext4: fix bug_on in __es_tree_search caused by bad boot loader inode
| * 9020f56a3c ext4: check and assert if marking an no_delete evicting inode dirty
| * 86c2a2ec4b ext4: fix reserved cluster accounting in __es_remove_extent()
| * 98004f926d ext4: fix bug_on in __es_tree_search caused by bad quota inode
| * 20af66617e ext4: add helper to check quota inums
| * c0a738875c ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode
| * f9cd698080 ext4: fix undefined behavior in bit shift for ext4_check_flag_values
| * 7223d5e75f ext4: fix use-after-free in ext4_orphan_cleanup
| * d6d18d6e2d ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop
| * bdc698ce91 ext4: silence the warning when evicting inode with dioread_nolock
| * 68af1a4842 drm/ingenic: Fix missing platform_driver_unregister() call in ingenic_drm_init()
| * bf83a303f2 drm/i915/dsi: fix VBT send packet port selection for dual link DSI
| * 439cbbc151 drm/vmwgfx: Validate the box size for the snooped cursor
| * 0a0662d597 drm/connector: send hotplug uevent on connector cleanup
| * 21a773ec89 device_cgroup: Roll back to original exceptions after copy failure
| * 3505c187b8 parisc: led: Fix potential null-ptr-deref in start_task()
| * 2c7c487cd8 remoteproc: core: Do pm_relax when in RPROC_OFFLINE state
| * e291dea722 iommu/amd: Fix ivrs_acpihid cmdline parsing code
| * 28e71fd8d5 driver core: Fix bus_type.match() error handling in __driver_attach()
| * 772dbbfc20 crypto: n2 - add missing hash statesize
| * 7c44205748 PCI/sysfs: Fix double free in error path
| * 99ef6cc791 PCI: Fix pci_device_is_present() for VFs by checking PF
| * f29d127b37 ipmi: fix use after free in _ipmi_destroy_user()
| * bfe1e039a0 ima: Fix a potential NULL pointer access in ima_restore_measurement_list
| * 62307558e7 mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()
| * 4e17819cb3 ipmi: fix long wait in unload when IPMI disconnect
| * 24bc27ea4e ASoC: jz4740-i2s: Handle independent FIFO flush bits
| * 652f1d66a8 wifi: wilc1000: sdio: fix module autoloading
| * d9f6614a73 efi: Add iMac Pro 2017 to uefi skip cert quirk
| * ffcf71676d md/bitmap: Fix bitmap chunk size overflow issues
| * e94443252b rtc: ds1347: fix value written to century register
| * 6155aed476 cifs: fix missing display of three mount options
| * 8c82733e24 cifs: fix confusing debug message
| * 3df07728ab media: dvb-core: Fix UAF due to refcount races at releasing
| * 7dd5a68cdb media: dvb-core: Fix double free in dvb_register_device()
| * 1032520b21 ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod
| * 1306614412 staging: media: tegra-video: fix chan->mipi value on error
| * 52c0622e53 tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_line
| * b838b1b9ca tracing/hist: Fix wrong return value in parse_action_params()
| * ff3dd2c1be x86/kprobes: Fix kprobes instruction boudary check with CONFIG_RETHUNK
| * 362495bf45 ftrace/x86: Add back ftrace_expected for ftrace bug reports
| * b677629cae x86/microcode/intel: Do not retry microcode reloading on the APs
| * 43dd254853 KVM: nVMX: Inject #GP, not #UD, if "generic" VMXON CR0/CR4 check fails
| * e61eacf993 perf/core: Call LSM hook after copying perf_event_attr
| * 0cb31bd883 tracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx'
| * 18a489a3fd dm cache: set needs_check flag after aborting metadata
| * 2b17026685 dm cache: Fix UAF in destroy()
| * 342cfd8426 dm clone: Fix UAF in clone_dtr()
| * a506b5c927 dm integrity: Fix UAF in dm_integrity_dtr()
| * 34fe9c2251 dm thin: Fix UAF in run_timer_softirq()
| * c84d1ca228 dm thin: resume even if in FAIL mode
| * 94f01ecc2a dm thin: Use last transaction's pmd->root when commit failed
| * 7e37578069 dm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadata
| * b45e77b792 dm cache: Fix ABBA deadlock between shrink_slab and dm_cache_metadata_abort
| * d9fa243ab2 ALSA: hda/realtek: Apply dual codec fixup for Dell Latitude laptops
| * 2437b06223 ALSA: patch_realtek: Fix Dell Inspiron Plus 16
| * e379b88a8f cpufreq: Init completion before kobject_init_and_add()
| * cea018aaf7 PM/devfreq: governor: Add a private governor_data for governor
| * d1d73c3034 selftests: Use optional USERCFLAGS and USERLDFLAGS
| * 12576d2ebf arm64: dts: qcom: sdm850-lenovo-yoga-c630: correct I2C12 pins drive strength
| * 8546f11c42 ARM: ux500: do not directly dereference __iomem
| * 0061ab5153 btrfs: fix resolving backrefs for inline extent followed by prealloc
| * c0aa6e6ab0 mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K
| * e918762f8a arm64: dts: qcom: sdm845-db845c: correct SPI2 pins drive strength
| * c023597bae jbd2: use the correct print format
| * 8c444b3061 ktest.pl minconfig: Unset configs instead of just removing them
| * 5148dfceab kest.pl: Fix grub2 menu handling for rebooting
| * 780297af3c soc: qcom: Select REMAP_MMIO for LLCC driver
| * d5db9aaf1b media: stv0288: use explicitly signed char
| * 25dbd87379 net/af_packet: make sure to pull mac header
| * c2137d565c net/af_packet: add VLAN support for AF_PACKET SOCK_RAW GSO
| * 7c15d7ecce rcu: Prevent lockdep-RCU splats on lock acquisition/release
| * 4c57f612f4 torture: Exclude "NOHZ tick-stop error" from fatal errors
| * 289f512d08 wifi: rtlwifi: 8192de: correct checking of IQK reload
| * 0f6d6974b0 wifi: rtlwifi: remove always-true condition pointed out by GCC 12
| * 40b844796b net/mlx5e: Fix nullptr in mlx5e_tc_add_fdb_flow()
| * 8b20aab8cf ASoC/SoundWire: dai: expand 'stream' concept beyond SoundWire
| * 185c141946 ASoC: Intel/SOF: use set_stream() instead of set_tdm_slots() for HDAudio
| * 7b3631a2e1 kcsan: Instrument memcpy/memset/memmove with newer Clang
| * 2cd6026e25 SUNRPC: Don't leak netobj memory when gss_read_proxy_verf() fails
| * 3b6c822238 tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak
| * 0bd9b4be72 tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
| * 8ddc48068a tpm: acpi: Call acpi_put_table() to fix memory leak
| * b51d5fed9f mmc: vub300: fix warning - do not call blocking ops when !TASK_RUNNING
| * 252a720882 f2fs: should put a page when checking the summary info
| * 882734bbc5 mm, compaction: fix fast_isolate_around() to stay within boundaries
| * ae77930277 md: fix a crash in mempool_free
| * b591b2919d pnode: terminate at peers of source
| * 66f359ad66 ALSA: line6: fix stack overflow in line6_midi_transmit
| * 5e79f77ea4 ALSA: line6: correct midi status byte when receiving data from podxt
| * 56abf8046b ovl: Use ovl mounter's fsuid and fsgid in ovl_link()
| * c3e8bbcbaa binfmt: Fix error return code in load_elf_fdpic_binary()
| * 12407462d3 hfsplus: fix bug causing custom uid and gid being unable to be assigned with mount
| * 44cf50587e pstore/zone: Use GFP_ATOMIC to allocate zone buffer
| * 0d992c044c HID: plantronics: Additional PIDs for double volume key presses quirk
| * eaf0b78226 HID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint
| * 6f7e2fcab7 powerpc/rtas: avoid scheduling in rtas_os_term()
| * f2167f10fc powerpc/rtas: avoid device tree lookups in rtas_os_term()
| * 0af0e115ff objtool: Fix SEGFAULT
| * 57ae492f62 nvmet: don't defer passthrough commands with trivial effects to the workqueue
| * 4b3282a977 nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
| * ab711f3eda ata: ahci: Fix PCS quirk application for suspend
| * cc512539c4 nvme-pci: fix page size checks
| * dfb6d54893 nvme-pci: fix mempool alloc size
| * f5d8738fbe nvme-pci: fix doorbell buffer value endianness
| * fe6ea044c4 cifs: fix oops during encryption
| * f9089b9554 usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init
| * ce2462bcf3 pwm: tegra: Fix 32 bit build
| * a8be7c2787 media: dvbdev: fix refcnt bug
| * 153319671a media: dvbdev: fix build warning due to comments
| * 740c537f52 ovl: fix use inode directly in rcu-walk mode
| * f24474d12e gcov: add support for checksum field
| * 36be7afca1 regulator: core: fix deadlock on regulator enable
| * e12f4c3212 iio: adc128s052: add proper .data members in adc128_of_match table
| * 9f604702b7 iio: adc: ad_sigma_delta: do not use internal iio_dev lock
| * 582f5fc2c5 reiserfs: Add missing calls to reiserfs_security_free()
| * 08371068ff HID: mcp2221: don't connect hidraw
| * 7a203471b9 HID: wacom: Ensure bootloader PID is usable in hidraw mode
| * 723ffde78a usb: dwc3: core: defer probe on ulpi_read_id timeout
| * d17c82aad6 usb: dwc3: Fix race between dwc3_set_mode and __dwc3_set_mode
| * 2b725b6fbb ALSA: hda/hdmi: Add HP Device 0x8711 to force connect list
| * c863b67350 ALSA: hda/realtek: Add quirk for Lenovo TianYi510Pro-14IOB
| * d3767082eb ALSA: usb-audio: add the quirk for KT0206 device
| * 7691fa4102 ima: Simplify ima_lsm_copy_rule
| * 1d8dcc3dad pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXES
| * 07b0ce902e afs: Fix lost servers_outstanding count
| * 1080729b9a perf debug: Set debug_peo_args and redirect_to_stderr variable to correct values in perf_quiet_option()
| * 1c7b03d00c pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion
| * c3607ed7ed LoadPin: Ignore the "contents" argument of the LSM hooks
| * 4138e1b775 ASoC: rt5670: Remove unbalanced pm_runtime_put()
| * fd49dc17c3 ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume()
| * c0ae46693b ASoC: wm8994: Fix potential deadlock
| * e4a8573b04 ASoC: rockchip: pdm: Add missing clk_disable_unprepare() in rockchip_pdm_runtime_resume()
| * 06c9d468c0 ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
| * 812a18e48e ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()
| * c2eb1a3877 ASoC: Intel: Skylake: Fix driver hang during shutdown
| * 72c0e552bc ALSA: hda: add snd_hdac_stop_streams() helper
| * d3a8925d6c ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c
| * 2727dbfe8d hwmon: (jc42) Fix missing unlock on error in jc42_write()
| * a076490b02 orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init()
| * b8affa0c64 orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()
| * 6e3c4d3fa5 drm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid()
| * f3d3f3564e drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid()
| * dcd28191be hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param()
| * efd025f32f clk: st: Fix memory leak in st_of_quadfs_setup()
| * 1c6447d0fc media: si470x: Fix use-after-free in si470x_int_in_callback()
| * a63a1ae134 mmc: renesas_sdhi: better reset from HS400 mode
| * 58e21146c0 mmc: f-sdh30: Add quirks for broken timeout clock capability
| * 4b737246ff regulator: core: fix use_count leakage when handling boot-on
| * 17c2eb9ce8 libbpf: Avoid enum forward-declarations in public API in C++ mode
| * e8022da1fa blk-mq: fix possible memleak when register 'hctx' failed
| * 7d7ab25ead media: dvb-usb: fix memory leak in dvb_usb_adapter_init()
| * 2abd734338 media: dvbdev: adopts refcnt to avoid UAF
| * b42580c8d8 media: dvb-frontends: fix leak of memory fw
| * dd1e1bf916 ethtool: avoiding integer overflow in ethtool_phys_id()
| * 329a766355 bpf: Prevent decl_tag from being referenced in func_proto arg
| * 148dcbd3af ppp: associate skb with a device at tx
| * 755eb08792 mrp: introduce active flags to prevent UAF when applicant uninit
| * 037db10e3f net: add atomic_long_t to net_device_stats fields
| * e2d60023af drm/amd/display: fix array index out of bound error in bios parser
| * 10d713532f md/raid1: stop mdx_raid1 thread when raid1 array run failed
| * 100caacfa0 drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
| * 7d86851c30 drm/sti: Use drm_mode_copy()
| * dd31d73040 drm/rockchip: Use drm_mode_copy()
| * 4f238212c7 drm/msm: Use drm_mode_copy()
| * ebc3c77785 s390/lcs: Fix return type of lcs_start_xmit()
| * 3ac0217ca9 s390/netiucv: Fix return type of netiucv_tx()
| * eeb75f80bc s390/ctcm: Fix return type of ctc{mp,}m_tx()
| * 9606bbc271 drm/amdgpu: Fix type of second parameter in odn_edit_dpm_table() callback
| * a42a23bdae drm/amdgpu: Fix type of second parameter in trans_msg() callback
| * 3cb18dea11 igb: Do not free q_vector unless new one was allocated
| * 87792567d9 wifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request()
| * e7aa8a4709 hamradio: baycom_epp: Fix return type of baycom_send_packet()
| * 5b0b6553bf net: ethernet: ti: Fix return type of netcp_ndo_start_xmit()
| * 6d935a0265 bpf: make sure skb->len != 0 when redirecting to a tunneling device
| * ebc2fb6afc qed (gcc13): use u16 for fid to be big enough
| * 648cdb8bf3 drm/amd/display: prevent memory leak
| * c69bc8e34d ipmi: fix memleak when unload ipmi driver
| * be4cd23cd3 ASoC: codecs: rt298: Add quirk for KBL-R RVP platform
| * 8af5249271 wifi: ar5523: Fix use-after-free on ar5523_cmd() timed out
| * 1824ccabee wifi: ath9k: verify the expected usb_endpoints are present
| * 2e8bb402b0 brcmfmac: return error when getting invalid max_flowrings from dongle
| * 6cd4865bb4 drm/etnaviv: add missing quirks for GC300
| * 4fd3a11804 hfs: fix OOB Read in __hfs_brec_find
| * 6edd0cdee5 acct: fix potential integer overflow in encode_comp_t()
| * ec93b5430e nilfs2: fix shift-out-of-bounds due to too large exponent of block size
| * d464b035c0 nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset()
| * b0b83d3f3f ACPICA: Fix error code path in acpi_ds_call_control_method()
| * 911999b193 fs: jfs: fix shift-out-of-bounds in dbDiscardAG
| * 40dba68d41 udf: Avoid double brelse() in udf_rename()
| * 3e997e4ce8 fs: jfs: fix shift-out-of-bounds in dbAllocAG
| * dcbc51d31d binfmt_misc: fix shift-out-of-bounds in check_special_flags
| * 22c1d8f24c x86/hyperv: Remove unregister syscore call from Hyper-V cleanup
| * 9b267051c8 video: hyperv_fb: Avoid taking busy spinlock on panic path
| * 0461a8c278 arm64: make is_ttbrX_addr() noinstr-safe
| * 5a52380b81 rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()
| * 9062493811 net: stream: purge sk_error_queue in sk_stream_kill_queues()
| * 7c3a20bfd2 myri10ge: Fix an error handling path in myri10ge_probe()
| * 3c97373690 rxrpc: Fix missing unlock in rxrpc_do_sendmsg()
| * 5c544c7c6a net_sched: reject TCF_EM_SIMPLE case for complex ematch module
| * a39b4de080 mailbox: zynq-ipi: fix error handling while device_register() fails
| * 821be5a5ab skbuff: Account for tail adjustment during pull operations
| * 6736b61ecf openvswitch: Fix flow lookup to use unmasked key
| * ea14220031 selftests: devlink: fix the fd redirect in dummy_reporter_test
| * 57ce1a36c0 rtc: mxc_v2: Add missing clk_disable_unprepare()
| * 1e2a27dab1 igc: Set Qbv start_time and end_time to end_time if not being configured in GCL
| * edb995b5ec igc: Lift TAPRIO schedule restriction
| * b48d3db891 igc: recalculate Qbv end_time by considering cycle time
| * 3f2a944c23 igc: Add checking for basetime less than zero
| * a0e2295c2a igc: Use strict cycles for Qbv scheduling
| * 413fe82420 igc: Enhance Qbv scheduling by using first flag bit
| * a8f9698a05 net: add a helper to avoid issues with HW TX timestamping and SO_TXTIME
| * ae5d96bae3 net: igc: use skb_csum_is_sctp instead of protocol check
| * 4794d07fe6 net: add inline function skb_csum_is_sctp
| * 67349025f0 net: switch to storing KCOV handle directly in sk_buff
| * 3d5f83a62e r6040: Fix kmemleak in probe and remove
| * aea9e64dec nfc: pn533: Clear nfc_target before being used
| * 6939f84e53 mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
| * b58c871966 mISDN: hfcpci: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
| * 30e0a066b6 mISDN: hfcsusb: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
| * 2a930b75bf net: macsec: fix net device access prior to holding a lock
| * c1207219a4 nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure
| * 452e85cc3e NFSD: Remove spurious cb_setup_err tracepoint
| * 09c007e239 rtc: pcf85063: fix pcf85063_clkout_control
| * e9453c13ae rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe()
| * 34836c5923 rtc: st-lpc: Add missing clk_disable_unprepare in st_rtc_probe()
| * 8e65e70764 netfilter: flowtable: really fix NAT IPv6 offload
| * 1f5571cb1d powerpc/pseries/eeh: use correct API for error log size
| * 9dc96fee26 powerpc/eeh: Drop redundant spinlock initialization
| * 12654b7d8d remoteproc: qcom_q6v5_pas: Fix missing of_node_put() in adsp_alloc_memory_region()
| * be5816b27b remoteproc: qcom_q6v5_pas: detach power domains on remove
| * 582dd58a18 remoteproc: qcom_q6v5_pas: disable wakeup on probe fail or remove
| * e4539eb5c0 remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()
| * 6a65f4644b pwm: sifive: Call pwm_sifive_update_clock() while mutex is held
| * 57f215a231 iommu/sun50i: Remove IOMMU_DOMAIN_IDENTITY
| * dc02d8e59d selftests/powerpc: Fix resource leaks
| * 464506de9b powerpc/hv-gpci: Fix hv_gpci event list
| * 0abfe735be powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe()
| * da1a33795d powerpc/perf: callchain validate kernel stack pointer bounds
| * 8d2ff5b3e2 kbuild: refactor single builds of *.ko
| * e3bdda22b4 kbuild: unify modules(_install) for in-tree and external modules
| * e215512959 kbuild: remove unneeded mkdir for external modules_install
| * 195cb98861 powerpc/xive: add missing iounmap() in error path in xive_spapr_populate_irq_data()
| * f0bd6504e5 powerpc/xmon: Fix -Wswitch-unreachable warning in bpt_cmds
| * 76957b6aed powerpc/xmon: Enable breakpoints on 8xx
| * 81c8bbf5b2 cxl: Fix refcount leak in cxl_calc_capp_routing
| * 40b4be399e powerpc/52xx: Fix a resource leak in an error handling path
| * 7fded04fbb macintosh/macio-adb: check the return value of ioremap()
| * 2ac0a7059b macintosh: fix possible memory leak in macio_add_one_device()
| * 0d240ac0e4 iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe()
| * 03f51c7299 iommu/amd: Fix pci device refcount leak in ppr_notifier()
| * 3929576f10 rtc: pcf85063: Fix reading alarm
| * aaed333e22 rtc: snvs: Allow a time difference on clock register read
| * f0c36ea424 rtc: cmos: Disable ACPI RTC event on removal
| * ca8cb20c22 rtc: cmos: Rename ACPI-related functions
| * 9f9923baa2 rtc: cmos: Eliminate forward declarations of some functions
| * 462db582e8 rtc: cmos: Call rtc_wake_setup() from cmos_do_probe()
| * 14ad1353c5 rtc: cmos: Call cmos_wake_setup() from cmos_do_probe()
| * 45b96601a6 rtc: cmos: fix build on non-ACPI platforms
| * f2ece2c722 rtc: cmos: Fix wake alarm breakage
| * 0bcfccb486 rtc: cmos: Fix event handler registration ordering issue
| * 5814d77e2f rtc: rtc-cmos: Do not check ACPI_FADT_LOW_POWER_S0
| * 490b233677 dmaengine: idxd: Fix crc_val field for completion record
| * a42e955475 pwm: tegra: Improve required rate calculation
| * ddd2bb08bd include/uapi/linux/swab: Fix potentially missing __always_inline
| * c2a9843342 phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices
| * ca31ad0932 iommu/sun50i: Fix flush size
| * 147af0c1e7 iommu/sun50i: Fix R/W permission check
| * 3a63c4ff57 iommu/sun50i: Consider all fault sources for reset
| * 160b92ab4a iommu/sun50i: Fix reset release
| * aeef93416c RDMA/siw: Fix pointer cast warning
| * 5beadb55f4 power: supply: fix null pointer dereferencing in power_supply_get_battery_info
| * 72283ecfdc HSI: omap_ssi_core: Fix error handling in ssi_init()
| * 73ca3b19d9 perf symbol: correction while adjusting symbol
| * c8e77bd749 perf trace: Handle failure when trace point folder is missed
| * bd29da5804 perf trace: Use macro RAW_SYSCALL_ARGS_NUM to replace number
| * 6364577ae2 perf trace: Return error if a system call doesn't exist
| * 1d6d90994a power: supply: fix residue sysfs file in error handle route of __power_supply_register()
| * ae2eb995ab HSI: omap_ssi_core: fix possible memory leak in ssi_probe()
| * 6ba4b00f88 HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()
| * ee13e2aec3 fbdev: uvesafb: Fixes an error handling path in uvesafb_probe()
| * 164857bc02 fbdev: vermilion: decrease reference count in error path
| * 71bca42bc4 fbdev: via: Fix error in via_core_init()
| * 3922415e4c fbdev: pm2fb: fix missing pci_disable_device()
| * f279a7af79 fbdev: ssd1307fb: Drop optional dependency
| * c56c1449cc thermal/drivers/imx8mm_thermal: Validate temperature range
| * 86fa7bb4e2 samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()
| * 962f869b36 tracing/hist: Fix issue of losting command info in error_log
| * b7bf15aa19 usb: storage: Add check for kcalloc
| * 9ac541a089 i2c: ismt: Fix an out-of-bounds bug in ismt_access()
| * 61df25c41b i2c: mux: reg: check return value after calling platform_get_resource()
| * 6d79546622 gpiolib: cdev: fix NULL-pointer dereferences
| * aeee7ad089 gpiolib: Get rid of redundant 'else'
| * 37d3de40c1 vme: Fix error not catched in fake_init()
| * b9fa01fb31 staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor()
| * daa8045a99 staging: rtl8192u: Fix use after free in ieee80211_rx()
| * 46b3885c8c i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probe
| * c46db6088b chardev: fix error handling in cdev_device_add()
| * 7b289b791a mcb: mcb-parse: fix error handing in chameleon_parse_gdd()
| * 0d1c2c8db2 drivers: mcb: fix resource leak in mcb_probe()
| * e88b89a096 usb: gadget: f_hid: fix refcount leak on error path
| * 1b6a53e447 usb: gadget: f_hid: fix f_hidg lifetime vs cdev
| * 52302c30b2 usb: gadget: f_hid: optional SETUP/SET_REPORT mode
| * c3767f8105 usb: roles: fix of node refcount leak in usb_role_switch_is_parent()
| * 07905a9249 counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update
| * bb5e9402b2 iio: adis: add '__adis_enable_irq()' implementation
| * 3feb8fd8bf iio:imu:adis: Move exports into IIO_ADISLIB namespace
| * 83e321a2ec iio: adis: stylistic changes
| * d1b73eebc7 iio: adis: handle devices that cannot unmask the drdy pin
| * 8eb2a679c6 iio:imu:adis: Use IRQF_NO_AUTOEN instead of irq request then disable
| * 50aaa6b174 genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()
| * 6b22e715bb iio: temperature: ltc2983: make bulk write buffer DMA-safe
| * 0f63c0ddc2 cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter()
| * 170e8c2d2b cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()
| * d34742245e firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()
| * 0f67ed565f misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os
| * 57c857353d misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
| * a40e1b0a92 ocxl: fix pci device refcount leak when calling get_function_0()
| * 7525741cb3 misc: ocxl: fix possible name leak in ocxl_file_register_afu()
| * 0b5a89e8bc test_firmware: fix memory leak in test_firmware_init()
| * d7c4331c07 serial: sunsab: Fix error handling in sunsab_init()
| * a26b13d158 serial: altera_uart: fix locking in polling mode
| * 8ff88d007f tty: serial: altera_uart_{r,t}x_chars() need only uart_port
| * af320d1a3c tty: serial: clean up stop-tx part in altera_uart_tx_chars()
| * 07f4ca68b0 serial: pch: Fix PCI device refcount leak in pch_request_dma()
| * 46d08b0e0b serial: pl011: Do not clear RX FIFO & RX interrupt in unthrottle.
| * d5b16eb076 serial: amba-pl011: avoid SBSA UART accessing DMACR register
| * fab27438ab usb: typec: tipd: Fix spurious fwnode_handle_put in error path
| * d3b6c28a71 usb: typec: tcpci: fix of node refcount leak in tcpci_register_port()
| * 1ca02df871 usb: typec: Check for ops->exit instead of ops->enter in altmode_exit
| * 5d2b286eb0 staging: vme_user: Fix possible UAF in tsi148_dma_list_add
| * 775a6f8bed usb: fotg210-udc: Fix ages old endianness issues
| * 2fcb7c7d52 uio: uio_dmem_genirq: Fix deadlock between irq config and handling
| * 9bf7a0b2b1 uio: uio_dmem_genirq: Fix missing unlock in irq configuration
| * 27b612bd09 vfio: platform: Do not pass return buffer to ACPI _RST method
| * 18a7200646 class: fix possible memory leak in __class_register()
| * 7e74868a38 serial: tegra: Read DMA status before terminating
| * fce9890e1b drivers: dio: fix possible memory leak in dio_init()
| * d217141345 IB/IPoIB: Fix queue count inconsistency for PKEY child interfaces
| * aa96aff394 hwrng: geode - Fix PCI device refcount leak
| * 5998e5c30e hwrng: amd - Fix PCI device refcount leak
| * 38da26c855 crypto: img-hash - Fix variable dereferenced before check 'hdev->req'
| * 15ca148940 RDMA/hns: Fix page size cap from firmware
| * 83b2c33b53 RDMA/hns: Fix PBL page MTR find
| * 73ab1c956a orangefs: Fix sysfs not cleanup when dev init failed
| * 0c53bb661f RDMA/srp: Fix error return code in srp_parse_options()
| * 7cbf2fc276 RDMA/hfi1: Fix error return code in parse_platform_config()
| * 61c5b47c5b riscv/mm: add arch hook arch_clear_hugepage_flags
| * 09814c669d crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe()
| * 75c7b5d6b5 crypto: amlogic - Remove kcalloc without check
| * 357f3e1756 RDMA/nldev: Fix failure to send large messages
| * 25a8dabaab f2fs: avoid victim selection from previous victim section
| * d1b85d2883 RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps()
| * ad27f74e90 scsi: snic: Fix possible UAF in snic_tgt_create()
| * 22e8c7a56b scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails
| * f4ba143b04 scsi: ipr: Fix WARNING in ipr_init()
| * b520a32796 scsi: scsi_debug: Fix possible name leak in sdebug_add_host_helper()
| * 9d0ad1e2ba scsi: fcoe: Fix possible name leak when device_register() fails
| * 2b142f6046 scsi: scsi_debug: Fix a warning in resp_report_zones()
| * eaa71cdae8 scsi: scsi_debug: Fix a warning in resp_verify()
| * ac5cfe8bbb scsi: hpsa: Fix possible memory leak in hpsa_add_sas_device()
| * f671a3f286 scsi: hpsa: Fix error handling in hpsa_add_sas_host()
| * ce1a69cc85 scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add()
| * 7ccfc2bb58 padata: Fix list iterator in padata_do_serial()
| * 8e0681dd4e padata: Always leave BHs disabled when running ->parallel()
| * 4a99e6a104 crypto: tcrypt - Fix multibuffer skcipher speed test mem leak
| * c808edbf58 scsi: hpsa: Fix possible memory leak in hpsa_init_one()
| * 6bb5a62bfd RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed
| * 164fa80330 RDMA/hns: fix memory leak in hns_roce_alloc_mr()
| * 3d47544ba0 crypto: ccree - Make cc_debugfs_global_fini() available for module init function
| * 34bab85c2e RDMA/hfi: Decrease PCI device reference count in error path
| * d8f2a0bc52 PCI: Check for alloc failure in pci_request_irq()
| * 8b5f1af335 RDMA/hns: Fix ext_sge num error when post send
| * cc5e915358 RDMA/hns: Repacing 'dseg_len' by macros in fill_ext_sge_inl_data()
| * ed97ade655 crypto: hisilicon/qm - add missing pci_dev_put() in q_num_set()
| * 2dfe1d221e crypto: cryptd - Use request context instead of stack for sub-request
| * 1ab9e15b14 crypto: ccree - Remove debugfs when platform_driver_register failed
| * 33260f4c3e scsi: scsi_debug: Fix a warning in resp_write_scat()
| * 917bf4c0a7 RDMA/siw: Set defined status for work completion with undefined status
| * 237a8936d6 RDMA/nldev: Return "-EAGAIN" if the cm_id isn't from expected port
| * 75af03fdf3 RDMA/siw: Fix immediate work request flush to completion queue
| * ef8e236832 f2fs: fix normal discard process
| * 9a32aa87a2 apparmor: Fix memleak in alloc_ns()
| * 417ef568a7 crypto: rockchip - rework by using crypto_engine
| * 6cd8bbb089 crypto: rockchip - delete unneeded variable initialization
| * de041a2e70 crypto: rockchip - remove non-aligned handling
| * 0971bc99d1 crypto: rockchip - better handle cipher key
| * b0b9635f09 crypto: rockchip - add fallback for ahash
| * fbd5f112dc crypto: rockchip - add fallback for cipher
| * 86f1e7f46b crypto: rockchip - do not store mode globally
| * a13c0ff862 crypto: rockchip - do not do custom power management
| * f1acf7e693 f2fs: Fix the race condition of resize flag between resizefs
| * c42d8120bf PCI: pci-epf-test: Register notifier if only core_init_notifier is enabled
| * 16db9aaa41 RDMA/core: Fix order of nldev_exit call
| * 9784b01eb4 PCI: dwc: Fix n_fts[] array overrun
| * 6962f682d0 apparmor: Use pointer to struct aa_label for lbs_cred
| * f4c917a4b0 scsi: core: Fix a race between scsi_done() and scsi_timeout()
| * 3bebfa5f93 crypto: nitrox - avoid double free on error path in nitrox_sriov_init()
| * ee3cffc38e crypto: sun8i-ss - use dma_addr instead u32
| * bf4d7c66a1 apparmor: Fix abi check to include v8 abi
| * 78629ca972 apparmor: fix lockdep warning when removing a namespace
| * 935d86b290 apparmor: fix a memleak in multi_transaction_new()
| * f694e627c6 stmmac: fix potential division by 0
| * 815b961c71 Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()
| * 4002180e07 Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()
| * 82256faaeb Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave()
| * 33af776a8d Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave()
| * 5991402fe0 Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave()
| * 0169acb41b Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave()
| * f7dc27702b Bluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave()
| * 214346a517 sctp: sysctl: make extra pointers netns aware
| * 13286ad1c7 ntb_netdev: Use dev_kfree_skb_any() in interrupt context
| * 4df544f592 net: lan9303: Fix read error execution path
| * 39b48a92ed can: tcan4x5x: Remove invalid write in clear_interrupts
| * 334c9fb892 net: amd-xgbe: Check only the minimum speed for active/passive cables
| * 03ea9ba5fd net: amd-xgbe: Fix logic around active and passive cables
| * 8eb5f8ae51 net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave()
| * ee3b1364af hamradio: don't call dev_kfree_skb() under spin_lock_irqsave()
| * b242358a27 net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave()
| * decede59ea net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave()
| * c43def060c net: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave()
| * 0e23250149 net: apple: mace: don't call dev_kfree_skb() under spin_lock_irqsave()
| * 91f09a776a net/tunnel: wait until all sk_user_data reader finish before releasing the sock
| * 51e2d1b84a net: farsync: Fix kmemleak when rmmods farsync
| * 0b3f452d0c ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave()
| * 2b4af99b44 of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()
| * 14b349a15c drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
| * 787d1bae7f net: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload()
| * 8ed9994457 net: defxx: Fix missing err handling in dfx_init()
| * e2227eee7a net: vmw_vsock: vmci: Check memcpy_from_msg()
| * 3e8fd1d0fa clk: socfpga: Fix memory leak in socfpga_gate_init()
| * 4b672ee71c clk: socfpga: use clk_hw_register for a5/c5
| * ae8190f19f clk: socfpga: clk-pll: Remove unused variable 'rc'
| * 782d0444ea blktrace: Fix output non-blktrace event when blk_classic option enabled
| * 2484f15964 wifi: brcmfmac: Fix error return code in brcmf_sdio_download_firmware()
| * f89c0fbb8b wifi: rtl8xxxu: Fix the channel width reporting
| * d430037248 wifi: rtl8xxxu: Add __packed to struct rtl8723bu_c2h
| * 7f3b4fa482 spi: spi-gpio: Don't set MOSI as an input if not 3WIRE mode
| * da13355bb9 clk: samsung: Fix memory leak in _samsung_clk_register_pll()
| * d9b37ea886 media: coda: Add check for kmalloc
| * 35ddd00b36 media: coda: Add check for dcoda_iram_alloc
| * 6fdb8661b9 media: c8sectpfe: Add of_node_put() when breaking out of loop
| * 0b1e96d3fd mmc: mmci: fix return value check of mmc_add_host()
| * 1922def5cb mmc: wbsd: fix return value check of mmc_add_host()
| * 63400da6cd mmc: via-sdmmc: fix return value check of mmc_add_host()
| * 64b2c44117 mmc: meson-gx: fix return value check of mmc_add_host()
| * fb3d596267 mmc: omap_hsmmc: fix return value check of mmc_add_host()
| * 00ac0f5f95 mmc: atmel-mci: fix return value check of mmc_add_host()
| * 9bedf64dda mmc: wmt-sdmmc: fix return value check of mmc_add_host()
| * 3049a3b927 mmc: vub300: fix return value check of mmc_add_host()
| * aabbedcb6c mmc: toshsd: fix return value check of mmc_add_host()
| * 7fa922c7a3 mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()
| * b896a9b7a0 mmc: pxamci: fix return value check of mmc_add_host()
| * 3904eb97bb mmc: mxcmmc: fix return value check of mmc_add_host()
| * 7c3b301ca8 mmc: moxart: fix return value check of mmc_add_host()
| * 4a6e5d0222 mmc: alcor: fix return value check of mmc_add_host()
| * 81ea3d964f NFSv4.x: Fail client initialisation if state manager thread can't run
| * 3fbc3c78fa SUNRPC: Fix missing release socket in rpc_sockname()
| * be7d90fc3a xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()
| * 0649129359 ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt
| * 7df1fbe49b media: saa7164: fix missing pci_disable_device()
| * 46a9b31369 ALSA: pcm: Set missing stop_operating flag at undoing trigger start
| * be719496ae bpf, sockmap: fix race in sock_map_free()
| * 8c3ef38a0d hwmon: (jc42) Restore the min/max/critical temperatures on resume
| * e7720ef53b hwmon: (jc42) Convert register access and caching to regmap/regcache
| * 6a03c31d08 regulator: core: fix resource leak in regulator_register()
| * 74ac7c9ee2 configfs: fix possible memory leak in configfs_create_dir()
| * 0cf92d2356 hsr: Synchronize sequence number updates.
| * c671f2d10d hsr: Synchronize sending frames to have always incremented outgoing seq nr.
| * 28921ec555 hsr: Disable netpoll.
| * 8cee8543f0 net: hsr: generate supervision frame without HSR/PRP tag
| * 38d13a2a9e hsr: Add a rcu-read lock to hsr_forward_skb().
| * ee4425e81d clk: qcom: clk-krait: fix wrong div2 functions
| * 6f25402d8a regulator: core: fix module refcount leak in set_supply()
| * f532db69ab wifi: mt76: fix coverity overrun-call in mt76_get_txpower()
| * 4ecb7a6e61 wifi: cfg80211: Fix not unregister reg_pdev when load_builtin_regdb_keys() fails
| * b2c0b94f48 wifi: mac80211: fix memory leak in ieee80211_if_add()
| * b0163248db spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE
| * ab19f402a1 bonding: uninitialized variable in bond_miimon_inspect()
| * c58df40e3e bpf, sockmap: Fix data loss caused by using apply_bytes on ingress redirect
| * 28e4a763cd bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data
| * 429a2a4258 netfilter: conntrack: set icmpv6 redirects as RELATED
| * cd0e9ee50c ASoC: pcm512x: Fix PM disable depth imbalance in pcm512x_probe
| * 7c1ddf7c66 drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()
| * 3991d98a8a drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()
| * a012cdd4fd drm/amd/pm/smu11: BACO is supported when it's in BACO state
| * 57491967ad ASoC: mediatek: mt8173: Enable IRQ when pdata is ready
| * 52c9ad56c1 ASoC: mediatek: mt8173: Fix debugfs registration for components
| * ae966649f6 wifi: iwlwifi: mvm: fix double free on tx path.
| * ae66695aa1 ALSA: asihpi: fix missing pci_disable_device()
| * 5458bc0f9d NFS: Fix an Oops in nfs_d_automount()
| * bc60485b93 NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturn
| * d16d7870fd NFSv4.2: Fix initialisation of struct nfs4_label
| * 15feece7af NFSv4.2: Fix a memory stomp in decode_attr_security_label
| * 58a1023eb5 NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding
| * 193691ff5b ASoC: mediatek: mtk-btcvsd: Add checks for write and read of mtk_btcvsd_snd
| * 6013c3de95 ASoC: dt-bindings: wcd9335: fix reset line polarity in example
| * cf2cbca714 drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe()
| * 54ab127600 media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC
| * 559891d430 media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()
| * e34cf6cacc media: dvb-core: Fix ignored return value in dvb_register_frontend()
| * 05be5d56f7 pinctrl: pinconf-generic: add missing of_node_put()
| * 9916497a12 clk: imx: replace osc_hdmi with dummy
| * dabf7b675c media: imon: fix a race condition in send_packet()
| * 14d85b600b media: vimc: Fix wrong function called when vimc_init() fails
| * 4518d7cc38 ASoC: qcom: Add checks for devm_kcalloc
| * b73fac67f3 drbd: fix an invalid memory access caused by incorrect use of list iterator
| * 1d0c2b762d mtd: maps: pxa2xx-flash: fix memory leak in probe
| * 7d1e0d237c bonding: fix link recovery in mode 2 when updelay is nonzero
| * 3725a8f26b drm/amdgpu: fix pci device refcount leak
| * f4d70c139d clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
| * a065be0243 regulator: core: use kfree_const() to free space conditionally
| * d7198b63cb ALSA: seq: fix undefined behavior in bit shift for SNDRV_SEQ_FILTER_USE_EVENT
| * 88550b4446 ALSA: pcm: fix undefined behavior in bit shift for SNDRV_PCM_RATE_KNOT
| * ad2d0a3dc2 HID: hid-sensor-custom: set fixed size for custom attributes
| * 0d6ae25da5 bpf: Move skb->len == 0 checks into __bpf_redirect
| * 9920e87a84 inet: add READ_ONCE(sk->sk_bound_dev_if) in inet_csk_bind_conflict()
| * 49aa080951 media: videobuf-dma-contig: use dma_mmap_coherent
| * 8470060019 media: platform: exynos4-is: Fix error handling in fimc_md_init()
| * 49060c0da5 media: solo6x10: fix possible memory leak in solo_sysfs_init()
| * 0369af6fe3 media: vidtv: Fix use-after-free in vidtv_bridge_dvb_init()
| * 3afd738e77 Input: elants_i2c - properly handle the reset GPIO when power is off
| * 0919982a17 mtd: lpddr2_nvm: Fix possible null-ptr-deref
| * effbf63616 wifi: ath10k: Fix return value in ath10k_pci_init()
| * adf03c3099 ima: Fix misuse of dereference of pointer in template_desc_init_fields()
| * 3bd737289c integrity: Fix memory leakage in keyring allocation error path
| * 102df01caf drm/fourcc: Fix vsub/hsub for Q410 and Q401
| * 6f6a99fb62 drm/fourcc: Add packed 10bit YUV 4:2:0 format
| * 85273b4a70 amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()
| * f48c474efe regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()
| * 21a1409e8c ASoC: pxa: fix null-pointer dereference in filter()
| * 698bbaf0b4 drm/mediatek: Modify dpi power on/off sequence.
| * b4b30f56ec drm/radeon: Add the missed acpi_put_table() to fix memory leak
| * cea79ae89b rxrpc: Fix ack.bufferSize to be 0 when generating an ack
| * 00fce49d14 net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write()
| * 3d5cab726e media: camss: Clean up received buffers on failed start of streaming
| * 61c96d99d4 wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port
| * 624438195c Input: joystick - fix Kconfig warning for JOYSTICK_ADC
| * 330bc5533e mtd: Fix device name leak when register device failed in add_mtd_device()
| * 1a79539f4e clk: qcom: gcc-sm8250: Use retention mode for USB GDSCs
| * e1989d808b bpf: propagate precision across all frames, not just the last one
| * cdd73a5ed0 bpf: Check the other end of slot_type for STACK_SPILL
| * 42b2b7382a bpf: propagate precision in ALU/ALU64 operations
| * 7fc38327fd media: platform: exynos4-is: fix return value check in fimc_md_probe()
| * f9d19f3a04 media: vivid: fix compose size exceed boundary
| * 72e8d9c731 bpf: Fix slot type check in check_stack_write_var_off
| * d959ff7fa9 drm/msm/hdmi: drop unused GPIO support
| * b12f354fe6 drm/msm/hdmi: switch to drm_bridge_connector
| * c4b035b1f0 ima: Handle -ESTALE returned by ima_filter_rule_match()
| * d5b227f0d2 ima: Fix fall-through warnings for Clang
| * 576828e59a drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure
| * f1aa976857 spi: Update reference to struct spi_controller
| * dd958c7f3e clk: renesas: r9a06g032: Repair grave increment error
| * 110bf15825 drm/rockchip: lvds: fix PM usage counter unbalance in poweron
| * 1874f9143f can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming
| * 669bdf121f can: kvaser_usb: Add struct kvaser_usb_busparams
| * a50ad6772f can: kvaser_usb_leaf: Fix bogus restart events
| * cd56718e7c can: kvaser_usb_leaf: Fix wrong CAN state after stopping
| * f83742285f can: kvaser_usb_leaf: Fix improved state not being reported
| * fbd155fe14 can: kvaser_usb_leaf: Set Warning state even without bus errors
| * 96af45b1b4 can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT
| * caea629409 can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event
| * eafcf1b599 can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device
| * cd50258e9c can: kvaser_usb: do not increase tx statistics when sending error message frames
| * 580c79fd57 media: exynos4-is: don't rely on the v4l2_async_subdev internals
| * c93cac58a7 media: exynos4-is: Use v4l2_async_notifier_add_fwnode_remote_subdev
| * 4882492ad3 venus: pm_helpers: Fix error check in vcodec_domains_get()
| * 86d531c1d7 media: i2c: ad5820: Fix error path
| * 83f7e3c988 media: coda: jpeg: Add check for kmalloc
| * 7e0ba56c7e pata_ipx4xx_cf: Fix unsigned comparison with less than zero
| * 85b297d798 libbpf: Fix null-pointer dereference in find_prog_by_sec_insn()
| * c61650b869 libbpf: Fix use-after-free in btf_dump_name_dups
| * 26ce3f0c8f drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge
| * 9b6851c182 wifi: rtl8xxxu: Fix reading the vendor of combo chips
| * 98d9172822 wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()
| * c3fb3e9a2c wifi: ath9k: hif_usb: fix memory leak of urbs in ath9k_hif_usb_dealloc_tx_urbs()
| * 53915ecc43 rapidio: devices: fix missing put_device in mport_cdev_open
| * cff9fefdfb hfs: Fix OOB Write in hfs_asc2mac
| * 93cdd12636 relay: fix type mismatch when allocating memory in relay_create_buf()
| * bbaa9ca063 eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD
| * 5ee850645e rapidio: fix possible UAF when kfifo_alloc() fails
| * ad4842634d fs: sysv: Fix sysv_nblocks() returns wrong value
| * 6f8ef1de8c MIPS: OCTEON: warn only once if deprecated link status is being used
| * 7b88747d6d MIPS: BCM63xx: Add check for NULL for clk in clk_enable
| * d4c38ee665 platform/x86: intel_scu_ipc: fix possible name leak in __intel_scu_ipc_register()
| * 17cd8c46cb platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()
| * f983afc432 PM: runtime: Do not call __rpm_callback() from rpm_idle()
| * 2cbbd78e08 PM: runtime: Improve path in rpm_idle() when no callback
| * 46026bb057 xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource()
| * 70e7f308d7 x86/xen: Fix memory leak in xen_init_lock_cpu()
| * fc134c355b x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()
| * 95dbcb7e1c uprobes/x86: Allow to probe a NOP instruction with 0x66 prefix
| * 02617006b5 ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
| * 7bc9c5ad52 clocksource/drivers/timer-ti-dm: Fix missing clk_disable_unprepare in dmtimer_systimer_init_clock()
| * 270700e7df cpu/hotplug: Make target_store() a nop when target == state
| * fc89b8853a futex: Resend potentially swallowed owner death notification
| * 4750cac4df futex: Move to kernel/futex/
| * d8e7a44f48 clocksource/drivers/sh_cmt: Access registers according to spec
| * 0853787db2 clocksource/drivers/sh_cmt: Make sure channel clock supply is enabled
| * 97d9eb45ff rapidio: rio: fix possible name leak in rio_register_mport()
| * 88fa351b20 rapidio: fix possible name leaks when rio_add_device() fails
| * 2b7e59ed2e ocfs2: fix memory leak in ocfs2_mount_volume()
| * 45dabd8fe8 ocfs2: rewrite error handling of ocfs2_fill_super
| * e403024c83 ocfs2: ocfs2_mount_volume does cleanup job before return error
| * 81d26aa903 debugfs: fix error when writing negative value to atomic_t debugfs file
| * f649e18c9c docs: fault-injection: fix non-working usage of negative values
| * 869a37ad6f lib/notifier-error-inject: fix error when writing -errno to debugfs file
| * c39aa503f4 libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed value
| * 0080461624 cpufreq: amd_freq_sensitivity: Add missing pci_dev_put()
| * 9346517ed2 genirq/irqdesc: Don't try to remove non-existing sysfs files
| * d97e58f728 nfsd: don't call nfsd_file_put from client states seqfile display
| * 2db53c7059 EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()
| * f870d5863e irqchip: gic-pm: Use pm_runtime_resume_and_get() in gic_probe()
| * 5c0cacdd35 platform/chrome: cros_usbpd_notify: Fix error handling in cros_usbpd_notify_init()
| * 0afcb759f6 perf/x86/intel/uncore: Fix reference count leak in __uncore_imc_init_box()
| * d2afced511 perf/x86/intel/uncore: Fix reference count leak in snr_uncore_mmio_map()
| * c0539d5d47 perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
| * dac87e295c PNP: fix name memory leak in pnp_alloc_dev()
| * e1049bf0ca selftests/efivarfs: Add checking of the test return value
| * 911773f08c MIPS: vpe-cmp: fix possible memory leak while module exiting
| * 48d42f4464 MIPS: vpe-mt: fix possible memory leak while module exiting
| * f5f2682d3a ocfs2: fix memory leak in ocfs2_stack_glue_init()
| * c9a9aa02f0 lib/fonts: fix undefined behavior in bit shift for get_default_font
| * 9f6ea28f29 proc: fixup uptime selftest
| * d5bf025c5b timerqueue: Use rb_entry_safe() in timerqueue_getnext()
| * 2f2ae35c00 platform/x86: huawei-wmi: fix return value calculation
| * a1014fbc83 lib/debugobjects: fix stat count and optimize debug_objects_mem_init
| * 60a7a0aa9d perf: Fix possible memleak in pmu_dev_alloc()
| * 294ed8bfc9 selftests/ftrace: event_triggers: wait longer for test_event_enable
| * 3ef12a4a8e cpufreq: qcom-hw: Fix memory leak in qcom_cpufreq_hw_read_lut()
| * aa5f2912bb fs: don't audit the capability check in simple_xattr_list()
| * 9e760e0cf2 PM: hibernate: Fix mistake in kerneldoc comment
| * ef875e1c07 alpha: fix syscall entry in !AUDUT_SYSCALL case
| * 1498d2723e cpuidle: dt: Return the correct numbers of parsed idle states
| * 2ff4014417 sched/uclamp: Fix relationship between uclamp and migration margin
| * ca9ef12bf7 sched/fair: Cleanup task_util and capacity type
| * 6389c163c9 tpm/tpm_crb: Fix error message in __crb_relinquish_locality()
| * 5b217f4e79 tpm/tpm_ftpm_tee: Fix error handling in ftpm_mod_init()
| * 295f59cd2c pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP
| * 480bc6a165 ARM: mmp: fix timer_read delay
| * d1b3164d0e pstore/ram: Fix error return code in ramoops_probe()
| * 4dad729f7c arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC
| * 872865db3b ARM: dts: turris-omnia: Add switch port 6 node
| * c1322d5f69 ARM: dts: turris-omnia: Add ethernet aliases
| * d050513e6f ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port
| * bac1a77b85 ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port
| * ea907f3032 ARM: dts: armada-375: Fix assigned-addresses for every PCIe Root Port
| * ea8e313bb9 ARM: dts: armada-xp: Fix assigned-addresses for every PCIe Root Port
| * 697b92a648 ARM: dts: armada-370: Fix assigned-addresses for every PCIe Root Port
| * 73ab831afd ARM: dts: dove: Fix assigned-addresses for every PCIe Root Port
| * c2cb1683d1 arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name
| * 1261352836 arm64: dts: mediatek: pumpkin-common: Fix devicetree warnings
| * 853d57e961 arm64: dts: mt2712-evb: Fix usb vbus regulators unit names
| * 436ac713a4 arm64: dts: mt2712-evb: Fix vproc fixed regulators unit names
| * 148e773557 arm64: dts: mt2712e: Fix unit address for pinctrl node
| * a938c2a774 arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillators
| * a455b0c509 arm64: dts: ti: k3-j721e-main: Drop dma-coherent in crypto node
| * 42d97a024e arm64: dts: ti: k3-am65-main: Drop dma-coherent in crypto node
| * 359286f886 perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()
| * 9afac95b87 perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init()
| * 5e88aec62e soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe
| * 6a9a31c578 soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe
| * e325b4ee41 soc: ti: knav_qmss_queue: Use pm_runtime_resume_and_get instead of pm_runtime_get_sync
| * 0542d56e63 arm: dts: spear600: Fix clcd interrupt
| * a8d4fb0bf1 soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index
| * 6213df4f5f soc: qcom: apr: make code more reuseable
| * 45d180a9f6 soc: qcom: llcc: make irq truly optional
| * 8fb204a4b5 drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static
| * 6a2faf6fce ARM: dts: stm32: Fix AV96 WLAN regulator gpio property
| * 6d1b6dc38f ARM: dts: stm32: Drop stm32mp15xc.dtsi from Avenger96
| * 933499bed7 objtool, kcsan: Add volatile read/write instrumentation to whitelist
| * 275a67e909 arm64: dts: qcom: msm8916: Drop MSS fallback compatible
| * 82baee2263 arm64: dts: qcom: sdm845-cheza: fix AP suspend pin bias
| * 82569f7e40 arm64: dts: qcom: sdm630: fix UART1 pin bias
| * 4cef81dec2 ARM: dts: qcom: apq8064: fix coresight compatible
| * 5465b9a813 arm64: dts: qcom: msm8996: fix GPU OPP table
| * 6cad948c9f arm64: dts: qcom: ipq6018-cp01-c1: use BLSPI1 pins
| * 60184b1437 usb: musb: remove extra check in musb_gadget_vbus_draw
* | 9e60339cb4 ANDROID: Update .xml due to ABI preservation fix
* | 1cd4863ea8 ANDROID: struct io_uring ABI preservation hack for 5.10.162 changes
* | 4c961b9302 ANDROID: fix up struct task_struct ABI change in 5.10.162
* | 332c489d8b ANDROID: add flags variable back to struct proto_ops
* | 8596b99884 Merge 5.10.162 into android12-5.10-lts
|\|
| * 0fe4548663 Linux 5.10.162
| * 189556b05e io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
| * 4ef66581d7 eventfd: provide a eventfd_signal_mask() helper
| * 2f09377502 eventpoll: add EPOLL_URING_WAKE poll wakeup flag
| * b76c5373f0 Revert "proc: don't allow async path resolution of /proc/self components"
| * 87cb08dc6b Revert "proc: don't allow async path resolution of /proc/thread-self components"
| * a3025359ff net: remove cmsg restriction from io_uring based send/recvmsg calls
| * 6ef2b4728a task_work: unconditionally run task_work from get_signal()
| * c91ab04781 signal: kill JOBCTL_TASK_WORK
| * 788d082426 io_uring: import 5.15-stable io_uring
| * ed30050329 task_work: add helper for more targeted task_work canceling
| * 831cb78a2a kernel: don't call do_exit() for PF_IO_WORKER threads
| * 9ded44b69c kernel: stop masking signals in create_io_thread()
| * f0a5f0dc01 x86/process: setup io_threads more like normal user space threads
| * dd26e2cec7 arch: ensure parisc/powerpc handle PF_IO_WORKER in copy_thread()
| * 320c8057ec arch: setup PF_IO_WORKER threads like PF_KTHREAD
| * 000de389ad entry/kvm: Exit to user mode when TIF_NOTIFY_SIGNAL is set
| * 0f735cf52b kernel: allow fork with TIF_NOTIFY_SIGNAL pending
| * 4b4d2c7992 coredump: Limit what can interrupt coredumps
| * 90a2c3821b kernel: remove checking for TIF_NOTIFY_SIGNAL
| * 61bdeb142e task_work: remove legacy TWA_SIGNAL path
| * 6e2bce21ac alpha: fix TIF_NOTIFY_SIGNAL handling
| * db911277a2 ARC: unbork 5.11 bootup: fix snafu in _TIF_NOTIFY_SIGNAL handling
| * a1240cc413 ia64: don't call handle_signal() unless there's actually a signal queued
| * e1402ba4df sparc: add support for TIF_NOTIFY_SIGNAL
| * 78a53ff026 riscv: add support for TIF_NOTIFY_SIGNAL
| * 57e833a0a0 nds32: add support for TIF_NOTIFY_SIGNAL
| * 751fedb9ba ia64: add support for TIF_NOTIFY_SIGNAL
| * 48e9e35d33 h8300: add support for TIF_NOTIFY_SIGNAL
| * c82617d9de c6x: add support for TIF_NOTIFY_SIGNAL
| * 30b78a17ac alpha: add support for TIF_NOTIFY_SIGNAL
| * bf0b619593 xtensa: add support for TIF_NOTIFY_SIGNAL
| * 1bee9dbbca arm: add support for TIF_NOTIFY_SIGNAL
| * 02d383a59c microblaze: add support for TIF_NOTIFY_SIGNAL
| * 19f3e328b4 hexagon: add support for TIF_NOTIFY_SIGNAL
| * c2037d61de csky: add support for TIF_NOTIFY_SIGNAL
| * 12284aec88 openrisc: add support for TIF_NOTIFY_SIGNAL
| * 3fde31e962 sh: add support for TIF_NOTIFY_SIGNAL
| * dc808ffd97 um: add support for TIF_NOTIFY_SIGNAL
| * 0aef2ec063 s390: add support for TIF_NOTIFY_SIGNAL
| * 8ca2e57099 mips: add support for TIF_NOTIFY_SIGNAL
| * abab3d4444 powerpc: add support for TIF_NOTIFY_SIGNAL
| * 45b365bc6c parisc: add support for TIF_NOTIFY_SIGNAL
| * cf3c648673 nios32: add support for TIF_NOTIFY_SIGNAL
| * fe137f46d4 m68k: add support for TIF_NOTIFY_SIGNAL
| * 79a9991e87 arm64: add support for TIF_NOTIFY_SIGNAL
| * 2dbb035451 arc: add support for TIF_NOTIFY_SIGNAL
| * 4b1dcf8ec9 x86: Wire up TIF_NOTIFY_SIGNAL
| * eb42e7b304 task_work: Use TIF_NOTIFY_SIGNAL if available
| * 3c295bd2dd entry: Add support for TIF_NOTIFY_SIGNAL
| * d2136fc145 fs: provide locked helper variant of close_fd_get_file()
| * 57b2053036 file: Rename __close_fd_get_file close_fd_get_file
| * 214f80e251 fs: make do_renameat2() take struct filename
| * 52cfde6bbf signal: Add task_sigpending() helper
| * ad0b013795 net: add accept helper not installing fd
| * 069ac28d92 net: provide __sys_shutdown_sock() that takes a socket
| * 0b8cd5d814 tools headers UAPI: Sync openat2.h with the kernel sources
| * 5683caa735 fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED
| * 0cf0ce8fb5 Make sure nd->path.mnt and nd->path.dentry are always valid pointers
| * 146fe79fff fix handling of nd->depth on LOOKUP_CACHED failures in try_to_unlazy*
| * c1fe7bd3e1 fs: add support for LOOKUP_CACHED
| * 36ec31201a saner calling conventions for unlazy_child()
| * e86db87191 iov_iter: add helper to save iov_iter state
| * 1500fed008 kernel: provide create_io_thread() helper
* | bf760358ea Merge branch 'android12-5.10' into android12-5.10-lts
* | 416c4356f3 Merge 5.10.161 into android12-5.10-lts
|/
* 1a9148dfd8 Linux 5.10.161
* eec1c3ade4 net: loopback: use NET_NAME_PREDICTABLE for name_assign_type
* f3fe681715 Bluetooth: L2CAP: Fix u8 overflow
* 7c3a523c9b HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk
* 1d5db0c322 HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10
* 263a1782a6 HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch 10E
* a20b5eec07 HID: ite: Add support for Acer S1002 keyboard-dock
* f2479c3daa igb: Initialize mailbox message for VF reset
* 9ff7aff40e xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N
* c8bf31a00f USB: serial: f81534: fix division by zero on line-speed change
* 5b75a00416 USB: serial: f81232: fix division by zero on line-speed change
* 9895ce5ea2 USB: serial: cp210x: add Kamstrup RF sniffer PIDs
* 398215f783 USB: serial: option: add Quectel EM05-G modem
* c79538f32d usb: gadget: uvc: Prevent buffer overflow in setup handler
* 8b2f86f82c udf: Fix extending file within last block
* db873b770d udf: Do not bother looking for prealloc extents if i_lenExtents matches i_size
* 1a075f4a54 udf: Fix preallocation discarding at indirect extent boundary
* 1f7f7365ae udf: Discard preallocation before extending file with a hole

Change-Id: I1463ff16fd85e32614dc83f585aa6b3957024a74
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-03-23 11:09:43 +00:00
Matthieu Baerts
f9a98b8dde mptcp: avoid setting TCP_CLOSE state twice
commit 3ba14528684f528566fb7d956bfbfb958b591d86 upstream.

tcp_set_state() is called from tcp_done() already.

There is then no need to first set the state to TCP_CLOSE, then call
tcp_done().

Fixes: d582484726 ("mptcp: fix fallback for MP_JOIN subflows")
Cc: stable@vger.kernel.org
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/362
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-22 13:30:04 +01:00
Alexandra Winter
bd2e78462a net/iucv: Fix size of interrupt data
[ Upstream commit 3d87debb8ed2649608ff432699e7c961c0c6f03b ]

iucv_irq_data needs to be 4 bytes larger.
These bytes are not used by the iucv module, but written by
the z/VM hypervisor in case a CPU is deconfigured.

Reported as:
BUG dma-kmalloc-64 (Not tainted): kmalloc Redzone overwritten
-----------------------------------------------------------------------------
0x0000000000400564-0x0000000000400567 @offset=1380. First byte 0x80 instead of 0xcc
Allocated in iucv_cpu_prepare+0x44/0xd0 age=167839 cpu=2 pid=1
__kmem_cache_alloc_node+0x166/0x450
kmalloc_node_trace+0x3a/0x70
iucv_cpu_prepare+0x44/0xd0
cpuhp_invoke_callback+0x156/0x2f0
cpuhp_issue_call+0xf0/0x298
__cpuhp_setup_state_cpuslocked+0x136/0x338
__cpuhp_setup_state+0xf4/0x288
iucv_init+0xf4/0x280
do_one_initcall+0x78/0x390
do_initcalls+0x11a/0x140
kernel_init_freeable+0x25e/0x2a0
kernel_init+0x2e/0x170
__ret_from_fork+0x3c/0x58
ret_from_fork+0xa/0x40
Freed in iucv_init+0x92/0x280 age=167839 cpu=2 pid=1
__kmem_cache_free+0x308/0x358
iucv_init+0x92/0x280
do_one_initcall+0x78/0x390
do_initcalls+0x11a/0x140
kernel_init_freeable+0x25e/0x2a0
kernel_init+0x2e/0x170
__ret_from_fork+0x3c/0x58
ret_from_fork+0xa/0x40
Slab 0x0000037200010000 objects=32 used=30 fp=0x0000000000400640 flags=0x1ffff00000010200(slab|head|node=0|zone=0|
Object 0x0000000000400540 @offset=1344 fp=0x0000000000000000
Redzone  0000000000400500: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc  ................
Redzone  0000000000400510: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc  ................
Redzone  0000000000400520: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc  ................
Redzone  0000000000400530: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc  ................
Object   0000000000400540: 00 01 00 03 00 00 00 00 00 00 00 00 00 00 00 00  ................
Object   0000000000400550: f3 86 81 f2 f4 82 f8 82 f0 f0 f0 f0 f0 f0 f0 f2  ................
Object   0000000000400560: 00 00 00 00 80 00 00 00 cc cc cc cc cc cc cc cc  ................
Object   0000000000400570: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc  ................
Redzone  0000000000400580: cc cc cc cc cc cc cc cc                          ........
Padding  00000000004005d4: 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a  ZZZZZZZZZZZZZZZZ
Padding  00000000004005e4: 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a  ZZZZZZZZZZZZZZZZ
Padding  00000000004005f4: 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a              ZZZZZZZZZZZZ
CPU: 6 PID: 121030 Comm: 116-pai-crypto. Not tainted 6.3.0-20230221.rc0.git4.99b8246b2d71.300.fc37.s390x+debug #1
Hardware name: IBM 3931 A01 704 (z/VM 7.3.0)
Call Trace:
[<000000032aa034ec>] dump_stack_lvl+0xac/0x100
[<0000000329f5a6cc>] check_bytes_and_report+0x104/0x140
[<0000000329f5aa78>] check_object+0x370/0x3c0
[<0000000329f5ede6>] free_debug_processing+0x15e/0x348
[<0000000329f5f06a>] free_to_partial_list+0x9a/0x2f0
[<0000000329f5f4a4>] __slab_free+0x1e4/0x3a8
[<0000000329f61768>] __kmem_cache_free+0x308/0x358
[<000000032a91465c>] iucv_cpu_dead+0x6c/0x88
[<0000000329c2fc66>] cpuhp_invoke_callback+0x156/0x2f0
[<000000032aa062da>] _cpu_down.constprop.0+0x22a/0x5e0
[<0000000329c3243e>] cpu_device_down+0x4e/0x78
[<000000032a61dee0>] device_offline+0xc8/0x118
[<000000032a61e048>] online_store+0x60/0xe0
[<000000032a08b6b0>] kernfs_fop_write_iter+0x150/0x1e8
[<0000000329fab65c>] vfs_write+0x174/0x360
[<0000000329fab9fc>] ksys_write+0x74/0x100
[<000000032aa03a5a>] __do_syscall+0x1da/0x208
[<000000032aa177b2>] system_call+0x82/0xb0
INFO: lockdep is turned off.
FIX dma-kmalloc-64: Restoring kmalloc Redzone 0x0000000000400564-0x0000000000400567=0xcc
FIX dma-kmalloc-64: Object at 0x0000000000400540 not freed

Fixes: 2356f4cb19 ("[S390]: Rewrite of the IUCV base code, part 2")
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Link: https://lore.kernel.org/r/20230315131435.4113889-1-wintera@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:30:00 +01:00
Ido Schimmel
013fae04b8 ipv4: Fix incorrect table ID in IOCTL path
[ Upstream commit 8a2618e14f81604a9b6ad305d57e0c8da939cd65 ]

Commit f96a3d74554d ("ipv4: Fix incorrect route flushing when source
address is deleted") started to take the table ID field in the FIB info
structure into account when determining if two structures are identical
or not. This field is initialized using the 'fc_table' field in the
route configuration structure, which is not set when adding a route via
IOCTL.

The above can result in user space being able to install two identical
routes that only differ in the table ID field of their associated FIB
info.

Fix by initializing the table ID field in the route configuration
structure in the IOCTL path.

Before the fix:

 # ip route add default via 192.0.2.2
 # route add default gw 192.0.2.2
 # ip -4 r show default
 # default via 192.0.2.2 dev dummy10
 # default via 192.0.2.2 dev dummy10

After the fix:

 # ip route add default via 192.0.2.2
 # route add default gw 192.0.2.2
 SIOCADDRT: File exists
 # ip -4 r show default
 default via 192.0.2.2 dev dummy10

Audited the code paths to ensure there are no other paths that do not
properly initialize the route configuration structure when installing a
route.

Fixes: 5a56a0b3a4 ("net: Don't delete routes in different VRFs")
Fixes: f96a3d74554d ("ipv4: Fix incorrect route flushing when source address is deleted")
Reported-by: gaoxingwang <gaoxingwang1@huawei.com>
Link: https://lore.kernel.org/netdev/20230314144159.2354729-1-gaoxingwang1@huawei.com/
Tested-by: gaoxingwang <gaoxingwang1@huawei.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20230315124009.4015212-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:30:00 +01:00
Wenjia Zhang
9708efad9b net/smc: fix deadlock triggered by cancel_delayed_work_syn()
[ Upstream commit 13085e1b5cab8ad802904d72e6a6dae85ae0cd20 ]

The following LOCKDEP was detected:
		Workqueue: events smc_lgr_free_work [smc]
		WARNING: possible circular locking dependency detected
		6.1.0-20221027.rc2.git8.56bc5b569087.300.fc36.s390x+debug #1 Not tainted
		------------------------------------------------------
		kworker/3:0/176251 is trying to acquire lock:
		00000000f1467148 ((wq_completion)smc_tx_wq-00000000#2){+.+.}-{0:0},
			at: __flush_workqueue+0x7a/0x4f0
		but task is already holding lock:
		0000037fffe97dc8 ((work_completion)(&(&lgr->free_work)->work)){+.+.}-{0:0},
			at: process_one_work+0x232/0x730
		which lock already depends on the new lock.
		the existing dependency chain (in reverse order) is:
		-> #4 ((work_completion)(&(&lgr->free_work)->work)){+.+.}-{0:0}:
		       __lock_acquire+0x58e/0xbd8
		       lock_acquire.part.0+0xe2/0x248
		       lock_acquire+0xac/0x1c8
		       __flush_work+0x76/0xf0
		       __cancel_work_timer+0x170/0x220
		       __smc_lgr_terminate.part.0+0x34/0x1c0 [smc]
		       smc_connect_rdma+0x15e/0x418 [smc]
		       __smc_connect+0x234/0x480 [smc]
		       smc_connect+0x1d6/0x230 [smc]
		       __sys_connect+0x90/0xc0
		       __do_sys_socketcall+0x186/0x370
		       __do_syscall+0x1da/0x208
		       system_call+0x82/0xb0
		-> #3 (smc_client_lgr_pending){+.+.}-{3:3}:
		       __lock_acquire+0x58e/0xbd8
		       lock_acquire.part.0+0xe2/0x248
		       lock_acquire+0xac/0x1c8
		       __mutex_lock+0x96/0x8e8
		       mutex_lock_nested+0x32/0x40
		       smc_connect_rdma+0xa4/0x418 [smc]
		       __smc_connect+0x234/0x480 [smc]
		       smc_connect+0x1d6/0x230 [smc]
		       __sys_connect+0x90/0xc0
		       __do_sys_socketcall+0x186/0x370
		       __do_syscall+0x1da/0x208
		       system_call+0x82/0xb0
		-> #2 (sk_lock-AF_SMC){+.+.}-{0:0}:
		       __lock_acquire+0x58e/0xbd8
		       lock_acquire.part.0+0xe2/0x248
		       lock_acquire+0xac/0x1c8
		       lock_sock_nested+0x46/0xa8
		       smc_tx_work+0x34/0x50 [smc]
		       process_one_work+0x30c/0x730
		       worker_thread+0x62/0x420
		       kthread+0x138/0x150
		       __ret_from_fork+0x3c/0x58
		       ret_from_fork+0xa/0x40
		-> #1 ((work_completion)(&(&smc->conn.tx_work)->work)){+.+.}-{0:0}:
		       __lock_acquire+0x58e/0xbd8
		       lock_acquire.part.0+0xe2/0x248
		       lock_acquire+0xac/0x1c8
		       process_one_work+0x2bc/0x730
		       worker_thread+0x62/0x420
		       kthread+0x138/0x150
		       __ret_from_fork+0x3c/0x58
		       ret_from_fork+0xa/0x40
		-> #0 ((wq_completion)smc_tx_wq-00000000#2){+.+.}-{0:0}:
		       check_prev_add+0xd8/0xe88
		       validate_chain+0x70c/0xb20
		       __lock_acquire+0x58e/0xbd8
		       lock_acquire.part.0+0xe2/0x248
		       lock_acquire+0xac/0x1c8
		       __flush_workqueue+0xaa/0x4f0
		       drain_workqueue+0xaa/0x158
		       destroy_workqueue+0x44/0x2d8
		       smc_lgr_free+0x9e/0xf8 [smc]
		       process_one_work+0x30c/0x730
		       worker_thread+0x62/0x420
		       kthread+0x138/0x150
		       __ret_from_fork+0x3c/0x58
		       ret_from_fork+0xa/0x40
		other info that might help us debug this:
		Chain exists of:
		  (wq_completion)smc_tx_wq-00000000#2
	  	  --> smc_client_lgr_pending
		  --> (work_completion)(&(&lgr->free_work)->work)
		 Possible unsafe locking scenario:
		       CPU0                    CPU1
		       ----                    ----
		  lock((work_completion)(&(&lgr->free_work)->work));
		                   lock(smc_client_lgr_pending);
		                   lock((work_completion)
					(&(&lgr->free_work)->work));
		  lock((wq_completion)smc_tx_wq-00000000#2);
		 *** DEADLOCK ***
		2 locks held by kworker/3:0/176251:
		 #0: 0000000080183548
			((wq_completion)events){+.+.}-{0:0},
				at: process_one_work+0x232/0x730
		 #1: 0000037fffe97dc8
			((work_completion)
			 (&(&lgr->free_work)->work)){+.+.}-{0:0},
				at: process_one_work+0x232/0x730
		stack backtrace:
		CPU: 3 PID: 176251 Comm: kworker/3:0 Not tainted
		Hardware name: IBM 8561 T01 701 (z/VM 7.2.0)
		Call Trace:
		 [<000000002983c3e4>] dump_stack_lvl+0xac/0x100
		 [<0000000028b477ae>] check_noncircular+0x13e/0x160
		 [<0000000028b48808>] check_prev_add+0xd8/0xe88
		 [<0000000028b49cc4>] validate_chain+0x70c/0xb20
		 [<0000000028b4bd26>] __lock_acquire+0x58e/0xbd8
		 [<0000000028b4cf6a>] lock_acquire.part.0+0xe2/0x248
		 [<0000000028b4d17c>] lock_acquire+0xac/0x1c8
		 [<0000000028addaaa>] __flush_workqueue+0xaa/0x4f0
		 [<0000000028addf9a>] drain_workqueue+0xaa/0x158
		 [<0000000028ae303c>] destroy_workqueue+0x44/0x2d8
		 [<000003ff8029af26>] smc_lgr_free+0x9e/0xf8 [smc]
		 [<0000000028adf3d4>] process_one_work+0x30c/0x730
		 [<0000000028adf85a>] worker_thread+0x62/0x420
		 [<0000000028aeac50>] kthread+0x138/0x150
		 [<0000000028a63914>] __ret_from_fork+0x3c/0x58
		 [<00000000298503da>] ret_from_fork+0xa/0x40
		INFO: lockdep is turned off.
===================================================================

This deadlock occurs because cancel_delayed_work_sync() waits for
the work(&lgr->free_work) to finish, while the &lgr->free_work
waits for the work(lgr->tx_wq), which needs the sk_lock-AF_SMC, that
is already used under the mutex_lock.

The solution is to use cancel_delayed_work() instead, which kills
off a pending work.

Fixes: a52bcc919b ("net/smc: improve termination processing")
Signed-off-by: Wenjia Zhang <wenjia@linux.ibm.com>
Reviewed-by: Jan Karcher <jaka@linux.ibm.com>
Reviewed-by: Karsten Graul <kgraul@linux.ibm.com>
Reviewed-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:29:58 +01:00
Eric Dumazet
be59b87ee4 net: tunnels: annotate lockless accesses to dev->needed_headroom
[ Upstream commit 4b397c06cb987935b1b097336532aa6b4210e091 ]

IP tunnels can apparently update dev->needed_headroom
in their xmit path.

This patch takes care of three tunnels xmit, and also the
core LL_RESERVED_SPACE() and LL_RESERVED_SPACE_EXTRA()
helpers.

More changes might be needed for completeness.

BUG: KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit

read to 0xffff88815b9da0ec of 2 bytes by task 888 on cpu 1:
ip_tunnel_xmit+0x1270/0x1730 net/ipv4/ip_tunnel.c:803
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x516/0x570 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:4881 [inline]
netdev_start_xmit include/linux/netdevice.h:4895 [inline]
xmit_one net/core/dev.c:3580 [inline]
dev_hard_start_xmit+0x127/0x400 net/core/dev.c:3596
__dev_queue_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev_queue_xmit include/linux/netdevice.h:3051 [inline]
neigh_direct_output+0x17/0x20 net/core/neighbour.c:1623
neigh_output include/net/neighbour.h:546 [inline]
ip_finish_output2+0x740/0x840 net/ipv4/ip_output.c:228
ip_finish_output+0xf4/0x240 net/ipv4/ip_output.c:316
NF_HOOK_COND include/linux/netfilter.h:291 [inline]
ip_output+0xe5/0x1b0 net/ipv4/ip_output.c:430
dst_output include/net/dst.h:444 [inline]
ip_local_out+0x64/0x80 net/ipv4/ip_output.c:126
iptunnel_xmit+0x34a/0x4b0 net/ipv4/ip_tunnel_core.c:82
ip_tunnel_xmit+0x1451/0x1730 net/ipv4/ip_tunnel.c:813
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x516/0x570 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:4881 [inline]
netdev_start_xmit include/linux/netdevice.h:4895 [inline]
xmit_one net/core/dev.c:3580 [inline]
dev_hard_start_xmit+0x127/0x400 net/core/dev.c:3596
__dev_queue_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev_queue_xmit include/linux/netdevice.h:3051 [inline]
neigh_direct_output+0x17/0x20 net/core/neighbour.c:1623
neigh_output include/net/neighbour.h:546 [inline]
ip_finish_output2+0x740/0x840 net/ipv4/ip_output.c:228
ip_finish_output+0xf4/0x240 net/ipv4/ip_output.c:316
NF_HOOK_COND include/linux/netfilter.h:291 [inline]
ip_output+0xe5/0x1b0 net/ipv4/ip_output.c:430
dst_output include/net/dst.h:444 [inline]
ip_local_out+0x64/0x80 net/ipv4/ip_output.c:126
iptunnel_xmit+0x34a/0x4b0 net/ipv4/ip_tunnel_core.c:82
ip_tunnel_xmit+0x1451/0x1730 net/ipv4/ip_tunnel.c:813
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x516/0x570 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:4881 [inline]
netdev_start_xmit include/linux/netdevice.h:4895 [inline]
xmit_one net/core/dev.c:3580 [inline]
dev_hard_start_xmit+0x127/0x400 net/core/dev.c:3596
__dev_queue_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev_queue_xmit include/linux/netdevice.h:3051 [inline]
neigh_direct_output+0x17/0x20 net/core/neighbour.c:1623
neigh_output include/net/neighbour.h:546 [inline]
ip_finish_output2+0x740/0x840 net/ipv4/ip_output.c:228
ip_finish_output+0xf4/0x240 net/ipv4/ip_output.c:316
NF_HOOK_COND include/linux/netfilter.h:291 [inline]
ip_output+0xe5/0x1b0 net/ipv4/ip_output.c:430
dst_output include/net/dst.h:444 [inline]
ip_local_out+0x64/0x80 net/ipv4/ip_output.c:126
iptunnel_xmit+0x34a/0x4b0 net/ipv4/ip_tunnel_core.c:82
ip_tunnel_xmit+0x1451/0x1730 net/ipv4/ip_tunnel.c:813
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x516/0x570 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:4881 [inline]
netdev_start_xmit include/linux/netdevice.h:4895 [inline]
xmit_one net/core/dev.c:3580 [inline]
dev_hard_start_xmit+0x127/0x400 net/core/dev.c:3596
__dev_queue_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev_queue_xmit include/linux/netdevice.h:3051 [inline]
neigh_direct_output+0x17/0x20 net/core/neighbour.c:1623
neigh_output include/net/neighbour.h:546 [inline]
ip_finish_output2+0x740/0x840 net/ipv4/ip_output.c:228
ip_finish_output+0xf4/0x240 net/ipv4/ip_output.c:316
NF_HOOK_COND include/linux/netfilter.h:291 [inline]
ip_output+0xe5/0x1b0 net/ipv4/ip_output.c:430
dst_output include/net/dst.h:444 [inline]
ip_local_out+0x64/0x80 net/ipv4/ip_output.c:126
iptunnel_xmit+0x34a/0x4b0 net/ipv4/ip_tunnel_core.c:82
ip_tunnel_xmit+0x1451/0x1730 net/ipv4/ip_tunnel.c:813
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x516/0x570 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:4881 [inline]
netdev_start_xmit include/linux/netdevice.h:4895 [inline]
xmit_one net/core/dev.c:3580 [inline]
dev_hard_start_xmit+0x127/0x400 net/core/dev.c:3596
__dev_queue_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev_queue_xmit include/linux/netdevice.h:3051 [inline]
neigh_direct_output+0x17/0x20 net/core/neighbour.c:1623
neigh_output include/net/neighbour.h:546 [inline]
ip_finish_output2+0x740/0x840 net/ipv4/ip_output.c:228
ip_finish_output+0xf4/0x240 net/ipv4/ip_output.c:316
NF_HOOK_COND include/linux/netfilter.h:291 [inline]
ip_output+0xe5/0x1b0 net/ipv4/ip_output.c:430
dst_output include/net/dst.h:444 [inline]
ip_local_out+0x64/0x80 net/ipv4/ip_output.c:126
iptunnel_xmit+0x34a/0x4b0 net/ipv4/ip_tunnel_core.c:82
ip_tunnel_xmit+0x1451/0x1730 net/ipv4/ip_tunnel.c:813
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x516/0x570 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:4881 [inline]
netdev_start_xmit include/linux/netdevice.h:4895 [inline]
xmit_one net/core/dev.c:3580 [inline]
dev_hard_start_xmit+0x127/0x400 net/core/dev.c:3596
__dev_queue_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev_queue_xmit include/linux/netdevice.h:3051 [inline]
neigh_direct_output+0x17/0x20 net/core/neighbour.c:1623
neigh_output include/net/neighbour.h:546 [inline]
ip_finish_output2+0x740/0x840 net/ipv4/ip_output.c:228
ip_finish_output+0xf4/0x240 net/ipv4/ip_output.c:316
NF_HOOK_COND include/linux/netfilter.h:291 [inline]
ip_output+0xe5/0x1b0 net/ipv4/ip_output.c:430
dst_output include/net/dst.h:444 [inline]
ip_local_out+0x64/0x80 net/ipv4/ip_output.c:126
iptunnel_xmit+0x34a/0x4b0 net/ipv4/ip_tunnel_core.c:82
ip_tunnel_xmit+0x1451/0x1730 net/ipv4/ip_tunnel.c:813
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x516/0x570 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:4881 [inline]
netdev_start_xmit include/linux/netdevice.h:4895 [inline]
xmit_one net/core/dev.c:3580 [inline]
dev_hard_start_xmit+0x127/0x400 net/core/dev.c:3596
__dev_queue_xmit+0x1007/0x1eb0 net/core/dev.c:4246

write to 0xffff88815b9da0ec of 2 bytes by task 2379 on cpu 0:
ip_tunnel_xmit+0x1294/0x1730 net/ipv4/ip_tunnel.c:804
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x516/0x570 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:4881 [inline]
netdev_start_xmit include/linux/netdevice.h:4895 [inline]
xmit_one net/core/dev.c:3580 [inline]
dev_hard_start_xmit+0x127/0x400 net/core/dev.c:3596
__dev_queue_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev_queue_xmit include/linux/netdevice.h:3051 [inline]
neigh_direct_output+0x17/0x20 net/core/neighbour.c:1623
neigh_output include/net/neighbour.h:546 [inline]
ip6_finish_output2+0x9bc/0xc50 net/ipv6/ip6_output.c:134
__ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
ip6_finish_output+0x39a/0x4e0 net/ipv6/ip6_output.c:206
NF_HOOK_COND include/linux/netfilter.h:291 [inline]
ip6_output+0xeb/0x220 net/ipv6/ip6_output.c:227
dst_output include/net/dst.h:444 [inline]
NF_HOOK include/linux/netfilter.h:302 [inline]
mld_sendpack+0x438/0x6a0 net/ipv6/mcast.c:1820
mld_send_cr net/ipv6/mcast.c:2121 [inline]
mld_ifc_work+0x519/0x7b0 net/ipv6/mcast.c:2653
process_one_work+0x3e6/0x750 kernel/workqueue.c:2390
worker_thread+0x5f2/0xa10 kernel/workqueue.c:2537
kthread+0x1ac/0x1e0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

value changed: 0x0dd4 -> 0x0e14

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2379 Comm: kworker/0:0 Not tainted 6.3.0-rc1-syzkaller-00002-g8ca09d5fa354-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: mld mld_ifc_work

Fixes: 8eb30be035 ("ipv6: Create ip6_tnl_xmit")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230310191109.2384387-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:29:58 +01:00
D. Wythe
31817c5307 net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()
[ Upstream commit 22a825c541d775c1dbe7b2402786025acad6727b ]

When performing a stress test on SMC-R by rmmod mlx5_ib driver
during the wrk/nginx test, we found that there is a probability
of triggering a panic while terminating all link groups.

This issue dues to the race between smc_smcr_terminate_all()
and smc_buf_create().

			smc_smcr_terminate_all

smc_buf_create
/* init */
conn->sndbuf_desc = NULL;
...

			__smc_lgr_terminate
				smc_conn_kill
					smc_close_abort
						smc_cdc_get_slot_and_msg_send

			__softirqentry_text_start
				smc_wr_tx_process_cqe
					smc_cdc_tx_handler
						READ(conn->sndbuf_desc->len);
						/* panic dues to NULL sndbuf_desc */

conn->sndbuf_desc = xxx;

This patch tries to fix the issue by always to check the sndbuf_desc
before send any cdc msg, to make sure that no null pointer is
seen during cqe processing.

Fixes: 0b29ec6436 ("net/smc: immediate termination for SMCR link groups")
Signed-off-by: D. Wythe <alibuda@linux.alibaba.com>
Reviewed-by: Tony Lu <tonylu@linux.alibaba.com>
Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
Link: https://lore.kernel.org/r/1678263432-17329-1-git-send-email-alibuda@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:29:58 +01:00
Breno Leitao
77ad58bca0 tcp: tcp_make_synack() can be called from process context
[ Upstream commit bced3f7db95ff2e6ca29dc4d1c9751ab5e736a09 ]

tcp_rtx_synack() now could be called in process context as explained in
0a375c822497 ("tcp: tcp_rtx_synack() can be called from process
context").

tcp_rtx_synack() might call tcp_make_synack(), which will touch per-CPU
variables with preemption enabled. This causes the following BUG:

    BUG: using __this_cpu_add() in preemptible [00000000] code: ThriftIO1/5464
    caller is tcp_make_synack+0x841/0xac0
    Call Trace:
     <TASK>
     dump_stack_lvl+0x10d/0x1a0
     check_preemption_disabled+0x104/0x110
     tcp_make_synack+0x841/0xac0
     tcp_v6_send_synack+0x5c/0x450
     tcp_rtx_synack+0xeb/0x1f0
     inet_rtx_syn_ack+0x34/0x60
     tcp_check_req+0x3af/0x9e0
     tcp_rcv_state_process+0x59b/0x2030
     tcp_v6_do_rcv+0x5f5/0x700
     release_sock+0x3a/0xf0
     tcp_sendmsg+0x33/0x40
     ____sys_sendmsg+0x2f2/0x490
     __sys_sendmsg+0x184/0x230
     do_syscall_64+0x3d/0x90

Avoid calling __TCP_INC_STATS() with will touch per-cpu variables. Use
TCP_INC_STATS() which is safe to be called from context switch.

Fixes: 8336886f78 ("tcp: TCP Fast Open Server - support TFO listeners")
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230308190745.780221-1-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:29:57 +01:00
Jeremy Sowden
0fac20b180 netfilter: nft_redir: correct value of inet type .maxattrs
[ Upstream commit 493924519b1fe3faab13ee621a43b0d0939abab1 ]

`nft_redir_inet_type.maxattrs` was being set, presumably because of a
cut-and-paste error, to `NFTA_MASQ_MAX`, instead of `NFTA_REDIR_MAX`.

Fixes: 63ce3940f3 ("netfilter: nft_redir: add inet support")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:29:57 +01:00
Jeremy Sowden
c144dff64e netfilter: nft_redir: correct length for loading protocol registers
[ Upstream commit 1f617b6b4c7a3d5ea7a56abb83a4c27733b60c2f ]

The values in the protocol registers are two bytes wide.  However, when
parsing the register loads, the code currently uses the larger 16-byte
size of a `union nf_inet_addr`.  Change it to use the (correct) size of
a `union nf_conntrack_man_proto` instead.

Fixes: d07db9884a ("netfilter: nf_tables: introduce nft_validate_register_load()")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:29:56 +01:00
Jeremy Sowden
3a0f8ea35d netfilter: nft_masq: correct length for loading protocol registers
[ Upstream commit ec2c5917eb858428b2083d1c74f445aabbe8316b ]

The values in the protocol registers are two bytes wide.  However, when
parsing the register loads, the code currently uses the larger 16-byte
size of a `union nf_inet_addr`.  Change it to use the (correct) size of
a `union nf_conntrack_man_proto` instead.

Fixes: 8a6bf5da1a ("netfilter: nft_masq: support port range")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:29:56 +01:00
Jeremy Sowden
eff050d83e netfilter: nft_nat: correct length for loading protocol registers
[ Upstream commit 068d82e75d537b444303b8c449a11e51ea659565 ]

The values in the protocol registers are two bytes wide.  However, when
parsing the register loads, the code currently uses the larger 16-byte
size of a `union nf_inet_addr`.  Change it to use the (correct) size of
a `union nf_conntrack_man_proto` instead.

Fixes: d07db9884a ("netfilter: nf_tables: introduce nft_validate_register_load()")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:29:56 +01:00
Herbert Xu
0da0b81697 xfrm: Allow transport-mode states with AF_UNSPEC selector
[ Upstream commit c276a706ea1f51cf9723ed8484feceaf961b8f89 ]

xfrm state selectors are matched against the inner-most flow
which can be of any address family.  Therefore middle states
in nested configurations need to carry a wildcard selector in
order to work at all.

However, this is currently forbidden for transport-mode states.

Fix this by removing the unnecessary check.

Fixes: 13996378e6 ("[IPSEC]: Rename mode to outer_mode and add inner_mode")
Reported-by: David George <David.George@sophos.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:29:55 +01:00
Greg Kroah-Hartman
0847230e9b This is the 5.10.173 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmQMoPMACgkQONu9yGCS
 aT4a1Q//WHnQOEgEykqbHMree6UQD5F6crB0kUcJTSDB5lblviYGxpOadw2j+670
 AGsFg00cm8Sb8p78v3SA+X2UzScGnY5Cwhe+B/JucUSr+4rDlZ9FjOGXbKdlYFc2
 sOTp9j/9KrETf0K/VVuCa48rKBPUFvrT7pZUAblZ0vVmk6cSzPW/1iBa4W6Ho6Ec
 LxqNzCDtyTWX0JCzdv5DvjW7WALvPiEiw8CX8+psZTD8RHdAjtnW2DKp8ZnznzJS
 YVBf2ulsD1g3zKEqDm5nMcUyN3fSEWci97bmbEzIeMTULfsj+aQF5a7JoXIkj7Yb
 QIvZ1fG6RSviVplt5SoT5ucDN2cGqLt7+4b3v6DKQX1dMTDrAPdU+T1VU0LRxB6h
 5M3ZZ925ktJu2YTmKi4QvgP01ZVJv0dNWytbmAnIVvJRGY3gHQt5tx0W2lnQdHE9
 mJeW2MXcLKeho7d5p3wRl6yEWAJuAoioZCd95NPyNnVZMMhYRu6iTIIzY8EdNegQ
 5ve9Rsda9uobvWRCWefyS0pHvuJ2HJrJONnU92MHKSojEC9oAjURvRGWpXYcQFM/
 EiywE1oBRA6NrGI7BomAH6khVoTi01yBsQ0QEt30mTOuyxa6j/oR9iEsNv7bmjZC
 SoApcWDPNy6RpHX7SDtch0Qj1l7YfYDNNj66Y94o5E70eHebU9Q=
 =vHOd
 -----END PGP SIGNATURE-----

Merge 5.10.173 into android12-5.10-lts

Changes in 5.10.173
	HID: asus: Remove check for same LED brightness on set
	HID: asus: use spinlock to protect concurrent accesses
	HID: asus: use spinlock to safely schedule workers
	powerpc/mm: Rearrange if-else block to avoid clang warning
	ARM: OMAP2+: Fix memory leak in realtime_counter_init()
	arm64: dts: qcom: qcs404: use symbol names for PCIe resets
	ARM: zynq: Fix refcount leak in zynq_early_slcr_init
	arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description
	arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name
	arm64: dts: qcom: sc7180: correct SPMI bus address cells
	arm64: dts: meson-gx: Fix Ethernet MAC address unit name
	arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
	arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
	arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names
	arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes
	arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size
	arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
	arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
	arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
	arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
	arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
	ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
	ARM: s3c: fix s3c64xx_set_timer_source prototype
	arm64: dts: ti: k3-j7200: Fix wakeup pinmux range
	ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
	ARM: imx: Call ida_simple_remove() for ida_simple_get
	arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
	arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
	arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
	arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property
	arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
	arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
	arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name
	arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
	arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name
	arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
	ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
	ARM: dts: imx7s: correct iomuxc gpr mux controller cells
	arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
	blk-mq: avoid sleep in blk_mq_alloc_request_hctx
	blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
	blk-mq: correct stale comment of .get_budget
	s390/dasd: Prepare for additional path event handling
	s390/dasd: Fix potential memleak in dasd_eckd_init()
	sched/deadline,rt: Remove unused parameter from pick_next_[rt|dl]_entity()
	sched/rt: pick_next_rt_entity(): check list_entry
	x86/perf/zhaoxin: Add stepping check for ZXC
	block: bio-integrity: Copy flags when bio_integrity_payload is cloned
	wifi: rsi: Fix memory leak in rsi_coex_attach()
	wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()
	wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()
	wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()
	wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
	wifi: libertas: fix memory leak in lbs_init_adapter()
	wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()
	rtlwifi: fix -Wpointer-sign warning
	wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
	libbpf: Fix btf__align_of() by taking into account field offsets
	wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()
	wifi: ipw2200: fix memory leak in ipw_wdev_init()
	wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
	wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
	wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
	wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
	wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
	wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
	wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()
	wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()
	crypto: x86/ghash - fix unaligned access in ghash_setkey()
	ACPICA: Drop port I/O validation for some regions
	genirq: Fix the return type of kstat_cpu_irqs_sum()
	rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose
	rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
	rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()
	lib/mpi: Fix buffer overrun when SG is too long
	crypto: ccp: Use the stack for small SEV command buffers
	crypto: ccp: Use the stack and common buffer for status commands
	crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak
	crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2
	ACPICA: nsrepair: handle cases without a return value correctly
	thermal/drivers/tsens: Drop msm8976-specific defines
	thermal/drivers/qcom/tsens_v1: Enable sensor 3 on MSM8976
	thermal/drivers/tsens: Add compat string for the qcom,msm8960
	thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
	wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU
	wifi: orinoco: check return value of hermes_write_wordrec()
	wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
	ath9k: hif_usb: simplify if-if to if-else
	ath9k: htc: clean up statistics macros
	wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails
	wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
	wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
	wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()
	ACPI: battery: Fix missing NUL-termination with large strings
	crypto: ccp - Failure on re-initialization due to duplicate sysfs filename
	crypto: essiv - Handle EBUSY correctly
	crypto: seqiv - Handle EBUSY correctly
	powercap: fix possible name leak in powercap_register_zone()
	x86/cpu: Init AP exception handling from cpu_init_secondary()
	x86/microcode: Replace deprecated CPU-hotplug functions.
	x86: Mark stop_this_cpu() __noreturn
	x86/microcode: Rip out the OLD_INTERFACE
	x86/microcode: Default-disable late loading
	x86/microcode: Print previous version of microcode after reload
	x86/microcode: Add a parameter to microcode_check() to store CPU capabilities
	x86/microcode: Check CPU capabilities after late microcode update correctly
	x86/microcode: Adjust late loading result reporting message
	net: ethernet: ti: am65-cpsw: fix tx csum offload for multi mac mode
	net: ethernet: ti: am65-cpsw: handle deferred probe with dev_err_probe()
	net: ethernet: ti: add missing of_node_put before return
	crypto: xts - Handle EBUSY correctly
	leds: led-class: Add missing put_device() to led_put()
	crypto: ccp - Refactor out sev_fw_alloc()
	crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware
	bpftool: profile online CPUs instead of possible
	net/mlx5: Enhance debug print in page allocation failure
	irqchip: Fix refcount leak in platform_irqchip_probe
	irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
	irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe
	irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe
	s390/vmem: fix empty page tables cleanup under KASAN
	net: add sock_init_data_uid()
	tun: tun_chr_open(): correctly initialize socket uid
	tap: tap_open(): correctly initialize socket uid
	OPP: fix error checking in opp_migrate_dentry()
	Bluetooth: L2CAP: Fix potential user-after-free
	libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()
	rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
	crypto: rsa-pkcs1pad - Use akcipher_request_complete
	m68k: /proc/hardware should depend on PROC_FS
	RISC-V: time: initialize hrtimer based broadcast clock event device
	wifi: iwl3945: Add missing check for create_singlethread_workqueue
	wifi: iwl4965: Add missing check for create_singlethread_workqueue()
	wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()
	selftests/bpf: Fix out-of-srctree build
	crypto: crypto4xx - Call dma_unmap_page when done
	wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
	thermal/drivers/hisi: Drop second sensor hi3660
	can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
	bpf: Fix global subprog context argument resolution logic
	irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts
	irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
	selftests/net: Interpret UDP_GRO cmsg data as an int value
	l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()
	net: bcmgenet: fix MoCA LED control
	selftest: fib_tests: Always cleanup before exit
	sefltests: netdevsim: wait for devlink instance after netns removal
	drm: Fix potential null-ptr-deref due to drmm_mode_config_init()
	drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
	drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
	drm/bridge: megachips: Fix error handling in i2c_register_driver()
	drm/vkms: Fix null-ptr-deref in vkms_release()
	drm/vc4: dpi: Add option for inverting pixel clock and output enable
	drm/vc4: dpi: Fix format mapping for RGB565
	drm: tidss: Fix pixel format definition
	gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()
	drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
	pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins
	pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
	pinctrl: rockchip: add support for rk3568
	pinctrl: rockchip: do coding style for mux route struct
	pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
	drm/vc4: hvs: Set AXI panic modes
	drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5
	drm/vc4: hdmi: Correct interlaced timings again
	ASoC: fsl_sai: initialize is_dsp_mode flag
	drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
	ALSA: hda/ca0132: minor fix for allocation size
	drm/msm/dpu: Disallow unallocated resources to be returned
	drm/bridge: lt9611: fix sleep mode setup
	drm/bridge: lt9611: fix HPD reenablement
	drm/bridge: lt9611: fix polarity programming
	drm/bridge: lt9611: fix programming of video modes
	drm/bridge: lt9611: fix clock calculation
	drm/bridge: lt9611: pass a pointer to the of node
	drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
	drm/msm: use strscpy instead of strncpy
	drm/msm/dpu: Add check for cstate
	drm/msm/dpu: Add check for pstates
	drm/msm/mdp5: Add check for kzalloc
	pinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()
	pinctrl: mediatek: Initialize variable pullen and pullup to zero
	pinctrl: mediatek: Initialize variable *buf to zero
	gpu: host1x: Don't skip assigning syncpoints to channels
	drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd
	drm/mediatek: Use NULL instead of 0 for NULL pointer
	drm/mediatek: Drop unbalanced obj unref
	drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc
	drm/mediatek: Clean dangling pointer on bind error path
	ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
	gpio: vf610: connect GPIO label to dev name
	spi: dw_bt1: fix MUX_MMIO dependencies
	ASoC: mchp-spdifrx: fix controls which rely on rsr register
	ASoC: atmel: fix spelling mistakes
	ASoC: mchp-spdifrx: fix return value in case completion times out
	ASoC: mchp-spdifrx: fix controls that works with completion mechanism
	ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()
	ASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()
	ASoC: dt-bindings: meson: fix gx-card codec node regex
	hwmon: (ltc2945) Handle error case in ltc2945_value_store
	drm/amdgpu: fix enum odm_combine_mode mismatch
	scsi: mpt3sas: Fix a memory leak
	scsi: aic94xx: Add missing check for dma_map_single()
	spi: bcm63xx-hsspi: fix pm_runtime
	spi: bcm63xx-hsspi: Fix multi-bit mode setting
	hwmon: (mlxreg-fan) Return zero speed for broken fan
	ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init
	dm: remove flush_scheduled_work() during local_exit()
	NFS: Fix up handling of outstanding layoutcommit in nfs_update_inode()
	NFSv4: keep state manager thread active if swap is enabled
	nfs4trace: fix state manager flag printing
	NFS: fix disabling of swap
	spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()
	ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
	HID: bigben: use spinlock to protect concurrent accesses
	HID: bigben_worker() remove unneeded check on report_field
	HID: bigben: use spinlock to safely schedule workers
	hid: bigben_probe(): validate report count
	nfsd: fix race to check ls_layouts
	cifs: Fix lost destroy smbd connection when MR allocate failed
	cifs: Fix warning and UAF when destroy the MR list
	gfs2: jdata writepage fix
	perf llvm: Fix inadvertent file creation
	leds: led-core: Fix refcount leak in of_led_get()
	perf tools: Fix auto-complete on aarch64
	sparc: allow PM configs for sparc32 COMPILE_TEST
	selftests/ftrace: Fix bash specific "==" operator
	printf: fix errname.c list
	objtool: add UACCESS exceptions for __tsan_volatile_read/write
	mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()
	clk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents
	clk: qcom: gcc-qcs404: fix names of the DSI clocks used as parents
	RISC-V: fix funct4 definition for c.jalr in parse_asm.h
	mtd: rawnand: sunxi: Fix the size of the last OOB region
	Input: iqs269a - drop unused device node references
	Input: iqs269a - increase interrupt handler return delay
	Input: iqs269a - configure device with a single block write
	linux/kconfig.h: replace IF_ENABLED() with PTR_IF() in <linux/kernel.h>
	clk: renesas: cpg-mssr: Fix use after free if cpg_mssr_common_init() failed
	clk: renesas: cpg-mssr: Remove superfluous check in resume code
	clk: imx: avoid memory leak
	Input: ads7846 - don't report pressure for ads7845
	Input: ads7846 - convert to full duplex
	Input: ads7846 - convert to one message
	Input: ads7846 - always set last command to PWRDOWN
	Input: ads7846 - don't check penirq immediately for 7845
	clk: qcom: gpucc-sc7180: fix clk_dis_wait being programmed for CX GDSC
	clk: qcom: gpucc-sdm845: fix clk_dis_wait being programmed for CX GDSC
	powerpc/powernv/ioda: Skip unallocated resources when mapping to PE
	clk: Honor CLK_OPS_PARENT_ENABLE in clk_core_is_enabled()
	powerpc/perf/hv-24x7: add missing RTAS retry status handling
	powerpc/pseries/lpar: add missing RTAS retry status handling
	powerpc/pseries/lparcfg: add missing RTAS retry status handling
	powerpc/rtas: make all exports GPL
	powerpc/rtas: ensure 4KB alignment for rtas_data_buf
	powerpc/eeh: Small refactor of eeh_handle_normal_event()
	powerpc/eeh: Set channel state after notifying the drivers
	MIPS: SMP-CPS: fix build error when HOTPLUG_CPU not set
	MIPS: vpe-mt: drop physical_memsize
	vdpa/mlx5: Don't clear mr struct on destroy MR
	alpha/boot/tools/objstrip: fix the check for ELF header
	Input: iqs269a - do not poll during suspend or resume
	Input: iqs269a - do not poll during ATI
	remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
	media: ti: cal: fix possible memory leak in cal_ctx_create()
	media: platform: ti: Add missing check for devm_regulator_get
	powerpc: Remove linker flag from KBUILD_AFLAGS
	builddeb: clean generated package content
	media: max9286: Fix memleak in max9286_v4l2_register()
	media: ov2740: Fix memleak in ov2740_init_controls()
	media: ov5675: Fix memleak in ov5675_init_controls()
	media: i2c: ov772x: Fix memleak in ov772x_probe()
	media: i2c: imx219: remove redundant writes
	media: i2c: imx219: Split common registers from mode tables
	media: i2c: imx219: Fix binning for RAW8 capture
	media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
	media: i2c: ov7670: 0 instead of -EINVAL was returned
	media: usb: siano: Fix use after free bugs caused by do_submit_urb
	media: saa7134: Use video_unregister_device for radio_dev
	rpmsg: glink: Avoid infinite loop on intent for missing channel
	udf: Define EFSCORRUPTED error code
	ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy
	blk-iocost: fix divide by 0 error in calc_lcoefs()
	wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()
	wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()
	rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
	rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
	rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug
	wifi: ath11k: debugfs: fix to work with multiple PCI devices
	thermal: intel: Fix unsigned comparison with less than zero
	timers: Prevent union confusion from unexpected restart_syscall()
	x86/bugs: Reset speculation control settings on init
	wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds
	wifi: mt7601u: fix an integer underflow
	inet: fix fast path in __inet_hash_connect()
	ice: add missing checks for PF vsi type
	ACPI: Don't build ACPICA with '-Os'
	clocksource: Suspend the watchdog temporarily when high read latency detected
	crypto: hisilicon: Wipe entire pool on error
	net: bcmgenet: Add a check for oversized packets
	m68k: Check syscall_trace_enter() return code
	wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
	ACPI: video: Fix Lenovo Ideapad Z570 DMI match
	net/mlx5: fw_tracer: Fix debug print
	coda: Avoid partial allocation of sig_inputArgs
	uaccess: Add minimum bounds check on kernel buffer size
	PM: EM: fix memory leak with using debugfs_lookup()
	Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CE
	drm/amd/display: Fix potential null-deref in dm_resume
	drm/omap: dsi: Fix excessive stack usage
	HID: Add Mapping for System Microphone Mute
	drm/tiny: ili9486: Do not assume 8-bit only SPI controllers
	drm/radeon: free iio for atombios when driver shutdown
	drm: amd: display: Fix memory leakage
	drm/msm/dsi: Add missing check for alloc_ordered_workqueue
	docs/scripts/gdb: add necessary make scripts_gdb step
	ASoC: kirkwood: Iterate over array indexes instead of using pointer math
	regulator: max77802: Bounds check regulator id against opmode
	regulator: s5m8767: Bounds check id indexing into arrays
	gfs2: Improve gfs2_make_fs_rw error handling
	hwmon: (coretemp) Simplify platform device handling
	pinctrl: at91: use devm_kasprintf() to avoid potential leaks
	HID: logitech-hidpp: Don't restart communication if not necessary
	drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
	dm thin: add cond_resched() to various workqueue loops
	dm cache: add cond_resched() to various workqueue loops
	nfsd: zero out pointers after putting nfsd_files on COPY setup error
	wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
	firmware: coreboot: framebuffer: Ignore reserved pixel color bits
	rtc: pm8xxx: fix set-alarm race
	ipmi_ssif: Rename idle state and check
	s390/extmem: return correct segment type in __segment_load()
	s390: discard .interp section
	s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler
	s390/kprobes: fix current_kprobe never cleared after kprobes reenter
	cifs: Fix uninitialized memory read in smb3_qfs_tcon()
	ARM: dts: exynos: correct HDMI phy compatible in Exynos4
	hfs: fix missing hfs_bnode_get() in __hfs_bnode_create
	fs: hfsplus: fix UAF issue in hfsplus_put_super
	exfat: fix reporting fs error when reading dir beyond EOF
	exfat: fix unexpected EOF while reading dir
	exfat: redefine DIR_DELETED as the bad cluster number
	exfat: fix inode->i_blocks for non-512 byte sector size device
	f2fs: fix information leak in f2fs_move_inline_dirents()
	f2fs: fix cgroup writeback accounting with fs-layer encryption
	ocfs2: fix defrag path triggering jbd2 ASSERT
	ocfs2: fix non-auto defrag path not working issue
	udf: Truncate added extents on failed expansion
	udf: Do not bother merging very long extents
	udf: Do not update file length for failed writes to inline files
	udf: Preserve link count of system files
	udf: Detect system inodes linked into directory hierarchy
	udf: Fix file corruption when appending just after end of preallocated extent
	KVM: Destroy target device if coalesced MMIO unregistration fails
	KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI
	KVM: s390: disable migration mode when dirty tracking is disabled
	x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
	x86/crash: Disable virt in core NMI crash handler to avoid double shootdown
	x86/reboot: Disable virtualization in an emergency if SVM is supported
	x86/reboot: Disable SVM, not just VMX, when stopping CPUs
	x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
	x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range
	x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter
	x86/microcode/AMD: Add a @cpu parameter to the reloading functions
	x86/microcode/AMD: Fix mixed steppings support
	x86/speculation: Allow enabling STIBP with legacy IBRS
	Documentation/hw-vuln: Document the interaction between IBRS and STIBP
	brd: return 0/-error from brd_insert_page()
	ima: Align ima_file_mmap() parameters with mmap_file LSM hook
	irqdomain: Fix association race
	irqdomain: Fix disassociation race
	irqdomain: Drop bogus fwspec-mapping error handling
	io_uring: handle TIF_NOTIFY_RESUME when checking for task_work
	io_uring: mark task TASK_RUNNING before handling resume/task work
	io_uring: add a conditional reschedule to the IOPOLL cancelation loop
	io_uring/rsrc: disallow multi-source reg buffers
	io_uring: remove MSG_NOSIGNAL from recvmsg
	io_uring/poll: allow some retries for poll triggering spuriously
	ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()
	ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC
	jbd2: fix data missing when reusing bh which is ready to be checkpointed
	ext4: optimize ea_inode block expansion
	ext4: refuse to create ea block when umounted
	mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type
	dm: add cond_resched() to dm_wq_work()
	wifi: rtl8xxxu: Use a longer retry limit of 48
	wifi: cfg80211: Fix use after free for wext
	thermal: intel: powerclamp: Fix cur_state for multi package system
	dm flakey: fix logic when corrupting a bio
	dm flakey: don't corrupt the zero page
	ARM: dts: exynos: correct TMU phandle in Exynos4210
	ARM: dts: exynos: correct TMU phandle in Exynos4
	ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
	ARM: dts: exynos: correct TMU phandle in Exynos5250
	ARM: dts: exynos: correct TMU phandle in Odroid XU
	ARM: dts: exynos: correct TMU phandle in Odroid HC1
	rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails
	alpha: fix FEN fault handling
	dax/kmem: Fix leak of memory-hotplug resources
	mips: fix syscall_get_nr
	media: ipu3-cio2: Fix PM runtime usage_count in driver unbind
	remoteproc/mtk_scp: Move clk ops outside send_lock
	docs: gdbmacros: print newest record
	mm: memcontrol: deprecate charge moving
	mm/thp: check and bail out if page in deferred queue already
	ktest.pl: Give back console on Ctrt^C on monitor
	ktest.pl: Fix missing "end_monitor" when machine check fails
	ktest.pl: Add RUN_TIMEOUT option with default unlimited
	ring-buffer: Handle race between rb_move_tail and rb_check_pages
	scsi: qla2xxx: Fix link failure in NPIV environment
	scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests
	scsi: qla2xxx: Fix erroneous link down
	scsi: ses: Don't attach if enclosure has no components
	scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
	scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
	scsi: ses: Fix possible desc_ptr out-of-bounds accesses
	scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()
	riscv: jump_label: Fixup unaligned arch_static_branch function
	PCI/PM: Observe reset delay irrespective of bridge_d3
	PCI: hotplug: Allow marking devices as disconnected during bind/unbind
	PCI: Avoid FLR for AMD FCH AHCI adapters
	vfio/type1: prevent underflow of locked_vm via exec()
	drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
	drm/radeon: Fix eDP for single-display iMac11,2
	drm/edid: fix AVI infoframe aspect ratio handling
	arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
	wifi: ath9k: use proper statements in conditionals
	pinctrl: rockchip: fix mux route data for rk3568
	pinctrl: rockchip: fix reading pull type on rk3568
	kbuild: Port silent mode detection to future gnu make.
	net/sched: Retire tcindex classifier
	fs/jfs: fix shift exponent db_agl2size negative
	objtool: Fix memory leak in create_static_call_sections()
	pwm: sifive: Reduce time the controller lock is held
	pwm: sifive: Always let the first pwm_apply_state succeed
	pwm: stm32-lp: fix the check on arr and cmp registers update
	f2fs: use memcpy_{to,from}_page() where possible
	fs: f2fs: initialize fsdata in pagecache_write()
	um: vector: Fix memory leak in vector_config
	ubi: ensure that VID header offset + VID header size <= alloc, size
	ubifs: Fix build errors as symbol undefined
	ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted
	ubifs: Rectify space budget for ubifs_xrename()
	ubifs: Fix wrong dirty space budget for dirty inode
	ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1
	ubifs: Reserve one leb for each journal head while doing budget
	ubi: Fix use-after-free when volume resizing failed
	ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()
	ubifs: Fix memory leak in alloc_wbufs()
	ubi: Fix possible null-ptr-deref in ubi_free_volume()
	ubifs: Re-statistic cleaned znode count if commit failed
	ubifs: dirty_cow_znode: Fix memleak in error handling path
	ubifs: ubifs_writepage: Mark page dirty after writing inode failed
	ubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmap
	ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()
	ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed
	x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
	watchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path
	watchdog: Fix kmemleak in watchdog_cdev_register
	watchdog: pcwd_usb: Fix attempting to access uninitialized memory
	netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack()
	netfilter: ebtables: fix table blob use-after-free
	ipv6: Add lwtunnel encap size of all siblings in nexthop calculation
	sctp: add a refcnt in sctp_stream_priorities to avoid a nested loop
	net: fix __dev_kfree_skb_any() vs drop monitor
	9p/xen: fix version parsing
	9p/xen: fix connection sequence
	9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()
	net/mlx5: Geneve, Fix handling of Geneve object id as error code
	nfc: fix memory leak of se_io context in nfc_genl_se_io
	net/sched: act_sample: fix action bind logic
	ARM: dts: spear320-hmi: correct STMPE GPIO compatible
	tcp: tcp_check_req() can be called from process context
	vc_screen: modify vcs_size() handling in vcs_read()
	rtc: sun6i: Always export the internal oscillator
	scsi: ipr: Work around fortify-string warning
	loop: loop_set_status_from_info() check before assignment
	ASoC: adau7118: don't disable regulators on device unbind
	ASoC: zl38060: Remove spurious gpiolib select
	ASoC: zl38060 add gpiolib dependency
	thermal: intel: quark_dts: fix error pointer dereference
	thermal: intel: BXT_PMIC: select REGMAP instead of depending on it
	tracing: Add NULL checks for buffer in ring_buffer_free_read_page()
	firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3
	bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support
	mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak
	IB/hfi1: Update RMT size calculation
	media: uvcvideo: Handle cameras with invalid descriptors
	media: uvcvideo: Handle errors from calls to usb_string
	media: uvcvideo: Quirk for autosuspend in Logitech B910 and C910
	media: uvcvideo: Silence memcpy() run-time false positive warnings
	staging: emxx_udc: Add checks for dma_alloc_coherent()
	tty: fix out-of-bounds access in tty_driver_lookup_tty()
	tty: serial: fsl_lpuart: disable the CTS when send break signal
	serial: sc16is7xx: setup GPIO controller later in probe
	mei: bus-fixup:upon error print return values of send and receive
	tools/iio/iio_utils:fix memory leak
	iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_status_word()
	iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word()
	PCI: loongson: Prevent LS7A MRRS increases
	usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math
	USB: ene_usb6250: Allocate enough memory for full object
	usb: uvc: Enumerate valid values for color matching
	usb: gadget: uvc: Make bSourceID read/write
	PCI: Align extra resources for hotplug bridges properly
	PCI: Take other bus devices into account when distributing resources
	kernel/fail_function: fix memory leak with using debugfs_lookup()
	PCI: loongson: Add more devices that need MRRS quirk
	PCI: Add ACS quirk for Wangxun NICs
	phy: rockchip-typec: Fix unsigned comparison with less than zero
	soundwire: cadence: Remove wasted space in response_buf
	soundwire: cadence: Drain the RX FIFO after an IO timeout
	net: tls: avoid hanging tasks on the tx_lock
	x86/resctrl: Apply READ_ONCE/WRITE_ONCE to task_struct.{rmid,closid}
	x86/resctl: fix scheduler confusion with 'current'
	drm/display/dp_mst: Fix down/up message handling after sink disconnect
	drm/display/dp_mst: Fix down message handling after a packet reception error
	Bluetooth: hci_sock: purge socket queues in the destruct() callback
	tcp: Fix listen() regression in 5.10.163
	drm/virtio: Fix error code in virtio_gpu_object_shmem_init()
	media: uvcvideo: Provide sync and async uvc_ctrl_status_event
	media: uvcvideo: Fix race condition with usb_kill_urb
	Revert "scsi: mpt3sas: Fix return value check of dma_get_required_mask()"
	scsi: mpt3sas: Don't change DMA mask while reallocating pools
	scsi: mpt3sas: re-do lost mpt3sas DMA mask fix
	scsi: mpt3sas: Remove usage of dma_get_required_mask() API
	malidp: Fix NULL vs IS_ERR() checking
	usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails
	Linux 5.10.173

Change-Id: Iedcbc093feb171d48c70976d0aa99e972fac3ad1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-03-22 11:21:35 +00:00
Greg Kroah-Hartman
78985e3685 This is the 5.10.171 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmQBz60ACgkQONu9yGCS
 aT54nxAAjDqWHet+aigXqWtw+NYWPM7jXoLuMzmSKcFvAVOJJnYX81LJZUN5hgC0
 7vFkfhVsTSROZOYJbZNN5uU4UUAH7CprVwwa33XYXxV5Ae+J/XFBxSM3syzvyrBe
 QiCrFZDyq0yQm3ing+KvEdM+It06RlH1mK356Jf9SsQKOiW2sRaF/WwLUPzVus/R
 lYcJj94aezKNW7RVZ9E9ZUGZ1h8DGGPdEj/E/dC+W9OxDtlmApPhNJiJGODDm3vn
 iZpzULGYvDo6iIwcyQWdhU+NAVlVK+5iuubmJUwMGTzAX/1mPESfm01o2drOlbDa
 4i04xu4rANMUJsOYlVM6flzHaX4sA9aQa5MmYs60RrEcL0n1s18pc0ZbV2Qd18Ty
 zmM4c6Ydqm86RhpPEczUPeiS9njYuyJQaXKRH90GmWsi92Mx6eywbr7dtZ47t+5T
 6mK1KcBh7HqEuko++giYUN1vXpzoIxET/67nJm5mF1FJqZMJ1htSuVmi7fFLMYf+
 HNmnDCt0uaXgydMcauuWpHFxjEDyFUWnNSIkUDrowATmD/SGn/AMlz7cTA0LxEM2
 Ihq3lcjV/6Axo1tHv56EEkb6tVzjVLX9pztUCm1xMir2/zU8o3ft+NdiVaYYxvOo
 hKd5T5PUu45Ofno15t6v9QKezxQEdAj2hhb4xrJ7T31O562JLGI=
 =2swk
 -----END PGP SIGNATURE-----

Merge 5.10.171 into android12-5.10-lts

Changes in 5.10.171
	Fix XFRM-I support for nested ESP tunnels
	arm64: dts: rockchip: drop unused LED mode property from rk3328-roc-cc
	ARM: dts: rockchip: add power-domains property to dp node on rk3288
	ACPI: NFIT: fix a potential deadlock during NFIT teardown
	btrfs: send: limit number of clones and allocated memory size
	IB/hfi1: Assign npages earlier
	neigh: make sure used and confirmed times are valid
	HID: core: Fix deadloop in hid_apply_multiplier.
	bpf: bpf_fib_lookup should not return neigh in NUD_FAILED state
	net: Remove WARN_ON_ONCE(sk->sk_forward_alloc) from sk_stream_kill_queues().
	vc_screen: don't clobber return value in vcs_read
	md: Flush workqueue md_rdev_misc_wq in md_alloc()
	scripts/tags.sh: Invoke 'realpath' via 'xargs'
	scripts/tags.sh: fix incompatibility with PCRE2
	drm/virtio: Fix NULL vs IS_ERR checking in virtio_gpu_object_shmem_init
	drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling
	USB: serial: option: add support for VW/Skoda "Carstick LTE"
	usb: gadget: u_serial: Add null pointer check in gserial_resume
	USB: core: Don't hold device lock while reading the "descriptors" sysfs file
	io_uring: add missing lock in io_get_file_fixed
	Linux 5.10.171

Change-Id: I4ffd5ae7f55bc0579b65c9cff91327ffd5194c2f
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-03-22 11:02:04 +00:00
Greg Kroah-Hartman
45fa1d879a This is the 5.10.170 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmP56RAACgkQONu9yGCS
 aT4Nyw//ent0HEPs7i9A6xn887vHd82TI3OtV8K6Reoq2qzo0KFuFJyrc8LcMS7T
 WiW0w0tLsE4ihUcNBW9AvmwYoC/eFZp/SJtETznPSAJoEBM5sf2RWdt1+uaWpuef
 EQeOmkn72MBAQ2vhKWFfKjqvCUigvBw2ngg9ftSIZG8drtC4TS+0AtJsqtyIjyjt
 7hZ+hg63TfybLZ6tZW8Z8SD7KY6RviY+hpl/1ppMp/ogH6hQCR4X+hzx1OoWE5po
 H6bRVhGI+fbHaKnpPPmzk0EkM7+YkJjJncpvAizo/QpVkQ0stLcEM6wVxTq6h+Uu
 0ydyY8d381HiSfDQnr3jp6+USPOgnAbKPLU+T4Uu4PQpTjKqt50mpeHVZyMR0Pf9
 08Q3upwtI4EZfgHsZ/Kjfa5PG8QG+bJBSeLH68kPrSDjekrZccmiYyrgIVrnLd1h
 b9LSJ+VEU5BXrXJ1Fngg1Fl8hWf5OMmT+wPHHlhu6XlLWJe5Wbz5W2b91wIyf07b
 VEu5OEBgoX59VbxqeG+47zcSPXoIwDeQlTpFq+qrL/0C2VhxRpGhSMD65JSaM76o
 rGe/wBwS4qHPTySHd+7K930VTzRUxu8WFldWwOZMR66H0MaBiZ/5cH/RRaqjAW33
 OBLZEunG6ic/soMnVgoPc0x9n02EqpCR8uKAd6HDDqBQsAIYjTQ=
 =FkG4
 -----END PGP SIGNATURE-----

Merge 5.10.170 into android12-5.10-lts

Changes in 5.10.170
	drm/etnaviv: don't truncate physical page address
	wifi: rtl8xxxu: gen2: Turn on the rate control
	clk: mxl: Switch from direct readl/writel based IO to regmap based IO
	clk: mxl: Remove redundant spinlocks
	clk: mxl: Add option to override gate clks
	clk: mxl: Fix a clk entry by adding relevant flags
	powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G
	clk: mxl: syscon_node_to_regmap() returns error pointers
	random: always mix cycle counter in add_latent_entropy()
	KVM: x86: Fail emulation during EMULTYPE_SKIP on any exception
	KVM: SVM: Skip WRMSR fastpath on VM-Exit if next RIP isn't valid
	KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS
	can: kvaser_usb: hydra: help gcc-13 to figure out cmd_len
	powerpc: dts: t208x: Disable 10G on MAC1 and MAC2
	drm/i915/gvt: fix double free bug in split_2MB_gtt_entry
	mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh
	uaccess: Add speculation barrier to copy_from_user()
	Revert "Revert "block: nbd: add sanity check for first_minor""
	nbd: fix max value for 'first_minor'
	nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
	nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
	wifi: mwifiex: Add missing compatible string for SD8787
	audit: update the mailing list in MAINTAINERS
	ext4: Fix function prototype mismatch for ext4_feat_ktype
	Revert "net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs"
	bpf: add missing header file include
	Linux 5.10.170

Change-Id: I9503ddc9b85049ce811a672092ed1f3c1f8e6d83
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-03-22 11:01:45 +00:00
Tao Liu
c53d50d808 skbuff: Fix nfct leak on napi stolen
Upstream commit [0] had fixed this issue, and backported to kernel 5.10.54.
However, nf_reset_ct() added in skb_release_head_state() instead of
napi_skb_free_stolen_head(), which lead to leakage still exist in 5.10.

[0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8550ff8d8c75416e984d9c4b082845e57e560984

Fixes: 570341f10e ("skbuff: Release nfct refcount on napi stolen or re-used skbs"))
Signed-off-by: Tao Liu <taoliu828@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-17 08:45:15 +01:00
Benjamin Coddington
ce7dd61e00 SUNRPC: Fix a server shutdown leak
[ Upstream commit 9ca6705d9d609441d34f8b853e1e4a6369b3b171 ]

Fix a race where kthread_stop() may prevent the threadfn from ever getting
called.  If that happens the svc_rqst will not be cleaned up.

Fixes: ed6473ddc7 ("NFSv4: Fix callback server shutdown")
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-17 08:45:12 +01:00
D. Wythe
e1b8342a85 net/smc: fix fallback failed while sendmsg with fastopen
[ Upstream commit ce7ca794712f186da99719e8b4e97bd5ddbb04c3 ]

Before determining whether the msg has unsupported options, it has been
prematurely terminated by the wrong status check.

For the application, the general usages of MSG_FASTOPEN likes

fd = socket(...)
/* rather than connect */
sendto(fd, data, len, MSG_FASTOPEN)

Hence, We need to check the flag before state check, because the sock
state here is always SMC_INIT when applications tries MSG_FASTOPEN.
Once we found unsupported options, fallback it to TCP.

Fixes: ee9dfbef02 ("net/smc: handle sockopts forcing fallback")
Signed-off-by: D. Wythe <alibuda@linux.alibaba.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>

v2 -> v1: Optimize code style
Reviewed-by: Tony Lu <tonylu@linux.alibaba.com>

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-17 08:45:12 +01:00
Florian Westphal
065c1ed5c4 netfilter: tproxy: fix deadlock due to missing BH disable
[ Upstream commit 4a02426787bf024dafdb79b362285ee325de3f5e ]

The xtables packet traverser performs an unconditional local_bh_disable(),
but the nf_tables evaluation loop does not.

Functions that are called from either xtables or nftables must assume
that they can be called in process context.

inet_twsk_deschedule_put() assumes that no softirq interrupt can occur.
If tproxy is used from nf_tables its possible that we'll deadlock
trying to aquire a lock already held in process context.

Add a small helper that takes care of this and use it.

Link: https://lore.kernel.org/netfilter-devel/401bd6ed-314a-a196-1cdc-e13c720cc8f2@balasys.hu/
Fixes: 4ed8eb6570 ("netfilter: nf_tables: Add native tproxy support")
Reported-and-tested-by: Major Dávid <major.david@balasys.hu>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-17 08:45:11 +01:00
Ivan Delalande
26fa059cc9 netfilter: ctnetlink: revert to dumping mark regardless of event type
[ Upstream commit 9f7dd42f0db1dc6915a52d4a8a96ca18dd8cc34e ]

It seems that change was unintentional, we have userspace code that
needs the mark while listening for events like REPLY, DESTROY, etc.
Also include 0-marks in requested dumps, as they were before that fix.

Fixes: 1feeae071507 ("netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark")
Signed-off-by: Ivan Delalande <colona@arista.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-17 08:45:11 +01:00
Shigeru Yoshida
c3aaec463a net: caif: Fix use-after-free in cfusbl_device_notify()
[ Upstream commit 9781e98a97110f5e76999058368b4be76a788484 ]

syzbot reported use-after-free in cfusbl_device_notify() [1].  This
causes a stack trace like below:

BUG: KASAN: use-after-free in cfusbl_device_notify+0x7c9/0x870 net/caif/caif_usb.c:138
Read of size 8 at addr ffff88807ac4e6f0 by task kworker/u4:6/1214

CPU: 0 PID: 1214 Comm: kworker/u4:6 Not tainted 5.19.0-rc3-syzkaller-00146-g92f20ff72066 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 print_address_description.constprop.0.cold+0xeb/0x467 mm/kasan/report.c:313
 print_report mm/kasan/report.c:429 [inline]
 kasan_report.cold+0xf4/0x1c6 mm/kasan/report.c:491
 cfusbl_device_notify+0x7c9/0x870 net/caif/caif_usb.c:138
 notifier_call_chain+0xb5/0x200 kernel/notifier.c:87
 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1945
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_wait_allrefs_any net/core/dev.c:10227 [inline]
 netdev_run_todo+0xbc0/0x10f0 net/core/dev.c:10341
 default_device_exit_batch+0x44e/0x590 net/core/dev.c:11334
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:167
 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:594
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
 </TASK>

When unregistering a net device, unregister_netdevice_many_notify()
sets the device's reg_state to NETREG_UNREGISTERING, calls notifiers
with NETDEV_UNREGISTER, and adds the device to the todo list.

Later on, devices in the todo list are processed by netdev_run_todo().
netdev_run_todo() waits devices' reference count become 1 while
rebdoadcasting NETDEV_UNREGISTER notification.

When cfusbl_device_notify() is called with NETDEV_UNREGISTER multiple
times, the parent device might be freed.  This could cause UAF.
Processing NETDEV_UNREGISTER multiple times also causes inbalance of
reference count for the module.

This patch fixes the issue by accepting only first NETDEV_UNREGISTER
notification.

Fixes: 7ad65bf68d ("caif: Add support for CAIF over CDC NCM USB interface")
CC: sjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Reported-by: syzbot+b563d33852b893653a9e@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?id=c3bfd8e2450adab3bffe4d80821fbbced600407f [1]
Signed-off-by: Shigeru Yoshida <syoshida@redhat.com>
Link: https://lore.kernel.org/r/20230301163913.391304-1-syoshida@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-17 08:45:11 +01:00
Eric Dumazet
42d9ed4e5d ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()
[ Upstream commit 693aa2c0d9b6d5b1f2745d31b6e70d09dbbaf06e ]

ila_xlat_nl_cmd_get_mapping() generates an empty skb,
triggerring a recent sanity check [1].

Instead, return an error code, so that user space
can get it.

[1]
skb_assert_len
WARNING: CPU: 0 PID: 5923 at include/linux/skbuff.h:2527 skb_assert_len include/linux/skbuff.h:2527 [inline]
WARNING: CPU: 0 PID: 5923 at include/linux/skbuff.h:2527 __dev_queue_xmit+0x1bc0/0x3488 net/core/dev.c:4156
Modules linked in:
CPU: 0 PID: 5923 Comm: syz-executor269 Not tainted 6.2.0-syzkaller-18300-g2ebd1fbb946d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : skb_assert_len include/linux/skbuff.h:2527 [inline]
pc : __dev_queue_xmit+0x1bc0/0x3488 net/core/dev.c:4156
lr : skb_assert_len include/linux/skbuff.h:2527 [inline]
lr : __dev_queue_xmit+0x1bc0/0x3488 net/core/dev.c:4156
sp : ffff80001e0d6c40
x29: ffff80001e0d6e60 x28: dfff800000000000 x27: ffff0000c86328c0
x26: dfff800000000000 x25: ffff0000c8632990 x24: ffff0000c8632a00
x23: 0000000000000000 x22: 1fffe000190c6542 x21: ffff0000c8632a10
x20: ffff0000c8632a00 x19: ffff80001856e000 x18: ffff80001e0d5fc0
x17: 0000000000000000 x16: ffff80001235d16c x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001
x11: ff80800008353a30 x10: 0000000000000000 x9 : 21567eaf25bfb600
x8 : 21567eaf25bfb600 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001e0d6558 x4 : ffff800015c74760 x3 : ffff800008596744
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000000e
Call trace:
skb_assert_len include/linux/skbuff.h:2527 [inline]
__dev_queue_xmit+0x1bc0/0x3488 net/core/dev.c:4156
dev_queue_xmit include/linux/netdevice.h:3033 [inline]
__netlink_deliver_tap_skb net/netlink/af_netlink.c:307 [inline]
__netlink_deliver_tap+0x45c/0x6f8 net/netlink/af_netlink.c:325
netlink_deliver_tap+0xf4/0x174 net/netlink/af_netlink.c:338
__netlink_sendskb net/netlink/af_netlink.c:1283 [inline]
netlink_sendskb+0x6c/0x154 net/netlink/af_netlink.c:1292
netlink_unicast+0x334/0x8d4 net/netlink/af_netlink.c:1380
nlmsg_unicast include/net/netlink.h:1099 [inline]
genlmsg_unicast include/net/genetlink.h:433 [inline]
genlmsg_reply include/net/genetlink.h:443 [inline]
ila_xlat_nl_cmd_get_mapping+0x620/0x7d0 net/ipv6/ila/ila_xlat.c:493
genl_family_rcv_msg_doit net/netlink/genetlink.c:968 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline]
genl_rcv_msg+0x938/0xc1c net/netlink/genetlink.c:1065
netlink_rcv_skb+0x214/0x3c4 net/netlink/af_netlink.c:2574
genl_rcv+0x38/0x50 net/netlink/genetlink.c:1076
netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline]
netlink_unicast+0x660/0x8d4 net/netlink/af_netlink.c:1365
netlink_sendmsg+0x800/0xae0 net/netlink/af_netlink.c:1942
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg net/socket.c:734 [inline]
____sys_sendmsg+0x558/0x844 net/socket.c:2479
___sys_sendmsg net/socket.c:2533 [inline]
__sys_sendmsg+0x26c/0x33c net/socket.c:2562
__do_sys_sendmsg net/socket.c:2571 [inline]
__se_sys_sendmsg net/socket.c:2569 [inline]
__arm64_sys_sendmsg+0x80/0x94 net/socket.c:2569
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193
el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591
irq event stamp: 136484
hardirqs last enabled at (136483): [<ffff800008350244>] __up_console_sem+0x60/0xb4 kernel/printk/printk.c:345
hardirqs last disabled at (136484): [<ffff800012358d60>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (136418): [<ffff800008020ea8>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last enabled at (136418): [<ffff800008020ea8>] __do_softirq+0xd4c/0xfa4 kernel/softirq.c:600
softirqs last disabled at (136371): [<ffff80000802b4a4>] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80
---[ end trace 0000000000000000 ]---
skb len=0 headroom=0 headlen=0 tailroom=192
mac=(0,0) net=(0,-1) trans=-1
shinfo(txflags=0 nr_frags=0 gso(size=0 type=0 segs=0))
csum(0x0 ip_summed=0 complete_sw=0 valid=0 level=0)
hash(0x0 sw=0 l4=0) proto=0x0010 pkttype=6 iif=0
dev name=nlmon0 feat=0x0000000000005861

Fixes: 7f00feaf10 ("ila: Add generic ILA translation facility")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-17 08:45:10 +01:00
Fedor Pchelkin
7786bfd8f7 nfc: change order inside nfc_se_io error path
commit 7d834b4d1ab66c48e8c0810fdeadaabb80fa2c81 upstream.

cb_context should be freed on the error path in nfc_se_io as stated by
commit 25ff6f8a5a3b ("nfc: fix memory leak of se_io context in
nfc_genl_se_io").

Make the error path in nfc_se_io unwind everything in reverse order, i.e.
free the cb_context after unlocking the device.

Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230306212650.230322-1-pchelkin@ispras.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-17 08:45:07 +01:00
Hector Martin
decf73066f wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"
commit 79d1ed5ca7db67d48e870c979f0e0f6b0947944a upstream.

This reverts part of commit 015b8cc5e7c4 ("wifi: cfg80211: Fix use after
free for wext")

This commit broke WPA offload by unconditionally clearing the crypto
modes for non-WEP connections. Drop that part of the patch.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reported-by: Ilya <me@0upti.me>
Reported-and-tested-by: Janne Grunau <j@jannau.net>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Fixes: 015b8cc5e7c4 ("wifi: cfg80211: Fix use after free for wext")
Cc: stable@kernel.org
Link: https://lore.kernel.org/linux-wireless/ZAx0TWRBlGfv7pNl@kroah.com/T/#m11e6e0915ab8fa19ce8bc9695ab288c0fe018edf
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-13 10:19:36 +01:00
Kuniyuki Iwashima
0a1d0c79ea tcp: Fix listen() regression in 5.10.163
commit fdaf88531cfd17b2a710cceb3141ef6f9085ff40 upstream.

When we backport dadd0dcaa67d ("net/ulp: prevent ULP without clone op from
entering the LISTEN status"), we have accidentally backported a part of
7a7160edf1bf ("net: Return errno in sk->sk_prot->get_port().") and removed
err = -EADDRINUSE in inet_csk_listen_start().

Thus, listen() no longer returns -EADDRINUSE even if ->get_port() failed
as reported in [0].

We set -EADDRINUSE to err just before ->get_port() to fix the regression.

[0]: https://lore.kernel.org/stable/EF8A45D0-768A-4CD5-9A8A-0FA6E610ABF7@winter.cafe/

Reported-by: Winter <winter@winter.cafe>
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-11 16:40:19 +01:00
Nguyen Dinh Phi
7474be26b0 Bluetooth: hci_sock: purge socket queues in the destruct() callback
commit 709fca500067524381e28a5f481882930eebac88 upstream.

The receive path may take the socket right before hci_sock_release(),
but it may enqueue the packets to the socket queues after the call to
skb_queue_purge(), therefore the socket can be destroyed without clear
its queues completely.

Moving these skb_queue_purge() to the hci_sock_destruct() will fix this
issue, because nothing is referencing the socket at this point.

Signed-off-by: Nguyen Dinh Phi <phind.uet@gmail.com>
Reported-by: syzbot+4c4ffd1e1094dae61035@syzkaller.appspotmail.com
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-11 16:40:19 +01:00
Jakub Kicinski
7123a4337b net: tls: avoid hanging tasks on the tx_lock
commit f3221361dc85d4de22586ce8441ec2c67b454f5d upstream.

syzbot sent a hung task report and Eric explains that adversarial
receiver may keep RWIN at 0 for a long time, so we are not guaranteed
to make forward progress. Thread which took tx_lock and went to sleep
may not release tx_lock for hours. Use interruptible sleep where
possible and reschedule the work if it can't take the lock.

Testing: existing selftest passes

Reported-by: syzbot+9c0268252b8ef967c62e@syzkaller.appspotmail.com
Fixes: 79ffe6087e ("net/tls: add a TX lock")
Link: https://lore.kernel.org/all/000000000000e412e905f5b46201@google.com/
Cc: stable@vger.kernel.org # wait 4 weeks
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230301002857.2101894-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-11 16:40:19 +01:00