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, Aurelien Aptel <aaptel@suse.com>,
	Steve French <smfrench@gmail.com>,
	Ronnie Sahlberg <lsahlber@redhat.com>
Subject: [PATCH 4.14 048/164] CIFS: refactor crypto shash/sdesc allocation&free
Date: Sun, 22 Apr 2018 15:51:55 +0200	[thread overview]
Message-ID: <20180422135137.372351239@linuxfoundation.org> (raw)
In-Reply-To: <20180422135135.400265110@linuxfoundation.org>

4.14-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Aurelien Aptel <aaptel@suse.com>

commit 82fb82be05585426405667dd5f0510aa953ba439 upstream.

shash and sdesc and always allocated and freed together.
* abstract this in new functions cifs_alloc_hash() and cifs_free_hash().
* make smb2/3 crypto allocation independent from each other.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 fs/cifs/cifsencrypt.c   |   78 ++++--------------------------------------------
 fs/cifs/cifsproto.h     |    5 +++
 fs/cifs/link.c          |   25 +++------------
 fs/cifs/misc.c          |   54 +++++++++++++++++++++++++++++++++
 fs/cifs/smb2transport.c |   75 +++++++++-------------------------------------
 fs/cifs/smbencrypt.c    |   25 +++------------
 6 files changed, 91 insertions(+), 171 deletions(-)

--- a/fs/cifs/cifsencrypt.c
+++ b/fs/cifs/cifsencrypt.c
@@ -36,37 +36,6 @@
 #include <crypto/skcipher.h>
 #include <crypto/aead.h>
 
-static int
-cifs_crypto_shash_md5_allocate(struct TCP_Server_Info *server)
-{
-	int rc;
-	unsigned int size;
-
-	if (server->secmech.sdescmd5 != NULL)
-		return 0; /* already allocated */
-
-	server->secmech.md5 = crypto_alloc_shash("md5", 0, 0);
-	if (IS_ERR(server->secmech.md5)) {
-		cifs_dbg(VFS, "could not allocate crypto md5\n");
-		rc = PTR_ERR(server->secmech.md5);
-		server->secmech.md5 = NULL;
-		return rc;
-	}
-
-	size = sizeof(struct shash_desc) +
-			crypto_shash_descsize(server->secmech.md5);
-	server->secmech.sdescmd5 = kmalloc(size, GFP_KERNEL);
-	if (!server->secmech.sdescmd5) {
-		crypto_free_shash(server->secmech.md5);
-		server->secmech.md5 = NULL;
-		return -ENOMEM;
-	}
-	server->secmech.sdescmd5->shash.tfm = server->secmech.md5;
-	server->secmech.sdescmd5->shash.flags = 0x0;
-
-	return 0;
-}
-
 int __cifs_calc_signature(struct smb_rqst *rqst,
 			struct TCP_Server_Info *server, char *signature,
 			struct shash_desc *shash)
