Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev, Jason Baron <jbaron@akamai.com>,
	Kuniyuki Iwashima <kuniyu@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.12 029/163] netlink: Fix wraparounds of sk->sk_rmem_alloc.
Date: Tue, 15 Jul 2025 15:11:37 +0200	[thread overview]
Message-ID: <20250715130809.926161182@linuxfoundation.org> (raw)
In-Reply-To: <20250715130808.777350091@linuxfoundation.org>

6.12-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Kuniyuki Iwashima <kuniyu@google.com>

[ Upstream commit ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc ]

Netlink has this pattern in some places

  if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf)
  	atomic_add(skb->truesize, &sk->sk_rmem_alloc);

, which has the same problem fixed by commit 5a465a0da13e ("udp:
Fix multiple wraparounds of sk->sk_rmem_alloc.").

For example, if we set INT_MAX to SO_RCVBUFFORCE, the condition
is always false as the two operands are of int.

Then, a single socket can eat as many skb as possible until OOM
happens, and we can see multiple wraparounds of sk->sk_rmem_alloc.

Let's fix it by using atomic_add_return() and comparing the two
variables as unsigned int.

Before:
  [root@fedora ~]# ss -f netlink
  Recv-Q      Send-Q Local Address:Port                Peer Address:Port
  -1668710080 0               rtnl:nl_wraparound/293               *

After:
  [root@fedora ~]# ss -f netlink
  Recv-Q     Send-Q Local Address:Port                Peer Address:Port
  2147483072 0               rtnl:nl_wraparound/290               *
  ^
  `--- INT_MAX - 576

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Reported-by: Jason Baron <jbaron@akamai.com>
Closes: https://lore.kernel.org/netdev/cover.1750285100.git.jbaron@akamai.com/
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250704054824.1580222-1-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 net/netlink/af_netlink.c | 81 ++++++++++++++++++++++++----------------
 1 file changed, 49 insertions(+), 32 deletions(-)

diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 775d707ec708a..116c183d0e7c5 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -387,7 +387,6 @@ static void netlink_skb_set_owner_r(struct sk_buff *skb, struct sock *sk)
 	WARN_ON(skb->sk != NULL);
 	skb->sk = sk;
 	skb->destructor = netlink_skb_destructor;
-	atomic_add(skb->truesize, &sk->sk_rmem_alloc);
 	sk_mem_charge(sk, skb->truesize);
 }
 
@@ -1216,41 +1215,48 @@ struct sk_buff *netlink_alloc_large_skb(unsigned int size, int broadcast)
 int netlink_attachskb(struct sock *sk, struct sk_buff *skb,
 		      long *timeo, struct sock *ssk)
 {
+	DECLARE_WAITQUEUE(wait, current);
 	struct netlink_sock *nlk;
+	unsigned int rmem;
 
 	nlk = nlk_sk(sk);
+	rmem = atomic_add_return(skb->truesize, &sk->sk_rmem_alloc);
 
-	if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf ||
-	     test_bit(NETLINK_S_CONGESTED, &nlk->state))) {
-		DECLARE_WAITQUEUE(wait, current);
-		if (!*timeo) {
-			if (!ssk || netlink_is_kernel(ssk))
-				netlink_overrun(sk);
-			sock_put(sk);
-			kfree_skb(skb);
-			return -EAGAIN;
-		}
-
-		__set_current_state(TASK_INTERRUPTIBLE);
-		add_wait_queue(&nlk->wait, &wait);
+	if ((rmem == skb->truesize || rmem < READ_ONCE(sk->sk_rcvbuf)) &&
+	    !test_bit(NETLINK_S_CONGESTED, &nlk->state)) {
+		netlink_skb_set_owner_r(skb, sk);
+		return 0;
+	}
 
-		if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf ||
-		     test_bit(NETLINK_S_CONGESTED, &nlk->state)) &&
-		    !sock_flag(sk, SOCK_DEAD))
-			*timeo = schedule_timeout(*timeo);
+	atomic_sub(skb->truesize, &sk->sk_rmem_alloc);
 
-		__set_current_state(TASK_RUNNING);
-		remove_wait_queue(&nlk->wait, &wait);
+	if (!*timeo) {
+		if (!ssk || netlink_is_kernel(ssk))
+			netlink_overrun(sk);
 		sock_put(sk);
+		kfree_skb(skb);
+		return -EAGAIN;
+	}
 
-		if (signal_pending(current)) {
-			kfree_skb(skb);
-			return sock_intr_errno(*timeo);
-		}
-		return 1;
+	__set_current_state(TASK_INTERRUPTIBLE);
+	add_wait_queue(&nlk->wait, &wait);
+	rmem = atomic_read(&sk->sk_rmem_alloc);
+
+	if (((rmem && rmem + skb->truesize > READ_ONCE(sk->sk_rcvbuf)) ||
+	     test_bit(NETLINK_S_CONGESTED, &nlk->state)) &&
+	    !sock_flag(sk, SOCK_DEAD))
+		*timeo = schedule_timeout(*timeo);
+
+	__set_current_state(TASK_RUNNING);
+	remove_wait_queue(&nlk->wait, &wait);
+	sock_put(sk);
+
+	if (signal_pending(current)) {
+		kfree_skb(skb);
+		return sock_intr_errno(*timeo);
 	}
-	netlink_skb_set_owner_r(skb, sk);
-	return 0;
+
+	return 1;
 }
 
 static int __netlink_sendskb(struct sock *sk, struct sk_buff *skb)
@@ -1310,6 +1316,7 @@ static int netlink_unicast_kernel(struct sock *sk, struct sk_buff *skb,
 	ret = -ECONNREFUSED;
 	if (nlk->netlink_rcv != NULL) {
 		ret = skb->len;
+		atomic_add(skb->truesize, &sk->sk_rmem_alloc);
 		netlink_skb_set_owner_r(skb, sk);
 		NETLINK_CB(skb).sk = ssk;
 		netlink_deliver_tap_kernel(sk, ssk, skb);
@@ -1386,13 +1393,19 @@ EXPORT_SYMBOL_GPL(netlink_strict_get_check);
 static int netlink_broadcast_deliver(struct sock *sk, struct sk_buff *skb)
 {
 	struct netlink_sock *nlk = nlk_sk(sk);
+	unsigned int rmem, rcvbuf;
 
-	if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf &&
+	rmem = atomic_add_return(skb->truesize, &sk->sk_rmem_alloc);
+	rcvbuf = READ_ONCE(sk->sk_rcvbuf);
+
+	if ((rmem != skb->truesize || rmem <= rcvbuf) &&
 	    !test_bit(NETLINK_S_CONGESTED, &nlk->state)) {
 		netlink_skb_set_owner_r(skb, sk);
 		__netlink_sendskb(sk, skb);
-		return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1);
+		return rmem > (rcvbuf >> 1);
 	}
+
+	atomic_sub(skb->truesize, &sk->sk_rmem_alloc);
 	return -1;
 }
 
@@ -2252,6 +2265,7 @@ static int netlink_dump(struct sock *sk, bool lock_taken)
 	struct module *module;
 	int err = -ENOBUFS;
 	int alloc_min_size;
+	unsigned int rmem;
 	int alloc_size;
 
 	if (!lock_taken)
@@ -2261,9 +2275,6 @@ static int netlink_dump(struct sock *sk, bool lock_taken)
 		goto errout_skb;
 	}
 
-	if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf)
-		goto errout_skb;
-
 	/* NLMSG_GOODSIZE is small to avoid high order allocations being
 	 * required, but it makes sense to _attempt_ a 16K bytes allocation
 	 * to reduce number of system calls on dump operations, if user
@@ -2286,6 +2297,12 @@ static int netlink_dump(struct sock *sk, bool lock_taken)
 	if (!skb)
 		goto errout_skb;
 
+	rmem = atomic_add_return(skb->truesize, &sk->sk_rmem_alloc);
+	if (rmem >= READ_ONCE(sk->sk_rcvbuf)) {
+		atomic_sub(skb->truesize, &sk->sk_rmem_alloc);
+		goto errout_skb;
+	}
+
 	/* Trim skb to allocated size. User is expected to provide buffer as
 	 * large as max(min_dump_alloc, 16KiB (mac_recvmsg_len capped at
 	 * netlink_recvmsg())). dump will pack as many smaller messages as
-- 
2.39.5




  parent reply	other threads:[~2025-07-15 13:16 UTC|newest]

Thread overview: 170+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15 13:11 [PATCH 6.12 000/163] 6.12.39-rc1 review Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 001/163] eventpoll: dont decrement ep refcount while still holding the ep mutex Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 002/163] drm/exynos: exynos7_drm_decon: add vblank check in IRQ handling Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 003/163] drm/amdgpu/discovery: use specific ip_discovery.bin for legacy asics Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 004/163] drm/amdgpu/ip_discovery: add missing ip_discovery fw Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 005/163] crypto: s390/sha - Fix uninitialized variable in SHA-1 and SHA-2 Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 006/163] drm/amdgpu: Replace Mutex with Spinlock for RLCG register access to avoid Priority Inversion in SRIOV Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 007/163] ASoC: fsl_asrc: use internal measured ratio for non-ideal ratio mode Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 008/163] ASoC: Intel: SND_SOC_INTEL_SOF_BOARD_HELPERS select SND_SOC_ACPI_INTEL_MATCH Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 009/163] ASoC: Intel: soc-acpi: arl: Correct naming of a cs35l56 address struct Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 010/163] ASoC: Intel: soc-acpi: arl: Add match entries for new cs42l43 laptops Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 011/163] ASoC: soc-acpi: add get_function_tplg_files ops Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 012/163] ASoC: Intel: add sof_sdw_get_tplg_files ops Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 013/163] ASoC: Intel: soc-acpi-intel-arl-match: set get_function_tplg_files ops Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 014/163] ASoC: Intel: soc-acpi: arl: Correct order of cs42l43 matches Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 015/163] perf/core: Fix the WARN_ON_ONCE is out of lock protected region Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 016/163] irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 017/163] sched/core: Fix migrate_swap() vs. hotplug Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 018/163] perf: Revert to requiring CAP_SYS_ADMIN for uprobes Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 019/163] ASoC: cs35l56: probe() should fail if the device ID is not recognized Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 020/163] Bluetooth: hci_sync: Fix not disabling advertising instance Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 021/163] Bluetooth: hci_event: Fix not marking Broadcast Sink BIS as connected Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 022/163] pinctrl: amd: Clear GPIO debounce for suspend Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 023/163] fix proc_sys_compare() handling of in-lookup dentries Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 024/163] sched/deadline: Fix dl_server runtime calculation formula Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 025/163] bnxt_en: eliminate the compile warning in bnxt_request_irq due to CONFIG_RFS_ACCEL Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 026/163] arm64: poe: Handle spurious Overlay faults Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 027/163] net: phy: qcom: move the WoL function to shared library Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 028/163] net: phy: qcom: qca808x: Fix WoL issue by utilizing at8031_set_wol() Greg Kroah-Hartman
2025-07-15 13:11 ` Greg Kroah-Hartman [this message]
2025-07-15 13:11 ` [PATCH 6.12 030/163] vsock: fix `vsock_proto` declaration Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 031/163] tipc: Fix use-after-free in tipc_conn_close() Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 032/163] tcp: Correct signedness in skb remaining space calculation Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 033/163] vsock: Fix transport_{g2h,h2g} TOCTOU Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 034/163] vsock: Fix transport_* TOCTOU Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 035/163] vsock: Fix IOCTL_VM_SOCKETS_GET_LOCAL_CID to check also `transport_local` Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 036/163] net: stmmac: Fix interrupt handling for level-triggered mode in DWC_XGMAC2 Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 037/163] net: phy: smsc: Fix Auto-MDIX configuration when disabled by strap Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 038/163] net: phy: smsc: Force predictable MDI-X state on LAN87xx Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 039/163] net: phy: smsc: Fix link failure in forced mode with Auto-MDIX Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 040/163] atm: clip: Fix potential null-ptr-deref in to_atmarpd() Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 041/163] atm: clip: Fix memory leak of struct clip_vcc Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 042/163] atm: clip: Fix infinite recursive call of clip_push() Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 043/163] atm: clip: Fix NULL pointer dereference in vcc_sendmsg() Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 044/163] net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 045/163] net/sched: Abort __tc_modify_qdisc if parent class does not exist Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 046/163] rxrpc: Fix bug due to prealloc collision Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 047/163] rxrpc: Fix oops due to non-existence of prealloc backlog struct Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 048/163] ipmi:msghandler: Fix potential memory corruption in ipmi_create_user() Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 049/163] x86/mce/amd: Add default names for MCA banks and blocks Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 050/163] x86/mce/amd: Fix threshold limit reset Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 6.12 051/163] x86/mce: Dont remove sysfs if thresholding sysfs init fails Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 052/163] x86/mce: Ensure user polling settings are honored when restarting timer Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 053/163] x86/mce: Make sure CMCI banks are cleared during shutdown on Intel Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 054/163] KVM: x86/xen: Allow out of range event channel ports in IRQ routing table Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 055/163] KVM: SVM: Add missing member in SNP_LAUNCH_START command structure Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 056/163] KVM: SVM: Reject SEV{-ES} intra host migration if vCPU creation is in-flight Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 057/163] KVM: Allow CPU to reschedule while setting per-page memory attributes Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 058/163] ALSA: ad1816a: Fix potential NULL pointer deref in snd_card_ad1816a_pnp() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 059/163] ASoC: fsl_sai: Force a software reset when starting in consumer mode Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 060/163] gre: Fix IPv6 multicast route creation Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 061/163] net: ethernet: rtsn: Fix a null pointer dereference in rtsn_probe() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 062/163] md/md-bitmap: fix GPF in bitmap_get_stats() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 063/163] pinctrl: qcom: msm: mark certain pins as invalid for interrupts Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 064/163] pwm: Fix invalid state detection Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 065/163] pwm: mediatek: Ensure to disable clocks in error path Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 066/163] wifi: prevent A-MSDU attacks in mesh networks Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 067/163] wifi: mwifiex: discard erroneous disassoc frames on STA interface Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 068/163] wifi: mt76: mt7921: prevent decap offload config before STA initialization Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 069/163] wifi: mt76: mt7925: prevent NULL pointer dereference in mt7925_sta_set_decap_offload() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 070/163] wifi: mt76: mt7925: fix the wrong config for tx interrupt Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 071/163] wifi: mt76: mt7925: fix invalid array index in ssid assignment during hw scan Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 072/163] drm/imagination: Fix kernel crash when hard resetting the GPU Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 073/163] drm/amdkfd: Dont call mmput from MMU notifier callback Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 074/163] drm/gem: Acquire references on GEM handles for framebuffers Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 075/163] drm/sched: Increment job count before swapping tail spsc queue Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 076/163] drm/ttm: fix error handling in ttm_buffer_object_transfer Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 077/163] drm/gem: Fix race in drm_gem_handle_create_tail() Greg Kroah-Hartman
2025-07-15 13:34   ` Thomas Zimmermann
2025-07-15 13:12 ` [PATCH 6.12 078/163] drm/xe/bmg: fix compressed VRAM handling Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 079/163] Revert "drm/xe/xe2: Enable Indirect Ring State support for Xe2" Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 080/163] usb: gadget: u_serial: Fix race condition in TTY wakeup Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 081/163] Revert "usb: gadget: u_serial: Add null pointer check in gs_start_io" Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 082/163] drm/framebuffer: Acquire internal references on GEM handles Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 083/163] drm/xe: Allocate PF queue size on pow2 boundary Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 084/163] Revert "ACPI: battery: negate current when discharging" Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 085/163] Revert "PCI/ACPI: Fix allocated memory release on error in pci_acpi_scan_root()" Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 086/163] kallsyms: fix build without execinfo Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 087/163] maple_tree: fix mt_destroy_walk() on root leaf node Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 088/163] mm: fix the inaccurate memory statistics issue for users Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 089/163] scripts/gdb: fix interrupts display after MCP on x86 Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 090/163] scripts/gdb: de-reference per-CPU MCE interrupts Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 091/163] scripts/gdb: fix interrupts.py after maple tree conversion Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 092/163] mm/vmalloc: leave lazy MMU mode on PTE mapping error Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 093/163] lib/alloc_tag: do not acquire non-existent lock in alloc_tag_top_users() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 094/163] rust: init: allow `dead_code` warnings for Rust >= 1.89.0 Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 095/163] clk: imx: Fix an out-of-bounds access in dispmix_csr_clk_dev_data Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 096/163] x86/rdrand: Disable RDSEED on AMD Cyan Skillfish Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 097/163] x86/mm: Disable hugetlb page table sharing on 32-bit Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 098/163] clk: scmi: Handle case where child clocks are initialized before their parents Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 099/163] smb: server: make use of rdma_destroy_qp() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 100/163] ksmbd: fix a mount write count leak in ksmbd_vfs_kern_path_locked() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 101/163] erofs: fix to add missing tracepoint in erofs_read_folio() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 102/163] erofs: address D-cache aliasing Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 103/163] ASoC: Intel: sof-function-topology-lib: Print out the unsupported dmic count Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 104/163] netlink: Fix rmem check in netlink_broadcast_deliver() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 105/163] netlink: make sure we allow at least one dump skb Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 106/163] netfs: Fix ref leak on inserted extra subreq in write retry Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 107/163] wifi: cfg80211: fix S1G beacon head validation in nl80211 Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 108/163] wifi: zd1211rw: Fix potential NULL pointer dereference in zd_mac_tx_to_dev() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 109/163] drm/tegra: nvdec: Fix dma_alloc_coherent error check Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 110/163] md/raid1: Fix stack memory use after return in raid1_reshape Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 6.12 111/163] raid10: cleanup memleak at raid10_make_request Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 112/163] wifi: mac80211: correctly identify S1G short beacon Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 113/163] wifi: mac80211: fix non-transmitted BSSID profile search Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 114/163] wifi: rt2x00: fix remove callback type mismatch Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 115/163] drm/nouveau/gsp: fix potential leak of memory used during acpi init Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 116/163] wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 117/163] nbd: fix uaf in nbd_genl_connect() error path Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 118/163] drm/xe/pf: Clear all LMTT pages on alloc Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 119/163] erofs: free pclusters if no cached folio is attached Greg Kroah-Hartman
2025-07-15 13:51   ` Gao Xiang
2025-07-15 13:55     ` Gao Xiang
2025-07-15 13:13 ` [PATCH 6.12 120/163] erofs: get rid of `z_erofs_next_pcluster_t` Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 121/163] erofs: tidy up zdata.c Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 122/163] erofs: refine readahead tracepoint Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 123/163] erofs: fix to add missing tracepoint in erofs_readahead() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 124/163] netfilter: flowtable: account for Ethernet header in nf_flow_pppoe_proto() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 125/163] net: appletalk: Fix device refcount leak in atrtr_create() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 126/163] ibmvnic: Fix hardcoded NUM_RX_STATS/NUM_TX_STATS with dynamic sizeof Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 127/163] net: phy: microchip: Use genphy_soft_reset() to purge stale LPA bits Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 128/163] net: phy: microchip: limit 100M workaround to link-down events on LAN88xx Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 129/163] selftests: net: lib: Move logging from forwarding/lib.sh here Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 130/163] selftests: net: lib: fix shift count out of range Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 131/163] drm/xe/pm: Correct comment of xe_pm_set_vram_threshold() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 132/163] can: m_can: m_can_handle_lost_msg(): downgrade msg lost in rx message to debug level Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 133/163] net/mlx5e: Fix race between DIM disable and net_dim() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 134/163] net/mlx5e: Add new prio for promiscuous mode Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 135/163] net: ll_temac: Fix missing tx_pending check in ethtools_set_ringparam() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 136/163] bnxt_en: Fix DCB ETS validation Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 137/163] bnxt_en: Set DMA unmap len correctly for XDP_REDIRECT Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 138/163] ublk: sanity check add_dev input for underflow Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 139/163] atm: idt77252: Add missing `dma_map_error()` Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 140/163] um: vector: Reduce stack usage in vector_eth_configure() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 141/163] ASoC: SOF: Intel: hda: Use devm_kstrdup() to avoid memleak Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 142/163] ALSA: hda/realtek: Add mic-mute LED setup for ASUS UM5606 Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 143/163] io_uring: make fallocate be hashed work Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 144/163] ASoC: amd: yc: add quirk for Acer Nitro ANV15-41 internal mic Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 145/163] ALSA: hda/realtek - Enable mute LED on HP Pavilion Laptop 15-eg100 Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 146/163] ALSA: hda/realtek: Add quirks for some Clevo laptops Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 147/163] net: usb: qmi_wwan: add SIMCom 8230C composition Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 148/163] driver: bluetooth: hci_qca:fix unable to load the BT driver Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 149/163] HID: lenovo: Add support for ThinkPad X1 Tablet Thin Keyboard Gen2 Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 150/163] net: mana: Record doorbell physical address in PF mode Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 151/163] btrfs: fix assertion when building free space tree Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 152/163] vt: add missing notification when switching back to text mode Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 153/163] bpf: Adjust free target to avoid global starvation of LRU map Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 154/163] riscv: vdso: Exclude .rodata from the PT_DYNAMIC segment Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 155/163] HID: Add IGNORE quirk for SMARTLINKTECHNOLOGY Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 156/163] HID: quirks: Add quirk for 2 Chicony Electronics HP 5MP Cameras Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 157/163] HID: nintendo: avoid bluetooth suspend/resume stalls Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 158/163] selftests/bpf: adapt one more case in test_lru_map to the new target_free Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 159/163] erofs: fix rare pcluster memory leak after unmounting Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 160/163] net: wangxun: revert the adjustment of the IRQ vector sequence Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 161/163] kasan: remove kasan_find_vm_area() to prevent possible deadlock Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 162/163] ksmbd: fix potential use-after-free in oplock/lease break ack Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 6.12 163/163] arm64: Filter out SME hwcaps when FEAT_SME isnt implemented Greg Kroah-Hartman
2025-07-15 17:03 ` [PATCH 6.12 000/163] 6.12.39-rc1 review Miguel Ojeda
2025-07-15 20:20 ` Pavel Machek
2025-07-16 14:51 ` Shuah Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250715130809.926161182@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=jbaron@akamai.com \
    --cc=kuba@kernel.org \
    --cc=kuniyu@google.com \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox