All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev,
	Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>,
	Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.1 100/200] scsi: mpi3mr: Use number of bits to manage bitmap sizes
Date: Fri, 10 Mar 2023 14:38:27 +0100	[thread overview]
Message-ID: <20230310133720.179122804@linuxfoundation.org> (raw)
In-Reply-To: <20230310133717.050159289@linuxfoundation.org>

From: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>

[ Upstream commit 339e61565f81a6534afdc18fd854b2e2628bf5db ]

To allocate bitmaps, the mpi3mr driver calculates sizes of bitmaps using
byte as unit. However, bitmap helper functions assume that bitmaps are
allocated using unsigned long as unit. This gap causes memory access beyond
the bitmap sizes and results in "BUG: KASAN: slab-out-of-bounds".  The BUG
was observed at firmware download to eHBA-9600. Call trace indicated that
the out-of-bounds access happened in find_first_zero_bit() called from
mpi3mr_send_event_ack() for miroc->evtack_cmds_bitmap.

To fix the BUG, do not use bytes to manage bitmap sizes. Instead, use
number of bits, and call bitmap helper functions which take number of bits
as arguments. For memory allocation, call bitmap_zalloc() instead of
kzalloc() and krealloc(). For memory free, call bitmap_free() instead of
kfree(). For zero clear, call bitmap_clear() instead of memset().

Remove three fields for bitmap byte sizes in struct scmd_priv which are no
longer required. Replace the field dev_handle_bitmap_sz with
dev_handle_bitmap_bits to keep number of bits of removepend_bitmap across
resize.

Link: https://lore.kernel.org/r/20230214005019.1897251-4-shinichiro.kawasaki@wdc.com
Fixes: c5758fc72b92 ("scsi: mpi3mr: Gracefully handle online FW update operation")
Fixes: e844adb1fbdc ("scsi: mpi3mr: Implement SCSI error handler hooks")
Fixes: c1af985d27da ("scsi: mpi3mr: Add Event acknowledgment logic")
Fixes: 824a156633df ("scsi: mpi3mr: Base driver code")
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Acked-by: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/scsi/mpi3mr/mpi3mr.h    | 10 +----
 drivers/scsi/mpi3mr/mpi3mr_fw.c | 75 ++++++++++++++-------------------
 2 files changed, 33 insertions(+), 52 deletions(-)