@@ -132,13 +101,10 @@ static int cifs_calc_signature(struct sm
 	if (!rqst->rq_iov || !signature || !server)
 		return -EINVAL;
 
-	if (!server->secmech.sdescmd5) {
-		rc = cifs_crypto_shash_md5_allocate(server);
-		if (rc) {
-			cifs_dbg(VFS, "%s: Can't alloc md5 crypto\n", __func__);
-			return -1;
-		}
-	}
+	rc = cifs_alloc_hash("md5", &server->secmech.md5,
+			     &server->secmech.sdescmd5);
+	if (rc)
+		return -1;
 
 	rc = crypto_shash_init(&server->secmech.sdescmd5->shash);
 	if (rc) {
@@ -663,37 +629,6 @@ CalcNTLMv2_response(const struct cifs_se
 	return rc;
 }
 
-static int crypto_hmacmd5_alloc(struct TCP_Server_Info *server)
-{
-	int rc;
-	unsigned int size;
-
-	/* check if already allocated */
-	if (server->secmech.sdeschmacmd5)
-		return 0;
-
-	server->secmech.hmacmd5 = crypto_alloc_shash("hmac(md5)", 0, 0);
-	if (IS_ERR(server->secmech.hmacmd5)) {
-		cifs_dbg(VFS, "could not allocate crypto hmacmd5\n");
-		rc = PTR_ERR(server->secmech.hmacmd5);
-		server->secmech.hmacmd5 = NULL;
-		return rc;
-	}
-
-	size = sizeof(struct shash_desc) +
-			crypto_shash_descsize(server->secmech.hmacmd5);
-	server->secmech.sdeschmacmd5 = kmalloc(size, GFP_KERNEL);
-	if (!server->secmech.sdeschmacmd5) {
-		crypto_free_shash(server->secmech.hmacmd5);
-		server->secmech.hmacmd5 = NULL;
-		return -ENOMEM;
-	}
-	server->secmech.sdeschmacmd5->shash.tfm = server->secmech.hmacmd5;
-	server->secmech.sdeschmacmd5->shash.flags = 0x0;
-
-	return 0;
-}
-
 int
 setup_ntlmv2_rsp(struct cifs_ses *ses, const struct nls_table *nls_cp)
 {
@@ -757,9 +692,10 @@ setup_ntlmv2_rsp(struct cifs_ses *ses, c
 
 	mutex_lock(&ses->server->srv_mutex);
 
-	rc = crypto_hmacmd5_alloc(ses->server);
+	rc = cifs_alloc_hash("hmac(md5)",
+			     &ses->server->secmech.hmacmd5,
+			     &ses->server->secmech.sdeschmacmd5);
 	if (rc) {
-		cifs_dbg(VFS, "could not crypto alloc hmacmd5 rc %d\n", rc);
 		goto unlock;
 	}
 
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -538,4 +538,9 @@ enum securityEnum cifs_select_sectype(st
 struct cifs_aio_ctx *cifs_aio_ctx_alloc(void);
 void cifs_aio_ctx_release(struct kref *refcount);
 int setup_aio_ctx_iter(struct cifs_aio_ctx *ctx, struct iov_iter *iter, int rw);
+
+int cifs_alloc_hash(const char *name, struct crypto_shash **shash,
+		    struct sdesc **sdesc);
+void cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc);
+
 #endif			/* _CIFSPROTO_H */
--- a/fs/cifs/link.c
+++ b/fs/cifs/link.c
@@ -50,25 +50,12 @@ static int
 symlink_hash(unsigned int link_len, const char *link_str, u8 *md5_hash)
 {
 	int rc;
-	unsigned int size;
-	struct crypto_shash *md5;
-	struct sdesc *sdescmd5;
+	struct crypto_shash *md5 = NULL;
+	struct sdesc *sdescmd5 = NULL;
 
-	md5 = crypto_alloc_shash("md5", 0, 0);
-	if (IS_ERR(md5)) {
-		rc = PTR_ERR(md5);
-		cifs_dbg(VFS, "%s: Crypto md5 allocation error %d\n",
-			 __func__, rc);
-		return rc;
-	}
-	size = sizeof(struct shash_desc) + crypto_shash_descsize(md5);
-	sdescmd5 = kmalloc(size, GFP_KERNEL);
-	if (!sdescmd5) {
-		rc = -ENOMEM;
+	rc = cifs_alloc_hash("md5", &md5, &sdescmd5);
+	if (rc)
 		goto symlink_hash_err;
-	}
-	sdescmd5->shash.tfm = md5;
-	sdescmd5->shash.flags = 0x0;
 
 	rc = crypto_shash_init(&sdescmd5->shash);
 	if (rc) {
@@ -85,9 +72,7 @@ symlink_hash(unsigned int link_len, cons
 		cifs_dbg(VFS, "%s: Could not generate md5 hash\n", __func__);
 
 symlink_hash_err:
-	crypto_free_shash(md5);
-	kfree(sdescmd5);
-
+	cifs_free_hash(&md5, &sdescmd5);
 	return rc;
 }
 
--- a/fs/cifs/misc.c
+++ b/fs/cifs/misc.c
@@ -848,3 +848,57 @@ setup_aio_ctx_iter(struct cifs_aio_ctx *
 	iov_iter_bvec(&ctx->iter, ITER_BVEC | rw, ctx->bv, npages, ctx->len);
 	return 0;
 }
+
+/**
+ * cifs_alloc_hash - allocate hash and hash context together
+ *
+ * The caller has to make sure @sdesc is initialized to either NULL or
+ * a valid context. Both can be freed via cifs_free_hash().
+ */
+int
+cifs_alloc_hash(const char *name,
+		struct crypto_shash **shash, struct sdesc **sdesc)
+{
+	int rc = 0;
+	size_t size;
+
+	if (*sdesc != NULL)
+		return 0;
+
+	*shash = crypto_alloc_shash(name, 0, 0);
+	if (IS_ERR(*shash)) {
+		cifs_dbg(VFS, "could not allocate crypto %s\n", name);
+		rc = PTR_ERR(*shash);
+		*shash = NULL;
+		*sdesc = NULL;
+		return rc;
+	}
+
+	size = sizeof(struct shash_desc) + crypto_shash_descsize(*shash);
+	*sdesc = kmalloc(size, GFP_KERNEL);
+	if (*sdesc == NULL) {
+		cifs_dbg(VFS, "no memory left to allocate crypto %s\n", name);
+		crypto_free_shash(*shash);
+		*shash = NULL;
+		return -ENOMEM;
+	}
+
+	(*sdesc)->shash.tfm = *shash;
+	(*sdesc)->shash.flags = 0x0;
+	return 0;
+}
+
+/**
+ * cifs_free_hash - free hash and hash context together
+ *
+ * Freeing a NULL hash or context is safe.
+ */
+void
+cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc)
+{
+	kfree(*sdesc);
+	*sdesc = NULL;
+	if (*shash)
+		crypto_free_shash(*shash);
+	*shash = NULL;
+}
--- a/fs/cifs/smb2transport.c
+++ b/fs/cifs/smb2transport.c
@@ -43,76 +43,31 @@
 static int
 smb2_crypto_shash_allocate(struct TCP_Server_Info *server)
 {
-	int rc;
-	unsigned int size;
-
-	if (server->secmech.sdeschmacsha256 != NULL)
-		return 0; /* already allocated */
-
-	server->secmech.hmacsha256 = crypto_alloc_shash("hmac(sha256)", 0, 0);
-	if (IS_ERR(server->secmech.hmacsha256)) {
-		cifs_dbg(VFS, "could not allocate crypto hmacsha256\n");
-		rc = PTR_ERR(server->secmech.hmacsha256);
-		server->secmech.hmacsha256 = NULL;
-		return rc;
-	}
-
-	size = sizeof(struct shash_desc) +
-			crypto_shash_descsize(server->secmech.hmacsha256);
-	server->secmech.sdeschmacsha256 = kmalloc(size, GFP_KERNEL);
-	if (!server->secmech.sdeschmacsha256) {
-		crypto_free_shash(server->secmech.hmacsha256);
-		server->secmech.hmacsha256 = NULL;
-		return -ENOMEM;
-	}
-	server->secmech.sdeschmacsha256->shash.tfm = server->secmech.hmacsha256;
-	server->secmech.sdeschmacsha256->shash.flags = 0x0;
-
-	return 0;
+	return cifs_alloc_hash("hmac(sha256)",
+			       &server->secmech.hmacsha256,
+			       &server->secmech.sdeschmacsha256);
 }
 
 static int
 smb3_crypto_shash_allocate(struct TCP_Server_Info *server)
 {
-	unsigned int size;
+	struct cifs_secmech *p = &server->secmech;
 	int rc;
 
-	if (server->secmech.sdesccmacaes != NULL)
-		return 0;  /* already allocated */
-
-	rc = smb2_crypto_shash_allocate(server);
+	rc = cifs_alloc_hash("hmac(sha256)",
+			     &p->hmacsha256,
+			     &p->sdeschmacsha256);
 	if (rc)
-		return rc;
-
-	server->secmech.cmacaes = crypto_alloc_shash("cmac(aes)", 0, 0);
-	if (IS_ERR(server->secmech.cmacaes)) {
-		cifs_dbg(VFS, "could not allocate crypto cmac-aes");
-		kfree(server->secmech.sdeschmacsha256);
-		server->secmech.sdeschmacsha256 = NULL;
-		crypto_free_shash(server->secmech.hmacsha256);
-		server->secmech.hmacsha256 = NULL;
-		rc = PTR_ERR(server->secmech.cmacaes);
-		server->secmech.cmacaes = NULL;
-		return rc;
-	}
+		goto err;
 
-	size = sizeof(struct shash_desc) +
-			crypto_shash_descsize(server->secmech.cmacaes);
-	server->secmech.sdesccmacaes = kmalloc(size, GFP_KERNEL);
-	if (!server->secmech.sdesccmacaes) {
-		cifs_dbg(VFS, "%s: Can't alloc cmacaes\n", __func__);
-		kfree(server->secmech.sdeschmacsha256);
-		server->secmech.sdeschmacsha256 = NULL;
-		crypto_free_shash(server->secmech.hmacsha256);
-		crypto_free_shash(server->secmech.cmacaes);
-		server->secmech.hmacsha256 = NULL;
-		server->secmech.cmacaes = NULL;
-		return -ENOMEM;
-	}
-	server->secmech.sdesccmacaes->shash.tfm = server->secmech.cmacaes;
-	server->secmech.sdesccmacaes->shash.flags = 0x0;
+	rc = cifs_alloc_hash("cmac(aes)", &p->cmacaes, &p->sdesccmacaes);
+	if (rc)
+		goto err;
 
 	return 0;
+err:
+	cifs_free_hash(&p->hmacsha256, &p->sdeschmacsha256);
+	return rc;
 }
 
 static struct cifs_ses *
@@ -457,7 +412,7 @@ smb3_calc_signature(struct smb_rqst *rqs
 		cifs_dbg(VFS, "%s: Could not init cmac aes\n", __func__);
 		return rc;
 	}
-	
+
 	rc = __cifs_calc_signature(rqst, server, sigptr,
 				   &server->secmech.sdesccmacaes->shash);
 
--- a/fs/cifs/smbencrypt.c
+++ b/fs/cifs/smbencrypt.c
@@ -121,25 +121,12 @@ int
 mdfour(unsigned char *md4_hash, unsigned char *link_str, int link_len)
 {
 	int rc;
-	unsigned int size;
-	struct crypto_shash *md4;
-	struct sdesc *sdescmd4;
+	struct crypto_shash *md4 = NULL;
+	struct sdesc *sdescmd4 = NULL;
 
-	md4 = crypto_alloc_shash("md4", 0, 0);
-	if (IS_ERR(md4)) {
-		rc = PTR_ERR(md4);
-		cifs_dbg(VFS, "%s: Crypto md4 allocation error %d\n",
-			 __func__, rc);
-		return rc;
-	}
-	size = sizeof(struct shash_desc) + crypto_shash_descsize(md4);
-	sdescmd4 = kmalloc(size, GFP_KERNEL);
-	if (!sdescmd4) {
-		rc = -ENOMEM;
+	rc = cifs_alloc_hash("md4", &md4, &sdescmd4);
+	if (rc)
 		goto mdfour_err;
-	}
-	sdescmd4->shash.tfm = md4;
-	sdescmd4->shash.flags = 0x0;
 
 	rc = crypto_shash_init(&sdescmd4->shash);
 	if (rc) {
@@ -156,9 +143,7 @@ mdfour(unsigned char *md4_hash, unsigned
 		cifs_dbg(VFS, "%s: Could not generate md4 hash\n", __func__);
 
 mdfour_err:
-	crypto_free_shash(md4);
-	kfree(sdescmd4);
-
+	cifs_free_hash(&md4, &sdescmd4);
 	return rc;
 }
 

  parent reply	other threads:[~2018-04-22 13:51 UTC|newest]

Thread overview: 173+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-22 13:51 [PATCH 4.14 000/164] 4.14.36-stable review Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 001/164] tty: make n_tty_read() always abort if hangup is in progress Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 002/164] cpufreq: CPPC: Use transition_delay_us depending transition_latency Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 003/164] ubifs: Check ubifs_wbuf_sync() return code Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 004/164] ubi: fastmap: Dont flush fastmap work on detach Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 005/164] ubi: Fix error for write access Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 006/164] ubi: Reject MLC NAND Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 007/164] mm/ksm.c: fix inconsistent accounting of zero pages Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 008/164] mm/hmm: fix header file if/else/endif maze Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 009/164] mm/hmm: hmm_pfns_bad() was accessing wrong struct Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 010/164] task_struct: only use anon struct under randstruct plugin Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 011/164] fs/reiserfs/journal.c: add missing resierfs_warning() arg Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 012/164] resource: fix integer overflow at reallocation Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 013/164] ipc/shm: fix use-after-free of shm file via remap_file_pages() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 014/164] mm, slab: reschedule cache_reap() on the same CPU Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 015/164] usb: musb: gadget: misplaced out of bounds check Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 016/164] phy: allwinner: sun4i-usb: poll vbus changes on A23/A33 when driving VBUS Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 017/164] usb: gadget: udc: core: update usb_ep_queue() documentation Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 018/164] ARM64: dts: meson: reduce odroid-c2 eMMC maximum rate Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 019/164] KVM: arm/arm64: vgic-its: Fix potential overrun in vgic_copy_lpi_list Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 020/164] ARM: dts: da850-lego-ev3: Fix battery voltage gpio Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 021/164] ARM: EXYNOS: Fix coupled CPU idle freeze on Exynos4210 Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 022/164] arm: dts: mt7623: fix USB initialization fails on bananapi-r2 Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 023/164] ARM: dts: at91: at91sam9g25: fix mux-mask pinctrl property Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 024/164] ARM: dts: exynos: Fix IOMMU support for GScaler devices on Exynos5250 Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 025/164] ARM: dts: at91: sama5d4: fix pinctrl compatible string Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 026/164] spi: atmel: init FIFOs before spi enable Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 027/164] spi: Fix scatterlist elements size in spi_map_buf Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 028/164] spi: Fix unregistration of controller with fixed SPI bus number Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 029/164] media: atomisp_fops.c: disable atomisp_compat_ioctl32 Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 030/164] media: vivid: check if the cec_adapter is valid Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 031/164] media: vsp1: Fix BRx conditional path in WPF Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 032/164] x86/xen: Delay get_cpu_cap until stack canary is established Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 033/164] xen-netfront: Fix hang on device removal Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 034/164] regmap: Fix reversed bounds check in regmap_raw_write() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 035/164] ACPI / video: Add quirk to force acpi-video backlight on Samsung 670Z5E Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 036/164] ACPI / hotplug / PCI: Check presence of slot itself in get_slot_status() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 037/164] USB: gadget: f_midi: fixing a possible double-free in f_midi Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 038/164] USB:fix USB3 devices behind USB3 hubs not resuming at hibernate thaw Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 039/164] usb: dwc3: prevent setting PRTCAP to OTG from debugfs Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 040/164] usb: dwc3: pci: Properly cleanup resource Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 041/164] usb: dwc3: gadget: never call ->complete() from ->ep_queue() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 042/164] cifs: fix memory leak in SMB2_open() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 043/164] fix smb3-encryption breakage when CONFIG_DEBUG_SG=y Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 044/164] smb3: Fix root directory when server returns inode number of zero Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 045/164] HID: i2c-hid: fix size check and type usage Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 046/164] i2c: i801: Save register SMBSLVCMD value only once Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 047/164] i2c: i801: Restore configuration at shutdown Greg Kroah-Hartman
2018-04-22 13:51 ` Greg Kroah-Hartman [this message]
2018-04-22 13:51 ` [PATCH 4.14 049/164] CIFS: add sha512 secmech Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 050/164] CIFS: fix sha512 check in cifs_crypto_secmech_release Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 051/164] powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.14 052/164] powerpc/64s: Fix dt_cpu_ftrs to have restore_cpu clear unwanted LPCR bits Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 053/164] powerpc/64: Call H_REGISTER_PROC_TBL when running as a HPT guest on POWER9 Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 054/164] powerpc/64: Fix smp_wmb barrier definition use use lwsync consistently Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 055/164] powerpc/kprobes: Fix call trace due to incorrect preempt count Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 056/164] powerpc/kexec_file: Fix error code when trying to load kdump kernel Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 057/164] powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 058/164] HID: Fix hid_report_len usage Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 059/164] HID: core: Fix size as type u32 Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 060/164] soc: mediatek: fix the mistaken pointer accessed when subdomains are added Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 061/164] ASoC: ssm2602: Replace reg_default_raw with reg_default Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 062/164] ASoC: topology: Fix kcontrol name string handling Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 063/164] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 064/164] thunderbolt: Serialize PCIe tunnel creation with PCI rescan Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 065/164] thunderbolt: Resume control channel after hibernation image is created Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 066/164] thunderbolt: Prevent crash when ICM firmware is not running Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 067/164] irqchip/gic: Take lock when updating irq type Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 068/164] random: use a tighter cap in credit_entropy_bits_safe() Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 069/164] extcon: intel-cht-wc: Set direction and drv flags for V5 boost GPIO Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 070/164] block: use 32-bit blk_status_t on Alpha Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 071/164] jbd2: if the journal is aborted then dont allow update of the log tail Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 072/164] ext4: shutdown should not prevent get_write_access Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 073/164] ext4: eliminate sleep from shutdown ioctl Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 074/164] ext4: pass -ESHUTDOWN code to jbd2 layer Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 075/164] ext4: dont update checksum of new initialized bitmaps Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 076/164] ext4: protect i_disksize update by i_data_sem in direct write path Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 077/164] ext4: add validity checks for bitmap block numbers Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 078/164] ext4: limit xattr size to INT_MAX Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 079/164] ext4: fail ext4_iget for root directory if unallocated Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 080/164] ext4: always initialize the crc32c checksum driver Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 081/164] ext4: dont allow r/w mounts if metadata blocks overlap the superblock Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 082/164] ext4: move call to ext4_error() into ext4_xattr_check_block() Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 083/164] ext4: add bounds checking to ext4_xattr_find_entry() Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 084/164] ext4: add extra checks to ext4_xattr_block_get() Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 085/164] dm crypt: limit the number of allocated pages Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 086/164] RDMA/ucma: Dont allow setting RDMA_OPTION_IB_PATH without an RDMA device Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 087/164] RDMA/mlx5: Protect from NULL pointer derefence Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 088/164] RDMA/rxe: Fix an out-of-bounds read Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 089/164] ALSA: pcm: Fix UAF at PCM release via PCM timer access Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 090/164] IB/srp: Fix srp_abort() Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 091/164] IB/srp: Fix completion vector assignment algorithm Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 092/164] dmaengine: at_xdmac: fix rare residue corruption Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 093/164] cxl: Fix possible deadlock when processing page faults from cxllib Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 094/164] tpm: self test failure should not cause suspend to fail Greg Kroah-Hartman
2018-04-22 13:52   ` Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 095/164] libnvdimm, dimm: fix dpa reservation vs uninitialized label area Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 096/164] libnvdimm, namespace: use a safe lookup for dimm device name Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 097/164] nfit, address-range-scrub: fix scrub in-progress reporting Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 098/164] nfit: skip region registration for incomplete control regions Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 099/164] ring-buffer: Check if memory is available before allocation Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 100/164] um: Compile with modern headers Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 101/164] um: Use POSIX ucontext_t instead of struct ucontext Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 102/164] iommu/vt-d: Fix a potential memory leak Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 103/164] mmc: jz4740: Fix race condition in IRQ mask update Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 104/164] mmc: tmio: Fix error handling when issuing CMD23 Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 105/164] PCI: Mark Broadcom HT1100 and HT2000 Root Port Extended Tags as broken Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 106/164] clk: mvebu: armada-38x: add support for missing clocks Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 107/164] clk: fix false-positive Wmaybe-uninitialized warning Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 108/164] clk: mediatek: fix PWM clock source by adding a fixed-factor clock Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 109/164] clk: bcm2835: De-assert/assert PLL reset signal when appropriate Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 110/164] pwm: rcar: Fix a condition to prevent mismatch value setting to duty Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 111/164] thermal: imx: Fix race condition in imx_thermal_probe() Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.14 112/164] dt-bindings: clock: mediatek: add binding for fixed-factor clock axisel_d4 Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 113/164] watchdog: f71808e_wdt: Fix WD_EN register read Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 114/164] vfio/pci: Virtualize Maximum Read Request Size Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 115/164] ALSA: pcm: Use ERESTARTSYS instead of EINTR in OSS emulation Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 116/164] ALSA: pcm: Avoid potential races between OSS ioctls and read/write Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 117/164] ALSA: pcm: Return -EBUSY for OSS ioctls changing busy streams Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 118/164] ALSA: pcm: Fix mutex unbalance in OSS emulation ioctls Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 119/164] ALSA: pcm: Fix endless loop for XRUN recovery in OSS emulation Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 120/164] drm/amdgpu: Add an ATPX quirk for hybrid laptop Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 121/164] drm/amdgpu: Fix always_valid bos multiple LRU insertions Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 122/164] drm/amdgpu/sdma: fix mask in emit_pipeline_sync Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 123/164] drm/amdgpu: Fix PCIe lane width calculation Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 124/164] drm/amdgpu/si: implement get/set pcie_lanes asic callback Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 125/164] drm/rockchip: Clear all interrupts before requesting the IRQ Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 126/164] drm/radeon: add PX quirk for Asus K73TK Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 127/164] drm/radeon: Fix PCIe lane width calculation Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 128/164] ALSA: line6: Use correct endpoint type for midi output Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 129/164] ALSA: rawmidi: Fix missing input substream checks in compat ioctls Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 130/164] ALSA: hda - New VIA controller suppor no-snoop path Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 131/164] ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 132/164] ALSA: hda/realtek - adjust the location of one mic Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 133/164] random: fix crng_ready() test Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 134/164] random: use a different mixing algorithm for add_device_randomness() Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 135/164] random: set up the NUMA crng instances after the CRNG is fully initialized Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 136/164] random: crng_reseed() should lock the crng instance that it is modifying Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 137/164] random: add new ioctl RNDRESEEDCRNG Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 138/164] HID: input: fix battery level reporting on BT mice Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 139/164] HID: hidraw: Fix crash on HIDIOCGFEATURE with a destroyed device Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 140/164] HID: wacom: bluetooth: send exit report for recent Bluetooth devices Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 141/164] MIPS: uaccess: Add micromips clobbers to bzero invocation Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 142/164] MIPS: memset.S: EVA & fault support for small_memset Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 143/164] MIPS: memset.S: Fix return of __clear_user from Lpartial_fixup Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 144/164] MIPS: memset.S: Fix clobber of v1 in last_fixup Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 145/164] powerpc/eeh: Fix enabling bridge MMIO windows Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 146/164] powerpc/xive: Fix trying to "push" an already active pool VP Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 147/164] powerpc/lib: Fix off-by-one in alternate feature patching Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 148/164] udf: Fix leak of UTF-16 surrogates into encoded strings Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 149/164] fanotify: fix logic of events on child Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 150/164] mmc: sdhci-pci: Only do AMD tuning for HS200 Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 151/164] drm/i915: Correctly handle limited range YCbCr data on VLV/CHV Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 152/164] jffs2_kill_sb(): deal with failed allocations Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 153/164] hypfs_kill_super(): " Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 154/164] orangefs_kill_sb(): deal with allocation failures Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 155/164] rpc_pipefs: fix double-dput() Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 156/164] Dont leak MNT_INTERNAL away from internal mounts Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 157/164] autofs: mount point create should honour passed in mode Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 158/164] mm/filemap.c: fix NULL pointer in page_cache_tree_insert() Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 159/164] net: dsa: Discard frames from unused ports Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 160/164] iwlwifi: add shared clock PHY config flag for some devices Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 161/164] iwlwifi: add a bunch of new 9000 PCI IDs Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 162/164] Revert "media: lirc_zilog: driver only sends LIRCCODE" Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 163/164] media: staging: lirc_zilog: incorrect reference counting Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.14 164/164] writeback: safer lock nesting Greg Kroah-Hartman
2018-04-23 13:03 ` [PATCH 4.14 000/164] 4.14.36-stable review kernelci.org bot
2018-04-23 16:54 ` Guenter Roeck
2018-04-23 18:03 ` Greg Kroah-Hartman
2018-04-24  0:38   ` Shuah Khan
2018-04-23 20:22 ` Shuah Khan
2018-04-24  6:01 ` Naresh Kamboju
2018-04-24  7:25   ` Greg Kroah-Hartman

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=20180422135137.372351239@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=aaptel@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lsahlber@redhat.com \
    --cc=smfrench@gmail.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.