All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org, kernel test robot <lkp@intel.com>,
	"Gustavo A. R. Silva" <gustavoars@kernel.org>,
	Kees Cook <keescook@chromium.org>,
	Kalle Valo <kvalo@codeaurora.org>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 4.4 151/190] wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
Date: Thu, 20 May 2021 11:23:35 +0200	[thread overview]
Message-ID: <20210520092107.169929001@linuxfoundation.org> (raw)
In-Reply-To: <20210520092102.149300807@linuxfoundation.org>

From: Gustavo A. R. Silva <gustavoars@kernel.org>

[ Upstream commit bb43e5718d8f1b46e7a77e7b39be3c691f293050 ]

Fix the following out-of-bounds warnings by adding a new structure
wl3501_req instead of duplicating the same members in structure
wl3501_join_req and wl3501_scan_confirm:

arch/x86/include/asm/string_32.h:182:25: warning: '__builtin_memcpy' offset [39, 108] from the object at 'sig' is out of the bounds of referenced subobject 'beacon_period' with type 'short unsigned int' at offset 36 [-Warray-bounds]
arch/x86/include/asm/string_32.h:182:25: warning: '__builtin_memcpy' offset [25, 95] from the object at 'sig' is out of the bounds of referenced subobject 'beacon_period' with type 'short unsigned int' at offset 22 [-Warray-bounds]

Refactor the code, accordingly:

$ pahole -C wl3501_req drivers/net/wireless/wl3501_cs.o
struct wl3501_req {
        u16                        beacon_period;        /*     0     2 */
        u16                        dtim_period;          /*     2     2 */
        u16                        cap_info;             /*     4     2 */
        u8                         bss_type;             /*     6     1 */
        u8                         bssid[6];             /*     7     6 */
        struct iw_mgmt_essid_pset  ssid;                 /*    13    34 */
        struct iw_mgmt_ds_pset     ds_pset;              /*    47     3 */
        struct iw_mgmt_cf_pset     cf_pset;              /*    50     8 */
        struct iw_mgmt_ibss_pset   ibss_pset;            /*    58     4 */
        struct iw_mgmt_data_rset   bss_basic_rset;       /*    62    10 */

        /* size: 72, cachelines: 2, members: 10 */
        /* last cacheline: 8 bytes */
};

$ pahole -C wl3501_join_req drivers/net/wireless/wl3501_cs.o
struct wl3501_join_req {
        u16                        next_blk;             /*     0     2 */
        u8                         sig_id;               /*     2     1 */
        u8                         reserved;             /*     3     1 */
        struct iw_mgmt_data_rset   operational_rset;     /*     4    10 */
        u16                        reserved2;            /*    14     2 */
        u16                        timeout;              /*    16     2 */
        u16                        probe_delay;          /*    18     2 */
        u8                         timestamp[8];         /*    20     8 */
        u8                         local_time[8];        /*    28     8 */
        struct wl3501_req          req;                  /*    36    72 */

        /* size: 108, cachelines: 2, members: 10 */
        /* last cacheline: 44 bytes */
};

$ pahole -C wl3501_scan_confirm drivers/net/wireless/wl3501_cs.o
struct wl3501_scan_confirm {
        u16                        next_blk;             /*     0     2 */
        u8                         sig_id;               /*     2     1 */
        u8                         reserved;             /*     3     1 */
        u16                        status;               /*     4     2 */
        char                       timestamp[8];         /*     6     8 */
        char                       localtime[8];         /*    14     8 */
        struct wl3501_req          req;                  /*    22    72 */
        /* --- cacheline 1 boundary (64 bytes) was 30 bytes ago --- */
        u8                         rssi;                 /*    94     1 */

        /* size: 96, cachelines: 2, members: 8 */
        /* padding: 1 */
        /* last cacheline: 32 bytes */
};

