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.16 054/196] CIFS: refactor crypto shash/sdesc allocation&free
Date: Sun, 22 Apr 2018 15:51:14 +0200 [thread overview]
Message-ID: <20180422135106.919168701@linuxfoundation.org> (raw)
In-Reply-To: <20180422135104.278511750@linuxfoundation.org>
4.16-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
@@ -542,4 +542,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;
}
next prev parent reply other threads:[~2018-04-22 13:56 UTC|newest]
Thread overview: 199+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-22 13:50 [PATCH 4.16 000/196] 4.16.4-stable review Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 001/196] Bluetooth: hci_bcm: Add irq_polarity module option Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 002/196] cpufreq: CPPC: Use transition_delay_us depending transition_latency Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 003/196] cpufreq: armada-37xx: Fix clock leak Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 004/196] ubifs: Check ubifs_wbuf_sync() return code Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 005/196] ubi: fastmap: Dont flush fastmap work on detach Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 006/196] ubi: Fix error for write access Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 007/196] ubi: Reject MLC NAND Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 008/196] mm/ksm.c: fix inconsistent accounting of zero pages Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 011/196] mm: hwpoison: disable memory error handling on 1GB hugepage Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 012/196] task_struct: only use anon struct under randstruct plugin Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 013/196] fs/reiserfs/journal.c: add missing resierfs_warning() arg Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 014/196] resource: fix integer overflow at reallocation Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 015/196] ipc/shm: fix use-after-free of shm file via remap_file_pages() Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 016/196] mm, slab: reschedule cache_reap() on the same CPU Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 017/196] usb: musb: gadget: misplaced out of bounds check Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 018/196] phy: allwinner: sun4i-usb: poll vbus changes on A23/A33 when driving VBUS Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 019/196] usb: gadget: udc: core: update usb_ep_queue() documentation Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 020/196] ARM64: dts: meson: reduce odroid-c2 eMMC maximum rate Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 021/196] KVM: arm/arm64: vgic-its: Fix potential overrun in vgic_copy_lpi_list Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 022/196] ARM: EXYNOS: Fix coupled CPU idle freeze on Exynos4210 Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 023/196] arm: dts: mt7623: fix USB initialization fails on bananapi-r2 Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 024/196] ARM: dts: at91: at91sam9g25: fix mux-mask pinctrl property Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 025/196] ARM: dts: exynos: Fix IOMMU support for GScaler devices on Exynos5250 Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 026/196] ARM: dts: at91: sama5d4: fix pinctrl compatible string Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 027/196] spi: atmel: init FIFOs before spi enable Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 028/196] spi: Fix scatterlist elements size in spi_map_buf Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 029/196] spi: Fix unregistration of controller with fixed SPI bus number Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 030/196] media: rc: oops in ir_timer_keyup after device unplug Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 031/196] media: atomisp_fops.c: disable atomisp_compat_ioctl32 Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 032/196] media: vivid: check if the cec_adapter is valid Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 033/196] media: vb2: core: Finish buffers at the end of the stream Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 034/196] media: vsp1: Fix BRx conditional path in WPF Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 035/196] x86/xen: Delay get_cpu_cap until stack canary is established Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 036/196] regmap: Fix reversed bounds check in regmap_raw_write() Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 037/196] ACPI / video: Add quirk to force acpi-video backlight on Samsung 670Z5E Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 038/196] ACPI / hotplug / PCI: Check presence of slot itself in get_slot_status() Greg Kroah-Hartman
2018-04-22 13:50 ` [PATCH 4.16 039/196] acpi, nfit: rework NVDIMM leaf method detection Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 040/196] USB: gadget: f_midi: fixing a possible double-free in f_midi Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 042/196] usb: dwc3: prevent setting PRTCAP to OTG from debugfs Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 043/196] usb: dwc3: pci: Properly cleanup resource Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 044/196] usb: dwc3: gadget: never call ->complete() from ->ep_queue() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 045/196] cifs: fix memory leak in SMB2_open() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 046/196] fix smb3-encryption breakage when CONFIG_DEBUG_SG=y Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 047/196] Tree connect for SMB3.1.1 must be signed for non-encrypted shares Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 048/196] cifs: smbd: avoid reconnect lockup Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 049/196] cifs: smbd: disconnect transport on RDMA errors Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 050/196] smb3: Fix root directory when server returns inode number of zero Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 051/196] HID: i2c-hid: fix size check and type usage Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 052/196] i2c: i801: Save register SMBSLVCMD value only once Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 053/196] 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.16 055/196] CIFS: add sha512 secmech Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 056/196] CIFS: implement v3.11 preauth integrity Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 057/196] CIFS: fix sha512 check in cifs_crypto_secmech_release Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 058/196] swiotlb: fix unexpected swiotlb_alloc_coherent failures Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 059/196] powerpc/64s: Fix pkey support in dt_cpu_ftrs, add CPU_FTR_PKEY bit Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 060/196] powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 061/196] powerpc/eeh: Fix race with driver un/bind Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 062/196] powerpc/64s: Fix dt_cpu_ftrs to have restore_cpu clear unwanted LPCR bits Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 063/196] powerpc/64: Call H_REGISTER_PROC_TBL when running as a HPT guest on POWER9 Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 064/196] powerpc/64: Fix smp_wmb barrier definition use use lwsync consistently Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 065/196] powerpc/kprobes: Fix call trace due to incorrect preempt count Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 066/196] powerpc/kexec_file: Fix error code when trying to load kdump kernel Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 067/196] powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 068/196] powerpc/mm/radix: Fix checkstops caused by invalid tlbiel Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 069/196] ceph: always update atime/mtime/ctime for new inode Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 070/196] HID: Fix hid_report_len usage Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 071/196] HID: core: Fix size as type u32 Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 072/196] soc: mediatek: fix the mistaken pointer accessed when subdomains are added Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 073/196] ASoC: ssm2602: Replace reg_default_raw with reg_default Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 074/196] ASoC: topology: Fix kcontrol name string handling Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 075/196] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 076/196] thunderbolt: Serialize PCIe tunnel creation with PCI rescan Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 077/196] thunderbolt: Resume control channel after hibernation image is created Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 078/196] thunderbolt: Handle connecting device in place of host properly Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 079/196] thunderbolt: Prevent crash when ICM firmware is not running Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 080/196] irqchip/gic: Take lock when updating irq type Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 081/196] random: use a tighter cap in credit_entropy_bits_safe() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 082/196] extcon: intel-cht-wc: Set direction and drv flags for V5 boost GPIO Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 083/196] block: use 32-bit blk_status_t on Alpha Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 084/196] jbd2: if the journal is aborted then dont allow update of the log tail Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 085/196] ext4: shutdown should not prevent get_write_access Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 086/196] ext4: eliminate sleep from shutdown ioctl Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 087/196] ext4: pass -ESHUTDOWN code to jbd2 layer Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 088/196] ext4: dont update checksum of new initialized bitmaps Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 089/196] ext4: protect i_disksize update by i_data_sem in direct write path Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 090/196] ext4: fix offset overflow on 32-bit archs in ext4_iomap_begin() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 091/196] ext4: add validity checks for bitmap block numbers Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 092/196] ext4: limit xattr size to INT_MAX Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 093/196] ext4: fail ext4_iget for root directory if unallocated Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 094/196] ext4: always initialize the crc32c checksum driver Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 095/196] ext4: dont allow r/w mounts if metadata blocks overlap the superblock Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 096/196] ext4: move call to ext4_error() into ext4_xattr_check_block() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 097/196] ext4: add bounds checking to ext4_xattr_find_entry() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 098/196] ext4: add extra checks to ext4_xattr_block_get() Greg Kroah-Hartman
2018-04-22 13:51 ` [PATCH 4.16 099/196] ext4: force revalidation of directory pointer after seekdir(2) Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 100/196] dm: backfill abnormal IO support to non-splitting IO submission Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 101/196] dm crypt: limit the number of allocated pages Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 102/196] RDMA/ucma: Dont allow setting RDMA_OPTION_IB_PATH without an RDMA device Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 103/196] RDMA/mlx5: Protect from NULL pointer derefence Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 104/196] RDMA/rxe: Fix an out-of-bounds read Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 105/196] RDMA/core: Avoid that ib_drain_qp() triggers an out-of-bounds stack access Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 106/196] xprtrdma: Fix latency regression on NUMA NFS/RDMA clients Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 107/196] xprtrdma: Fix corner cases when handling device removal Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 108/196] ALSA: pcm: Avoid potential races between OSS ioctls and read/write Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 109/196] ALSA: pcm: Return -EBUSY for OSS ioctls changing busy streams Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 110/196] ALSA: pcm: Fix mutex unbalance in OSS emulation ioctls Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 111/196] ALSA: pcm: Fix UAF at PCM release via PCM timer access Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 112/196] ALSA: pcm: Fix endless loop for XRUN recovery in OSS emulation Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 113/196] IB/srp: Fix srp_abort() Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 114/196] IB/srp: Fix completion vector assignment algorithm Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 115/196] IB/srpt: Fix an out-of-bounds stack access in srpt_zerolength_write() Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 116/196] drivers/infiniband/core/verbs.c: fix build with gcc-4.4.4 Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 117/196] drivers/infiniband/ulp/srpt/ib_srpt.c: " Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 118/196] dm raid: fix nosync status Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 119/196] dmaengine: at_xdmac: fix rare residue corruption Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 120/196] cxl: Fix possible deadlock when processing page faults from cxllib Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 121/196] tpm: self test failure should not cause suspend to fail Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 122/196] libnvdimm, dimm: fix dpa reservation vs uninitialized label area Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 123/196] libnvdimm, namespace: use a safe lookup for dimm device name Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 124/196] vsprintf: Do not preprocess non-dereferenced pointers for bprintf (%px and %pK) Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 125/196] nfit, address-range-scrub: fix scrub in-progress reporting Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 126/196] nfit: skip region registration for incomplete control regions Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 127/196] ring-buffer: Check if memory is available before allocation Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 128/196] um: Compile with modern headers Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 129/196] um: Use POSIX ucontext_t instead of struct ucontext Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 130/196] iommu/vt-d: Fix a potential memory leak Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 131/196] mmc: core: Prevent bus reference leak in mmc_blk_init() Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 132/196] mmc: jz4740: Fix race condition in IRQ mask update Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 133/196] mmc: tmio: Fix error handling when issuing CMD23 Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 136/196] drm/amd/display: HDMI has no sound after Panel power off/on Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 137/196] trace_uprobe: Use %lx to display offset Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 138/196] PCI: Mark Broadcom HT1100 and HT2000 Root Port Extended Tags as broken Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 139/196] clk: mvebu: armada-38x: add support for missing clocks Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 140/196] clk: fix false-positive Wmaybe-uninitialized warning Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 141/196] clk: mediatek: fix PWM clock source by adding a fixed-factor clock Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 142/196] clk: bcm2835: De-assert/assert PLL reset signal when appropriate Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 143/196] clk: tegra: Mark HCLK, SCLK and EMC as critical Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 144/196] pwm: rcar: Fix a condition to prevent mismatch value setting to duty Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 145/196] pwm: mediatek: Fix up PWM4 and PWM5 malfunction on MT7623 Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 146/196] pwm: mediatek: Improve precision in rate calculation Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 147/196] thermal: imx: Fix race condition in imx_thermal_probe() Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 148/196] dt-bindings: clock: mediatek: add binding for fixed-factor clock axisel_d4 Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 149/196] watchdog: f71808e_wdt: Fix WD_EN register read Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 150/196] drm/amdgpu: Add an ATPX quirk for hybrid laptop Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 155/196] drm/rockchip: Clear all interrupts before requesting the IRQ Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 156/196] drm/radeon: add PX quirk for Asus K73TK Greg Kroah-Hartman
2018-04-22 13:52 ` [PATCH 4.16 159/196] ALSA: rawmidi: Fix missing input substream checks in compat ioctls Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 160/196] ALSA: hda - New VIA controller suppor no-snoop path Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 161/196] ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 162/196] ALSA: hda/realtek - adjust the location of one mic Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 163/196] random: fix crng_ready() test Greg Kroah-Hartman
2018-04-27 16:34 ` Dan Rue
2018-04-28 6:00 ` Greg Kroah-Hartman
2018-04-28 14:59 ` Dan Rue
2018-04-22 13:53 ` [PATCH 4.16 164/196] random: use a different mixing algorithm for add_device_randomness() Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 165/196] random: set up the NUMA crng instances after the CRNG is fully initialized Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 166/196] random: crng_reseed() should lock the crng instance that it is modifying Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 167/196] random: add new ioctl RNDRESEEDCRNG Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 168/196] HID: i2c-hid: Fix resume issue on Raydium touchscreen device Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 169/196] HID: input: fix battery level reporting on BT mice Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 170/196] HID: hidraw: Fix crash on HIDIOCGFEATURE with a destroyed device Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 171/196] HID: wacom: bluetooth: send exit report for recent Bluetooth devices Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 172/196] s390: add support for IBM z14 Model ZR1 Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 173/196] MIPS: uaccess: Add micromips clobbers to bzero invocation Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 174/196] MIPS: memset.S: EVA & fault support for small_memset Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 175/196] MIPS: memset.S: Fix return of __clear_user from Lpartial_fixup Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 176/196] MIPS: memset.S: Fix clobber of v1 in last_fixup Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 177/196] powerpc/eeh: Fix enabling bridge MMIO windows Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 178/196] powerpc/xive: Fix trying to "push" an already active pool VP Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 179/196] powerpc/lib: Fix off-by-one in alternate feature patching Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 180/196] udf: Fix leak of UTF-16 surrogates into encoded strings Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 181/196] fanotify: fix logic of events on child Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 182/196] mmc: sdhci-pci: Only do AMD tuning for HS200 Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 185/196] jffs2_kill_sb(): deal with failed allocations Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 186/196] hypfs_kill_super(): " Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 187/196] orangefs_kill_sb(): deal with allocation failures Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 188/196] rpc_pipefs: fix double-dput() Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 189/196] Dont leak MNT_INTERNAL away from internal mounts Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 190/196] libnvdimm, dimm: handle EACCES failures from label reads Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 191/196] device-dax: allow MAP_SYNC to succeed Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 192/196] autofs: mount point create should honour passed in mode Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 193/196] mm/filemap.c: fix NULL pointer in page_cache_tree_insert() Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 194/196] drm/i915/gvt: init mmio by lri command in vgpu inhibit context Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 195/196] HID: i2c-hid: fix inverted return value from i2c_hid_command() Greg Kroah-Hartman
2018-04-22 13:53 ` [PATCH 4.16 196/196] writeback: safer lock nesting Greg Kroah-Hartman
2018-04-22 20:13 ` [PATCH 4.16 000/196] 4.16.4-stable review Guenter Roeck
2018-04-22 20:25 ` Nathan Chancellor
2018-04-23 7:07 ` Greg Kroah-Hartman
2018-04-23 16:56 ` Guenter Roeck
2018-04-23 18:06 ` Greg Kroah-Hartman
2018-04-23 21:58 ` Guenter Roeck
2018-04-24 7:25 ` Greg Kroah-Hartman
2018-04-23 18:03 ` Greg Kroah-Hartman
2018-04-23 20:07 ` Shuah Khan
2018-04-24 0:32 ` Shuah Khan
2018-04-24 7:21 ` Greg Kroah-Hartman
2018-04-24 7:40 ` Naresh Kamboju
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=20180422135106.919168701@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 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).