From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev, "Lorenzo Stoakes (ARM)" <ljs@kernel.org>,
Hengbin Zhang <uqbarz@gmail.com>,
"David Hildenbrand (Arm)" <david@kernel.org>,
Baolin Wang <baolin.wang@linux.alibaba.com>,
Barry Song <baohua@kernel.org>, Dev Jain <dev.jain@arm.com>,
Hannes Reinecke <hare@suse.de>, Hugh Dickins <hughd@google.com>,
Kiryl Shutsemau <kas@kernel.org>,
Lance Yang <lance.yang@linux.dev>,
"Liam R. Howlett" <liam@infradead.org>,
Nico Pache <npache@redhat.com>,
Pankaj Raghav <p.raghav@samsung.com>,
Ryan Roberts <ryan.roberts@arm.com>,
Yang Shi <shy828301@gmail.com>, Zi Yan <ziy@nvidia.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH 6.12 140/181] mm/huge_memory: fix huge_zero_pfn race
Date: Mon, 17 Aug 2026 15:33:54 +0200 [thread overview]
Message-ID: <20260817132541.153099474@linuxfoundation.org> (raw)
In-Reply-To: <20260817132535.394764707@linuxfoundation.org>
6.12-stable review patch. If anyone has any objections, please let me know.
------------------
From: Lorenzo Stoakes (ARM) <ljs@kernel.org>
commit 33192a26cddea7a7e4ca66e5c3eebd36fa8be2bb upstream.
Patch series "mm/huge_memory: fix huge_zero_pfn race", v2.
There is a subtle race in the reference-counted huge_zero_folio
implementation.
The fast path atomic logic fails to account for the fact that the shrinker
(which drops the final huge_zero_refcount pin) can overwrite huge_zero_pfn
with the ~0UL sentinel value in shrink_huge_zero_folio_scan() after a
racing get_huge_zero_folio() installed a valid value there.
This results in huge_zero_folio being correctly set but huge_zero_pfn
being set incorrectly and thus is_huge_zero_pfn() and consequently
is_huge_zero_pmd() will misidentify the huge zero folio as being an
ordinary THP folio.
This can result in the huge zero folio being split and otherwise treated
incorrectly.
The solution to this is very subtle as there is an atomic fast path, and
thus ordering in weakly ordered architectures has to be treated very
carefully.
The first commit fixes the issue by introducing a spinlock around
huge_zero_[pfn, folio, refcount] write, with careful consideration paid to
load/store ordering in the fast path. It is placed first and kept as
small as possible so that it can be backported on its own.
The second commit is a pure cleanup which reworks the
CONFIG_PERSISTENT_HUGE_ZERO_FOLIO logic to better separate the persistent
logic from the dynamically allocated one.
This patch (of 2):
If !CONFIG_PERSISTENT_HUGE_ZERO_FOLIO, the huge_zero_folio is refcounted
by huge_zero_refcount and returned by mm_get_huge_zero_folio().
When the caller is done with the huge zero page, its reference count is
decremented. Only a shrinker can set the reference count to zero.
A race can unfortunately occur between a shrinker decrementing the
reference count to zero and a concurrent page fault.
This is because shrink_huge_zero_folio_scan() might, if very unlucky, be
preempted between setting huge_zero_refcount to zero and writing an
invalid value.
During this time get_huge_zero_folio() could write to huge_zero_pfn before
shrink_huge_zero_folio_scan() resumes.
In this event the huge zero folio will be persistently misidentified
causing the THP code path to be entered inappropriately for the huge zero
folio:
CPU 0 CPU 1
=======================================|=================================
shrink_huge_zero_folio_scan() |
atomic_cmpxchg() sets refcount to 0 |
xchg() sets huge_zero_folio to NULL | get_huge_zero_folio()
| | atomic_inc_not_zero() -> zero
preempted for a long time | Allocate new huge zero folio
| | Write valid huge_zero_folio
v | Write valid huge_zero_pfn
Overwrite huge_zero_pfn with ~0UL <--- Invalid overwrite!
This results in is_huge_zero_pfn() and is_huge_zero_pmd() incorrectly
returning false for a huge zero page which could result in issues like the
huge zero folio being incorrectly split.
Note that the issue is with huge_zero_pfn not huge_zero_folio, as
get_huge_zero_folio() uses cmpxchg() gated on huge_zero_folio being NULL
with a retry loop and shrink_huge_zero_folio_scan() uses xchg() to set
huge_zero_folio.
Fix the issue by introducing a spinlock, huge_zero_lock, to prevent
concurrent write of huge_zero_folio, huge_zero_pfn and huge_zero_refcount.
There needs to be significant care taken here to ensure correctness:
The fast path in get_huge_zero_folio() uses atomic_inc_not_zero(), which
is outside of the critical section, and means huge zero allocation is
gated on zero huge_zero_refcount.
The fast path doesn't use huge_zero_lock, so the critical section is
irrelevant to it.
So invariants are required - huge_zero_refcount MUST:
* Only be set in the huge_zero_lock critical section to ensure
serialisation of huge_zero_pfn, huge_zero_folio and huge_zero_refcount
writes.
* Be set non-zero only AFTER huge_zero_[pfn, folio] are set to valid values
so installation of the huge zero folio on read page fault ensures
concurrent is_huge_zero_*() calls correctly identify the huge zero folio.
* Be set zero only BEFORE huge_zero_[pfn, folio] are set to NULL and ~0UL
respectively, and atomically.
Establish these by:
* Only setting huge_zero_refcount to zero or an absolute value in the
huge_zero_lock critical section in get_huge_zero_folio() and
shrink_huge_zero_folio_scan(), and always updating atomically there
and elsewhere.
* Using atomic_set_release(&huge_zero_refcount) in get_huge_zero_folio()
after huge_zero_[pfn, folio] are set. This is paired with
atomic_inc_not_zero() to ensure atomic_inc_not_zero() only observes a
non-zero value if huge_zero_[pfn, folio] are set.
* Using atomic_cmpxchg() in shrink_huge_zero_folio_scan() (as before) to
ensure that it is set zero only when equal to 1 and set atomically.
* atomic_cmpxchg() being fully ordered ensures this is done prior to
huge_zero_[folio, pfn] being set to NULL and ~0UL respectively.
Eliminate the retry loop in get_huge_zero_folio() as the atomic_cmpxchg()
in shrink_huge_zero_folio_scan() is now performed under the lock, and
replace with an equally locked atomic_inc() to set the reference count
should the caller be raced on huge zero folio installation.
folio_put() naturally implies a full memory barrier so its ordering is
maintained correctly.
The huge zero folio also cannot be released except when the shrinker does
so as it is non-LRU and non-rmappable.
Note that only the huge zero shrinker (via shrink_huge_zero_folio_scan())
can actually set huge_zero_refcount to zero, which is the count of mm's
which have at least one huge zero folio installed plus one shrinker pin.
Additionally convert a BUG_ON() to a VM_WARN_ON_ONCE().
Link: https://lore.kernel.org/20260730-fix-refcounted-huge-zero-v2-0-c5d8a41b317f@kernel.org
Link: https://lore.kernel.org/20260730-fix-refcounted-huge-zero-v2-1-c5d8a41b317f@kernel.org
Fixes: 3b77e8c8cde5 ("mm/thp: make is_huge_zero_pmd() safe and quicker")
Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
Reported-by: Hengbin Zhang <uqbarz@gmail.com>
Closes: https://lore.kernel.org/linux-mm/20260727154001.4102341-1-uqbarz@gmail.com/
Suggested-by: David Hildenbrand (Arm) <david@kernel.org>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Barry Song <baohua@kernel.org>
Cc: Dev Jain <dev.jain@arm.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Hugh Dickins <hughd@google.com>
Cc: Kiryl Shutsemau <kas@kernel.org>
Cc: Lance Yang <lance.yang@linux.dev>
Cc: Liam R. Howlett <liam@infradead.org>
Cc: Nico Pache <npache@redhat.com>
Cc: Pankaj Raghav <p.raghav@samsung.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Zi Yan <ziy@nvidia.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
mm/huge_memory.c | 43 +++++++++++++++++++++++++++++--------------
1 file changed, 29 insertions(+), 14 deletions(-)
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -41,6 +41,7 @@
#include <linux/compat.h>
#include <linux/pgalloc_tag.h>
#include <linux/pagewalk.h>
+#include <linux/cleanup.h>
#include <asm/tlb.h>
#include <asm/pgalloc.h>
@@ -77,6 +78,7 @@ static unsigned long deferred_split_scan
static bool split_underused_thp = true;
static atomic_t huge_zero_refcount;
+static DEFINE_SPINLOCK(huge_zero_lock);
struct folio *huge_zero_folio __read_mostly;
unsigned long huge_zero_pfn __read_mostly = ~0UL;
unsigned long huge_anon_orders_always __read_mostly;
@@ -197,7 +199,8 @@ unsigned long __thp_vma_allowable_orders
static bool get_huge_zero_page(void)
{
struct folio *zero_folio;
-retry:
+
+ /* Paired with atomic_set_release(). */
if (likely(atomic_inc_not_zero(&huge_zero_refcount)))
return true;
@@ -209,17 +212,22 @@ retry:
}
/* Ensure zero folio won't have large_rmappable flag set. */
folio_clear_large_rmappable(zero_folio);
- preempt_disable();
- if (cmpxchg(&huge_zero_folio, NULL, zero_folio)) {
- preempt_enable();
+
+ /* Paired with critical section in shrink_huge_zero_folio_scan(). */
+ spin_lock(&huge_zero_lock);
+ if (huge_zero_folio) {
+ /* Somebody else already installed it. */
+ atomic_inc(&huge_zero_refcount);
+ spin_unlock(&huge_zero_lock);
folio_put(zero_folio);
- goto retry;
+ return true;
}
+ WRITE_ONCE(huge_zero_folio, zero_folio);
WRITE_ONCE(huge_zero_pfn, folio_pfn(zero_folio));
+ /* Paired with atomic_inc_not_zero(). +1 for shrinker pin. */
+ atomic_set_release(&huge_zero_refcount, 2);
+ spin_unlock(&huge_zero_lock);
- /* We take additional reference here. It will be put back by shrinker */
- atomic_set(&huge_zero_refcount, 2);
- preempt_enable();
count_vm_event(THP_ZERO_PAGE_ALLOC);
return true;
}
@@ -263,15 +271,22 @@ static unsigned long shrink_huge_zero_pa
static unsigned long shrink_huge_zero_page_scan(struct shrinker *shrink,
struct shrink_control *sc)
{
- if (atomic_cmpxchg(&huge_zero_refcount, 1, 0) == 1) {
- struct folio *zero_folio = xchg(&huge_zero_folio, NULL);
- BUG_ON(zero_folio == NULL);
+ struct folio *zero_folio;
+
+ /* Paired with critical section in get_huge_zero_folio(). */
+ scoped_guard(spinlock, &huge_zero_lock) {
+ /* Paired with atomic_inc_not_zero() in get_huge_zero_folio(). */
+ if (atomic_cmpxchg(&huge_zero_refcount, 1, 0) != 1)
+ return 0;
+
+ zero_folio = huge_zero_folio;
+ VM_WARN_ON_ONCE(!zero_folio);
+ WRITE_ONCE(huge_zero_folio, NULL);
WRITE_ONCE(huge_zero_pfn, ~0UL);
- folio_put(zero_folio);
- return HPAGE_PMD_NR;
}
- return 0;
+ folio_put(zero_folio);
+ return HPAGE_PMD_NR;
}
static struct shrinker *huge_zero_page_shrinker;
next prev parent reply other threads:[~2026-08-17 14:50 UTC|newest]
Thread overview: 185+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 13:31 [PATCH 6.12 000/181] 6.12.104-rc1 review Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 001/181] mount: honour SB_NOUSER in the new mount API Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 002/181] selftests/bpf: Fail unbound UDP on sockmap update Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 003/181] drm/amd/display: Add AV mute wait frames to dce110_set_avmute Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 004/181] drm/amd/display: Check for tg ops in dce110_set_avmute Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 005/181] s390/zcrypt: Fix missing mem scrub at clear key import in cca_clr2cipherkey() Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 006/181] NFS: Pin the struct nfs_server during a FREE_STATEID call Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 007/181] arm64: dts: broadcom: bcm2712: Remove non-functional EL2 virtual timer Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 008/181] ARM: npcm: Fix OF node refcount leaks in SMP setup Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 009/181] ARM: dts: BCM5301X: fix PCIe controller 2 second interrupt Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 010/181] drm/bridge: ps8640: propagate AUX transfer register errors Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 011/181] net: hns3: fix speed configuration residue after driver reload Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 012/181] Revert "net: thunderbolt: Enable end-to-end flow control also in transmit" Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 013/181] bonding: alb: re-check primary_is_promisc under RTNL in bond_alb_monitor Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 014/181] enic: fix tx_hang_reset use-after-free on device removal Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 015/181] net/mlx5e: TC, Check if flow is PEER before acquiring devcom lock Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 016/181] pds_core: keep the health thread stopped during reset Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 017/181] pds_core: cancel pending PCI reset work on AER recovery Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 018/181] netfilter: ipset: switch ext_size to atomic64_t Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 019/181] ipvs: avoid out-of-bounds write in ip_vs_nat_icmp Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 020/181] ipvs: return the csum validation for forward hook Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 021/181] watchdog: bd96801_wdt: Fix timeout for enabled WDG Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 022/181] btrfs: fix memory leak in btrfs_do_encoded_write() Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 023/181] bpf: Preserve pointer state for commuted arithmetic Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 024/181] net/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler() Greg Kroah-Hartman
2026-08-17 13:31 ` [PATCH 6.12 025/181] net/sched: cls_route: fix fastmap use-after-free on filter Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 026/181] net: hisilicon: hix5hd2_gmac: remove redundant NAPI delete Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 027/181] devlink: fix net namespace reference leak in reload Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 028/181] net/mlx5: fw_tracer, return NULL on create error Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 029/181] counter: microchip-tcb-capture: Fix DT channel validation Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 030/181] bpf: tcp: Make mem flags configurable through bpf_iter_tcp_realloc_batch Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 031/181] bpf: tcp: Make sure iter->batch always contains a full bucket snapshot Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 032/181] bpf: tcp: Get rid of st_bucket_done Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 033/181] bpf: tcp: Use bpf_tcp_iter_batch_item for bpf_tcp_iter_state batch items Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 034/181] bpf: tcp: Avoid socket skips and repeats during iteration Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 035/181] bpf: tcp: Fix use-after-free in bpf_iter_tcp_established_batch() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 036/181] vhost/vdpa: reject overflowing PA map page counts on 32-bit Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 037/181] vdpa/mlx5: Fix buffer length in create_direct_keys() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 038/181] tcp: do not change rcv_ssthresh in tcp_measure_rcv_mss() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 039/181] xsk: require at least 16 bytes of TX metadata Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 040/181] udp: fix potential use-after-free in tunnel segmentation Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 041/181] net/sched: sch_cake: drop WARN_ON(1) for malformed packets in ACK filter Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 042/181] net/openvswitch: check Ethernet header length in key_extract() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 043/181] net/sched: cls_api: Always acquire rtnl_lock when destroying locked classifiers Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 044/181] hwmon: (nzxt-smart2) Check return value of init_device() in probe Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 045/181] hwmon: (pmbus/lm25066) Fix PMBus coefficient calculations Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 046/181] selftests/ftrace: refactor eprobes test to fix argument checks Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 047/181] bnxt_en: Move RSS table fill outside __bnxt_hwrm_vnic_set_rss() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 048/181] bnxt_en: Determine and store default RX ring in vnic structure Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 049/181] bnxt_en: Refresh VNIC default ring on queue restart if needed Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 050/181] bnxt_en: Fix PTP PPS setting bug Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 051/181] sctp: fix addip_serial increment on ASCONF_ACK allocation failure Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 052/181] tcp: fix TFO max_qlen accounting across reuseport migration Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 053/181] net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 054/181] net: prestera: validate firmware header length Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 055/181] net: remove WARN_ON_ONCE() from sk_mc_loop() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 056/181] net/smc: fix TOCTOU race between smc_listen_out() and listener close Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 057/181] net: thunderbolt: Tear down DMA paths before stopping the rings Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 058/181] ata: pata_sl82c105: fix bridge revision use-after-free Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 059/181] net/atm: fix slab-out-of-bounds read in vcc_setsockopt() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 060/181] sctp: clear control chunk transport if it is being removed Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 061/181] tls: dont abort the connection on signal-interrupted sends Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 062/181] hwmon: (corsair-psu) fix possible out-of-bounds access on missing string termination Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 063/181] hwmon: (ads7828) Fix external VREF regulator handling Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 064/181] hwmon: (ltc4282) Avoid overflow in maximum power calculation Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 065/181] hwmon: (ltc4282) Clamp negative current limits Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 066/181] hwmon: (ltc4282) Fix parsing adi,current-limit-sense-microvolt Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 067/181] mm/vmscan: wake up flushers conditionally to avoid cgroup OOM Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 068/181] net: fec: do not release NULL pages when RX buffer allocation fails Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 069/181] spi: spi-fsl-dspi: Avoid setup_accel logic for DMA transfers Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 070/181] mtd: spinand: fix direct mapping creation sizes Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 071/181] mtd: spinand: try a regular dirmap if creating a dirmap for continuous reading fails Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 072/181] mtd: spinand: repeat reading in regular mode if " Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 073/181] swapfile: call cond_resched() before locking si->lock Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 074/181] Input: evdev - sanitize event type index when fetching event masks Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 075/181] ALSA: usb-audio: fix OOB write on Type II inbound URBs Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 076/181] usb: atm: cxacru: properly kill rcv_urb on error in cxacru_cm() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 077/181] thunderbolt: icm: Preserve USB4 proxy data-valid bit Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 078/181] usb: cdnsp: fix incorrect endian conversions for APB timeout register Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 079/181] usb: gadget: f_ncm: Use unsigned int for ndp_index Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 080/181] net: usb: ax88179_178a: fix skb leak in ax88179_tx_fixup() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 081/181] net: usb: ipheth: fix carrier_work UAF on disconnect Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 082/181] vt: add permission check for KDSKBMETA ioctl Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 083/181] vt: stabilize tty reference in kbd_keycode with tty_port_tty_get Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 084/181] Input: evdev - fix information leak in evdev_pass_values() Greg Kroah-Hartman
2026-08-17 13:32 ` [PATCH 6.12 085/181] ima: fix out-of-bounds read in xattr_verify() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 086/181] ipvs: stop estimator after disabled calc phase Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 087/181] ipvs: add totalconns for dest Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 088/181] ipvs: properly update the overload flag on dest edit Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 089/181] ipvs: clear IPv4 options after rebasing tunnel ICMP errors Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 090/181] packet: use consistent hard_header_len in non-ring send paths Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 091/181] packet: use consistent hard_header_len in TX_RING send path Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 092/181] net/packet: reset the MAC header on the packet-socket transmit path Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 093/181] packet: synchronize pressure clearing with ring reconfiguration Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 094/181] net: fix skb length accounting after generic XDP frag adjustment Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 095/181] net: openvswitch: reallocate update replies for mismatched IDs Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 096/181] net/sched: reject overly deep qdisc hierarchies Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 097/181] net: octeontx2-pf: Fix UB in shift operation Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 098/181] net: remove CAP_SYS_RAWIO zero-padding in dev_validate_header Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 099/181] mac802154: fix netdev use-after-free in beacon worker Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 100/181] netfilter: ebt_nflog: pin the NFLOG backend Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 101/181] net: bridge: mrp: fix uninitialised bytes on the wire Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 102/181] KVM: s390: pci: Fix memory accounting for pinned/unpinned pages Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 103/181] KVM: s390: pci: Fix missing error codes and memory unaccounting Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 104/181] KVM: s390: pci: Fix resource leak on IRQ registration failure Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 105/181] KVM: s390: pci: Fix aisb calculation Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 106/181] block: Reorder the request allocation code in blk_mq_submit_bio() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 107/181] blk-mq: pop cached request if it is usable Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 108/181] blk-mq: reinsert cached request to the list Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 109/181] dt-bindings: crypto: qcom,ice: Fix missing power-domain and iface clk Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 110/181] crypto: ccp - Add new SEV/SNP platform shutdown API Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 111/181] KVM: SVM: Add support to initialize SEV/SNP functionality in KVM Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 112/181] crypto: ccp - Fix checks for SNP_VLEK_LOAD input buffer length Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 113/181] crypto: ccp - Abort doing SEV INIT if SNP INIT fails Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 114/181] futex: Prevent robust futex exit race some more Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 115/181] kunit/fortify: Replace "volatile" with OPTIMIZER_HIDE_VAR() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 116/181] kunit/fortify: Add back "volatile" for sizeof() constants Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 117/181] pinctrl: renesas: rzg2l: Use -ENOTSUPP instead of -EOPNOTSUPP Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 118/181] selftests/bpf: Ensure UDP sockets are bound Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 119/181] selftests/bpf: Adapt sockmap update error handling Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 120/181] ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 121/181] ipv4: fix use-after-free in fib_nhc_update_mtu() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 122/181] mei: pull kvfree out of spinlock Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 123/181] nvmem: layouts: Add fixed-layout driver Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 124/181] serial: qcom-geni: fix TX DMA buffer flush Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 125/181] serial: 8250_dma: Clear stale RX state on shutdown Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 126/181] staging: rtl8723bs: fix OOB read in rtw_get_wpa_ie() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 127/181] staging: rtl8723bs: fix OOB read in WMM_param_handler() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 128/181] staging: rtl8723bs: fix missing shared-key auth challenge length check Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 129/181] staging: rtl8723bs: validate monitor transmit frame lengths Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 130/181] misc: fastrpc: fix channel ctx ref leak when session alloc fails Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 131/181] misc: fastrpc: Remove buffer from list prior to unmap operation Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 132/181] misc: fastrpc: take fl->lock when moving mmaps on interrupted invoke Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 133/181] misc: fastrpc: fix memory leak in fastrpc_channel_ctx_free Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 134/181] ring-buffer: Fix crash passing ERR_PTR to kthread_stop() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 135/181] ALSA: usb: Fix UAF at delayed release of MIDI2 EPs Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 136/181] ALSA: usx2y: bound the hwdep mmap fault offset Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 137/181] tracing: Fix race between update_event_fields and, event_define_fields Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 138/181] fbdev: bitblit: bound-check glyph index in bit_cursor() Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 139/181] ring-buffer: Prevent subbuf order change when resizing is disabled Greg Kroah-Hartman
2026-08-17 13:33 ` Greg Kroah-Hartman [this message]
2026-08-17 13:33 ` [PATCH 6.12 141/181] net: smc: fix splice entry lifetime imbalance in smc_rx_splice Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 142/181] ipv6: prevent in6_dev_get() from resurrecting inet6_dev Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 143/181] netfilter: bridge: release template ct on non-IP path Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 144/181] netfilter: nf_conntrack: defer invalid log until after unlock Greg Kroah-Hartman
2026-08-17 13:33 ` [PATCH 6.12 145/181] net: atlantic: free stranded TX buffers on ring deinit Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 146/181] net: atlantic: free RX pages of consumed but not refilled buffers Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 147/181] net/sched: act_ct: fix sk_buff leak when the header checks reject a packet Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 148/181] net/sched: act_gact, act_police: range check the fallback control action Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 149/181] ovl: dont warn when the mount is completed from another user namespace Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 150/181] binfmt_misc: " Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 151/181] Revert "drm/amdgpu: fix aperture mapping leak" Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 152/181] xdp: reject clones that overrun skb_shared_info tailroom Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 153/181] vxlan: do not arm the ageing timer on a device that is down Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 154/181] vsock/virtio: read virtqueues under worker locks Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 155/181] vsock/virtio: avoid refilling the RX queue after teardown Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 156/181] veth: fix skb length accounting after XDP frag adjustment Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 157/181] vhost: reset the vring metadata cache on vring reconfiguration Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 158/181] tls: dont leave a full plaintext sk_msg ring unpushed Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 159/181] tipc: read le->link under the node lock in tipc_node_link_down() Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 160/181] smb: client: Fix use-after-free in cifs_try_adding_channels() Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 161/181] KVM: x86/mmu: WARN and clear role.invalid when creating a child shadow page Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 162/181] eventfs: Fix use-after-free in eventfs_remove_rec() Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 163/181] eventfs: Use children field for rcu head and add memory barriers Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 164/181] Revert "thermal/drivers/hwmon: Cleanup coding style a bit" Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 165/181] ptp: ocp: Fix board ID over-read Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 166/181] ring-buffer: Use current_context for safe per-CPU buffer swap Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 167/181] ipv6: fix Route Information option length validation Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 168/181] ip6_tunnel: clear skb2->cb[] in ip6ip6_err() Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 169/181] fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy() Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 170/181] sched/psi: Shut down rtpoll_timer in psi_cgroup_free() Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 171/181] ima: Instantiate file_truncate and path_truncate hooks Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 172/181] fsverity: Fix bpf_get_fsverity_digest() dynptr assumptions Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 173/181] fsverity: Fix silent truncation in bpf_get_fsverity_digest() Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 174/181] bpf, sockmap: Fix sk_redir use-after-free in send verdict Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 175/181] scsi: scsi_debug: Negate wrapped memcmp() result Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 176/181] sctp: keep chunk->transport in step with the list it is queued on Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 177/181] sctp: fix use-after-free of cached ASCONF chunk Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 178/181] sctp: clear new_transport when removing a peer Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 179/181] thunderbolt: Bound the DROM dual link port number before indexing sw->ports Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 180/181] thunderbolt: Fix bandwidth group reservation indexing Greg Kroah-Hartman
2026-08-17 13:34 ` [PATCH 6.12 181/181] bpf: tcp: fix double sock release on batch realloc Greg Kroah-Hartman
2026-08-17 17:56 ` [PATCH 6.12 000/181] 6.12.104-rc1 review Pavel Machek
2026-08-17 19:18 ` Peter Schneider
2026-08-17 20:18 ` 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=20260817132541.153099474@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=akpm@linux-foundation.org \
--cc=baohua@kernel.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=david@kernel.org \
--cc=dev.jain@arm.com \
--cc=hare@suse.de \
--cc=hughd@google.com \
--cc=kas@kernel.org \
--cc=lance.yang@linux.dev \
--cc=liam@infradead.org \
--cc=ljs@kernel.org \
--cc=npache@redhat.com \
--cc=p.raghav@samsung.com \
--cc=patches@lists.linux.dev \
--cc=ryan.roberts@arm.com \
--cc=shy828301@gmail.com \
--cc=stable@vger.kernel.org \
--cc=uqbarz@gmail.com \
--cc=ziy@nvidia.com \
/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