diff --git a/drivers/scsi/mpi3mr/mpi3mr.h b/drivers/scsi/mpi3mr/mpi3mr.h
index def4c5e15cd89..8a438f248a820 100644
--- a/drivers/scsi/mpi3mr/mpi3mr.h
+++ b/drivers/scsi/mpi3mr/mpi3mr.h
@@ -955,19 +955,16 @@ struct scmd_priv {
  * @chain_buf_count: Chain buffer count
  * @chain_buf_pool: Chain buffer pool
  * @chain_sgl_list: Chain SGL list
- * @chain_bitmap_sz: Chain buffer allocator bitmap size
  * @chain_bitmap: Chain buffer allocator bitmap
  * @chain_buf_lock: Chain buffer list lock
  * @bsg_cmds: Command tracker for BSG command
  * @host_tm_cmds: Command tracker for task management commands
  * @dev_rmhs_cmds: Command tracker for device removal commands
  * @evtack_cmds: Command tracker for event ack commands
- * @devrem_bitmap_sz: Device removal bitmap size
  * @devrem_bitmap: Device removal bitmap
- * @dev_handle_bitmap_sz: Device handle bitmap size
+ * @dev_handle_bitmap_bits: Number of bits in device handle bitmap
  * @removepend_bitmap: Remove pending bitmap
  * @delayed_rmhs_list: Delayed device removal list
- * @evtack_cmds_bitmap_sz: Event Ack bitmap size
  * @evtack_cmds_bitmap: Event Ack bitmap
  * @delayed_evtack_cmds_list: Delayed event acknowledgment list
  * @ts_update_counter: Timestamp update counter
@@ -1128,7 +1125,6 @@ struct mpi3mr_ioc {
 	u32 chain_buf_count;
 	struct dma_pool *chain_buf_pool;
 	struct chain_element *chain_sgl_list;
-	u16  chain_bitmap_sz;
 	void *chain_bitmap;
 	spinlock_t chain_buf_lock;
 
@@ -1136,12 +1132,10 @@ struct mpi3mr_ioc {
 	struct mpi3mr_drv_cmd host_tm_cmds;
 	struct mpi3mr_drv_cmd dev_rmhs_cmds[MPI3MR_NUM_DEVRMCMD];
 	struct mpi3mr_drv_cmd evtack_cmds[MPI3MR_NUM_EVTACKCMD];
-	u16 devrem_bitmap_sz;
 	void *devrem_bitmap;
-	u16 dev_handle_bitmap_sz;
+	u16 dev_handle_bitmap_bits;
 	void *removepend_bitmap;
 	struct list_head delayed_rmhs_list;
-	u16 evtack_cmds_bitmap_sz;
 	void *evtack_cmds_bitmap;
 	struct list_head delayed_evtack_cmds_list;
 
diff --git a/drivers/scsi/mpi3mr/mpi3mr_fw.c b/drivers/scsi/mpi3mr/mpi3mr_fw.c
index 0c4aabaefdcc4..1e4467ea8472a 100644
--- a/drivers/scsi/mpi3mr/mpi3mr_fw.c
+++ b/drivers/scsi/mpi3mr/mpi3mr_fw.c
@@ -1128,7 +1128,6 @@ static int mpi3mr_issue_and_process_mur(struct mpi3mr_ioc *mrioc,
 static int
 mpi3mr_revalidate_factsdata(struct mpi3mr_ioc *mrioc)
 {
-	u16 dev_handle_bitmap_sz;
 	void *removepend_bitmap;
 
 	if (mrioc->facts.reply_sz > mrioc->reply_sz) {
@@ -1160,25 +1159,23 @@ mpi3mr_revalidate_factsdata(struct mpi3mr_ioc *mrioc)
 		    "\tcontroller while sas transport support is enabled at the\n"
 		    "\tdriver, please reboot the system or reload the driver\n");
 
-	dev_handle_bitmap_sz = mrioc->facts.max_devhandle / 8;
-	if (mrioc->facts.max_devhandle % 8)
-		dev_handle_bitmap_sz++;
-	if (dev_handle_bitmap_sz > mrioc->dev_handle_bitmap_sz) {
-		removepend_bitmap = krealloc(mrioc->removepend_bitmap,
-		    dev_handle_bitmap_sz, GFP_KERNEL);
+	if (mrioc->facts.max_devhandle > mrioc->dev_handle_bitmap_bits) {
+		removepend_bitmap = bitmap_zalloc(mrioc->facts.max_devhandle,
+						  GFP_KERNEL);
 		if (!removepend_bitmap) {
 			ioc_err(mrioc,
-			    "failed to increase removepend_bitmap sz from: %d to %d\n",
-			    mrioc->dev_handle_bitmap_sz, dev_handle_bitmap_sz);
+				"failed to increase removepend_bitmap bits from %d to %d\n",
+				mrioc->dev_handle_bitmap_bits,
+				mrioc->facts.max_devhandle);
 			return -EPERM;
 		}
-		memset(removepend_bitmap + mrioc->dev_handle_bitmap_sz, 0,
-		    dev_handle_bitmap_sz - mrioc->dev_handle_bitmap_sz);
+		bitmap_free(mrioc->removepend_bitmap);
 		mrioc->removepend_bitmap = removepend_bitmap;
 		ioc_info(mrioc,
-		    "increased dev_handle_bitmap_sz from %d to %d\n",
-		    mrioc->dev_handle_bitmap_sz, dev_handle_bitmap_sz);
-		mrioc->dev_handle_bitmap_sz = dev_handle_bitmap_sz;
+			 "increased bits of dev_handle_bitmap from %d to %d\n",
+			 mrioc->dev_handle_bitmap_bits,
+			 mrioc->facts.max_devhandle);
+		mrioc->dev_handle_bitmap_bits = mrioc->facts.max_devhandle;
 	}
 
 	return 0;
@@ -2957,27 +2954,18 @@ static int mpi3mr_alloc_reply_sense_bufs(struct mpi3mr_ioc *mrioc)
 	if (!mrioc->pel_abort_cmd.reply)
 		goto out_failed;
 
-	mrioc->dev_handle_bitmap_sz = mrioc->facts.max_devhandle / 8;
-	if (mrioc->facts.max_devhandle % 8)
-		mrioc->dev_handle_bitmap_sz++;
-	mrioc->removepend_bitmap = kzalloc(mrioc->dev_handle_bitmap_sz,
-	    GFP_KERNEL);
+	mrioc->dev_handle_bitmap_bits = mrioc->facts.max_devhandle;
+	mrioc->removepend_bitmap = bitmap_zalloc(mrioc->dev_handle_bitmap_bits,
+						 GFP_KERNEL);
 	if (!mrioc->removepend_bitmap)
 		goto out_failed;
 
-	mrioc->devrem_bitmap_sz = MPI3MR_NUM_DEVRMCMD / 8;
-	if (MPI3MR_NUM_DEVRMCMD % 8)
-		mrioc->devrem_bitmap_sz++;
-	mrioc->devrem_bitmap = kzalloc(mrioc->devrem_bitmap_sz,
-	    GFP_KERNEL);
+	mrioc->devrem_bitmap = bitmap_zalloc(MPI3MR_NUM_DEVRMCMD, GFP_KERNEL);
 	if (!mrioc->devrem_bitmap)
 		goto out_failed;
 
-	mrioc->evtack_cmds_bitmap_sz = MPI3MR_NUM_EVTACKCMD / 8;
-	if (MPI3MR_NUM_EVTACKCMD % 8)
-		mrioc->evtack_cmds_bitmap_sz++;
-	mrioc->evtack_cmds_bitmap = kzalloc(mrioc->evtack_cmds_bitmap_sz,
-	    GFP_KERNEL);
+	mrioc->evtack_cmds_bitmap = bitmap_zalloc(MPI3MR_NUM_EVTACKCMD,
+						  GFP_KERNEL);
 	if (!mrioc->evtack_cmds_bitmap)
 		goto out_failed;
 
@@ -3415,10 +3403,7 @@ static int mpi3mr_alloc_chain_bufs(struct mpi3mr_ioc *mrioc)
 		if (!mrioc->chain_sgl_list[i].addr)
 			goto out_failed;
 	}
-	mrioc->chain_bitmap_sz = num_chains / 8;
-	if (num_chains % 8)
-		mrioc->chain_bitmap_sz++;
-	mrioc->chain_bitmap = kzalloc(mrioc->chain_bitmap_sz, GFP_KERNEL);
+	mrioc->chain_bitmap = bitmap_zalloc(num_chains, GFP_KERNEL);
 	if (!mrioc->chain_bitmap)
 		goto out_failed;
 	return retval;
@@ -4190,10 +4175,11 @@ void mpi3mr_memset_buffers(struct mpi3mr_ioc *mrioc)
 		for (i = 0; i < MPI3MR_NUM_EVTACKCMD; i++)
 			memset(mrioc->evtack_cmds[i].reply, 0,
 			    sizeof(*mrioc->evtack_cmds[i].reply));
-		memset(mrioc->removepend_bitmap, 0, mrioc->dev_handle_bitmap_sz);
-		memset(mrioc->devrem_bitmap, 0, mrioc->devrem_bitmap_sz);
-		memset(mrioc->evtack_cmds_bitmap, 0,
-		    mrioc->evtack_cmds_bitmap_sz);
+		bitmap_clear(mrioc->removepend_bitmap, 0,
+			     mrioc->dev_handle_bitmap_bits);
+		bitmap_clear(mrioc->devrem_bitmap, 0, MPI3MR_NUM_DEVRMCMD);
+		bitmap_clear(mrioc->evtack_cmds_bitmap, 0,
+			     MPI3MR_NUM_EVTACKCMD);
 	}
 
 	for (i = 0; i < mrioc->num_queues; i++) {
@@ -4319,16 +4305,16 @@ void mpi3mr_free_mem(struct mpi3mr_ioc *mrioc)
 		mrioc->evtack_cmds[i].reply = NULL;
 	}
 
-	kfree(mrioc->removepend_bitmap);
+	bitmap_free(mrioc->removepend_bitmap);
 	mrioc->removepend_bitmap = NULL;
 
-	kfree(mrioc->devrem_bitmap);
+	bitmap_free(mrioc->devrem_bitmap);
 	mrioc->devrem_bitmap = NULL;
 
-	kfree(mrioc->evtack_cmds_bitmap);
+	bitmap_free(mrioc->evtack_cmds_bitmap);
 	mrioc->evtack_cmds_bitmap = NULL;
 
-	kfree(mrioc->chain_bitmap);
+	bitmap_free(mrioc->chain_bitmap);
 	mrioc->chain_bitmap = NULL;
 
 	kfree(mrioc->transport_cmds.reply);
@@ -4887,9 +4873,10 @@ int mpi3mr_soft_reset_handler(struct mpi3mr_ioc *mrioc,
 
 	mpi3mr_flush_delayed_cmd_lists(mrioc);
 	mpi3mr_flush_drv_cmds(mrioc);
-	memset(mrioc->devrem_bitmap, 0, mrioc->devrem_bitmap_sz);
-	memset(mrioc->removepend_bitmap, 0, mrioc->dev_handle_bitmap_sz);
-	memset(mrioc->evtack_cmds_bitmap, 0, mrioc->evtack_cmds_bitmap_sz);
+	bitmap_clear(mrioc->devrem_bitmap, 0, MPI3MR_NUM_DEVRMCMD);
+	bitmap_clear(mrioc->removepend_bitmap, 0,
+		     mrioc->dev_handle_bitmap_bits);
+	bitmap_clear(mrioc->evtack_cmds_bitmap, 0, MPI3MR_NUM_EVTACKCMD);
 	mpi3mr_flush_host_io(mrioc);
 	mpi3mr_cleanup_fwevt_list(mrioc);
 	mpi3mr_invalidate_devhandles(mrioc);
-- 
2.39.2




  parent reply	other threads:[~2023-03-10 14:10 UTC|newest]

Thread overview: 213+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-10 13:36 [PATCH 6.1 000/200] 6.1.17-rc1 review Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 001/200] net/sched: Retire tcindex classifier Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 002/200] auxdisplay: hd44780: Fix potential memory leak in hd44780_remove() Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 003/200] fs/jfs: fix shift exponent db_agl2size negative Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 004/200] driver: soc: xilinx: fix memory leak in xlnx_add_cb_for_notify_event() Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 005/200] f2fs: dont rely on F2FS_MAP_* in f2fs_iomap_begin Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 006/200] f2fs: fix to avoid potential deadlock Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 007/200] objtool: Fix memory leak in create_static_call_sections() Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 008/200] soc: mediatek: mtk-pm-domains: Allow mt8186 ADSP default power on Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 009/200] memory: renesas-rpc-if: Split-off private data from struct rpcif Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 010/200] memory: renesas-rpc-if: Move resource acquisition to .probe() Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 011/200] soc: mediatek: mtk-svs: Enable the IRQ later Greg Kroah-Hartman
2023-03-10 13:36 ` [PATCH 6.1 012/200] pwm: sifive: Always let the first pwm_apply_state succeed Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 013/200] pwm: stm32-lp: fix the check on arr and cmp registers update Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 014/200] f2fs: introduce trace_f2fs_replace_atomic_write_block Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 015/200] f2fs: correct i_size change for atomic writes Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 016/200] f2fs: clear atomic_write_task in f2fs_abort_atomic_write() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 017/200] soc: mediatek: mtk-svs: restore default voltages when svs_init02() fail Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 018/200] soc: mediatek: mtk-svs: reset svs when svs_resume() fail Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 019/200] soc: mediatek: mtk-svs: Use pm_runtime_resume_and_get() in svs_init01() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 020/200] fs: f2fs: initialize fsdata in pagecache_write() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 021/200] f2fs: allow set compression option of files without blocks Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 022/200] f2fs: fix to abort atomic write only during do_exist() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 023/200] um: vector: Fix memory leak in vector_config Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 024/200] ubi: ensure that VID header offset + VID header size <= alloc, size Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 025/200] ubifs: Fix build errors as symbol undefined Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 026/200] ubifs: Fix memory leak in ubifs_sysfs_init() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 027/200] ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 028/200] ubifs: Rectify space budget for ubifs_xrename() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 029/200] ubifs: Fix wrong dirty space budget for dirty inode Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 030/200] ubifs: do_rename: Fix wrong space budget when target inodes nlink > 1 Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 031/200] ubifs: Reserve one leb for each journal head while doing budget Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 032/200] ubi: Fix use-after-free when volume resizing failed Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 033/200] ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 034/200] ubifs: Fix memory leak in alloc_wbufs() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 035/200] ubi: Fix possible null-ptr-deref in ubi_free_volume() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 036/200] ubifs: Re-statistic cleaned znode count if commit failed Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 037/200] ubifs: dirty_cow_znode: Fix memleak in error handling path Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 038/200] ubifs: ubifs_writepage: Mark page dirty after writing inode failed Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 039/200] ubifs: ubifs_releasepage: Remove ubifs_assert(0) to valid this process Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 040/200] ubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmap Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 041/200] ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 042/200] ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 043/200] f2fs: fix to avoid potential memory corruption in __update_iostat_latency() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 044/200] soc: qcom: stats: Populate all subsystem debugfs files Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 045/200] ext4: use ext4_fc_tl_mem in fast-commit replay path Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 046/200] ext4: dont show commit interval if it is zero Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 047/200] netfilter: nf_tables: allow to fetch set elements when table has an owner Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 048/200] x86: um: vdso: Add %rcx and %r11 to the syscall clobber list Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 049/200] um: virtio_uml: free command if adding to virtqueue failed Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 050/200] um: virtio_uml: mark device as unregistered when breaking it Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 051/200] um: virtio_uml: move device breaking into workqueue Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 052/200] um: virt-pci: properly remove PCI device from bus Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 053/200] f2fs: synchronize atomic write aborts Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 054/200] watchdog: rzg2l_wdt: Issue a reset before we put the PM clocks Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 055/200] watchdog: rzg2l_wdt: Handle TYPE-B reset for RZ/V2M Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 056/200] watchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 057/200] watchdog: Fix kmemleak in watchdog_cdev_register Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 058/200] watchdog: pcwd_usb: Fix attempting to access uninitialized memory Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 059/200] watchdog: sbsa_wdog: Make sure the timeout programming is within the limits Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 060/200] netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack() Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 061/200] netfilter: conntrack: fix rmmod double-free race Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 062/200] netfilter: ip6t_rpfilter: Fix regression with VRF interfaces Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 063/200] netfilter: ebtables: fix table blob use-after-free Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 064/200] netfilter: xt_length: use skb len to match in length_mt6 Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 065/200] netfilter: ctnetlink: make event listener tracking global Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 066/200] netfilter: x_tables: fix percpu counter block leak on error path when creating new netns Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 067/200] ptp: vclock: use mutex to fix "sleep on atomic" bug Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 068/200] drm/i915: move a Kconfig symbol to unbreak the menu presentation Greg Kroah-Hartman
2023-03-10 13:37   ` [Intel-gfx] " Greg Kroah-Hartman
2023-03-10 13:37   ` Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 069/200] ipv6: Add lwtunnel encap size of all siblings in nexthop calculation Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 070/200] octeontx2-pf: Recalculate UDP checksum for ptp 1-step sync packet Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 071/200] net: sunhme: Fix region request Greg Kroah-Hartman
2023-03-10 13:37 ` [PATCH 6.1 072/200] sctp: add a refcnt in sctp_stream_priorities to avoid a nested loop Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 073/200] octeontx2-pf: Use correct struct reference in test condition Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 074/200] net: fix __dev_kfree_skb_any() vs drop monitor Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 075/200] 9p/xen: fix version parsing Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 076/200] 9p/xen: fix connection sequence Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 077/200] 9p/rdma: unmap receive dma buffer in rdma_request()/post_recv() Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 078/200] spi: tegra210-quad: Fix validate combined sequence Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 079/200] mlx5: fix skb leak while fifo resync and push Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 080/200] mlx5: fix possible ptp queue fifo use-after-free Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 081/200] net/mlx5: ECPF, wait for VF pages only after disabling host PFs Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 082/200] net/mlx5e: Verify flow_source cap before using it Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 083/200] net/mlx5: Geneve, Fix handling of Geneve object id as error code Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 084/200] ext4: fix incorrect options show of original mount_opt and extend mount_opt2 Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 085/200] nfc: fix memory leak of se_io context in nfc_genl_se_io Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 086/200] net/sched: transition act_pedit to rcu and percpu stats Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 087/200] net/sched: act_pedit: fix action bind logic Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 088/200] net/sched: act_mpls: " Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 089/200] net/sched: act_sample: " Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 090/200] net: dsa: seville: ignore mscc-miim read errors from Lynx PCS Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 091/200] net: dsa: felix: fix internal MDIO controller resource length Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 092/200] ARM: dts: spear320-hmi: correct STMPE GPIO compatible Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 093/200] tcp: tcp_check_req() can be called from process context Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 094/200] vc_screen: modify vcs_size() handling in vcs_read() Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 095/200] spi: tegra210-quad: Fix iterator outside loop Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 096/200] rtc: sun6i: Always export the internal oscillator Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 097/200] genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask() Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 098/200] scsi: ipr: Work around fortify-string warning Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 099/200] scsi: mpi3mr: Fix an issue found by KASAN Greg Kroah-Hartman
2023-03-10 13:38 ` Greg Kroah-Hartman [this message]
2023-03-10 13:38 ` [PATCH 6.1 101/200] rtc: allow rtc_read_alarm without read_alarm callback Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 102/200] io_uring: fix size calculation when registering buf ring Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 103/200] loop: loop_set_status_from_info() check before assignment Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 104/200] ASoC: adau7118: dont disable regulators on device unbind Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 105/200] ASoC: apple: mca: Fix final status read on SERDES reset Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 106/200] ASoC: apple: mca: Fix SERDES reset sequence Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 107/200] ASoC: apple: mca: Improve handling of unavailable DMA channels Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 108/200] nvme: bring back auto-removal of deleted namespaces during sequential scan Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 109/200] nvme-tcp: dont access released socket during error recovery Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 110/200] nvme-fabrics: show well known discovery name Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 111/200] ASoC: zl38060 add gpiolib dependency Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 112/200] ASoC: mediatek: mt8195: add missing initialization Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 113/200] thermal: intel: quark_dts: fix error pointer dereference Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 114/200] thermal: intel: BXT_PMIC: select REGMAP instead of depending on it Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 115/200] tracing: Add NULL checks for buffer in ring_buffer_free_read_page() Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 116/200] kernel/printk/index.c: fix memory leak with using debugfs_lookup() Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 117/200] firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3 Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 118/200] bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 119/200] mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 120/200] IB/hfi1: Update RMT size calculation Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 121/200] iommu/amd: Fix error handling for pdev_pri_ats_enable() Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 122/200] PCI/ACPI: Account for _S0W of the target bridge in acpi_pci_bridge_d3() Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 123/200] media: uvcvideo: Remove format descriptions Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 124/200] media: uvcvideo: Handle cameras with invalid descriptors Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 125/200] media: uvcvideo: Handle errors from calls to usb_string Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 126/200] media: uvcvideo: Quirk for autosuspend in Logitech B910 and C910 Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 127/200] media: uvcvideo: Silence memcpy() run-time false positive warnings Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 128/200] USB: fix memory leak with using debugfs_lookup() Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 129/200] cacheinfo: Fix shared_cpu_map to handle shared caches at different levels Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 130/200] staging: emxx_udc: Add checks for dma_alloc_coherent() Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 131/200] tty: fix out-of-bounds access in tty_driver_lookup_tty() Greg Kroah-Hartman
2023-03-10 13:38 ` [PATCH 6.1 132/200] tty: serial: fsl_lpuart: disable the CTS when send break signal Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 133/200] serial: sc16is7xx: setup GPIO controller later in probe Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 134/200] mei: bus-fixup:upon error print return values of send and receive Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 135/200] tools/iio/iio_utils:fix memory leak Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 136/200] bus: mhi: ep: Fix the debug message for MHI_PKT_TYPE_RESET_CHAN_CMD cmd Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 137/200] iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_status_word() Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 138/200] iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word() Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 139/200] media: uvcvideo: Add GUID for BGRA/X 8:8:8:8 Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 140/200] soundwire: bus_type: Avoid lockdep assert in sdw_drv_probe() Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 141/200] PCI: loongson: Prevent LS7A MRRS increases Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 142/200] staging: pi433: fix memory leak with using debugfs_lookup() Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 143/200] USB: dwc3: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 144/200] USB: chipidea: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 145/200] USB: ULPI: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 146/200] USB: uhci: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 147/200] USB: sl811: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 148/200] USB: fotg210: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 149/200] USB: isp116x: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 150/200] USB: isp1362: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 151/200] USB: gadget: gr_udc: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 152/200] USB: gadget: bcm63xx_udc: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 153/200] USB: gadget: lpc32xx_udc: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 154/200] USB: gadget: pxa25x_udc: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 155/200] USB: gadget: pxa27x_udc: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 156/200] usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 157/200] USB: ene_usb6250: Allocate enough memory for full object Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 158/200] usb: uvc: Enumerate valid values for color matching Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 159/200] usb: gadget: uvc: Make bSourceID read/write Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 160/200] PCI: Align extra resources for hotplug bridges properly Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 161/200] PCI: Take other bus devices into account when distributing resources Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 162/200] PCI: Distribute available resources for root buses, too Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 163/200] tty: pcn_uart: fix memory leak with using debugfs_lookup() Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 164/200] misc: vmw_balloon: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 165/200] drivers: base: component: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 166/200] drivers: base: dd: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 167/200] kernel/fail_function: " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 168/200] PCI: loongson: Add more devices that need MRRS quirk Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 169/200] PCI: Add ACS quirk for Wangxun NICs Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 170/200] PCI: pciehp: Add Qualcomm quirk for Command Completed erratum Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 171/200] phy: rockchip-typec: Fix unsigned comparison with less than zero Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 172/200] RDMA/cma: Distinguish between sockaddr_in and sockaddr_in6 by size Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 173/200] iommu: Attach device group to old domain in error path Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 174/200] soundwire: cadence: Remove wasted space in response_buf Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 175/200] soundwire: cadence: Drain the RX FIFO after an IO timeout Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 176/200] net: tls: avoid hanging tasks on the tx_lock Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 177/200] x86/resctl: fix scheduler confusion with current Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 178/200] vDPA/ifcvf: decouple hw features manipulators from the adapter Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 179/200] vDPA/ifcvf: decouple config space ops " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 180/200] vDPA/ifcvf: alloc the mgmt_dev before " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 181/200] vDPA/ifcvf: decouple vq IRQ releasers from " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 182/200] vDPA/ifcvf: decouple config IRQ releaser " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 183/200] vDPA/ifcvf: decouple vq irq requester " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 184/200] vDPA/ifcvf: decouple config/dev IRQ requester and vectors allocator " Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 185/200] vDPA/ifcvf: ifcvf_request_irq works on ifcvf_hw Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 186/200] vDPA/ifcvf: manage ifcvf_hw in the mgmt_dev Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 187/200] vDPA/ifcvf: allocate the adapter in dev_add() Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 188/200] drm/display/dp_mst: Add drm_atomic_get_old_mst_topology_state() Greg Kroah-Hartman
2023-03-10 13:39   ` Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 189/200] drm/display/dp_mst: Fix down/up message handling after sink disconnect Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 190/200] drm/display/dp_mst: Fix down message handling after a packet reception error Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 191/200] drm/display/dp_mst: Fix payload addition on a disconnected sink Greg Kroah-Hartman
2023-03-10 13:39 ` [PATCH 6.1 192/200] drm/i915/dp_mst: Add the MST topology state for modesetted CRTCs Greg Kroah-Hartman
2023-03-10 13:40 ` [PATCH 6.1 193/200] drm/i915: Fix system suspend without fbdev being initialized Greg Kroah-Hartman
2023-03-10 13:40 ` [PATCH 6.1 194/200] media: uvcvideo: Fix race condition with usb_kill_urb Greg Kroah-Hartman
2023-03-10 13:40 ` [PATCH 6.1 195/200] io_uring: fix two assignments in if conditions Greg Kroah-Hartman
2023-03-10 13:40 ` [PATCH 6.1 196/200] io_uring/poll: allow some retries for poll triggering spuriously Greg Kroah-Hartman
2023-03-10 13:40 ` [PATCH 6.1 197/200] arm64: efi: Make efi_rt_lock a raw_spinlock Greg Kroah-Hartman
2023-03-10 13:40 ` [PATCH 6.1 198/200] arm64: mte: Fix/clarify the PG_mte_tagged semantics Greg Kroah-Hartman
2023-03-10 13:40 ` [PATCH 6.1 199/200] arm64: Reset KASAN tag in copy_highpage with HW tags only Greg Kroah-Hartman
2023-03-10 13:40 ` [PATCH 6.1 200/200] usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails Greg Kroah-Hartman
2023-03-10 16:42 ` [PATCH 6.1 000/200] 6.1.17-rc1 review Markus Reichelt
2023-03-10 18:58 ` Jon Hunter
2023-03-11  1:59 ` Shuah Khan
2023-03-11  3:39 ` Guenter Roeck
2023-03-11  4:13 ` Bagas Sanjaya
2023-03-11  5:58 ` Naresh Kamboju
2023-03-11 10:45 ` Conor Dooley
2023-03-11 12:29 ` Sudip Mukherjee
2023-03-11 18:02 ` 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=20230310133720.179122804@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=martin.petersen@oracle.com \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=sathya.prakash@broadcom.com \
    --cc=shinichiro.kawasaki@wdc.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

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

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