From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev,
Scott Mitchell <scott.k.mitch1@gmail.com>,
Florian Westphal <fw@strlen.de>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.12 074/162] netfilter: nfnetlink_queue: make hash table per queue
Date: Mon, 20 Apr 2026 17:41:46 +0200 [thread overview]
Message-ID: <20260420153929.717362603@linuxfoundation.org> (raw)
In-Reply-To: <20260420153927.006696811@linuxfoundation.org>
6.12-stable review patch. If anyone has any objections, please let me know.
------------------
From: Florian Westphal <fw@strlen.de>
[ Upstream commit 936206e3f6ff411581e615e930263d6f8b78df9d ]
Sharing a global hash table among all queues is tempting, but
it can cause crash:
BUG: KASAN: slab-use-after-free in nfqnl_recv_verdict+0x11ac/0x15e0 [nfnetlink_queue]
[..]
nfqnl_recv_verdict+0x11ac/0x15e0 [nfnetlink_queue]
nfnetlink_rcv_msg+0x46a/0x930
kmem_cache_alloc_node_noprof+0x11e/0x450
struct nf_queue_entry is freed via kfree, but parallel cpu can still
encounter such an nf_queue_entry when walking the list.
Alternative fix is to free the nf_queue_entry via kfree_rcu() instead,
but as we have to alloc/free for each skb this will cause more mem
pressure.
Cc: Scott Mitchell <scott.k.mitch1@gmail.com>
Fixes: e19079adcd26 ("netfilter: nfnetlink_queue: optimize verdict lookup with hash table")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
include/net/netfilter/nf_queue.h | 1 -
net/netfilter/nfnetlink_queue.c | 139 +++++++++++--------------------
2 files changed, 49 insertions(+), 91 deletions(-)
diff --git a/include/net/netfilter/nf_queue.h b/include/net/netfilter/nf_queue.h
index 45eb26b2e95b3..d17035d14d96c 100644
--- a/include/net/netfilter/nf_queue.h
+++ b/include/net/netfilter/nf_queue.h
@@ -23,7 +23,6 @@ struct nf_queue_entry {
struct nf_hook_state state;
bool nf_ct_is_unconfirmed;
u16 size; /* sizeof(entry) + saved route keys */
- u16 queue_num;
/* extra space to store route keys */
};
diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c
index 5ab750556e992..cc52ff7b7bcfc 100644
--- a/net/netfilter/nfnetlink_queue.c
+++ b/net/netfilter/nfnetlink_queue.c
@@ -49,8 +49,8 @@
#endif
#define NFQNL_QMAX_DEFAULT 1024
-#define NFQNL_HASH_MIN 1024
-#define NFQNL_HASH_MAX 1048576
+#define NFQNL_HASH_MIN 8
+#define NFQNL_HASH_MAX 32768
/* We're using struct nlattr which has 16bit nla_len. Note that nla_len
* includes the header length. Thus, the maximum packet length that we
@@ -60,29 +60,10 @@
*/
#define NFQNL_MAX_COPY_RANGE (0xffff - NLA_HDRLEN)
-/* Composite key for packet lookup: (net, queue_num, packet_id) */
-struct nfqnl_packet_key {
- possible_net_t net;
- u32 packet_id;
- u16 queue_num;
-} __aligned(sizeof(u32)); /* jhash2 requires 32-bit alignment */
-
-/* Global rhashtable - one for entire system, all netns */
-static struct rhashtable nfqnl_packet_map __read_mostly;
-
-/* Helper to initialize composite key */
-static inline void nfqnl_init_key(struct nfqnl_packet_key *key,
- struct net *net, u32 packet_id, u16 queue_num)
-{
- memset(key, 0, sizeof(*key));
- write_pnet(&key->net, net);
- key->packet_id = packet_id;
- key->queue_num = queue_num;
-}
-
struct nfqnl_instance {
struct hlist_node hlist; /* global list of queues */
- struct rcu_head rcu;
+ struct rhashtable nfqnl_packet_map;
+ struct rcu_work rwork;
u32 peer_portid;
unsigned int queue_maxlen;
@@ -106,6 +87,7 @@ struct nfqnl_instance {
typedef int (*nfqnl_cmpfn)(struct nf_queue_entry *, unsigned long);
+static struct workqueue_struct *nfq_cleanup_wq __read_mostly;
static unsigned int nfnl_queue_net_id __read_mostly;
#define INSTANCE_BUCKETS 16
@@ -124,34 +106,10 @@ static inline u_int8_t instance_hashfn(u_int16_t queue_num)
return ((queue_num >> 8) ^ queue_num) % INSTANCE_BUCKETS;
}
-/* Extract composite key from nf_queue_entry for hashing */
-static u32 nfqnl_packet_obj_hashfn(const void *data, u32 len, u32 seed)
-{
- const struct nf_queue_entry *entry = data;
- struct nfqnl_packet_key key;
-
- nfqnl_init_key(&key, entry->state.net, entry->id, entry->queue_num);
-
- return jhash2((u32 *)&key, sizeof(key) / sizeof(u32), seed);
-}
-
-/* Compare stack-allocated key against entry */
-static int nfqnl_packet_obj_cmpfn(struct rhashtable_compare_arg *arg,
- const void *obj)
-{
- const struct nfqnl_packet_key *key = arg->key;
- const struct nf_queue_entry *entry = obj;
-
- return !net_eq(entry->state.net, read_pnet(&key->net)) ||
- entry->queue_num != key->queue_num ||
- entry->id != key->packet_id;
-}
-
static const struct rhashtable_params nfqnl_rhashtable_params = {
.head_offset = offsetof(struct nf_queue_entry, hash_node),
- .key_len = sizeof(struct nfqnl_packet_key),
- .obj_hashfn = nfqnl_packet_obj_hashfn,
- .obj_cmpfn = nfqnl_packet_obj_cmpfn,
+ .key_offset = offsetof(struct nf_queue_entry, id),
+ .key_len = sizeof(u32),
.automatic_shrinking = true,
.min_size = NFQNL_HASH_MIN,
.max_size = NFQNL_HASH_MAX,
@@ -190,6 +148,10 @@ instance_create(struct nfnl_queue_net *q, u_int16_t queue_num, u32 portid)
spin_lock_init(&inst->lock);
INIT_LIST_HEAD(&inst->queue_list);
+ err = rhashtable_init(&inst->nfqnl_packet_map, &nfqnl_rhashtable_params);
+ if (err < 0)
+ goto out_free;
+
spin_lock(&q->instances_lock);
if (instance_lookup(q, queue_num)) {
err = -EEXIST;
@@ -210,6 +172,8 @@ instance_create(struct nfnl_queue_net *q, u_int16_t queue_num, u32 portid)
out_unlock:
spin_unlock(&q->instances_lock);
+ rhashtable_destroy(&inst->nfqnl_packet_map);
+out_free:
kfree(inst);
return ERR_PTR(err);
}
@@ -217,15 +181,18 @@ instance_create(struct nfnl_queue_net *q, u_int16_t queue_num, u32 portid)
static void nfqnl_flush(struct nfqnl_instance *queue, nfqnl_cmpfn cmpfn,
unsigned long data);
-static void
-instance_destroy_rcu(struct rcu_head *head)
+static void instance_destroy_work(struct work_struct *work)
{
- struct nfqnl_instance *inst = container_of(head, struct nfqnl_instance,
- rcu);
+ struct nfqnl_instance *inst;
+ inst = container_of(to_rcu_work(work), struct nfqnl_instance,
+ rwork);
rcu_read_lock();
nfqnl_flush(inst, NULL, 0);
rcu_read_unlock();
+
+ rhashtable_destroy(&inst->nfqnl_packet_map);
+
kfree(inst);
module_put(THIS_MODULE);
}
@@ -234,7 +201,9 @@ static void
__instance_destroy(struct nfqnl_instance *inst)
{
hlist_del_rcu(&inst->hlist);
- call_rcu(&inst->rcu, instance_destroy_rcu);
+
+ INIT_RCU_WORK(&inst->rwork, instance_destroy_work);
+ queue_rcu_work(nfq_cleanup_wq, &inst->rwork);
}
static void
@@ -250,9 +219,7 @@ __enqueue_entry(struct nfqnl_instance *queue, struct nf_queue_entry *entry)
{
int err;
- entry->queue_num = queue->queue_num;
-
- err = rhashtable_insert_fast(&nfqnl_packet_map, &entry->hash_node,
+ err = rhashtable_insert_fast(&queue->nfqnl_packet_map, &entry->hash_node,
nfqnl_rhashtable_params);
if (unlikely(err))
return err;
@@ -266,23 +233,19 @@ __enqueue_entry(struct nfqnl_instance *queue, struct nf_queue_entry *entry)
static void
__dequeue_entry(struct nfqnl_instance *queue, struct nf_queue_entry *entry)
{
- rhashtable_remove_fast(&nfqnl_packet_map, &entry->hash_node,
+ rhashtable_remove_fast(&queue->nfqnl_packet_map, &entry->hash_node,
nfqnl_rhashtable_params);
list_del(&entry->list);
queue->queue_total--;
}
static struct nf_queue_entry *
-find_dequeue_entry(struct nfqnl_instance *queue, unsigned int id,
- struct net *net)
+find_dequeue_entry(struct nfqnl_instance *queue, unsigned int id)
{
- struct nfqnl_packet_key key;
struct nf_queue_entry *entry;
- nfqnl_init_key(&key, net, id, queue->queue_num);
-
spin_lock_bh(&queue->lock);
- entry = rhashtable_lookup_fast(&nfqnl_packet_map, &key,
+ entry = rhashtable_lookup_fast(&queue->nfqnl_packet_map, &id,
nfqnl_rhashtable_params);
if (entry)
@@ -1529,7 +1492,7 @@ static int nfqnl_recv_verdict(struct sk_buff *skb, const struct nfnl_info *info,
verdict = ntohl(vhdr->verdict);
- entry = find_dequeue_entry(queue, ntohl(vhdr->id), info->net);
+ entry = find_dequeue_entry(queue, ntohl(vhdr->id));
if (entry == NULL)
return -ENOENT;
@@ -1878,40 +1841,38 @@ static int __init nfnetlink_queue_init(void)
{
int status;
- status = rhashtable_init(&nfqnl_packet_map, &nfqnl_rhashtable_params);
- if (status < 0)
- return status;
+ nfq_cleanup_wq = alloc_ordered_workqueue("nfq_workqueue", 0);
+ if (!nfq_cleanup_wq)
+ return -ENOMEM;
status = register_pernet_subsys(&nfnl_queue_net_ops);
- if (status < 0) {
- pr_err("failed to register pernet ops\n");
- goto cleanup_rhashtable;
- }
+ if (status < 0)
+ goto cleanup_pernet_subsys;
- netlink_register_notifier(&nfqnl_rtnl_notifier);
- status = nfnetlink_subsys_register(&nfqnl_subsys);
- if (status < 0) {
- pr_err("failed to create netlink socket\n");
- goto cleanup_netlink_notifier;
- }
+ status = netlink_register_notifier(&nfqnl_rtnl_notifier);
+ if (status < 0)
+ goto cleanup_rtnl_notifier;
status = register_netdevice_notifier(&nfqnl_dev_notifier);
- if (status < 0) {
- pr_err("failed to register netdevice notifier\n");
- goto cleanup_netlink_subsys;
- }
+ if (status < 0)
+ goto cleanup_dev_notifier;
+
+ status = nfnetlink_subsys_register(&nfqnl_subsys);
+ if (status < 0)
+ goto cleanup_nfqnl_subsys;
nf_register_queue_handler(&nfqh);
return status;
-cleanup_netlink_subsys:
- nfnetlink_subsys_unregister(&nfqnl_subsys);
-cleanup_netlink_notifier:
+cleanup_nfqnl_subsys:
+ unregister_netdevice_notifier(&nfqnl_dev_notifier);
+cleanup_dev_notifier:
netlink_unregister_notifier(&nfqnl_rtnl_notifier);
+cleanup_rtnl_notifier:
unregister_pernet_subsys(&nfnl_queue_net_ops);
-cleanup_rhashtable:
- rhashtable_destroy(&nfqnl_packet_map);
+cleanup_pernet_subsys:
+ destroy_workqueue(nfq_cleanup_wq);
return status;
}
@@ -1922,9 +1883,7 @@ static void __exit nfnetlink_queue_fini(void)
nfnetlink_subsys_unregister(&nfqnl_subsys);
netlink_unregister_notifier(&nfqnl_rtnl_notifier);
unregister_pernet_subsys(&nfnl_queue_net_ops);
-
- rhashtable_destroy(&nfqnl_packet_map);
-
+ destroy_workqueue(nfq_cleanup_wq);
rcu_barrier(); /* Wait for completion of call_rcu()'s */
}
--
2.53.0
next prev parent reply other threads:[~2026-04-20 16:08 UTC|newest]
Thread overview: 176+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 15:40 [PATCH 6.12 000/162] 6.12.83-rc1 review Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 001/162] RDMA/irdma: Fix double free related to rereg_user_mr Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 002/162] ASoC: amd: yc: Add DMI quirk for ASUS EXPERTBOOK BM1403CDA Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 003/162] ALSA: hda/realtek: Add HP ENVY Laptop 13-ba0xxx quirk Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 004/162] ALSA: hda/realtek: Add quirk for ASUS ROG Flow Z13-KJP GZ302EAC Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 005/162] media: rkvdec: reduce stack usage in rkvdec_init_v4l2_vp9_count_tbl() Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 006/162] ALSA: asihpi: avoid write overflow check warning Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 007/162] Bluetooth: hci_sync: annotate data-races around hdev->req_status Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 008/162] ASoC: amd: yc: Add DMI quirk for Thin A15 B7VF Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 009/162] ASoC: SOF: topology: reject invalid vendor array size in token parser Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 010/162] can: mcp251x: add error handling for power enable in open and resume Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 011/162] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 012/162] btrfs: tracepoints: get correct superblock from dentry in event btrfs_sync_file() Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 013/162] ALSA: hda/realtek: Add mute LED quirk for HP Pavilion 15-eg0xxx Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 014/162] drm/amdgpu: Handle GPU page faults correctly on non-4K page systems Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 015/162] srcu: Use irq_work to start GP in tiny SRCU Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 016/162] netfilter: nft_set_pipapo_avx2: dont return non-matching entry on expiry Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 017/162] ALSA: hda/realtek: add quirk for Framework F111:000F Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 018/162] wifi: wl1251: validate packet IDs before indexing tx_frames Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 019/162] ASoC: soc-core: call missing INIT_LIST_HEAD() for card_aux_list Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 020/162] ALSA: hda/realtek: Add quirk for Samsung Book2 Pro 360 (NP950QED) Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 021/162] ALSA: usb-audio: Fix quirk flags for NeuralDSP Quad Cortex Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 022/162] fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 023/162] ASoC: amd: yc: Add DMI entry for HP Laptop 15-fc0xxx Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 024/162] ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14IMH9 Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 025/162] pinctrl: intel: Fix the revision for new features (1kOhm PD, HW debouncer) Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 026/162] platform/x86/amd: pmc: Add Thinkpad L14 Gen3 to quirk_s2idle_bug Greg Kroah-Hartman
2026-04-20 15:40 ` [PATCH 6.12 027/162] HID: quirks: add HID_QUIRK_ALWAYS_POLL for 8BitDo Pro 3 Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 028/162] ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14IAH10 Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 029/162] HID: roccat: fix use-after-free in roccat_report_event Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 030/162] ata: ahci: force 32-bit DMA for JMicron JMB582/JMB585 Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 031/162] wifi: brcmfmac: validate bsscfg indices in IF events Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 032/162] net: sfp: add quirks for Hisense and HSGQ GPON ONT SFP modules Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 033/162] ASoC: stm32_sai: fix incorrect BCLK polarity for DSP_A/B, LEFT_J Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 034/162] soc: aspeed: socinfo: Mask table entries for accurate SoC ID matching Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 035/162] arm64: dts: qcom: hamoa/x1: fix idle exit latency Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 036/162] arm64: dts: imx8mq: Set the correct gpu_ahb clock frequency Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 037/162] arm64: dts: imx93-9x9-qsb: change usdhc tuning step for eMMC and SD Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 038/162] arm64: dts: imx93-tqma9352: improve eMMC pad configuration Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 039/162] soc: qcom: pd-mapper: Fix element length in servreg_loc_pfr_req_ei Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 040/162] tools/power/turbostat: Fix microcode patch level output for AMD/Hygon Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 041/162] PCI: hv: Set default NUMA node to 0 for devices without affinity info Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 042/162] HID: amd_sfh: dont log error when device discovery fails with -EOPNOTSUPP Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 043/162] xfrm: account XFRMA_IF_ID in aevent size calculation Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 044/162] drm/vc4: Release runtime PM reference after binding V3D Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 045/162] drm/vc4: Fix memory leak of BO array in hang state Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 046/162] drm/vc4: Fix a memory leak in hang state error path Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 047/162] drm/vc4: Protect madv read in vc4_gem_object_mmap() with madv_lock Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 048/162] eventpoll: defer struct eventpoll free to RCU grace period Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 049/162] net: sched: act_csum: validate nested VLAN headers Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 050/162] net: lapbether: handle NETDEV_PRE_TYPE_CHANGE Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 051/162] ipv4: nexthop: avoid duplicate NHA_HW_STATS_ENABLE on nexthop group dump Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 052/162] ipv4: nexthop: allocate skb dynamically in rtm_get_nexthop() Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 053/162] ipv4: icmp: fix null-ptr-deref in icmp_build_probe() Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 054/162] net: increase IP_TUNNEL_RECURSION_LIMIT to 5 Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 055/162] nfc: s3fwrn5: allocate rx skb before consuming bytes Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 056/162] net: stmmac: Fix PTP ref clock for Tegra234 Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 057/162] dt-bindings: net: Fix Tegra234 MGBE PTP clock Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 058/162] tracing/probe: reject non-closed empty immediate strings Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 059/162] ixgbevf: add missing negotiate_features op to Hyper-V ops table Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 060/162] e1000: check return value of e1000_read_eeprom Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 061/162] xsk: tighten UMEM headroom validation to account for tailroom and min frame Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 062/162] xsk: respect tailroom for ZC setups Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 063/162] xsk: fix XDP_UMEM_SG_FLAG issues Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 064/162] xsk: validate MTU against usable frame size on bind Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 065/162] xfrm: Wait for RCU readers during policy netns exit Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 066/162] xfrm: fix refcount leak in xfrm_migrate_policy_find Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 067/162] xfrm_user: fix info leak in build_mapping() Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 068/162] selftests: net: bridge_vlan_mcast: wait for h1 before querier check Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 069/162] ipvs: fix NULL deref in ip_vs_add_service error path Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 070/162] netfilter: nfnetlink_log: initialize nfgenmsg in NLMSG_DONE terminator Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 071/162] netfilter: xt_multiport: validate range encoding in checkentry Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 072/162] netfilter: ip6t_eui64: reject invalid MAC header for all packets Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 073/162] netfilter: nfnetlink_queue: nfqnl_instance GFP_ATOMIC -> GFP_KERNEL_ACCOUNT allocation Greg Kroah-Hartman
2026-04-20 15:41 ` Greg Kroah-Hartman [this message]
2026-04-20 15:41 ` [PATCH 6.12 075/162] net: txgbe: leave space for null terminators on property_entry Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 076/162] af_unix: read UNIX_DIAG_VFS data under unix_state_lock Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 077/162] net: ipa: fix GENERIC_CMD register field masks for IPA v5.0+ Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 078/162] net: ipa: fix event ring index not programmed " Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 079/162] l2tp: Drop large packets with UDP encap Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 080/162] gpio: tegra: fix irq_release_resources calling enable instead of disable Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 081/162] crypto: af_alg - limit RX SG extraction by receive buffer budget Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 082/162] perf/x86/intel/uncore: Skip discovery table for offline dies Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 083/162] sched/deadline: Use revised wakeup rule for dl_server Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 084/162] clockevents: Prevent timer interrupt starvation Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 085/162] crypto: algif_aead - Fix minimum RX size check for decryption Greg Kroah-Hartman
2026-04-20 19:31 ` Daniel Pouzzner
2026-04-20 15:41 ` [PATCH 6.12 086/162] netfilter: conntrack: add missing netlink policy validations Greg Kroah-Hartman
2026-04-20 15:41 ` [PATCH 6.12 087/162] Revert "drm/xe/mmio: Avoid double-adjust in 64-bit reads" Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 088/162] Revert "drm/xe: Switch MMIO interface to take xe_mmio instead of xe_gt" Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 089/162] thermal: core: Mark thermal zones as exiting before unregistration Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 090/162] thermal: core: Address thermal zone removal races with resume Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 091/162] ALSA: usb-audio: Improve Focusrite sample rate filtering Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 092/162] idpf: fix PREEMPT_RT raw/bh spinlock nesting for async VC handling Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 093/162] nfc: llcp: add missing return after LLCP_CLOSED checks Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 094/162] can: raw: fix ro->uniq use-after-free in raw_rcv() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 095/162] i2c: s3c24xx: check the size of the SMBUS message before using it Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 096/162] staging: rtl8723bs: initialize le_tmp64 in rtw_BIP_verify() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 097/162] HID: alps: fix NULL pointer dereference in alps_raw_event() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 098/162] HID: core: clamp report_size in s32ton() to avoid undefined shift Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 099/162] net: usb: cdc-phonet: fix skb frags[] overflow in rx_complete() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 100/162] NFC: digital: Bounds check NFC-A cascade depth in SDD response handler Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 101/162] drm/vc4: platform_get_irq_byname() returns an int Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 102/162] ALSA: fireworks: bound device-supplied status before string array lookup Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 103/162] fbdev: tdfxfb: avoid divide-by-zero on FBIOPUT_VSCREENINFO Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 104/162] usb: gadget: f_ncm: validate minimum block_len in ncm_unwrap_ntb() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 105/162] usb: gadget: f_phonet: fix skb frags[] overflow in pn_rx_complete() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 106/162] usb: gadget: renesas_usb3: validate endpoint index in standard request handlers Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 107/162] smb: client: fix off-by-8 bounds check in check_wsl_eas() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 108/162] ksmbd: validate EaNameLength in smb2_get_ea() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 109/162] ksmbd: require 3 sub-authorities before reading sub_auth[2] Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 110/162] ksmbd: fix mechToken leak when SPNEGO decode fails after token alloc Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 111/162] usbip: validate number_of_packets in usbip_pack_ret_submit() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 112/162] usb: storage: Expand range of matched versions for VL817 quirks entry Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 113/162] USB: cdc-acm: Add quirks for Yoga Book 9 14IAH10 INGENIC touchscreen Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 114/162] usb: gadget: f_hid: dont call cdev_init while cdev in use Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 115/162] usb: port: add delay after usb_hub_set_port_power() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 116/162] fbdev: udlfb: avoid divide-by-zero on FBIOPUT_VSCREENINFO Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 117/162] scripts: generate_rust_analyzer.py: avoid FD leak Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 118/162] wifi: rtw88: fix device leak on probe failure Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 119/162] staging: sm750fb: fix division by zero in ps_to_hz() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 120/162] USB: serial: option: add Telit Cinterion FN990A MBIM composition Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 121/162] Docs/admin-guide/mm/damon/reclaim: warn commit_inputs vs param updates race Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 122/162] ALSA: ctxfi: Limit PTP to a single page Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 123/162] dcache: Limit the minimal number of bucket to two Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 124/162] media: vidtv: fix NULL pointer dereference in vidtv_channel_pmt_match_sections Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 125/162] ocfs2: fix possible deadlock between unlink and dio_end_io_write Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 126/162] ocfs2: fix use-after-free in ocfs2_fault() when VM_FAULT_RETRY Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 127/162] ocfs2: handle invalid dinode in ocfs2_group_extend Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 128/162] PCI: endpoint: pci-epf-vntb: Stop cmd_handler work in epf_ntb_epc_cleanup Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 129/162] KVM: SEV: Reject attempts to sync VMSA of an already-launched/encrypted vCPU Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 130/162] KVM: SEV: Disallow LAUNCH_FINISH if vCPUs are actively being created Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 131/162] KVM: SEV: Drop WARN on large size for KVM_MEMORY_ENCRYPT_REG_REGION Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 132/162] gpiolib: unify two loops initializing GPIO descriptors Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 133/162] gpiolib: fix race condition for gdev->srcu Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 134/162] net: sched: fix TCF_LAYER_TRANSPORT handling in tcf_get_base_ptr() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 135/162] kernel: be more careful about dup_mmap() failures and uprobe registering Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 136/162] KVM: Remove subtle "struct kvm_stats_desc" pseudo-overlay Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 137/162] KVM: x86: Use __DECLARE_FLEX_ARRAY() for UAPI structures with VLAs Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 138/162] checkpatch: add support for Assisted-by tag Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 139/162] x86-64: rename misleadingly named __copy_user_nocache() function Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 140/162] x86: rename and clean up __copy_from_user_inatomic_nocache() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 141/162] x86-64/arm64/powerpc: clean up and rename __copy_from_user_flushcache Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 142/162] KVM: x86: Use scratch field in MMIO fragment to hold small write values Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 143/162] ASoC: qcom: q6apm: move component registration to unmanaged version Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 144/162] mm/kasan: fix double free for kasan pXds Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 145/162] mm: blk-cgroup: fix use-after-free in cgwb_release_workfn() Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 146/162] media: vidtv: fix nfeeds state corruption on start_streaming failure Greg Kroah-Hartman
2026-04-20 15:42 ` [PATCH 6.12 147/162] media: mediatek: vcodec: fix use-after-free in encoder release path Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 148/162] media: em28xx: fix use-after-free in em28xx_v4l2_open() Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 149/162] hwmon: (powerz) Fix use-after-free on USB disconnect Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 150/162] ALSA: 6fire: fix use-after-free on disconnect Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 151/162] bcache: fix cached_dev.sb_bio use-after-free and crash Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 152/162] media: as102: fix to not free memory after the device is registered in as102_usb_probe() Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 153/162] nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 154/162] media: vidtv: fix pass-by-value structs causing MSAN warnings Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 155/162] media: hackrf: fix to not free memory after the device is registered in hackrf_probe() Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 156/162] ocfs2: add inline inode consistency check to ocfs2_validate_inode_block() Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 157/162] ocfs2: validate inline data i_size during inode read Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 158/162] ocfs2: fix out-of-bounds write in ocfs2_write_end_inline Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 159/162] rxrpc: Fix key quota calculation for multitoken keys Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 160/162] PCI: Fix placement of pci_save_state() in pci_bus_add_device() Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 161/162] ipv6: add NULL checks for idev in SRv6 paths Greg Kroah-Hartman
2026-04-20 15:43 ` [PATCH 6.12 162/162] PCI: Revert "Enable ACS after configuring IOMMU for OF platforms" Greg Kroah-Hartman
2026-04-20 17:12 ` [PATCH 6.12 000/162] 6.12.83-rc1 review Florian Fainelli
2026-04-20 20:27 ` Peter Schneider
2026-04-21 1:39 ` Barry K. Nathan
2026-04-21 7:10 ` Ron Economos
2026-04-21 8:08 ` Brett A C Sheffield
2026-04-21 8:24 ` Francesco Dolcini
2026-04-21 9:05 ` Vitaly Chikunov
2026-04-21 11:11 ` Miguel Ojeda
2026-04-21 14:11 ` Mark Brown
2026-04-21 16:54 ` Shuah Khan
2026-04-21 19:34 ` Pavel Machek
2026-04-21 19:35 ` Josh Law
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=20260420153929.717362603@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=fw@strlen.de \
--cc=patches@lists.linux.dev \
--cc=sashal@kernel.org \
--cc=scott.k.mitch1@gmail.com \
--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