From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev,
"Peter Zijlstra (Intel)" <peterz@infradead.org>,
Oleg Nesterov <oleg@redhat.com>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.6 167/186] ptrace: Convert ptrace_attach() to use lock guards
Date: Thu, 28 May 2026 21:50:47 +0200 [thread overview]
Message-ID: <20260528194933.473272852@linuxfoundation.org> (raw)
In-Reply-To: <20260528194928.941004471@linuxfoundation.org>
6.6-stable review patch. If anyone has any objections, please let me know.
------------------
From: Peter Zijlstra <peterz@infradead.org>
[ Upstream commit 5431fdd2c181dd2eac218e45b44deb2925fa48f0 ]
Created as testing for the conditional guard infrastructure.
Specifically this makes use of the following form:
scoped_cond_guard (mutex_intr, return -ERESTARTNOINTR,
&task->signal->cred_guard_mutex) {
...
}
...
return 0;
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Link: https://lkml.kernel.org/r/20231102110706.568467727%40infradead.org
Stable-dep-of: 60a1969fae62 ("ALSA: seq: Serialize UMP output teardown with event_input")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
include/linux/sched/task.h | 2 +
include/linux/spinlock.h | 26 ++++++++
kernel/ptrace.c | 128 ++++++++++++++++++-------------------
3 files changed, 89 insertions(+), 67 deletions(-)
diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h
index 8dbecab4c4000..fc19837c8083e 100644
--- a/include/linux/sched/task.h
+++ b/include/linux/sched/task.h
@@ -227,4 +227,6 @@ static inline void task_unlock(struct task_struct *p)
spin_unlock(&p->alloc_lock);
}
+DEFINE_GUARD(task_lock, struct task_struct *, task_lock(_T), task_unlock(_T))
+
#endif /* _LINUX_SCHED_TASK_H */
diff --git a/include/linux/spinlock.h b/include/linux/spinlock.h
index ceb56b39c70f7..90bc853cafb6a 100644
--- a/include/linux/spinlock.h
+++ b/include/linux/spinlock.h
@@ -548,5 +548,31 @@ DEFINE_LOCK_GUARD_1(spinlock_irqsave, spinlock_t,
DEFINE_LOCK_GUARD_1_COND(spinlock_irqsave, _try,
spin_trylock_irqsave(_T->lock, _T->flags))
+DEFINE_LOCK_GUARD_1(read_lock, rwlock_t,
+ read_lock(_T->lock),
+ read_unlock(_T->lock))
+
+DEFINE_LOCK_GUARD_1(read_lock_irq, rwlock_t,
+ read_lock_irq(_T->lock),
+ read_unlock_irq(_T->lock))
+
+DEFINE_LOCK_GUARD_1(read_lock_irqsave, rwlock_t,
+ read_lock_irqsave(_T->lock, _T->flags),
+ read_unlock_irqrestore(_T->lock, _T->flags),
+ unsigned long flags)
+
+DEFINE_LOCK_GUARD_1(write_lock, rwlock_t,
+ write_lock(_T->lock),
+ write_unlock(_T->lock))
+
+DEFINE_LOCK_GUARD_1(write_lock_irq, rwlock_t,
+ write_lock_irq(_T->lock),
+ write_unlock_irq(_T->lock))
+
+DEFINE_LOCK_GUARD_1(write_lock_irqsave, rwlock_t,
+ write_lock_irqsave(_T->lock, _T->flags),
+ write_unlock_irqrestore(_T->lock, _T->flags),
+ unsigned long flags)
+
#undef __LINUX_INSIDE_SPINLOCK_H
#endif /* __LINUX_SPINLOCK_H */
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 3c7d122a37fb4..6196a495d9c0c 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -396,6 +396,34 @@ static int check_ptrace_options(unsigned long data)
return 0;
}
+static inline void ptrace_set_stopped(struct task_struct *task)
+{
+ guard(spinlock)(&task->sighand->siglock);
+
+ /*
+ * If the task is already STOPPED, set JOBCTL_TRAP_STOP and
+ * TRAPPING, and kick it so that it transits to TRACED. TRAPPING
+ * will be cleared if the child completes the transition or any
+ * event which clears the group stop states happens. We'll wait
+ * for the transition to complete before returning from this
+ * function.
+ *
+ * This hides STOPPED -> RUNNING -> TRACED transition from the
+ * attaching thread but a different thread in the same group can
+ * still observe the transient RUNNING state. IOW, if another
+ * thread's WNOHANG wait(2) on the stopped tracee races against
+ * ATTACH, the wait(2) may fail due to the transient RUNNING.
+ *
+ * The following task_is_stopped() test is safe as both transitions
+ * in and out of STOPPED are protected by siglock.
+ */
+ if (task_is_stopped(task) &&
+ task_set_jobctl_pending(task, JOBCTL_TRAP_STOP | JOBCTL_TRAPPING)) {
+ task->jobctl &= ~JOBCTL_STOPPED;
+ signal_wake_up_state(task, __TASK_STOPPED);
+ }
+}
+
static int ptrace_attach(struct task_struct *task, long request,
unsigned long addr,
unsigned long flags)
@@ -403,17 +431,17 @@ static int ptrace_attach(struct task_struct *task, long request,
bool seize = (request == PTRACE_SEIZE);
int retval;
- retval = -EIO;
if (seize) {
if (addr != 0)
- goto out;
+ return -EIO;
/*
* This duplicates the check in check_ptrace_options() because
* ptrace_attach() and ptrace_setoptions() have historically
* used different error codes for unknown ptrace options.
*/
if (flags & ~(unsigned long)PTRACE_O_MASK)
- goto out;
+ return -EIO;
+
retval = check_ptrace_options(flags);
if (retval)
return retval;
@@ -424,88 +452,54 @@ static int ptrace_attach(struct task_struct *task, long request,
audit_ptrace(task);
- retval = -EPERM;
if (unlikely(task->flags & PF_KTHREAD))
- goto out;
+ return -EPERM;
if (same_thread_group(task, current))
- goto out;
+ return -EPERM;
/*
* Protect exec's credential calculations against our interference;
* SUID, SGID and LSM creds get determined differently
* under ptrace.
*/
- retval = -ERESTARTNOINTR;
- if (mutex_lock_interruptible(&task->signal->cred_guard_mutex))
- goto out;
+ scoped_cond_guard (mutex_intr, return -ERESTARTNOINTR,
+ &task->signal->cred_guard_mutex) {
- task_lock(task);
- retval = __ptrace_may_access(task, PTRACE_MODE_ATTACH_REALCREDS);
- task_unlock(task);
- if (retval)
- goto unlock_creds;
+ scoped_guard (task_lock, task) {
+ retval = __ptrace_may_access(task, PTRACE_MODE_ATTACH_REALCREDS);
+ if (retval)
+ return retval;
+ }
- write_lock_irq(&tasklist_lock);
- retval = -EPERM;
- if (unlikely(task->exit_state))
- goto unlock_tasklist;
- if (task->ptrace)
- goto unlock_tasklist;
+ scoped_guard (write_lock_irq, &tasklist_lock) {
+ if (unlikely(task->exit_state))
+ return -EPERM;
+ if (task->ptrace)
+ return -EPERM;
- task->ptrace = flags;
+ task->ptrace = flags;
- ptrace_link(task, current);
+ ptrace_link(task, current);
- /* SEIZE doesn't trap tracee on attach */
- if (!seize)
- send_sig_info(SIGSTOP, SEND_SIG_PRIV, task);
+ /* SEIZE doesn't trap tracee on attach */
+ if (!seize)
+ send_sig_info(SIGSTOP, SEND_SIG_PRIV, task);
- spin_lock(&task->sighand->siglock);
+ ptrace_set_stopped(task);
+ }
+ }
/*
- * If the task is already STOPPED, set JOBCTL_TRAP_STOP and
- * TRAPPING, and kick it so that it transits to TRACED. TRAPPING
- * will be cleared if the child completes the transition or any
- * event which clears the group stop states happens. We'll wait
- * for the transition to complete before returning from this
- * function.
- *
- * This hides STOPPED -> RUNNING -> TRACED transition from the
- * attaching thread but a different thread in the same group can
- * still observe the transient RUNNING state. IOW, if another
- * thread's WNOHANG wait(2) on the stopped tracee races against
- * ATTACH, the wait(2) may fail due to the transient RUNNING.
- *
- * The following task_is_stopped() test is safe as both transitions
- * in and out of STOPPED are protected by siglock.
+ * We do not bother to change retval or clear JOBCTL_TRAPPING
+ * if wait_on_bit() was interrupted by SIGKILL. The tracer will
+ * not return to user-mode, it will exit and clear this bit in
+ * __ptrace_unlink() if it wasn't already cleared by the tracee;
+ * and until then nobody can ptrace this task.
*/
- if (task_is_stopped(task) &&
- task_set_jobctl_pending(task, JOBCTL_TRAP_STOP | JOBCTL_TRAPPING)) {
- task->jobctl &= ~JOBCTL_STOPPED;
- signal_wake_up_state(task, __TASK_STOPPED);
- }
-
- spin_unlock(&task->sighand->siglock);
-
- retval = 0;
-unlock_tasklist:
- write_unlock_irq(&tasklist_lock);
-unlock_creds:
- mutex_unlock(&task->signal->cred_guard_mutex);
-out:
- if (!retval) {
- /*
- * We do not bother to change retval or clear JOBCTL_TRAPPING
- * if wait_on_bit() was interrupted by SIGKILL. The tracer will
- * not return to user-mode, it will exit and clear this bit in
- * __ptrace_unlink() if it wasn't already cleared by the tracee;
- * and until then nobody can ptrace this task.
- */
- wait_on_bit(&task->jobctl, JOBCTL_TRAPPING_BIT, TASK_KILLABLE);
- proc_ptrace_connector(task, PTRACE_ATTACH);
- }
+ wait_on_bit(&task->jobctl, JOBCTL_TRAPPING_BIT, TASK_KILLABLE);
+ proc_ptrace_connector(task, PTRACE_ATTACH);
- return retval;
+ return 0;
}
/**
--
2.53.0
next prev parent reply other threads:[~2026-05-28 20:52 UTC|newest]
Thread overview: 195+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-28 19:48 [PATCH 6.6 000/186] 6.6.142-rc1 review Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 001/186] mptcp: sync the msk->sndbuf at accept() time Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 002/186] mptcp: pm: ADD_ADDR rtx: allow ID 0 Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 003/186] mptcp: pm: ADD_ADDR rtx: always decrease sk refcount Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 004/186] mptcp: pm: ADD_ADDR rtx: free sk if last Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 005/186] spi: spidev: fix lock inversion between spi_lock and buf_lock Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 006/186] driver core: generalize driver_override in struct device Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 007/186] driver core: platform: use generic driver_override infrastructure Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 008/186] s390/debug: Reject zero-length input before trimming a newline Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 009/186] wifi: mac80211: check tdls flag in ieee80211_tdls_oper Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 010/186] Revert "x86/vdso: Fix output operand size of RDPID" Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 011/186] ksmbd: avoid reclaiming expired durable opens by the client Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 012/186] ksmbd: add durable scavenger timer Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 013/186] ksmbd: validate owner of durable handle on reconnect Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 014/186] ksmbd: close durable scavenger races against m_fp_list lookups Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 015/186] af_unix: Give up GC if MSG_PEEK intervened Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 016/186] smb: client: reject userspace cifs.spnego descriptions Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 017/186] Revert "ice: fix double-free of tx_buf skb" Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 018/186] Revert "ice: Remove jumbo_remove step from TX path" Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 019/186] Revert "s390/cio: Update purge function to unregister the unused subchannels" Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 020/186] Revert "af_unix: Reject SIOCATMARK on non-stream sockets" Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 021/186] i3c: mipi-i3c-hci: Correct RING_CTRL_ABORT handling in DMA dequeue Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 022/186] sysfs: dont remove existing directory on update failure Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 023/186] mm/damon/sysfs-schemes: call missing mem_cgroup_iter_break() Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 024/186] ksmbd: fix null pointer dereference in compare_guid_key() Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 025/186] ksmbd: fix SID memory leak in set_posix_acl_entries_dacl() on overflow Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 026/186] smb: client: protect tc_count increment in smb2_find_smb_sess_tcon_unlocked() Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 027/186] smb/server: promote S_DEL_ON_CLS to S_DEL_PENDING when close Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 028/186] hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 029/186] ALSA: ua101: Reject too-short USB descriptors Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 030/186] ALSA: pcm: Dont setup bogus iov_iter for silencing Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 031/186] ALSA: asihpi: Fix potential OOB array access at reading cache Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 032/186] efi: Allocate runtime workqueue before ACPI init Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 033/186] drivers/base/memory: fix memory block reference leak in poison accounting Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 034/186] net: wwan: iosm: fix potential memory leaks in ipc_imem_init() Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 035/186] Bluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_del() Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 036/186] Bluetooth: ISO: drop ISO_END frames received without prior ISO_START Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 037/186] Bluetooth: bnep: Fix UAF read of dev->name Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 038/186] Bluetooth: hci_uart: fix UAFs and race conditions in close and init paths Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 039/186] Bluetooth: MGMT: validate Add Extended Advertising Data length Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 040/186] Bluetooth: serialize accept_q access Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 041/186] phonet/pep: disable BH around forwarded sk_receive_skb() Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 042/186] net: bcmgenet: keep RBUF EEE/PM disabled Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 043/186] net: ifb: report ethtool stats over num_tx_queues Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 044/186] netfilter: ip6t_hbh: reject oversized option lists Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 045/186] netfilter: nf_queue: hold bridge skb->dev while queued Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 046/186] netfilter: ipset: stop hash:* range iteration at end Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 047/186] netfilter: nft_inner: Fix IPv6 inner_thoff desync Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 048/186] qed: fix double free in qed_cxt_tables_alloc() Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 049/186] ring-buffer: Fix reporting of missed events in iterator Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 050/186] vsock/vmci: fix UAF when peer resets connection during handshake Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 051/186] vsock/virtio: reset connection on receiving queue overflow Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 052/186] wifi: ath11k: clear shared SRNG pointer state on restart Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 053/186] ipv4: raw: reject IP_HDRINCL packets with ihl < 5 Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 054/186] ixgbevf: fix use-after-free in VEPA multicast source pruning Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 055/186] ice: fix setting promisc mode while adding VID filter Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 056/186] wifi: cfg80211: advance loop vars in cfg80211_merge_profile() Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 057/186] cifs: Fix busy dentry used after unmounting Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 058/186] tracing: Do not call map->ops->elt_free() if elt_alloc() fails Greg Kroah-Hartman
2026-05-28 19:48 ` [PATCH 6.6 059/186] arm64: probes: Handle probes on hinted conditional branch instructions Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 060/186] KVM: arm64: vgic-its: Reject restored DTE with out-of-range num_eventid_bits Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 061/186] drm/bridge: chipone-icn6211: use devm_drm_bridge_add in i2c probe Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 062/186] spi: qup: fix error pointer deref after DMA setup failure Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 063/186] phy: tegra: xusb: Fix per-pad high-speed termination calibration Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 064/186] scsi: isci: Fix use-after-free in device removal path Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 065/186] spi: sprd: fix error pointer deref after DMA setup failure Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 066/186] spi: ti-qspi: fix use-after-free " Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 067/186] RDMA/siw: Reject MPA FPDU length underflow before signed receive math Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 068/186] LoongArch: Remove unused code to avoid build warning Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 069/186] device property: set fwnode->secondary to NULL in fwnode_init() Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 070/186] drm/virtio: use uninterruptible resv lock for plane updates Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 071/186] drm/bridge: it66121: acquire reset GPIO in probe Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 072/186] drm/bridge: megachips: remove bridge when irq request fails Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 073/186] drm/amd/display: Fix integer overflow in bios_get_image() Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 074/186] drm/amd/display: Validate GPIO pin LUT table size before iterating Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 075/186] drm/amd/display: Validate payload length and link_index in dc_process_dmub_aux_transfer_async Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 076/186] batman-adv: mcast: fix use-after-free in orig_node RCU release Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 077/186] batman-adv: clear current gateway during teardown Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 078/186] batman-adv: dat: handle forward allocation error Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 079/186] batman-adv: fix fragment reassembly length accounting Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 080/186] batman-adv: fix tp_meter counter underflow during shutdown Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 081/186] batman-adv: frag: disallow unicast fragment in fragment Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 082/186] batman-adv: bla: fix report_work leak on backbone_gw purge Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 083/186] batman-adv: tp_meter: avoid use of uninit sender vars Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 084/186] batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 085/186] batman-adv: tp_meter: fix race condition in send error reporting Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 086/186] batman-adv: tt: fix negative last_changeset_len Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 087/186] batman-adv: tt: fix negative tt_buff_len Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 088/186] hwmon: (pmbus/adm1266) seed timestamp from the real-time clock Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 089/186] hwmon: (pmbus/adm1266) reject implausible blackbox record_count Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 090/186] hwmon: (pmbus/adm1266) include PEC byte in pmbus_block_xfer read buffer Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 091/186] hwmon: (pmbus/adm1266) bounce blackbox records through a protocol-sized buffer Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 092/186] hwmon: (pmbus/adm1266) cap PDIO scan in get_multiple at ADM1266_PDIO_NR Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 093/186] hwmon: (pmbus/adm1266) dont clobber GPIO bits before PDIO read in get_multiple Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 094/186] hwmon: (pmbus/adm1266) register the gpio_chip after pmbus_do_probe() Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 095/186] hwmon: (pmbus/adm1266) register the nvmem device " Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 096/186] hwmon: (pmbus/adm1266) reject short block-read responses in the GPIO accessors Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 097/186] HID: uclogic: Fix regression of input name assignment Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 098/186] firmware: arm_ffa: Check for NULL FF-A ID table while driver registration Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 099/186] firmware: arm_ffa: Skip free_pages on RX buffer alloc failure Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 100/186] kunit: config: Enable KUNIT_DEBUGFS by default Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 101/186] kunit: config: KUNIT_DEBUGFS should depend on DEBUG_FS Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 102/186] pinctrl: qcom: Fix wakeirq map by removing disconnected irqs for sm8150 Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 103/186] ARM: integrator: Fix early initialization Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 104/186] ALSA: hda: cs35l56: Put ACPI device after setting companion Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 105/186] btrfs: tracepoints: fix sleep while in atomic context in btrfs_sync_file() Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 106/186] netfilter: x_tables: unregister the templates first Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 107/186] netfilter: arptables: allow xtables-nft only builds Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 108/186] netfilter: xtables: " Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 109/186] netfilter: ebtables: " Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 110/186] netfilter: xtables: fix up kconfig dependencies Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 111/186] netfilter: arptables: Select NETFILTER_FAMILY_ARP when building arp_tables.c Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 112/186] netfilter: Make legacy configs user selectable Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 113/186] netfilter: Exclude LEGACY TABLES on PREEMPT_RT Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 114/186] netfilter: x_tables: add and use xt_unregister_table_pre_exit Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 115/186] netfilter: x_tables: add and use xtables_unregister_table_exit Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 116/186] netfilter: ebtables: move to two-stage removal scheme Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 117/186] netfilter: ebtables: close dangling table module init race Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 118/186] netfilter: x_tables: " Greg Kroah-Hartman
2026-05-28 19:49 ` [PATCH 6.6 119/186] netfilter: bridge: eb_tables: close " Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 120/186] kprobes: skip non-symbol addresses in kprobe_add_ksym_blacklist() Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 121/186] test_kprobes: clear kprobes between test runs Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 122/186] tcp: Fix imbalanced icsk_accept_queue count Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 123/186] ice: fix locking in ice_dcb_rebuild() Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 124/186] net: lan966x: avoid unregistering netdev on register failure Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 125/186] phy: marvell: mvebu-a3700-utmi: fix incorrect USB2_PHY_CTRL register access Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 126/186] irqchip/ath79-cpu: Remove unused function Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 127/186] irq_work: Fix use-after-free in irq_work_single() on PREEMPT_RT Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 128/186] zonefs: handle integer overflow in zonefs_fname_to_fno Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 129/186] netfs: Fix overrun check in netfs_extract_user_iter() Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 130/186] net: ethernet: cortina: Make RX SKB per-port Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 131/186] net: ethernet: cortina: Drop half-assembled SKB Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 132/186] net: ethernet: cortina: Carry over frag counter Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 133/186] net: ethernet: cs89x0: remove stale CONFIG_MACH_MX31ADS reference Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 134/186] wifi: ath11k: fix error path leaks in some WMI WOW calls Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 135/186] wifi: ath11k: fix error path leak in ath11k_tm_cmd_wmi_ftm() Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 136/186] HID: quirks: really enable the intended work around for appledisplay Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 137/186] accel/qaic: Add overflow check to remap_pfn_range during mmap Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 138/186] net/smc: avoid NULL deref of conn->lnk in smc_msg_event tracepoint Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 139/186] ethtool: fix ethnl_bitmap32_not_zero() bit interval semantics Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 140/186] drm/msm/dsi: dont dump registers past the mapped region Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 141/186] drm/msm: Fix iommu_map_sgtable() return value check and avoid WARN Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 142/186] powerpc/time: Remove redundant preempt_disable|enable() calls from arch_irq_work_raise() Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 143/186] net/smc: reject CHID-0 ACCEPT that matches an empty ism_dev slot Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 144/186] net: tls: fix off-by-one in sg_chain entry count for wrapped sk_msg ring Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 145/186] net: tls: prevent chain-after-chain in plain text SG Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 146/186] net: phy: c45: add genphy_c45_pma_read_ext_abilities() function Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 147/186] net: phy: DP83TC811: add reading of abilities Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 148/186] x86/xen: Fix xen_e820_swap_entry_with_ram() Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 149/186] tls: Preserve sk_err across recvmsg() when data has been copied Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 150/186] net/mlx5: Do not restore destination-less TC rules Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 151/186] spi: mtk-snfi: Fix resource leak in mtk_snand_read_page_cache() Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 152/186] drm/msm/snapshot: fix dumping of the unaligned regions Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 153/186] wifi: ath11k: fix peer resolution on rx path when peer_id=0 Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 154/186] net: dsa: mt7530: fix FDB entries not aging out with short timeout Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 155/186] net: dsa: mt7530: rename mt753x_bpdu_port_fw enum to mt753x_to_cpu_fw Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 156/186] net: dsa: mt7530: preserve VLAN tags on trapped link-local frames Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 157/186] net: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 158/186] platform/x86: adv_swbutton: Check ACPI_HANDLE() against NULL Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 159/186] platform/x86: hp_accel: Check ACPI_COMPANION() " Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 160/186] platform/x86: intel-hid: Check ACPI_HANDLE() " Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 161/186] platform/x86: intel-vbtn: " Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 162/186] RDMA/rtrs: Fix use-after-free in path file creation cleanup Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 163/186] net: bridge: Flush multicast groups when snooping is disabled Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 164/186] bridge: mcast: Fix a possible use-after-free when removing a bridge port Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 165/186] pds_core: fix error handling in pdsc_devcmd_wait Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 166/186] pds_core: fix debugfs_lookup dentry leak and error handling Greg Kroah-Hartman
2026-05-28 19:50 ` Greg Kroah-Hartman [this message]
2026-05-28 19:50 ` [PATCH 6.6 168/186] ALSA: seq: ump: Use guard() for locking Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 169/186] ALSA: seq: Serialize UMP output teardown with event_input Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 170/186] tracing: Avoid NULL return from hist_field_name() on truncation Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 171/186] Bluetooth: btmtk: add the function to get the fw name Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 172/186] Bluetooth: btusb: mediatek: refactor the function btusb_mtk_reset Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 173/186] Bluetooth: btmtk: rename btmediatek_data Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 174/186] Bluetooth: btmtk: move btusb_mtk_hci_wmt_sync to btmtk.c Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 175/186] Bluetooth: btmtk: fix urb->setup_packet leak in error paths Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 176/186] net: ag71xx: check error for platform_get_irq Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 177/186] bpf, skmsg: fix verdict sk_data_ready racing with ktls rx Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 178/186] string: add mem_is_zero() helper to check if memory area is all zeros Greg Kroah-Hartman
2026-05-28 19:50 ` [PATCH 6.6 179/186] gpiolib: cdev: use !mem_is_zero() instead of memchr_inv(s, 0, n) Greg Kroah-Hartman
2026-05-28 19:51 ` [PATCH 6.6 180/186] gpio: cdev: check if uAPI v2 config attributes are correctly zeroed Greg Kroah-Hartman
2026-05-28 19:51 ` [PATCH 6.6 181/186] ASoC: cs35l56: Fix flushing of IRQ work in cs35l56_sdw_remove() Greg Kroah-Hartman
2026-05-28 19:51 ` [PATCH 6.6 182/186] net: mana: validate rx_req_idx to prevent out-of-bounds array access Greg Kroah-Hartman
2026-05-28 19:51 ` [PATCH 6.6 183/186] pds_core: add an error code check in pdsc_dl_info_get Greg Kroah-Hartman
2026-05-28 19:51 ` [PATCH 6.6 184/186] pds_core: ensure null-termination for firmware version strings Greg Kroah-Hartman
2026-05-28 19:51 ` [PATCH 6.6 185/186] net: gro: dont merge zcopy skbs Greg Kroah-Hartman
2026-05-28 19:51 ` [PATCH 6.6 186/186] LoongArch: kprobes: Fix handling of fatal unrecoverable recursions Greg Kroah-Hartman
2026-05-29 5:45 ` [PATCH 6.6 000/186] 6.6.142-rc1 review Ron Economos
2026-05-29 6:15 ` Miguel Ojeda
2026-05-29 6:24 ` Francesco Dolcini
2026-05-29 6:33 ` Brett A C Sheffield
2026-05-29 8:29 ` Pavel Machek
2026-05-29 10:20 ` Peter Schneider
2026-05-29 16:24 ` Wentao Guan
2026-05-29 19:10 ` Florian Fainelli
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=20260528194933.473272852@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=oleg@redhat.com \
--cc=patches@lists.linux.dev \
--cc=peterz@infradead.org \
--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