From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev, Keno Fischer <keno@juliahub.com>,
Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@kernel.org>,
Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.18 152/250] futex: Prevent robust futex exit race some more
Date: Mon, 17 Aug 2026 15:31:53 +0200 [thread overview]
Message-ID: <20260817132542.763986768@linuxfoundation.org> (raw)
In-Reply-To: <20260817132536.466235697@linuxfoundation.org>
6.18-stable review patch. If anyone has any objections, please let me know.
------------------
From: Keno Fischer <keno@juliacomputing.com>
commit 6d4514ca9cdf61fec4ec634cf50386f6f7e69748 upstream.
A robust futex unlock stores 0 over the whole futex value - wiping
FUTEX_WAITERS - and wakes a single waiter. That wakeup is a one-shot
notification: the protocol relies on its recipient to either acquire the
futex (and eventually unlock while aware of the remaining contention) or
re-arm FUTEX_WAITERS before sleeping again. If the woken waiter is killed
before it can do either, the kernel must jump in and wake the next task
down the line.
This is a known complication of the futex protocol with a previous
partial fix in commit ca16d5bee598 ("futex: Prevent robust futex exit
race"). Unfortunately, that fix is insufficient.
If a third task re-acquired the futex through the uncontended fast
path in the meantime, the notification is lost: robust exit processing
sees that it is owned by another task and does nothing, while the new
owner sees no FUTEX_WAITERS when it unlocks and wakes nobody.
The remaining waiters sleep forever behind a free futex:
A owns the futex, B and C sleep in FUTEX_WAIT
uval == A | FUTEX_WAITERS
A robust unlock: store 0, FUTEX_WAKE(1) wakes B
uval == 0
D fast path acquire: cmpxchg(0 -> D)
uval == D, no FUTEX_WAITERS
B killed before acting on the wakeup
B exit walk, pending op: owner D != B -> no action
D unlock: no FUTEX_WAITERS -> no wake
C sleeps forever
This is clearly a shortcoming in the implementation, which fails to keep
the FUTEX_WAITERS bit consistent.
Work around this by augmenting the robust list exit processing to also
perform the extra wakeup if the futex word is owned by another thread but
FUTEX_WAITERS is not set.
This does not fix the problem of a non-contended take over/release and free
sequence, which has been discussed for years and has been addressed by
commit 3ca9595d9fb6 ("futex: Add support for unlocking robust futexes") and
subsequent changes, but failed to take the problem described above into
account.
A more complete solution which is based on the in kernel unlock of
contended robust futexes has been discussed in the context of this change
and should show up in mainline sooner than later.
[ tglx: Amend change log slightly and fixup coding style ]
Fixes: ca16d5bee598 ("futex: Prevent robust futex exit race")
Signed-off-by: Keno Fischer <keno@juliahub.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Assisted-by: ClaudeCode:claude-fable-5 tla+
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260730194705.38981-1-keno@juliacomputing.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
kernel/futex/core.c | 85 +++++++++++++++++++++++++++++++--------------
1 file changed, 58 insertions(+), 27 deletions(-)
diff --git a/kernel/futex/core.c b/kernel/futex/core.c
index 9e7dea6fc0ccd..4f5d7d042f8e5 100644
--- a/kernel/futex/core.c
+++ b/kernel/futex/core.c
@@ -1028,8 +1028,11 @@ static int handle_futex_death(u32 __user *uaddr, struct task_struct *curr,
return -1;
/*
- * Special case for regular (non PI) futexes. The unlock path in
- * user space has two race scenarios:
+ * Special case for regular (non PI) futexes. Ordinarily, we do
+ * not perform any processing here unless the current thread was
+ * the owner of the futex (by the TID check below).
+ *
+ * However, the unlock path has three race scenarios:
*
* 1. The unlock path releases the user space futex value and
* before it can execute the futex() syscall to wake up
@@ -1038,42 +1041,70 @@ static int handle_futex_death(u32 __user *uaddr, struct task_struct *curr,
* 2. A woken up waiter is killed before it can acquire the
* futex in user space.
*
- * In the second case, the wake up notification could be generated
- * by the unlock path in user space after setting the futex value
- * to zero or by the kernel after setting the OWNER_DIED bit below.
+ * 3. A woken up waiter is killed in user space after another
+ * thread has acquired the futex, but before it can set
+ * FUTEX_WAITERS.
+ *
+ * Note that, if userspace uses the FUTEX_ROBUST_UNLOCK flag, we
+ * will not see case 1 here.
+ *
+ * In the second and third case, the wake up notification could
+ * be generated from any of:
+ *
+ * i. An ordinary futex wakeup after unlock (with or
+ * without FUTEX_ROBUST_UNLOCK)
+ * ii. A robust wakeup from another thread's death
+ * iii. A previous round through this special case
+ *
+ * As a result, the futex world will be in one of four states:
+ *
+ * A. The futex word is 0 (unlocked)
+ * B. The futex word is owned by another thread
+ * (FUTEX_WAITERS is not set)
+ * C. The futex word is owned by another thread
+ * (FUTEX_WAITERS set)
+ * D. The futex's owner died and OWNER_DIED is set
+ * (the owner part of the word is 0)
*
- * In both cases the TID validation below prevents a wakeup of
- * potential waiters which can cause these waiters to block
- * forever.
+ * The key issue is that the kernel usually (at least from
+ * sources ii. and iii. or when so requested by userspace from
+ * source i.) only ever wakes *one* waiter at a time. If this
+ * waiter dies before acquiring the futex (or setting the
+ * FUTEX_WAITERS bit), the kernel *must* still wake the next
+ * waiter down the line to uphold the futex invariants and
+ * avoid lost wakeups. Note we do not need to handle state C,
+ * as it does not matter to us whether *we* successfully set
+ * the bit or a third thread did so in the meantime.
*
- * In both cases the following conditions are met:
+ * Therefore, in these cases we must issue an additional
+ * futex_wake(). Note however that we *must not* set OWNER_DIED
+ * here. Our thread is *not* the owner of the futex.
*
- * 1) task->robust_list->list_op_pending != NULL
- * @pending_op == true
- * 2) The owner part of user space futex value == 0
+ * Thus to summarize, the conditions for needing the additional
+ * futex_wake() are:
+ *
+ * 1) @pending_op == true (the thread has not finished the
+ * mutex operation)
+ * 2) The futex word is in one of the states A, B or D
* 3) Regular futex: @pi == false
*
- * If these conditions are met, it is safe to attempt waking up a
- * potential waiter without touching the user space futex value and
- * trying to set the OWNER_DIED bit. If the futex value is zero,
- * the rest of the user space mutex state is consistent, so a woken
- * waiter will just take over the uncontended futex. Setting the
- * OWNER_DIED bit would create inconsistent state and malfunction
- * of the user space owner died handling. Otherwise, the OWNER_DIED
- * bit is already set, and the woken waiter is expected to deal with
- * this.
+ * Note in particular that in all of the states A-D the owner
+ * portion of the futex word differs from our thread's TID
+ * (unless the actual owner has the same TID in another PID
+ * namespace, but we cannot currently distinguish that
+ * scenario), so this can be a special-case wakeup in the bail
+ * path of the ordinary TID check.
*/
owner = uval & FUTEX_TID_MASK;
- if (pending_op && !pi && !owner) {
- futex_wake(uaddr, FLAGS_SIZE_32 | FLAGS_SHARED, 1,
- FUTEX_BITSET_MATCH_ANY);
+ if (owner != task_pid_vnr(curr)) {
+ if (pending_op && !pi && (!owner || !(uval & FUTEX_WAITERS))) {
+ futex_wake(uaddr, FLAGS_SIZE_32 | FLAGS_SHARED, 1,
+ FUTEX_BITSET_MATCH_ANY);
+ }
return 0;
}
- if (owner != task_pid_vnr(curr))
- return 0;
-
/*
* Ok, this dying thread is truly holding a futex
* of interest. Set the OWNER_DIED bit atomically
--
2.53.0
next prev parent reply other threads:[~2026-08-17 13:57 UTC|newest]
Thread overview: 253+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 13:29 [PATCH 6.18 000/250] 6.18.45-rc1 review Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 001/250] KVM: s390: pci: Fix resource leak on IRQ registration failure Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 002/250] mount: honour SB_NOUSER in the new mount API Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 003/250] sched/fair: Separate se->vlag from se->vprot Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 004/250] sched/fair: Revert 6d71a9c61604 ("sched/fair: Fix EEVDF entity placement bug causing scheduling lag") Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 005/250] selftests/bpf: Fail unbound UDP on sockmap update Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 006/250] drm/amd/display: Add AV mute wait frames to dce110_set_avmute Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 007/250] drm/amd/display: Check for tg ops in dce110_set_avmute Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 008/250] arm64: dts: qcom: rename x1e80100 to hamoa Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 009/250] arm64: dts: qcom: Rework X1-based Asus Zenbook A14s displays Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 010/250] arm64: dts: qcom: rename x1p42100 to purwa Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 011/250] arm64: dts: qcom: purwa: Fix GPU IOMMU property Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 012/250] arm64: dts: qcom: sdm850-lenovo-yoga-c630: lower PSCI cluster idle Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 013/250] NFS: Pin the struct nfs_server during a FREE_STATEID call Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 014/250] arm64: dts: broadcom: bcm2712: Remove non-functional EL2 virtual timer Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 015/250] xfs: handle NULL b_addr in xfs_buf_free Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 016/250] ARM: npcm: Fix OF node refcount leaks in SMP setup Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 017/250] selftests/sched_ext: Handle sleeping task affinity changes in numa test Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 018/250] pinctrl: qcom: ipq806x: mark gpio as a GPIO pin function Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 019/250] pinctrl: qcom: ipq806x: mark pci reset " Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 020/250] ovpn: add missing rtnl_link_ops->get_size callback Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 021/250] ARM: dts: BCM5301X: fix PCIe controller 2 second interrupt Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 022/250] ovpn: skip rehash for peers already removed from by_id Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 023/250] ovpn: rehash peer in by_transp_addr table on CMD_PEER_SET Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 024/250] ovpn: ensure socket is owned by ovpn before deref sk_user_data Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 025/250] ovpn: zero-initialize sockaddr before learning a floated endpoint Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 026/250] ovpn: hash floated peer by transport identity only Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 027/250] ovpn: disable IPv4 redirects on MP interfaces Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 028/250] ovpn: ensure TCP vars are initialized first Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 029/250] ovpn: fix incorrect use of rcu_access_pointer() Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 030/250] drm/bridge: ps8640: propagate AUX transfer register errors Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 031/250] net: hns3: fix speed configuration residue after driver reload Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 032/250] Revert "net: thunderbolt: Enable end-to-end flow control also in transmit" Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 033/250] bonding: alb: re-check primary_is_promisc under RTNL in bond_alb_monitor Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 034/250] enic: fix tx_hang_reset use-after-free on device removal Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 035/250] net/mlx5e: TC, Check if flow is PEER before acquiring devcom lock Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 036/250] pds_core: keep the health thread stopped during reset Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 037/250] pds_core: cancel pending PCI reset work on AER recovery Greg Kroah-Hartman
2026-08-17 13:29 ` [PATCH 6.18 038/250] netfilter: ipset: switch ext_size to atomic64_t Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 039/250] ipvs: avoid out-of-bounds write in ip_vs_nat_icmp Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 040/250] ipvs: return the csum validation for forward hook Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 041/250] watchdog: bd96801_wdt: Fix timeout for enabled WDG Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 042/250] btrfs: fix memory leak in btrfs_do_encoded_write() Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 043/250] bpf: Preserve pointer state for commuted arithmetic Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 044/250] bpf: split check_reg_sane_offset() in two parts Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 045/250] bpf: Propagate untrusted pointer state in commuted arithmetic Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 046/250] net/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler() Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 047/250] net/sched: cls_route: fix fastmap use-after-free on filter Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 048/250] net: hisilicon: hix5hd2_gmac: remove redundant NAPI delete Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 049/250] devlink: fix net namespace reference leak in reload Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 050/250] net/mlx5: fw_tracer, return NULL on create error Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 051/250] counter: microchip-tcb-capture: Fix DT channel validation Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 052/250] bpf: tcp: Fix use-after-free in bpf_iter_tcp_established_batch() Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 053/250] vhost/vdpa: reject overflowing PA map page counts on 32-bit Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 054/250] vdpa/mlx5: Fix buffer length in create_direct_keys() Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 055/250] hwmon: (pmbus_core) Use guard() for mutex protection Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 056/250] hwmon: (pmbus) Fix type confusion in notification logic Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 057/250] tcp: do not change rcv_ssthresh in tcp_measure_rcv_mss() Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 058/250] bnxt_en: Do not set EOP on RX AGG BDs on 5760X chips Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 059/250] net: reduce indent of struct netdev_queue_mgmt_ops members Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 060/250] net: add bare bone queue configs Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 061/250] net: pass queue rx page size from memory provider Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 062/250] eth: bnxt: store rx buffer size per queue Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 063/250] eth: bnxt: support qcfg provided rx page size Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 064/250] bnxt: fix memory leak in bnxt_queue_mem_alloc error cases Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 065/250] xsk: require at least 16 bytes of TX metadata Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 066/250] xsk: pass TX metadata pointer by reference Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 067/250] xsk: clear metadata pointer when no timestamp is requested Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 068/250] xsk: validate launch-time metadata size Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 069/250] xsk: move xsk_tx_metadata_request() to xdp_sock_drv.h Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 070/250] xsk: validate metadata when processing requests Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 071/250] udp: fix potential use-after-free in tunnel segmentation Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 072/250] net/sched: sch_cake: drop WARN_ON(1) for malformed packets in ACK filter Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 073/250] vhost-scsi: Validate T10 PI scatterlist counts Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 074/250] vhost-scsi: reject feature changes after endpoint Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 075/250] net/openvswitch: check Ethernet header length in key_extract() Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 076/250] net/sched: cls_api: Always acquire rtnl_lock when destroying locked classifiers Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 077/250] drm/xe/uc: Apply RCS/CCS yield policy to SR-IOV VFs Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 078/250] hwmon: (nzxt-smart2) Check return value of init_device() in probe Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 079/250] hwmon: (pmbus/lm25066) Fix PMBus coefficient calculations Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 080/250] selftests/ftrace: refactor eprobes test to fix argument checks Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 081/250] net: stmmac: resume PHY before hardware setup when opening the interface Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 082/250] bnge: use int for bnge_fix_rings_count() return value Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 083/250] net/mlx5e: fix BQL reset on SQ re-activation Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 084/250] bnxt_en: Move RSS table fill outside __bnxt_hwrm_vnic_set_rss() Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 085/250] bnxt_en: Determine and store default RX ring in vnic structure Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 086/250] bnxt_en: Refresh VNIC default ring on queue restart if needed Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 087/250] bnxt_en: Disable EOP for TPA on all chips to prevent data corruption Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 088/250] bnxt_en: Fix PTP PPS setting bug Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 089/250] sctp: fix addip_serial increment on ASCONF_ACK allocation failure Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 090/250] tcp: fix TFO max_qlen accounting across reuseport migration Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 091/250] netfilter: flowtable: consolidate xmit path Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 092/250] netfilter: nf_flow_table: drop existing skb dst before skb_dst_set_noref() Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 093/250] net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 094/250] net: prestera: validate firmware header length Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 095/250] net: remove WARN_ON_ONCE() from sk_mc_loop() Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 096/250] net/smc: fix TOCTOU race between smc_listen_out() and listener close Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 097/250] net: thunderbolt: Tear down DMA paths before stopping the rings Greg Kroah-Hartman
2026-08-17 13:30 ` [PATCH 6.18 098/250] ata: pata_sl82c105: fix bridge revision use-after-free Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 099/250] bnge: Fix resource leak in bnge_init_nic() error path Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 100/250] s390/ism: Fix UAF of sba and ieq during ism_dev_exit() Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 101/250] net/atm: fix slab-out-of-bounds read in vcc_setsockopt() Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 102/250] sctp: clear control chunk transport if it is being removed Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 103/250] tls: dont abort the connection on signal-interrupted sends Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 104/250] watchdog: at91sam9_wdt: prevent timer rearm during teardown Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 105/250] hwmon: (corsair-psu) fix possible out-of-bounds access on missing string termination Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 106/250] hwmon: (ads7828) Fix external VREF regulator handling Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 107/250] hwmon: (ltc4282) Avoid overflow in maximum power calculation Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 108/250] hwmon: (ltc4282) Clamp negative current limits Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 109/250] hwmon: (ltc4282) Fix parsing adi,current-limit-sense-microvolt Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 110/250] net: fec: do not release NULL pages when RX buffer allocation fails Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 111/250] net: tap: set skb->dev before parsing virtio net header in tap_get_user_xdp() Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 112/250] Input: evdev - sanitize event type index when fetching event masks Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 113/250] ALSA: usb-audio: fix OOB write on Type II inbound URBs Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 114/250] usb: core: Add quirk for 255-bytes initial config read Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 115/250] usb: quirks: Add ShanWan gamepad to quirk list Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 116/250] usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 117/250] usb: atm: cxacru: properly kill rcv_urb on error in cxacru_cm() Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 118/250] thunderbolt: icm: Preserve USB4 proxy data-valid bit Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 119/250] usb: cdnsp: fix incorrect endian conversions for APB timeout register Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 120/250] usb: gadget: f_ncm: Use unsigned int for ndp_index Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 121/250] net: usb: ax88179_178a: fix skb leak in ax88179_tx_fixup() Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 122/250] net: usb: ipheth: fix carrier_work UAF on disconnect Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 123/250] vt: add permission check for KDSKBMETA ioctl Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 124/250] vt: stabilize tty reference in kbd_keycode with tty_port_tty_get Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 125/250] Input: evdev - fix information leak in evdev_pass_values() Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 126/250] mm/vmalloc: acquire init_mm lock on huge vmap to avoid ptdump UAF Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 127/250] ima: fix out-of-bounds read in xattr_verify() Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 128/250] ipvs: stop estimator after disabled calc phase Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 129/250] ipvs: add totalconns for dest Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 130/250] ipvs: properly update the overload flag on dest edit Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 131/250] ipvs: clear IPv4 options after rebasing tunnel ICMP errors Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 132/250] packet: use consistent hard_header_len in non-ring send paths Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 133/250] packet: use consistent hard_header_len in TX_RING send path Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 134/250] net/packet: reset the MAC header on the packet-socket transmit path Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 135/250] packet: synchronize pressure clearing with ring reconfiguration Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 136/250] net: fix skb length accounting after generic XDP frag adjustment Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 137/250] net: openvswitch: reallocate update replies for mismatched IDs Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 138/250] net/sched: reject overly deep qdisc hierarchies Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 139/250] net: octeontx2-pf: Fix UB in shift operation Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 140/250] net: remove CAP_SYS_RAWIO zero-padding in dev_validate_header Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 141/250] inet: frags: publish queues before arming timer Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 142/250] mac802154: fix netdev use-after-free in beacon worker Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 143/250] igc: fix netdev not re-attached after resume if interface is down Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 144/250] netfilter: ebt_nflog: pin the NFLOG backend Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 145/250] net: bridge: mrp: fix uninitialised bytes on the wire Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 146/250] Revert "drm/amd/display: Fix backlight max_brightness to match exported range" Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 147/250] blk-mq: pop cached request if it is usable Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 148/250] blk-mq: reinsert cached request to the list Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 149/250] KVM: s390: pci: Fix aisb calculation Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 150/250] dt-bindings: crypto: qcom,ice: Fix missing power-domain and iface clk Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 151/250] iommu/vt-d: Gather the unmapped range before freeing its page tables Greg Kroah-Hartman
2026-08-17 13:31 ` Greg Kroah-Hartman [this message]
2026-08-17 13:31 ` [PATCH 6.18 153/250] netfilter: nf_tables: avoid softlockup warnings in nft_chain_validate Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 154/250] Bluetooth: btrtl: fix RTL8761B/BU broken LE extended scan Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 155/250] Bluetooth: btusb: Add TP-Link UB600 for Realtek 8761BUV Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 156/250] selftests/bpf: Ensure UDP sockets are bound Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 157/250] selftests/bpf: Adapt sockmap update error handling Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.18 158/250] ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 159/250] ipv4: fix use-after-free in fib_nhc_update_mtu() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 160/250] mei: pull kvfree out of spinlock Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 161/250] nvmem: apple-spmi-nvmem: wrap regmap calls to satisfy CFI Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 162/250] nvmem: layouts: Add fixed-layout driver Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 163/250] rust_binder: do not query current thread for all ioctls Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 164/250] serial: qcom-geni: fix TX DMA buffer flush Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 165/250] serial: 8250_dma: Clear stale RX state on shutdown Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 166/250] serial: 8250_of: clear stuck empty-FIFO RX-timeout on LPC32xx Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 167/250] serial: amba-pl011: fix indefinite RS485 post-send delay Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 168/250] serial: amba-pl011: cancel RS485 hrtimers after freeing IRQ Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 169/250] serial: amba-pl011: synchronize DMA teardown Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 170/250] staging: rtl8723bs: fix OOB read in rtw_get_wpa_ie() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 171/250] staging: rtl8723bs: fix OOB read in WMM_param_handler() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 172/250] staging: rtl8723bs: fix missing shared-key auth challenge length check Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 173/250] staging: rtl8723bs: validate monitor transmit frame lengths Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 174/250] misc: fastrpc: Fix initial memory allocation for Audio PD memory pool Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 175/250] misc: fastrpc: fix channel ctx ref leak when session alloc fails Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 176/250] misc: fastrpc: Remove buffer from list prior to unmap operation Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 177/250] misc: fastrpc: take fl->lock when moving mmaps on interrupted invoke Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 178/250] misc: fastrpc: fix memory leak in fastrpc_channel_ctx_free Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 179/250] ring-buffer: Fix crash passing ERR_PTR to kthread_stop() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 180/250] mm/damon/ops-common: putback folios on invalid migrate nid Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 181/250] samples/damon/mtier: error out for zero quota goal target values Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 182/250] mm/damon: adjust isolated pages stat for DAMOS_MIGRATE_{HOT,COLD} Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 183/250] ALSA: usb: Fix UAF at delayed release of MIDI2 EPs Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 184/250] ALSA: usx2y: bound the hwdep mmap fault offset Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 185/250] ALSA: FCP: fix OOB write in fcp_meter_ctl_get() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 186/250] ALSA: hda/tas2781: fix ACPI reference handling Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 187/250] ALSA: us144mkii: re-anchor capture URBs on resubmission Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 188/250] drm/v3d: Serialize the scheduler timeout handlers Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 189/250] perf/core: Fix group leader use-after-free after sibling detach Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 190/250] tracing: Fix race between update_event_fields and, event_define_fields Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 191/250] fbdev: bitblit: bound-check glyph index in bit_cursor() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 192/250] ring-buffer: Prevent subbuf order change when resizing is disabled Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 193/250] tracing: Fix NULL pointer dereference in module event cache removal Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 194/250] mm/huge_memory: fix huge_zero_pfn race Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 195/250] net: phy: mediatek: fix TX blink masks using the RX bits Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 196/250] net: smc: fix splice entry lifetime imbalance in smc_rx_splice Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 197/250] ipv6: prevent in6_dev_get() from resurrecting inet6_dev Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 198/250] net/dibs: Correct freeing of dmb_clientid_arr Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 199/250] net/x25: fix use-after-free of the socket by its timers Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 200/250] net: devmem: prevent net-iov / page mixing Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 201/250] netfilter: bridge: release template ct on non-IP path Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 202/250] netfilter: nf_conntrack: defer invalid log until after unlock Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 203/250] net: atlantic: free stranded TX buffers on ring deinit Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 204/250] net: atlantic: free RX pages of consumed but not refilled buffers Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 205/250] net/sched: act_ct: fix sk_buff leak when the header checks reject a packet Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 206/250] net/sched: act_gact, act_police: range check the fallback control action Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 207/250] ovl: dont warn when the mount is completed from another user namespace Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 208/250] binfmt_misc: " Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 209/250] Revert "drm/amdgpu: fix aperture mapping leak" Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 210/250] dibs: initialise dibs->lock in dibs_dev_alloc() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 211/250] arm64: remove redundant concurrent ptdump UAF mitigation Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 212/250] x86/CPU: Add a tlbi= cmdline switch Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 213/250] x86/mce: Set up the polling timer before CMCI discovery Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 214/250] xdp: reject clones that overrun skb_shared_info tailroom Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 215/250] vxlan: do not arm the ageing timer on a device that is down Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 216/250] vsock/virtio: read virtqueues under worker locks Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 217/250] vsock/virtio: avoid refilling the RX queue after teardown Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.18 218/250] veth: fix skb length accounting after XDP frag adjustment Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 219/250] vhost: reset the vring metadata cache on vring reconfiguration Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 220/250] tls: rx: restore msg_iter before TLS 1.3 optimistic retry Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 221/250] tls: dont leave a full plaintext sk_msg ring unpushed Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 222/250] tipc: read le->link under the node lock in tipc_node_link_down() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 223/250] smb: client: Fix use-after-free in cifs_try_adding_channels() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 224/250] KVM: SVM: Serialize accesses to the owner and mirror list with separate lock Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 225/250] KVM: x86/mmu: WARN and clear role.invalid when creating a child shadow page Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 226/250] eventfs: Fix use-after-free in eventfs_remove_rec() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 227/250] eventfs: Use children field for rcu head and add memory barriers Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 228/250] Revert "thermal/drivers/hwmon: Cleanup coding style a bit" Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 229/250] ptp: ocp: Fix board ID over-read Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 230/250] ring-buffer: Initialise reader page order in rb_allocate_cpu_buffer() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 231/250] ring-buffer: Use current_context for safe per-CPU buffer swap Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 232/250] mm/ptdump: always stabilise against page table freeing using init_mm Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 233/250] ipv6: fix Route Information option length validation Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 234/250] ip6_tunnel: clear skb2->cb[] in ip6ip6_err() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 235/250] fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 236/250] sched/psi: Shut down rtpoll_timer in psi_cgroup_free() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 237/250] sched/psi: Create the psimon kthread outside of cgroup_mutex Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 238/250] ima: Instantiate file_truncate and path_truncate hooks Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 239/250] mm/filemap: __filemap_add_folio() restore index before retrying Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 240/250] fsverity: Fix bpf_get_fsverity_digest() dynptr assumptions Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 241/250] fsverity: Fix silent truncation in bpf_get_fsverity_digest() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 242/250] bpf, sockmap: Fix sk_redir use-after-free in send verdict Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 243/250] scsi: scsi_debug: Negate wrapped memcmp() result Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 244/250] sctp: keep chunk->transport in step with the list it is queued on Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 245/250] sctp: fix use-after-free of cached ASCONF chunk Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 246/250] sctp: clear new_transport when removing a peer Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 247/250] thunderbolt: Bound the DROM dual link port number before indexing sw->ports Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 248/250] thunderbolt: Fix bandwidth group reservation indexing Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 249/250] netfilter: always set route tuple out ifindex Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.18 250/250] netfilter: flowtable: ensure sufficient headroom in xmit path Greg Kroah-Hartman
2026-08-17 17:56 ` [PATCH 6.18 000/250] 6.18.45-rc1 review Pavel Machek
2026-08-17 19:46 ` Peter Schneider
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=20260817132542.763986768@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=keno@juliahub.com \
--cc=mingo@kernel.org \
--cc=patches@lists.linux.dev \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=tglx@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