The problem is that the original code is trying to copy data into a
bunch of struct members adjacent to each other in a single call to
memcpy(). Now that a new struct wl3501_req enclosing all those adjacent
members is introduced, memcpy() doesn't overrun the length of
&sig.beacon_period and &this->bss_set[i].beacon_period, because the
address of the new struct object _req_ is used as the destination,
instead.

This helps with the ongoing efforts to globally enable -Warray-bounds
and get us closer to being able to tighten the FORTIFY_SOURCE routines
on memcpy().

Link: https://github.com/KSPP/linux/issues/109
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1fbaf516da763b50edac47d792a9145aa4482e29.1618442265.git.gustavoars@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/net/wireless/wl3501.h    | 35 +++++++++++--------------
 drivers/net/wireless/wl3501_cs.c | 44 +++++++++++++++++---------------
 2 files changed, 38 insertions(+), 41 deletions(-)

diff --git a/drivers/net/wireless/wl3501.h b/drivers/net/wireless/wl3501.h
index ba2a36cfb1c8..ca2021bcac14 100644
--- a/drivers/net/wireless/wl3501.h
+++ b/drivers/net/wireless/wl3501.h
@@ -378,16 +378,7 @@ struct wl3501_get_confirm {
 	u8	mib_value[100];
 };
 
