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, Jia-Ju Bai <baijiaju1990@gmail.com>,
	Al Viro <viro@zeniv.linux.org.uk>,
	John Johansen <john.johansen@canonical.com>
Subject: [PATCH 5.4 122/191] apparmor: fix aa_xattrs_match() may sleep while holding a RCU lock
Date: Tue,  7 Jan 2020 21:54:02 +0100	[thread overview]
Message-ID: <20200107205339.510023622@linuxfoundation.org> (raw)
In-Reply-To: <20200107205332.984228665@linuxfoundation.org>

From: John Johansen <john.johansen@canonical.com>

commit 8c62ed27a12c00e3db1c9f04bc0f272bdbb06734 upstream.

aa_xattrs_match() is unfortunately calling vfs_getxattr_alloc() from a
context protected by an rcu_read_lock. This can not be done as
vfs_getxattr_alloc() may sleep regardles of the gfp_t value being
passed to it.

Fix this by breaking the rcu_read_lock on the policy search when the
xattr match feature is requested and restarting the search if a policy
changes occur.

Fixes: 8e51f9087f40 ("apparmor: Add support for attaching profiles via xattr, presence and value")
Reported-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 security/apparmor/apparmorfs.c |    2 -
 security/apparmor/domain.c     |   80 +++++++++++++++++++++--------------------
 security/apparmor/policy.c     |    4 +-
 3 files changed, 45 insertions(+), 41 deletions(-)

