linux-kernel.vger.kernel.org archive mirror
 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 5.4 044/141] wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
Date: Mon, 17 May 2021 16:01:36 +0200	[thread overview]
Message-ID: <20210517140244.263765100@linuxfoundation.org> (raw)
In-Reply-To: <20210517140242.729269392@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 077a934ae3b5..a10ee5a68012 100644
--- a/drivers/net/wireless/wl3501.h
+++ b/drivers/net/wireless/wl3501.h
@@ -379,16 +379,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;
@@ -401,6 +392,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;
@@ -443,16 +447,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 96eb69678855..122d36439319 100644
--- a/drivers/net/wireless/wl3501_cs.c
+++ b/drivers/net/wireless/wl3501_cs.c
@@ -590,7 +590,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,
@@ -599,7 +599,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));
 }
 
@@ -667,35 +667,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) {
@@ -887,19 +889,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 {
@@ -1575,30 +1577,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-17 15:02 UTC|newest]

Thread overview: 152+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-17 14:00 [PATCH 5.4 000/141] 5.4.120-rc1 review Greg Kroah-Hartman
2021-05-17 14:00 ` [PATCH 5.4 001/141] tpm: fix error return code in tpm2_get_cc_attrs_tbl() Greg Kroah-Hartman
2021-05-17 14:00 ` [PATCH 5.4 002/141] tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt() Greg Kroah-Hartman
2021-05-17 14:00 ` [PATCH 5.4 003/141] tpm, tpm_tis: Reserve locality in tpm_tis_resume() Greg Kroah-Hartman
2021-05-17 14:00 ` [PATCH 5.4 004/141] KVM: x86/mmu: Remove the defunct update_pte() paging hook Greg Kroah-Hartman
2021-05-17 14:00 ` [PATCH 5.4 005/141] PM: runtime: Fix unpaired parent child_count for force_resume Greg Kroah-Hartman
2021-05-17 14:00 ` [PATCH 5.4 006/141] fs: dlm: fix debugfs dump Greg Kroah-Hartman
2021-05-17 14:00 ` [PATCH 5.4 007/141] tipc: convert dest nodes address to network order Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 008/141] ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 009/141] net: stmmac: Set FIFO sizes for ipq806x Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 010/141] ASoC: rsnd: core: Check convert rate in rsnd_hw_params Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 011/141] i2c: bail out early when RDWR parameters are wrong Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 012/141] ALSA: hdsp: dont disable if not enabled Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 013/141] ALSA: hdspm: " Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 014/141] ALSA: rme9652: " Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 015/141] ALSA: bebob: enable to deliver MIDI messages for multiple ports Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 016/141] Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 017/141] Bluetooth: initialize skb_queue_head at l2cap_chan_create() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 018/141] net: bridge: when suppression is enabled exclude RARP packets Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 019/141] Bluetooth: check for zapped sk before connecting Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 020/141] ip6_vti: proper dev_{hold|put} in ndo_[un]init methods Greg Kroah-Hartman
2021-05-20  6:16   ` Rantala, Tommi T. (Nokia - FI/Espoo)
2021-05-20  6:27     ` gregkh
2021-05-20  7:55       ` Rantala, Tommi T. (Nokia - FI/Espoo)
2021-05-20  8:31         ` gregkh
2021-05-17 14:01 ` [PATCH 5.4 021/141] ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 022/141] i2c: Add I2C_AQ_NO_REP_START adapter quirk Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 023/141] mac80211: clear the beacons CRC after channel switch Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 024/141] pinctrl: samsung: use int for register masks in Exynos Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 025/141] mt76: mt76x0: disable GTK offloading Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 026/141] cuse: prevent clone Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 027/141] ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 028/141] Revert "iommu/amd: Fix performance counter initialization" Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 029/141] iommu/amd: Remove performance counter pre-initialization test Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 030/141] drm/amd/display: Force vsync flip when reconfiguring MPCC Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 031/141] selftests: Set CC to clang in lib.mk if LLVM is set Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 032/141] kconfig: nconf: stop endless search loops Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 033/141] ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 034/141] sctp: Fix out-of-bounds warning in sctp_process_asconf_param() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 035/141] flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 036/141] powerpc/smp: Set numa node before updating mask Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 037/141] ASoC: rt286: Generalize support for ALC3263 codec Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 038/141] ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 039/141] net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 040/141] samples/bpf: Fix broken tracex1 due to kprobe argument change Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 041/141] powerpc/pseries: Stop calling printk in rtas_stop_self() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 042/141] drm/amd/display: fixed divide by zero kernel crash during dsc enablement Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 043/141] wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt Greg Kroah-Hartman
2021-05-17 14:01 ` Greg Kroah-Hartman [this message]
2021-05-17 14:01 ` [PATCH 5.4 045/141] qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 046/141] powerpc/iommu: Annotate nested lock for lockdep Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 047/141] iavf: remove duplicate free resources calls Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 048/141] net: ethernet: mtk_eth_soc: fix RX VLAN offload Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 049/141] bnxt_en: Add PCI IDs for Hyper-V VF devices Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 050/141] ia64: module: fix symbolizer crash on fdescr Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 051/141] ASoC: rt286: Make RT286_SET_GPIO_* readable and writable Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 052/141] thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 053/141] f2fs: fix a redundant call to f2fs_balance_fs if an error occurs Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 054/141] PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 055/141] PCI: Release OF node in pci_scan_device()s error path Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 056/141] ARM: 9064/1: hw_breakpoint: Do not directly check the events overflow_handler hook Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 057/141] rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 058/141] NFSv4.2: Always flush out writes in nfs42_proc_fallocate() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 059/141] NFS: Deal correctly with attribute generation counter overflow Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 060/141] PCI: endpoint: Fix missing destroy_workqueue() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 061/141] pNFS/flexfiles: fix incorrect size check in decode_nfs_fh() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 062/141] NFSv4.2 fix handling of sr_eof in SEEKs reply Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 063/141] rtc: fsl-ftm-alarm: add MODULE_TABLE() Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 064/141] ceph: fix inode leak on getattr error in __fh_to_dentry Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 065/141] rtc: ds1307: Fix wday settings for rx8130 Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 066/141] net: hns3: fix incorrect configuration for igu_egu_hw_err Greg Kroah-Hartman
2021-05-17 14:01 ` [PATCH 5.4 067/141] net: hns3: initialize the message content in hclge_get_link_mode() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 068/141] net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 069/141] net: hns3: fix for vxlan gpe tx checksum bug Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 070/141] net: hns3: use netif_tx_disable to stop the transmit queue Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 071/141] net: hns3: disable phy loopback setting in hclge_mac_start_phy Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 072/141] sctp: do asoc update earlier in sctp_sf_do_dupcook_a Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 073/141] RISC-V: Fix error code returned by riscv_hartid_to_cpuid() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 074/141] sunrpc: Fix misplaced barrier in call_decode Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 075/141] ethernet:enic: Fix a use after free bug in enic_hard_start_xmit Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 076/141] sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 077/141] netfilter: xt_SECMARK: add new revision to fix structure layout Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 078/141] drm/radeon: Fix off-by-one power_state index heap overwrite Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 079/141] drm/radeon: Avoid power table parsing memory leaks Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 080/141] khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 081/141] mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 082/141] mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 083/141] ksm: fix potential missing rmap_item for stable_node Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 084/141] net: fix nla_strcmp to handle more then one trailing null character Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 085/141] smc: disallow TCP_ULP in smc_setsockopt() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 086/141] netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 087/141] can: m_can: m_can_tx_work_queue(): fix tx_skb race condition Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 088/141] sched: Fix out-of-bound access in uclamp Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 089/141] sched/fair: Fix unfairness caused by missing load decay Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 090/141] kernel: kexec_file: fix error return code of kexec_calculate_store_digests() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 091/141] netfilter: nftables: avoid overflows in nft_hash_buckets() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 092/141] i40e: Fix use-after-free in i40e_client_subtask() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 093/141] i40e: fix the restart auto-negotiation after FEC modified Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 094/141] i40e: Fix PHY type identifiers for 2.5G and 5G adapters Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 095/141] ARC: entry: fix off-by-one error in syscall number validation Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 096/141] ARC: mm: PAE: use 40-bit physical page mask Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 097/141] powerpc/64s: Fix crashes when toggling stf barrier Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 098/141] powerpc/64s: Fix crashes when toggling entry flush barrier Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 099/141] hfsplus: prevent corruption in shrinking truncate Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 100/141] squashfs: fix divide error in calculate_skip() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 101/141] userfaultfd: release page in error path to avoid BUG_ON Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 102/141] mm/hugetlb: fix F_SEAL_FUTURE_WRITE Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 103/141] drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 104/141] drm/i915: Avoid div-by-zero on gen2 Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 105/141] iio: proximity: pulsedlight: Fix rumtime PM imbalance on error Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 106/141] usb: fotg210-hcd: Fix an error message Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 107/141] hwmon: (occ) Fix poll rate limiting Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 108/141] ACPI: scan: Fix a memory leak in an error handling path Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 109/141] kyber: fix out of bounds access when preempted Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 110/141] nbd: Fix NULL pointer in flush_workqueue Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 111/141] blk-mq: Swap two calls in blk_mq_exit_queue() Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 112/141] iomap: fix sub-page uptodate handling Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 113/141] usb: dwc3: omap: improve extcon initialization Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 114/141] usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 115/141] usb: xhci: Increase timeout for HC halt Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 116/141] usb: dwc2: Fix gadget DMA unmap direction Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 117/141] usb: core: hub: fix race condition about TRSMRCY of resume Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 118/141] usb: dwc3: gadget: Return success always for kick transfer in ep queue Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 119/141] xhci: Do not use GFP_KERNEL in (potentially) atomic context Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 120/141] xhci: Add reset resume quirk for AMD xhci controller Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 121/141] iio: gyro: mpu3050: Fix reported temperature value Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 122/141] iio: tsl2583: Fix division by a zero lux_val Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 123/141] cdc-wdm: untangle a circular dependency between callback and softint Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 124/141] KVM: x86: Cancel pvclock_gtod_work on module removal Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 125/141] mm: fix struct page layout on 32-bit systems Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 126/141] FDDI: defxx: Make MMIO the configuration default except for EISA Greg Kroah-Hartman
2021-05-17 14:02 ` [PATCH 5.4 127/141] MIPS: Reinstate platform `__div64_32 handler Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 128/141] MIPS: Avoid DIVU in `__div64_32 is result would be zero Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 129/141] MIPS: Avoid handcoded DIVU in `__div64_32 altogether Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 130/141] thermal/core/fair share: Lock the thermal zone while looping over instances Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 131/141] f2fs: fix error handling in f2fs_end_enable_verity() Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 132/141] ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 133/141] ARM: 9012/1: move device tree mapping out of linear region Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 134/141] ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 135/141] ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 136/141] usb: typec: tcpm: Fix error while calculating PPS out values Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 137/141] kobject_uevent: remove warning in init_uevent_argv() Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 138/141] netfilter: conntrack: Make global sysctls readonly in non-init netns Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 139/141] clk: exynos7: Mark aclk_fsys1_200 as critical Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 140/141] nvme: do not try to reconfigure APST when the controller is not live Greg Kroah-Hartman
2021-05-17 14:03 ` [PATCH 5.4 141/141] ASoC: rsnd: check all BUSIF status when error Greg Kroah-Hartman
2021-05-17 16:33 ` [PATCH 5.4 000/141] 5.4.120-rc1 review Florian Fainelli
2021-05-17 20:18 ` Shuah Khan
2021-05-18 10:05 ` Sudip Mukherjee
2021-05-18 10:30 ` Naresh Kamboju
2021-05-18 12:13 ` Samuel Zou
2021-05-18 21:19 ` Guenter Roeck

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=20210517140244.263765100@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).