-struct wl3501_join_req {
-	u16			    next_blk;
-	u8			    sig_id;
-	u8			    reserved;
-	struct iw_mgmt_data_rset    operational_rset;
-	u16			    reserved2;
-	u16			    timeout;
-	u16			    probe_delay;
-	u8			    timestamp[8];
-	u8			    local_time[8];
+struct wl3501_req {
 	u16			    beacon_period;
 	u16			    dtim_period;
 	u16			    cap_info;
@@ -400,6 +391,19 @@ struct wl3501_join_req {
 	struct iw_mgmt_data_rset    bss_basic_rset;
 };
 
+struct wl3501_join_req {
+	u16			    next_blk;
+	u8			    sig_id;
+	u8			    reserved;
+	struct iw_mgmt_data_rset    operational_rset;
+	u16			    reserved2;
+	u16			    timeout;
+	u16			    probe_delay;
+	u8			    timestamp[8];
+	u8			    local_time[8];
+	struct wl3501_req	    req;
+};
+
 struct wl3501_join_confirm {
 	u16	next_blk;
 	u8	sig_id;
@@ -442,16 +446,7 @@ struct wl3501_scan_confirm {
 	u16			    status;
 	char			    timestamp[8];
 	char			    localtime[8];
-	u16			    beacon_period;
-	u16			    dtim_period;
-	u16			    cap_info;
-	u8			    bss_type;
-	u8			    bssid[ETH_ALEN];
-	struct iw_mgmt_essid_pset   ssid;
-	struct iw_mgmt_ds_pset	    ds_pset;
-	struct iw_mgmt_cf_pset	    cf_pset;
-	struct iw_mgmt_ibss_pset    ibss_pset;
-	struct iw_mgmt_data_rset    bss_basic_rset;
+	struct wl3501_req	    req;
 	u8			    rssi;
 };
 
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c
index 15613f4761f4..f91f7bd90b85 100644
--- a/drivers/net/wireless/wl3501_cs.c
+++ b/drivers/net/wireless/wl3501_cs.c
@@ -578,7 +578,7 @@ static int wl3501_mgmt_join(struct wl3501_card *this, u16 stas)
 	struct wl3501_join_req sig = {
 		.sig_id		  = WL3501_SIG_JOIN_REQ,
 		.timeout	  = 10,
-		.ds_pset = {
+		.req.ds_pset = {
 			.el = {
 				.id  = IW_MGMT_INFO_ELEMENT_DS_PARAMETER_SET,
 				.len = 1,
@@ -587,7 +587,7 @@ static int wl3501_mgmt_join(struct wl3501_card *this, u16 stas)
 		},
 	};
 
-	memcpy(&sig.beacon_period, &this->bss_set[stas].beacon_period, 72);
+	memcpy(&sig.req, &this->bss_set[stas].req, sizeof(sig.req));
 	return wl3501_esbq_exec(this, &sig, sizeof(sig));
 }
 
@@ -655,35 +655,37 @@ static void wl3501_mgmt_scan_confirm(struct wl3501_card *this, u16 addr)
 	if (sig.status == WL3501_STATUS_SUCCESS) {
 		pr_debug("success");
 		if ((this->net_type == IW_MODE_INFRA &&
-		     (sig.cap_info & WL3501_MGMT_CAPABILITY_ESS)) ||
+		     (sig.req.cap_info & WL3501_MGMT_CAPABILITY_ESS)) ||
 		    (this->net_type == IW_MODE_ADHOC &&
-		     (sig.cap_info & WL3501_MGMT_CAPABILITY_IBSS)) ||
+		     (sig.req.cap_info & WL3501_MGMT_CAPABILITY_IBSS)) ||
 		    this->net_type == IW_MODE_AUTO) {
 			if (!this->essid.el.len)
 				matchflag = 1;
 			else if (this->essid.el.len == 3 &&
 				 !memcmp(this->essid.essid, "ANY", 3))
 				matchflag = 1;
-			else if (this->essid.el.len != sig.ssid.el.len)
+			else if (this->essid.el.len != sig.req.ssid.el.len)
 				matchflag = 0;
-			else if (memcmp(this->essid.essid, sig.ssid.essid,
+			else if (memcmp(this->essid.essid, sig.req.ssid.essid,
 					this->essid.el.len))
 				matchflag = 0;
 			else
 				matchflag = 1;
 			if (matchflag) {
 				for (i = 0; i < this->bss_cnt; i++) {
-					if (ether_addr_equal_unaligned(this->bss_set[i].bssid, sig.bssid)) {
+					if (ether_addr_equal_unaligned(this->bss_set[i].req.bssid,
+								       sig.req.bssid)) {
 						matchflag = 0;
 						break;
 					}
 				}
 			}
 			if (matchflag && (i < 20)) {
-				memcpy(&this->bss_set[i].beacon_period,
-				       &sig.beacon_period, 73);
+				memcpy(&this->bss_set[i].req,
+				       &sig.req, sizeof(sig.req));
 				this->bss_cnt++;
 				this->rssi = sig.rssi;
+				this->bss_set[i].rssi = sig.rssi;
 			}
 		}
 	} else if (sig.status == WL3501_STATUS_TIMEOUT) {
@@ -875,19 +877,19 @@ static void wl3501_mgmt_join_confirm(struct net_device *dev, u16 addr)
 			if (this->join_sta_bss < this->bss_cnt) {
 				const int i = this->join_sta_bss;
 				memcpy(this->bssid,
-				       this->bss_set[i].bssid, ETH_ALEN);
-				this->chan = this->bss_set[i].ds_pset.chan;
+				       this->bss_set[i].req.bssid, ETH_ALEN);
+				this->chan = this->bss_set[i].req.ds_pset.chan;
 				iw_copy_mgmt_info_element(&this->keep_essid.el,
-						     &this->bss_set[i].ssid.el);
+						     &this->bss_set[i].req.ssid.el);
 				wl3501_mgmt_auth(this);
 			}
 		} else {
 			const int i = this->join_sta_bss;
 
-			memcpy(&this->bssid, &this->bss_set[i].bssid, ETH_ALEN);
-			this->chan = this->bss_set[i].ds_pset.chan;
+			memcpy(&this->bssid, &this->bss_set[i].req.bssid, ETH_ALEN);
+			this->chan = this->bss_set[i].req.ds_pset.chan;
 			iw_copy_mgmt_info_element(&this->keep_essid.el,
-						  &this->bss_set[i].ssid.el);
+						  &this->bss_set[i].req.ssid.el);
 			wl3501_online(dev);
 		}
 	} else {
@@ -1566,30 +1568,30 @@ static int wl3501_get_scan(struct net_device *dev, struct iw_request_info *info,
 	for (i = 0; i < this->bss_cnt; ++i) {
 		iwe.cmd			= SIOCGIWAP;
 		iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
-		memcpy(iwe.u.ap_addr.sa_data, this->bss_set[i].bssid, ETH_ALEN);
+		memcpy(iwe.u.ap_addr.sa_data, this->bss_set[i].req.bssid, ETH_ALEN);
 		current_ev = iwe_stream_add_event(info, current_ev,
 						  extra + IW_SCAN_MAX_DATA,
 						  &iwe, IW_EV_ADDR_LEN);
 		iwe.cmd		  = SIOCGIWESSID;
 		iwe.u.data.flags  = 1;
-		iwe.u.data.length = this->bss_set[i].ssid.el.len;
+		iwe.u.data.length = this->bss_set[i].req.ssid.el.len;
 		current_ev = iwe_stream_add_point(info, current_ev,
 						  extra + IW_SCAN_MAX_DATA,
 						  &iwe,
-						  this->bss_set[i].ssid.essid);
+						  this->bss_set[i].req.ssid.essid);
 		iwe.cmd	   = SIOCGIWMODE;
-		iwe.u.mode = this->bss_set[i].bss_type;
+		iwe.u.mode = this->bss_set[i].req.bss_type;
 		current_ev = iwe_stream_add_event(info, current_ev,
 						  extra + IW_SCAN_MAX_DATA,
 						  &iwe, IW_EV_UINT_LEN);
 		iwe.cmd = SIOCGIWFREQ;
-		iwe.u.freq.m = this->bss_set[i].ds_pset.chan;
+		iwe.u.freq.m = this->bss_set[i].req.ds_pset.chan;
 		iwe.u.freq.e = 0;
 		current_ev = iwe_stream_add_event(info, current_ev,
 						  extra + IW_SCAN_MAX_DATA,
 						  &iwe, IW_EV_FREQ_LEN);
 		iwe.cmd = SIOCGIWENCODE;
-		if (this->bss_set[i].cap_info & WL3501_MGMT_CAPABILITY_PRIVACY)
+		if (this->bss_set[i].req.cap_info & WL3501_MGMT_CAPABILITY_PRIVACY)
 			iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY;
 		else
 			iwe.u.data.flags = IW_ENCODE_DISABLED;
-- 
2.30.2




  parent reply	other threads:[~2021-05-20 11:45 UTC|newest]

Thread overview: 197+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20  9:21 [PATCH 4.4 000/190] 4.4.269-rc1 review Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 001/190] timerfd: Reject ALARM timerfds without CAP_WAKE_ALARM Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 002/190] net: usb: ax88179_178a: initialize local variables before use Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 003/190] iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 004/190] ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 005/190] USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 006/190] USB: Add reset-resume quirk for WD19s Realtek Hub Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 007/190] platform/x86: thinkpad_acpi: Correct thermal sensor allocation Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 008/190] s390/disassembler: increase ebpf disasm buffer size Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 009/190] ACPI: custom_method: fix potential use-after-free issue Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 010/190] ACPI: custom_method: fix a possible memory leak Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 011/190] ecryptfs: fix kernel panic with null dev_name Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 012/190] mmc: core: Do a power cycle when the CMD11 fails Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 013/190] mmc: core: Set read only for SD cards with permanent write protect bit Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 014/190] fbdev: zero-fill colormap in fbcmap.c Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 015/190] staging: wimax/i2400m: fix byte-order issue Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 016/190] usb: gadget: uvc: add bInterval checking for HS mode Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 017/190] PCI: PM: Do not read power state in pci_enable_device_flags() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 018/190] x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS) Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 019/190] spi: dln2: Fix reference leak to master Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 020/190] spi: omap-100k: " Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 021/190] intel_th: Consistency and off-by-one fix Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 022/190] phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 023/190] btrfs: convert logic BUG_ON()s in replace_path to ASSERT()s Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 024/190] scsi: target: pscsi: Fix warning in pscsi_complete_cmd() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 025/190] media: ite-cir: check for receive overflow Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 026/190] media: media/saa7164: fix saa7164_encoder_register() memory leak bugs Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 027/190] media: gspca/sq905.c: fix uninitialized variable Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 028/190] media: em28xx: fix memory leak Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 029/190] clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 030/190] power: supply: generic-adc-battery: fix possible use-after-free in gab_remove() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 031/190] power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 032/190] media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 033/190] media: dvb-usb: fix memory leak in dvb_usb_adapter_init Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 034/190] media: gscpa/stv06xx: fix memory leak Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 035/190] drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 036/190] drm/amdgpu: fix NULL pointer dereference Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 037/190] scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 038/190] scsi: libfc: Fix a format specifier Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 039/190] ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 040/190] ALSA: sb: Fix two use after free in snd_sb_qsound_build Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 041/190] arm64/vdso: Discard .note.gnu.property sections in vDSO Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 042/190] openvswitch: fix stack OOB read while fragmenting IPv4 packets Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 043/190] jffs2: Fix kasan slab-out-of-bounds problem Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 044/190] powerpc/eeh: Fix EEH handling for hugepages in ioremap space Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 045/190] powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 046/190] jffs2: check the validity of dstlen in jffs2_zlib_compress() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 047/190] ftrace: Handle commands when closing set_ftrace_filter file Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 048/190] ext4: fix check to prevent false positive report of incorrect used inodes Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 049/190] ext4: fix error code in ext4_commit_super Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 050/190] usb: gadget: dummy_hcd: fix gpf in gadget_setup Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 051/190] usb: gadget/function/f_fs string table fix for multiple languages Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 052/190] dm persistent data: packed struct should have an aligned() attribute too Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 053/190] dm space map common: fix division bug in sm_ll_find_free_block() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 054/190] Bluetooth: verify AMP hci_chan before amp_destroy Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.4 055/190] hsr: use netdev_err() instead of WARN_ONCE() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 056/190] net/nfc: fix use-after-free llcp_sock_bind/connect Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 057/190] FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 058/190] misc: lis3lv02d: Fix false-positive WARN on various HP models Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 059/190] misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 060/190] misc: vmw_vmci: explicitly initialize vmci_datagram payload Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 061/190] tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 062/190] tracing: Treat recording comm for idle task as a success Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 063/190] tracing: Map all PIDs to command lines Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 064/190] tracing: Restructure trace_clock_global() to never block Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 065/190] md: factor out a mddev_find_locked helper from mddev_find Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 066/190] md: md_open returns -EBUSY when entering racing area Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 067/190] ipw2x00: potential buffer overflow in libipw_wx_set_encodeext() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 068/190] cfg80211: scan: drop entry from hidden_list on overflow Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 069/190] drm/radeon: fix copy of uninitialized variable back to userspace Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 070/190] ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 071/190] ALSA: hda/realtek: Re-order ALC882 Sony " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 072/190] ALSA: hda/realtek: Re-order ALC269 " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 073/190] ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 074/190] KVM: s390: split kvm_s390_real_to_abs Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 075/190] usb: gadget: pch_udc: Revert d3cb25a12138 completely Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 076/190] memory: gpmc: fix out of bounds read and dereference on gpmc_cs[] Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 077/190] ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250 Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 078/190] ARM: dts: exynos: correct PMIC interrupt trigger level on Snow Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 079/190] usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 080/190] usb: gadget: pch_udc: Check if driver is present before calling ->setup() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 081/190] usb: gadget: pch_udc: Check for DMA mapping error Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 082/190] crypto: qat - dont release uninitialized resources Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 083/190] fotg210-udc: Fix DMA on EP0 for length > max packet size Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 084/190] fotg210-udc: Fix EP0 IN requests bigger than two packets Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 085/190] fotg210-udc: Remove a dubious condition leading to fotg210_done Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 086/190] fotg210-udc: Mask GRP2 interrupts we dont handle Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 087/190] fotg210-udc: Dont DMA more than the buffer can take Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 088/190] fotg210-udc: Complete OUT requests on short packets Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 089/190] mtd: require write permissions for locking and badblock ioctls Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 090/190] crypto: qat - fix error path in adf_isr_resource_alloc() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 091/190] staging: rtl8192u: Fix potential infinite loop Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 092/190] crypto: qat - Fix a double free in adf_create_ring Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 093/190] usb: gadget: r8a66597: Add missing null check on return from platform_get_resource Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 094/190] USB: cdc-acm: fix unprivileged TIOCCSERIAL Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 095/190] tty: fix return value for unsupported ioctls Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 096/190] ttyprintk: Add TTY hangup callback Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 097/190] media: vivid: fix assignment of dev->fbuf_out_flags Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 098/190] media: omap4iss: return error code when omap4iss_get() failed Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 099/190] media: m88rs6000t: avoid potential out-of-bounds reads on arrays Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 100/190] pata_arasan_cf: fix IRQ check Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 101/190] pata_ipx4xx_cf: " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 102/190] sata_mv: add IRQ checks Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 103/190] ata: libahci_platform: fix IRQ check Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 104/190] scsi: fcoe: Fix mismatched fcoe_wwn_from_mac declaration Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 105/190] media: dvb-usb-remote: fix dvb_usb_nec_rc_key_to_event type mismatch Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 106/190] scsi: jazz_esp: Add IRQ check Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 107/190] scsi: sun3x_esp: " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 108/190] scsi: sni_53c710: " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 109/190] HSI: core: fix resource leaks in hsi_add_client_from_dt() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 110/190] x86/events/amd/iommu: Fix sysfs type mismatch Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 111/190] HID: plantronics: Workaround for double volume key presses Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 112/190] net: lapbether: Prevent racing when checking whether the netif is running Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 113/190] powerpc/prom: Mark identical_pvr_fixup as __init Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 114/190] ALSA: core: remove redundant spin_lock pair in snd_card_disconnect Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.4 115/190] nfc: pn533: prevent potential memory corruption Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 116/190] ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 117/190] powerpc: iommu: fix build when neither PCI or IBMVIO is set Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 118/190] mac80211: bail out if cipher schemes are invalid Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 119/190] mt7601u: fix always true expression Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 120/190] net: thunderx: Fix unintentional sign extension issue Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 121/190] i2c: cadence: add IRQ check Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 122/190] i2c: jz4780: " Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 123/190] i2c: sh7760: " Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 124/190] powerpc/pseries: extract host bridge from pci_bus prior to bus removal Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 125/190] i2c: sh7760: fix IRQ error path Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 126/190] mwl8k: Fix a double Free in mwl8k_probe_hw Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 127/190] vsock/vmci: log once the failed queue pair allocation Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 128/190] net: davinci_emac: Fix incorrect masking of tx and rx error channel Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 129/190] ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 130/190] powerpc/52xx: Fix an invalid ASM expression (addi used instead of add) Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 131/190] net:nfc:digital: Fix a double free in digital_tg_recv_dep_req Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 132/190] kfifo: fix ternary sign extension bugs Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 133/190] Revert "net/sctp: fix race condition in sctp_destroy_sock" Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 134/190] sctp: delay auto_asconf init until binding the first addr Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 135/190] fs: dlm: fix debugfs dump Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 136/190] tipc: convert dest nodes address to network order Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 137/190] net: stmmac: Set FIFO sizes for ipq806x Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 138/190] ALSA: hdsp: dont disable if not enabled Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 139/190] ALSA: hdspm: " Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 140/190] ALSA: rme9652: " Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 141/190] Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 142/190] Bluetooth: initialize skb_queue_head at l2cap_chan_create() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 143/190] ip6_vti: proper dev_{hold|put} in ndo_[un]init methods Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 144/190] mac80211: clear the beacons CRC after channel switch Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 145/190] cuse: prevent clone Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 146/190] selftests: Set CC to clang in lib.mk if LLVM is set Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 147/190] kconfig: nconf: stop endless search loops Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 148/190] sctp: Fix out-of-bounds warning in sctp_process_asconf_param() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 149/190] ASoC: rt286: Generalize support for ALC3263 codec Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 150/190] wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt Greg Kroah-Hartman
2021-05-20  9:23 ` Greg Kroah-Hartman [this message]
2021-05-20  9:23 ` [PATCH 4.4 152/190] powerpc/iommu: Annotate nested lock for lockdep Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 153/190] ASoC: rt286: Make RT286_SET_GPIO_* readable and writable Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 154/190] PCI: Release OF node in pci_scan_device()s error path Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 155/190] NFS: Deal correctly with attribute generation counter overflow Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 156/190] pNFS/flexfiles: fix incorrect size check in decode_nfs_fh() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 157/190] NFSv4.2 fix handling of sr_eof in SEEKs reply Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 158/190] sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 159/190] drm/radeon: Fix off-by-one power_state index heap overwrite Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 160/190] ksm: fix potential missing rmap_item for stable_node Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 161/190] kernel: kexec_file: fix error return code of kexec_calculate_store_digests() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 162/190] ARC: entry: fix off-by-one error in syscall number validation Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 163/190] powerpc/64s: Fix crashes when toggling entry flush barrier Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 164/190] squashfs: fix divide error in calculate_skip() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 165/190] usb: fotg210-hcd: Fix an error message Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 166/190] usb: xhci: Increase timeout for HC halt Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 167/190] usb: dwc2: Fix gadget DMA unmap direction Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 168/190] usb: core: hub: fix race condition about TRSMRCY of resume Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 169/190] KVM: x86: Cancel pvclock_gtod_work on module removal Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 170/190] FDDI: defxx: Make MMIO the configuration default except for EISA Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 171/190] MIPS: Reinstate platform `__div64_32 handler Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 172/190] MIPS: Avoid DIVU in `__div64_32 is result would be zero Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 173/190] MIPS: Avoid handcoded DIVU in `__div64_32 altogether Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 174/190] thermal/core/fair share: Lock the thermal zone while looping over instances Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.4 175/190] dm ioctl: fix out of bounds array access when no devices Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 176/190] kobject_uevent: remove warning in init_uevent_argv() Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 177/190] x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 178/190] kgdb: fix gcc-11 warning on indentation Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 179/190] usb: sl811-hcd: improve misleading indentation Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 180/190] cxgb4: Fix the -Wmisleading-indentation warning Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 181/190] isdn: capi: fix mismatched prototypes Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 182/190] ARM: 9058/1: cache-v7: refactor v7_invalidate_l1 to avoid clobbering r5/r6 Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 183/190] ACPI / hotplug / PCI: Fix reference count leak in enable_slot() Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 184/190] um: Mark all kernel symbols as local Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 185/190] ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 186/190] sit: proper dev_{hold|put} in ndo_[un]init methods Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 187/190] ip6_tunnel: " Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 188/190] ipv6: remove extra dev_hold() for fallback tunnels Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 189/190] xhci: Do not use GFP_KERNEL in (potentially) atomic context Greg Kroah-Hartman
2021-05-20  9:24 ` [PATCH 4.4 190/190] iio: tsl2583: Fix division by a zero lux_val Greg Kroah-Hartman
2021-05-20 11:30 ` [PATCH 4.4 000/190] 4.4.269-rc1 review Guenter Roeck
2021-05-20 13:01   ` Greg Kroah-Hartman
2021-05-20 14:08   ` Naresh Kamboju
2021-05-20 13:03 ` Pavel Machek
2021-05-20 15:24 ` Jon Hunter
2021-05-20 21:46 ` Shuah Khan

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=20210520092107.169929001@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=gustavoars@kernel.org \
    --cc=keescook@chromium.org \
    --cc=kvalo@codeaurora.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

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

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is 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.