--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -593,7 +593,7 @@ static __poll_t ns_revision_poll(struct
 
 void __aa_bump_ns_revision(struct aa_ns *ns)
 {
-	ns->revision++;
+	WRITE_ONCE(ns->revision, ns->revision + 1);
 	wake_up_interruptible(&ns->wait);
 }
 
--- a/security/apparmor/domain.c
+++ b/security/apparmor/domain.c
@@ -317,6 +317,7 @@ static int aa_xattrs_match(const struct
 
 	if (!bprm || !profile->xattr_count)
 		return 0;
+	might_sleep();
 
 	/* transition from exec match to xattr set */
 	state = aa_dfa_null_transition(profile->xmatch, state);
@@ -361,10 +362,11 @@ out:
 }
 
 /**
- * __attach_match_ - find an attachment match
+ * find_attach - do attachment search for unconfined processes
  * @bprm - binprm structure of transitioning task
- * @name - to match against  (NOT NULL)
+ * @ns: the current namespace  (NOT NULL)
  * @head - profile list to walk  (NOT NULL)
+ * @name - to match against  (NOT NULL)
  * @info - info message if there was an error (NOT NULL)
  *
  * Do a linear search on the profiles in the list.  There is a matching
@@ -374,12 +376,11 @@ out:
  *
  * Requires: @head not be shared or have appropriate locks held
  *
- * Returns: profile or NULL if no match found
+ * Returns: label or NULL if no match found
  */
-static struct aa_profile *__attach_match(const struct linux_binprm *bprm,
-					 const char *name,
-					 struct list_head *head,
-					 const char **info)
+static struct aa_label *find_attach(const struct linux_binprm *bprm,
+				    struct aa_ns *ns, struct list_head *head,
+				    const char *name, const char **info)
 {
 	int candidate_len = 0, candidate_xattrs = 0;
 	bool conflict = false;
@@ -388,6 +389,8 @@ static struct aa_profile *__attach_match
 	AA_BUG(!name);
 	AA_BUG(!head);
 
+	rcu_read_lock();
+restart:
 	list_for_each_entry_rcu(profile, head, base.list) {
 		if (profile->label.flags & FLAG_NULL &&
 		    &profile->label == ns_unconfined(profile->ns))
@@ -413,16 +416,32 @@ static struct aa_profile *__attach_match
 			perm = dfa_user_allow(profile->xmatch, state);
 			/* any accepting state means a valid match. */
 			if (perm & MAY_EXEC) {
-				int ret;
+				int ret = 0;
 
 				if (count < candidate_len)
 					continue;
 
-				ret = aa_xattrs_match(bprm, profile, state);
-				/* Fail matching if the xattrs don't match */
-				if (ret < 0)
-					continue;
+				if (bprm && profile->xattr_count) {
+					long rev = READ_ONCE(ns->revision);
 
+					if (!aa_get_profile_not0(profile))
+						goto restart;
+					rcu_read_unlock();
+					ret = aa_xattrs_match(bprm, profile,
+							      state);
+					rcu_read_lock();
+					aa_put_profile(profile);
+					if (rev !=
+					    READ_ONCE(ns->revision))
+						/* policy changed */
+						goto restart;
+					/*
+					 * Fail matching if the xattrs don't
+					 * match
+					 */
+					if (ret < 0)
+						continue;
+				}
 				/*
 				 * TODO: allow for more flexible best match
 				 *
@@ -445,43 +464,28 @@ static struct aa_profile *__attach_match
 				candidate_xattrs = ret;
 				conflict = false;
 			}
-		} else if (!strcmp(profile->base.name, name))
+		} else if (!strcmp(profile->base.name, name)) {
 			/*
 			 * old exact non-re match, without conditionals such
 			 * as xattrs. no more searching required
 			 */
-			return profile;
+			candidate = profile;
+			goto out;
+		}
 	}
 
-	if (conflict) {
-		*info = "conflicting profile attachments";
+	if (!candidate || conflict) {
+		if (conflict)
+			*info = "conflicting profile attachments";
+		rcu_read_unlock();
 		return NULL;
 	}
 
-	return candidate;
-}
-
-/**
- * find_attach - do attachment search for unconfined processes
- * @bprm - binprm structure of transitioning task
- * @ns: the current namespace  (NOT NULL)
- * @list: list to search  (NOT NULL)
- * @name: the executable name to match against  (NOT NULL)
- * @info: info message if there was an error
- *
- * Returns: label or NULL if no match found
- */
-static struct aa_label *find_attach(const struct linux_binprm *bprm,
-				    struct aa_ns *ns, struct list_head *list,
-				    const char *name, const char **info)
-{
-	struct aa_profile *profile;
-
-	rcu_read_lock();
-	profile = aa_get_profile(__attach_match(bprm, name, list, info));
+out:
+	candidate = aa_get_newest_profile(candidate);
 	rcu_read_unlock();
 
-	return profile ? &profile->label : NULL;
+	return &candidate->label;
 }
 
 static const char *next_name(int xtype, const char *name)
--- a/security/apparmor/policy.c
+++ b/security/apparmor/policy.c
@@ -1124,8 +1124,8 @@ ssize_t aa_remove_profiles(struct aa_ns
 	if (!name) {
 		/* remove namespace - can only happen if fqname[0] == ':' */
 		mutex_lock_nested(&ns->parent->lock, ns->level);
-		__aa_remove_ns(ns);
 		__aa_bump_ns_revision(ns);
+		__aa_remove_ns(ns);
 		mutex_unlock(&ns->parent->lock);
 	} else {
 		/* remove profile */
@@ -1137,9 +1137,9 @@ ssize_t aa_remove_profiles(struct aa_ns
 			goto fail_ns_lock;
 		}
 		name = profile->base.hname;
+		__aa_bump_ns_revision(ns);
 		__remove_profile(profile);
 		__aa_labelset_update_subtree(ns);
-		__aa_bump_ns_revision(ns);
 		mutex_unlock(&ns->lock);
 	}
 



  parent reply	other threads:[~2020-01-07 21:02 UTC|newest]

Thread overview: 204+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-07 20:52 [PATCH 5.4 000/191] 5.4.9-stable review Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 001/191] drm/mcde: dsi: Fix invalid pointer dereference if panel cannot be found Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 002/191] nvme_fc: add module to ops template to allow module references Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 003/191] nvme-fc: fix double-free scenarios on hw queues Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 004/191] drm/amdgpu: add check before enabling/disabling broadcast mode Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 005/191] drm/amdgpu: add header line for power profile on Arcturus Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 006/191] drm/amdgpu: add cache flush workaround to gfx8 emit_fence Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 007/191] drm/amd/display: Map DSC resources 1-to-1 if numbers of OPPs and DSCs are equal Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 008/191] drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 009/191] drm/amd/display: Change the delay time before enabling FEC Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 010/191] drm/amd/display: Reset steer fifo before unblanking the stream Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 011/191] drm/amd/display: update dispclk and dppclk vco frequency Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 012/191] nvme/pci: Fix write and poll queue types Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 013/191] nvme/pci: Fix read queue count Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 014/191] iio: st_accel: Fix unused variable warning Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 015/191] iio: adc: max9611: Fix too short conversion time delay Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 016/191] PM / devfreq: Fix devfreq_notifier_call returning errno Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 017/191] PM / devfreq: Set scaling_max_freq to max on OPP notifier error Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 018/191] PM / devfreq: Dont fail devfreq_dev_release if not in list Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 019/191] afs: Fix afs_find_server lookups for ipv4 peers Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 020/191] afs: Fix SELinux setting security label on /afs Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 021/191] RDMA/cma: add missed unregister_pernet_subsys in init failure Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 022/191] rxe: correctly calculate iCRC for unaligned payloads Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 023/191] scsi: lpfc: Fix memory leak on lpfc_bsg_write_ebuf_set func Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 024/191] scsi: qla2xxx: Use explicit LOGO in target mode Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 025/191] scsi: qla2xxx: Drop superfluous INIT_WORK of del_work Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 026/191] scsi: qla2xxx: Dont call qlt_async_event twice Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 027/191] scsi: qla2xxx: Fix PLOGI payload and ELS IOCB dump length Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 028/191] scsi: qla2xxx: Configure local loop for N2N target Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 029/191] scsi: qla2xxx: Send Notify ACK after N2N PLOGI Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 030/191] scsi: qla2xxx: Dont defer relogin unconditonally Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 031/191] scsi: qla2xxx: Ignore PORT UPDATE after N2N PLOGI Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 032/191] scsi: iscsi: qla4xxx: fix double free in probe Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 033/191] scsi: libsas: stop discovering if oob mode is disconnected Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 034/191] scsi: iscsi: Avoid potential deadlock in iscsi_if_rx func Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 035/191] staging/wlan-ng: add CRC32 dependency in Kconfig Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 036/191] drm/nouveau: Move the declaration of struct nouveau_conn_atom up a bit Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 037/191] drm/nouveau: Fix drm-core using atomic code-paths on pre-nv50 hardware Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 038/191] drm/nouveau/kms/nv50-: fix panel scaling Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 039/191] usb: gadget: fix wrong endpoint desc Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 040/191] net: make socket read/write_iter() honor IOCB_NOWAIT Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 041/191] afs: Fix mountpoint parsing Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 042/191] afs: Fix creation calls in the dynamic root to fail with EOPNOTSUPP Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 043/191] raid5: need to set STRIPE_HANDLE for batch head Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 044/191] md: raid1: check rdev before reference in raid1_sync_request func Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 045/191] s390/cpum_sf: Adjust sampling interval to avoid hitting sample limits Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 046/191] s390/cpum_sf: Avoid SBD overflow condition in irq handler Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 047/191] RDMA/counter: Prevent auto-binding a QP which are not tracked with res Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 048/191] IB/mlx4: Follow mirror sequence of device add during device removal Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 049/191] IB/mlx5: Fix steering rule of drop and count Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 050/191] xen-blkback: prevent premature module unload Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 051/191] xen/balloon: fix ballooned page accounting without hotplug enabled Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 052/191] PM / hibernate: memory_bm_find_bit(): Tighten node optimisation Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 053/191] ALSA: hda/realtek - Add Bass Speaker and fixed dac for bass speaker Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 054/191] ALSA: hda/realtek - Enable the bass speaker of ASUS UX431FLC Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 055/191] PCI: Add a helper to check Power Resource Requirements _PR3 existence Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 056/191] ALSA: hda: Allow HDA to be runtime suspended when dGPU is not bound to a driver Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 057/191] PCI: Fix missing inline for pci_pr3_present() Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 058/191] ALSA: hda - fixup for the bass speaker on Lenovo Carbon X1 7th gen Greg Kroah-Hartman
2020-01-07 20:52 ` [PATCH 5.4 059/191] tcp: fix data-race in tcp_recvmsg() Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 060/191] shmem: pin the file in shmem_fault() if mmap_sem is dropped Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 061/191] taskstats: fix data-race Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 062/191] ALSA: hda - Downgrade error message for single-cmd fallback Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 063/191] netfilter: nft_tproxy: Fix port selector on Big Endian Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 064/191] block: add bio_truncate to fix guard_bio_eod Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 065/191] mm: drop mmap_sem before calling balance_dirty_pages() in write fault Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 066/191] ALSA: ice1724: Fix sleep-in-atomic in Infrasonic Quartet support code Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 067/191] ALSA: usb-audio: fix set_format altsetting sanity check Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 068/191] ALSA: usb-audio: set the interface format after resume on Dell WD19 Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 069/191] ALSA: hda - Apply sync-write workaround to old Intel platforms, too Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 070/191] ALSA: hda/realtek - Add headset Mic no shutup for ALC283 Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 071/191] drm/sun4i: hdmi: Remove duplicate cleanup calls Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 072/191] drm/amdgpu/smu: add metrics table lock Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 073/191] drm/amdgpu/smu: add metrics table lock for arcturus (v2) Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 074/191] drm/amdgpu/smu: add metrics table lock for navi (v2) Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 075/191] drm/amdgpu/smu: add metrics table lock for vega20 (v2) Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 076/191] MIPS: BPF: Disable MIPS32 eBPF JIT Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 077/191] MIPS: BPF: eBPF JIT: check for MIPS ISA compliance in Kconfig Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 078/191] MIPS: Avoid VDSO ABI breakage due to global register variable Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 079/191] media: pulse8-cec: fix lost cec_transmit_attempt_done() call Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 080/191] media: cec: CEC 2.0-only bcast messages were ignored Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 081/191] media: cec: avoid decrementing transmit_queue_sz if it is 0 Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 082/191] media: cec: check transmit_in_progress, not transmitting Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 083/191] mm/memory_hotplug: shrink zones when offlining memory Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 084/191] mm/zsmalloc.c: fix the migrated zspage statistics Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 085/191] memcg: account security cred as well to kmemcg Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 086/191] mm: move_pages: return valid node id in status if the page is already on the target node Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 087/191] mm/oom: fix pgtables units mismatch in Killed process message Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 088/191] ocfs2: fix the crash due to call ocfs2_get_dlm_debug once less Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 089/191] pstore/ram: Write new dumps to start of recycled zones Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 090/191] pstore/ram: Fix error-path memory leak in persistent_ram_new() callers Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 091/191] gcc-plugins: make it possible to disable CONFIG_GCC_PLUGINS again Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 092/191] locks: print unsigned ino in /proc/locks Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 093/191] selftests/seccomp: Zero out seccomp_notif Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 094/191] seccomp: Check that seccomp_notif is zeroed out by the user Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 095/191] samples/seccomp: Zero out members based on seccomp_notif_sizes Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 096/191] selftests/seccomp: Catch garbage on SECCOMP_IOCTL_NOTIF_RECV Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 097/191] dmaengine: Fix access to uninitialized dma_slave_caps Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 098/191] dmaengine: dma-jz4780: Also break descriptor chains on JZ4725B Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 099/191] Btrfs: fix infinite loop during nocow writeback due to race Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 100/191] block: fix splitting segments on boundary masks Greg Kroah-Hartman
2020-01-07 21:00   ` Jens Axboe
2020-01-08  6:42     ` Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 101/191] compat_ioctl: block: handle Persistent Reservations Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 102/191] compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 103/191] compat_ioctl: block: handle BLKGETZONESZ/BLKGETNRZONES Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 104/191] bpf: Fix precision tracking for unbounded scalars Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 105/191] ata: libahci_platform: Export again ahci_platform_<en/dis>able_phys() Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 106/191] ata: ahci_brcm: Fix AHCI resources management Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 107/191] ata: ahci_brcm: Add missing clock management during recovery Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 108/191] ata: ahci_brcm: BCM7425 AHCI requires AHCI_HFLAG_DELAY_ENGINE Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 109/191] libata: Fix retrieving of active qcs Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 110/191] gpio: xtensa: fix driver build Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 111/191] gpiolib: fix up emulated open drain outputs Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 112/191] clocksource: riscv: add notrace to riscv_sched_clock Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 113/191] riscv: ftrace: correct the condition logic in function graph tracer Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 114/191] rseq/selftests: Fix: Namespace gettid() for compatibility with glibc 2.30 Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 115/191] tracing: Fix lock inversion in trace_event_enable_tgid_record() Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 116/191] tracing: Avoid memory leak in process_system_preds() Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 117/191] tracing: Have the histogram compare functions convert to u64 first Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 118/191] tracing: Fix endianness bug in histogram trigger Greg Kroah-Hartman
2020-01-07 20:53 ` [PATCH 5.4 119/191] samples/trace_printk: Wait for IRQ work to finish Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 120/191] io_uring: use current task creds instead of allocating a new one Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 121/191] mm/gup: fix memory leak in __gup_benchmark_ioctl Greg Kroah-Hartman
2020-01-07 20:54 ` Greg Kroah-Hartman [this message]
2020-01-07 20:54 ` [PATCH 5.4 123/191] dmaengine: virt-dma: Fix access after free in vchan_complete() Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 124/191] gen_initramfs_list.sh: fix bad variable name error Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 125/191] ALSA: cs4236: fix error return comparison of an unsigned integer Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 126/191] ALSA: pcm: Yet another missing check of non-cached buffer type Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 127/191] ALSA: firewire-motu: Correct a typo in the clock proc string Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 128/191] scsi: lpfc: Fix rpi release when deleting vport Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 129/191] exit: panic before exit_mm() on global init exit Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 130/191] arm64: Revert support for execute-only user mappings Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 131/191] ftrace: Avoid potential division by zero in function profiler Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 132/191] spi: spi-fsl-dspi: Fix 16-bit word order in 32-bit XSPI mode Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 133/191] drm/msm: include linux/sched/task.h Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 134/191] PM / devfreq: Check NULL governor in available_governors_show Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 135/191] sunrpc: fix crash when cache_head become valid before update Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 136/191] arm64: dts: qcom: msm8998-clamshell: Remove retention idle state Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 137/191] nfsd4: fix up replay_matches_cache() Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 138/191] powerpc: Chunk calls to flush_dcache_range in arch_*_memory Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 139/191] HID: i2c-hid: Reset ALPS touchpads on resume Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 140/191] net/sched: annotate lockless accesses to qdisc->empty Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 141/191] kernel/module.c: wakeup processes in module_wq on module unload Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 142/191] ACPI: sysfs: Change ACPI_MASKABLE_GPE_MAX to 0x100 Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 143/191] perf callchain: Fix segfault in thread__resolve_callchain_sample() Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 144/191] iommu/vt-d: Remove incorrect PSI capability check Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 145/191] of: overlay: add_changeset_property() memory leak Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 146/191] cifs: Fix potential softlockups while refreshing DFS cache Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 147/191] firmware: arm_scmi: Avoid double free in error flow Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 148/191] xfs: dont check for AG deadlock for realtime files in bunmapi Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 149/191] platform/x86: pmc_atom: Add Siemens CONNECT X300 to critclk_systems DMI table Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 150/191] netfilter: nf_queue: enqueue skbs with NULL dst Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 151/191] net, sysctl: Fix compiler warning when only cBPF is present Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 152/191] watchdog: tqmx86_wdt: Fix build error Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 153/191] regulator: axp20x: Fix axp20x_set_ramp_delay Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 154/191] regulator: bd70528: Remove .set_ramp_delay for bd70528_ldo_ops Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 155/191] spi: uniphier: Fix FIFO threshold Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 156/191] regulator: axp20x: Fix AXP22x ELDO2 regulator enable bitmask Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 157/191] powerpc/mm: Mark get_slice_psize() & slice_addr_is_low() as notrace Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 158/191] Bluetooth: btusb: fix PM leak in error case of setup Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 159/191] Bluetooth: delete a stray unlock Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 160/191] Bluetooth: Fix memory leak in hci_connect_le_scan Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 161/191] arm64: dts: meson-gxl-s905x-khadas-vim: fix uart_A bluetooth node Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 162/191] arm64: dts: meson-gxm-khadas-vim2: " Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 163/191] media: flexcop-usb: ensure -EIO is returned on error condition Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 164/191] regulator: ab8500: Remove AB8505 USB regulator Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 165/191] media: usb: fix memory leak in af9005_identify_state Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 166/191] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Fix typo in example Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 167/191] arm64: dts: meson: odroid-c2: Disable usb_otg bus to avoid power failed warning Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 168/191] phy: renesas: rcar-gen3-usb2: Use platform_get_irq_optional() for optional irq Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 169/191] tty: serial: msm_serial: Fix lockup for sysrq and oops Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 170/191] cifs: Fix lookup of root ses in DFS referral cache Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 171/191] fs: cifs: Fix atime update check vs mtime Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 172/191] fix compat handling of FICLONERANGE, FIDEDUPERANGE and FS_IOC_FIEMAP Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 173/191] ath9k_htc: Modify byte order for an error message Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 174/191] ath9k_htc: Discard undersized packets Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 175/191] drm/i915/execlists: Fix annotation for decoupling virtual request Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 176/191] xfs: periodically yield scrub threads to the scheduler Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 177/191] net: add annotations on hh->hh_len lockless accesses Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 178/191] ubifs: ubifs_tnc_start_commit: Fix OOB in layout_in_gaps Greg Kroah-Hartman
2020-01-07 20:54 ` [PATCH 5.4 179/191] btrfs: get rid of unique workqueue helper functions Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 180/191] Btrfs: only associate the locked page with one async_chunk struct Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 181/191] s390/smp: fix physical to logical CPU map for SMT Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 182/191] mm/sparse.c: mark populate_section_memmap as __meminit Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 183/191] xen/blkback: Avoid unmapping unmapped grant pages Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 184/191] lib/ubsan: dont serialize UBSAN report Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 185/191] efi: Dont attempt to map RCI2 config table if it doesnt exist Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 186/191] perf/x86/intel/bts: Fix the use of page_private() Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 187/191] net: annotate lockless accesses to sk->sk_pacing_shift Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 188/191] hsr: avoid debugfs warning message when module is remove Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 189/191] hsr: fix error handling routine in hsr_dev_finalize() Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 190/191] hsr: fix a race condition in node list insertion and deletion Greg Kroah-Hartman
2020-01-07 20:55 ` [PATCH 5.4 191/191] mm/hugetlb: defer freeing of huge pages if in non-task context Greg Kroah-Hartman
2020-01-07 21:24 ` [PATCH 5.4 000/191] 5.4.9-stable review Guenter Roeck
2020-01-08  6:42   ` Greg Kroah-Hartman
2020-01-08 16:34     ` Naresh Kamboju
2020-01-08 18:26       ` Greg Kroah-Hartman
2020-01-08  2:37 ` shuah
2020-01-08  6:41   ` Greg Kroah-Hartman
2020-01-08 15:44 ` Guenter Roeck
2020-01-08 18:23   ` Greg Kroah-Hartman
2020-01-08 16:24 ` Jon Hunter
2020-01-08 18:23   ` 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=20200107205339.510023622@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=baijiaju1990@gmail.com \
    --cc=john.johansen@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /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).