From: Jiri Slaby <jslaby@suse.cz> To: stable@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Michal Hocko <mhocko@suse.com>, linux-mm@kvack.org, Andrew Morton <akpm@linux-foundation.org>, Dan Streetman <ddstreet@ieee.org>, Thomas Gleixner <tglx@linutronix.de>, Jiri Slaby <jslaby@suse.cz> Subject: [PATCH 3.12 010/235] hotplug: Make register and unregister notifier API symmetric Date: Fri, 27 Jan 2017 11:52:23 +0100 [thread overview] Message-ID: <ae252fd89dfa9e6b15a1299ab690ec2c99da8e1e.1485514374.git.jslaby@suse.cz> (raw) In-Reply-To: <5b46dc789ca2be4046e4e40a131858d386cac741.1485514374.git.jslaby@suse.cz> In-Reply-To: <cover.1485514374.git.jslaby@suse.cz> From: Michal Hocko <mhocko@suse.com> 3.12-stable review patch. If anyone has any objections, please let me know. =============== commit 777c6e0daebb3fcefbbd6f620410a946b07ef6d0 upstream. Yu Zhao has noticed that __unregister_cpu_notifier only unregisters its notifiers when HOTPLUG_CPU=y while the registration might succeed even when HOTPLUG_CPU=n if MODULE is enabled. This means that e.g. zswap might keep a stale notifier on the list on the manual clean up during the pool tear down and thus corrupt the list. Resulting in the following [ 144.964346] BUG: unable to handle kernel paging request at ffff880658a2be78 [ 144.971337] IP: [<ffffffffa290b00b>] raw_notifier_chain_register+0x1b/0x40 <snipped> [ 145.122628] Call Trace: [ 145.125086] [<ffffffffa28e5cf8>] __register_cpu_notifier+0x18/0x20 [ 145.131350] [<ffffffffa2a5dd73>] zswap_pool_create+0x273/0x400 [ 145.137268] [<ffffffffa2a5e0fc>] __zswap_param_set+0x1fc/0x300 [ 145.143188] [<ffffffffa2944c1d>] ? trace_hardirqs_on+0xd/0x10 [ 145.149018] [<ffffffffa2908798>] ? kernel_param_lock+0x28/0x30 [ 145.154940] [<ffffffffa2a3e8cf>] ? __might_fault+0x4f/0xa0 [ 145.160511] [<ffffffffa2a5e237>] zswap_compressor_param_set+0x17/0x20 [ 145.167035] [<ffffffffa2908d3c>] param_attr_store+0x5c/0xb0 [ 145.172694] [<ffffffffa290848d>] module_attr_store+0x1d/0x30 [ 145.178443] [<ffffffffa2b2b41f>] sysfs_kf_write+0x4f/0x70 [ 145.183925] [<ffffffffa2b2a5b9>] kernfs_fop_write+0x149/0x180 [ 145.189761] [<ffffffffa2a99248>] __vfs_write+0x18/0x40 [ 145.194982] [<ffffffffa2a9a412>] vfs_write+0xb2/0x1a0 [ 145.200122] [<ffffffffa2a9a732>] SyS_write+0x52/0xa0 [ 145.205177] [<ffffffffa2ff4d97>] entry_SYSCALL_64_fastpath+0x12/0x17 This can be even triggered manually by changing /sys/module/zswap/parameters/compressor multiple times. Fix this issue by making unregister APIs symmetric to the register so there are no surprises. [js] backport to 3.12 Fixes: 47e627bc8c9a ("[PATCH] hotplug: Allow modules to use the cpu hotplug notifiers even if !CONFIG_HOTPLUG_CPU") Reported-and-tested-by: Yu Zhao <yuzhao@google.com> Signed-off-by: Michal Hocko <mhocko@suse.com> Cc: linux-mm@kvack.org Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Dan Streetman <ddstreet@ieee.org> Link: http://lkml.kernel.org/r/20161207135438.4310-1-mhocko@kernel.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Jiri Slaby <jslaby@suse.cz> --- include/linux/cpu.h | 12 +++--------- kernel/cpu.c | 3 +-- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 801ff9e73679..d1fcdcbc01e4 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -119,22 +119,16 @@ enum { { .notifier_call = fn, .priority = pri }; \ register_cpu_notifier(&fn##_nb); \ } -#else /* #if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE) */ -#define cpu_notifier(fn, pri) do { (void)(fn); } while (0) -#endif /* #else #if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE) */ -#ifdef CONFIG_HOTPLUG_CPU extern int register_cpu_notifier(struct notifier_block *nb); extern void unregister_cpu_notifier(struct notifier_block *nb); -#else -#ifndef MODULE -extern int register_cpu_notifier(struct notifier_block *nb); -#else +#else /* #if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE) */ +#define cpu_notifier(fn, pri) do { (void)(fn); } while (0) + static inline int register_cpu_notifier(struct notifier_block *nb) { return 0; } -#endif static inline void unregister_cpu_notifier(struct notifier_block *nb) { diff --git a/kernel/cpu.c b/kernel/cpu.c index 92599d897125..c1f258a0a10e 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -182,8 +182,6 @@ static int cpu_notify(unsigned long val, void *v) return __cpu_notify(val, v, -1, NULL); } -#ifdef CONFIG_HOTPLUG_CPU - static void cpu_notify_nofail(unsigned long val, void *v) { BUG_ON(cpu_notify(val, v)); @@ -198,6 +196,7 @@ void __ref unregister_cpu_notifier(struct notifier_block *nb) } EXPORT_SYMBOL(unregister_cpu_notifier); +#ifdef CONFIG_HOTPLUG_CPU /** * clear_tasks_mm_cpumask - Safely clear tasks' mm_cpumask for a CPU * @cpu: a CPU id -- 2.11.0
WARNING: multiple messages have this Message-ID (diff)
From: Jiri Slaby <jslaby@suse.cz> To: stable@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Michal Hocko <mhocko@suse.com>, linux-mm@kvack.org, Andrew Morton <akpm@linux-foundation.org>, Dan Streetman <ddstreet@ieee.org>, Thomas Gleixner <tglx@linutronix.de>, Jiri Slaby <jslaby@suse.cz> Subject: [PATCH 3.12 010/235] hotplug: Make register and unregister notifier API symmetric Date: Fri, 27 Jan 2017 11:52:23 +0100 [thread overview] Message-ID: <ae252fd89dfa9e6b15a1299ab690ec2c99da8e1e.1485514374.git.jslaby@suse.cz> (raw) In-Reply-To: <5b46dc789ca2be4046e4e40a131858d386cac741.1485514374.git.jslaby@suse.cz> In-Reply-To: <cover.1485514374.git.jslaby@suse.cz> From: Michal Hocko <mhocko@suse.com> 3.12-stable review patch. If anyone has any objections, please let me know. =============== commit 777c6e0daebb3fcefbbd6f620410a946b07ef6d0 upstream. Yu Zhao has noticed that __unregister_cpu_notifier only unregisters its notifiers when HOTPLUG_CPU=y while the registration might succeed even when HOTPLUG_CPU=n if MODULE is enabled. This means that e.g. zswap might keep a stale notifier on the list on the manual clean up during the pool tear down and thus corrupt the list. Resulting in the following [ 144.964346] BUG: unable to handle kernel paging request at ffff880658a2be78 [ 144.971337] IP: [<ffffffffa290b00b>] raw_notifier_chain_register+0x1b/0x40 <snipped> [ 145.122628] Call Trace: [ 145.125086] [<ffffffffa28e5cf8>] __register_cpu_notifier+0x18/0x20 [ 145.131350] [<ffffffffa2a5dd73>] zswap_pool_create+0x273/0x400 [ 145.137268] [<ffffffffa2a5e0fc>] __zswap_param_set+0x1fc/0x300 [ 145.143188] [<ffffffffa2944c1d>] ? trace_hardirqs_on+0xd/0x10 [ 145.149018] [<ffffffffa2908798>] ? kernel_param_lock+0x28/0x30 [ 145.154940] [<ffffffffa2a3e8cf>] ? __might_fault+0x4f/0xa0 [ 145.160511] [<ffffffffa2a5e237>] zswap_compressor_param_set+0x17/0x20 [ 145.167035] [<ffffffffa2908d3c>] param_attr_store+0x5c/0xb0 [ 145.172694] [<ffffffffa290848d>] module_attr_store+0x1d/0x30 [ 145.178443] [<ffffffffa2b2b41f>] sysfs_kf_write+0x4f/0x70 [ 145.183925] [<ffffffffa2b2a5b9>] kernfs_fop_write+0x149/0x180 [ 145.189761] [<ffffffffa2a99248>] __vfs_write+0x18/0x40 [ 145.194982] [<ffffffffa2a9a412>] vfs_write+0xb2/0x1a0 [ 145.200122] [<ffffffffa2a9a732>] SyS_write+0x52/0xa0 [ 145.205177] [<ffffffffa2ff4d97>] entry_SYSCALL_64_fastpath+0x12/0x17 This can be even triggered manually by changing /sys/module/zswap/parameters/compressor multiple times. Fix this issue by making unregister APIs symmetric to the register so there are no surprises. [js] backport to 3.12 Fixes: 47e627bc8c9a ("[PATCH] hotplug: Allow modules to use the cpu hotplug notifiers even if !CONFIG_HOTPLUG_CPU") Reported-and-tested-by: Yu Zhao <yuzhao@google.com> Signed-off-by: Michal Hocko <mhocko@suse.com> Cc: linux-mm@kvack.org Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Dan Streetman <ddstreet@ieee.org> Link: http://lkml.kernel.org/r/20161207135438.4310-1-mhocko@kernel.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Jiri Slaby <jslaby@suse.cz> --- include/linux/cpu.h | 12 +++--------- kernel/cpu.c | 3 +-- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 801ff9e73679..d1fcdcbc01e4 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -119,22 +119,16 @@ enum { { .notifier_call = fn, .priority = pri }; \ register_cpu_notifier(&fn##_nb); \ } -#else /* #if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE) */ -#define cpu_notifier(fn, pri) do { (void)(fn); } while (0) -#endif /* #else #if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE) */ -#ifdef CONFIG_HOTPLUG_CPU extern int register_cpu_notifier(struct notifier_block *nb); extern void unregister_cpu_notifier(struct notifier_block *nb); -#else -#ifndef MODULE -extern int register_cpu_notifier(struct notifier_block *nb); -#else +#else /* #if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE) */ +#define cpu_notifier(fn, pri) do { (void)(fn); } while (0) + static inline int register_cpu_notifier(struct notifier_block *nb) { return 0; } -#endif static inline void unregister_cpu_notifier(struct notifier_block *nb) { diff --git a/kernel/cpu.c b/kernel/cpu.c index 92599d897125..c1f258a0a10e 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -182,8 +182,6 @@ static int cpu_notify(unsigned long val, void *v) return __cpu_notify(val, v, -1, NULL); } -#ifdef CONFIG_HOTPLUG_CPU - static void cpu_notify_nofail(unsigned long val, void *v) { BUG_ON(cpu_notify(val, v)); @@ -198,6 +196,7 @@ void __ref unregister_cpu_notifier(struct notifier_block *nb) } EXPORT_SYMBOL(unregister_cpu_notifier); +#ifdef CONFIG_HOTPLUG_CPU /** * clear_tasks_mm_cpumask - Safely clear tasks' mm_cpumask for a CPU * @cpu: a CPU id -- 2.11.0 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2017-01-27 10:57 UTC|newest] Thread overview: 244+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-01-27 10:55 [PATCH 3.12 000/235] 3.12.70-stable review Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 001/235] driver core: Delete an unnecessary check before the function call "put_device" Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 002/235] driver core: fix race between creating/querying glue dir and its cleanup Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 003/235] ext4: fix data exposure after a crash Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 004/235] locking/rtmutex: Prevent dequeue vs. unlock race Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 005/235] locking/rtmutex: Use READ_ONCE() in rt_mutex_owner() Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 006/235] perf/x86: Fix full width counter, counter overflow Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 007/235] can: raw: raw_setsockopt: limit number of can_filter that can be set Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 008/235] can: peak: fix bad memory access and free sequence Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 009/235] m68k: Fix ndelay() macro Jiri Slaby 2017-01-27 10:52 ` Jiri Slaby [this message] 2017-01-27 10:52 ` [PATCH 3.12 010/235] hotplug: Make register and unregister notifier API symmetric Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 011/235] Revert "Btrfs: don't delay inode ref updates during log, replay" Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 012/235] Btrfs: fix tree search logic when replaying directory entry deletes Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 013/235] USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041 Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 014/235] USB: serial: option: add dlink dwm-158 Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 015/235] USB: serial: kl5kusb105: fix open error path Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 016/235] USB: cdc-acm: add device id for GW Instek AFG-125 Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 017/235] usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 018/235] usb: gadget: composite: correctly initialize ep->maxpacket Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 019/235] USB: UHCI: report non-PME wakeup signalling for Intel hardware Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 020/235] ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 021/235] ALSA: hiface: Fix M2Tech hiFace driver sampling rate change Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 022/235] ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 023/235] Btrfs: fix memory leak in reading btree blocks Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 024/235] block_dev: don't test bdev->bd_contains when it is not stable Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 025/235] crypto: caam - fix AEAD givenc descriptors Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 026/235] ext4: fix mballoc breakage with 64k block size Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 027/235] ext4: fix stack memory corruption " Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 028/235] ext4: use more strict checks for inodes_per_block on mount Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 029/235] ext4: fix in-superblock mount options processing Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 030/235] ext4: add sanity checking to count_overhead() Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 031/235] ext4: reject inodes with negative size Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 032/235] ext4: return -ENOMEM instead of success Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 033/235] f2fs: set ->owner for debugfs status file's file_operations Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 034/235] mm/vmscan.c: set correct defer count for shrinker Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 035/235] fs: exec: apply CLOEXEC before changing dumpable task flags Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 036/235] dm crypt: mark key as invalid until properly loaded Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 037/235] dm space map metadata: fix 'struct sm_metadata' leak on failed create Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 038/235] CIFS: Fix a possible memory corruption during reconnect Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 039/235] CIFS: Fix missing nls unload in smb2_reconnect() Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 040/235] CIFS: Fix a possible memory corruption in push locks Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 041/235] xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 042/235] arm/xen: Use alloc_percpu rather than __alloc_percpu Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 043/235] xfs: set AGI buffer type in xlog_recover_clear_agi_bucket Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 044/235] ssb: Fix error routine when fallback SPROM fails Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 045/235] thermal: hwmon: Properly report critical temperature in sysfs Jiri Slaby 2017-01-27 10:52 ` [PATCH 3.12 046/235] drm/radeon: add additional pci revision to dpm workaround Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 047/235] drm/gma500: Add compat ioctl Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 048/235] drivers/gpu/drm/ast: Fix infinite loop if read fails Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 049/235] block: protect iterate_bdevs() against concurrent close Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 050/235] scsi: zfcp: fix use-after-"free" in FC ingress path after TMF Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 051/235] scsi: zfcp: do not trace pure benign residual HBA responses at default level Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 052/235] scsi: zfcp: fix rport unblock race with LUN recovery Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 053/235] scsi: avoid a permanent stop of the scsi device's request queue Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 054/235] s390/vmlogrdr: fix IUCV buffer allocation Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 055/235] md/raid5: limit request size according to implementation limits Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 056/235] kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF) Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 057/235] ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 058/235] IB/mad: Fix an array index check Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 059/235] IB/multicast: Check ib_find_pkey() return value Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 060/235] PCI: Check for PME in targeted sleep state Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 061/235] libceph: verify authorize reply on connect Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 062/235] nfs_write_end(): fix handling of short copies Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 063/235] powerpc/ps3: Fix system hang with GCC 5 builds Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 064/235] powerpc: Convert cmp to cmpd in idle enter sequence Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 065/235] kconfig/nconf: Fix hang when editing symbol with a long prompt Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 066/235] sg_write()/bsg_write() is not fit to be called under KERNEL_DS Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 067/235] ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 068/235] usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Broxton-M platforms Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 069/235] usb: xhci: applying XHCI_PME_STUCK_QUIRK to Intel BXT B0 host Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 070/235] usb: dwc3: pci: Add PCI ID for Intel Braswell Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 071/235] usb: dwc3: pci: add support for Intel Sunrise Point PCH Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 072/235] usb: dwc3: pci: add support for Intel Broxton SOC Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 073/235] usb: dwc3: pci: add ID for one more Intel Broxton platform Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 074/235] usb: dwc3: pci: add Intel Kabylake PCI ID Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 075/235] ALSA: hda - Fix up GPIO for ASUS ROG Ranger Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 076/235] ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 077/235] ARM: davinci: da850: don't add emac clock to lookup table twice Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 078/235] usb: gadgetfs: restrict upper bound on device configuration size Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 079/235] USB: gadgetfs: fix unbounded memory allocation bug Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 080/235] USB: gadgetfs: fix use-after-free bug Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 081/235] USB: gadgetfs: fix checks of wTotalLength in config descriptors Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 082/235] USB: fix problems with duplicate endpoint addresses Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 083/235] USB: dummy-hcd: fix bug in stop_activity (handle ep0) Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 084/235] usb: gadget: composite: Test get_alt() presence instead of set_alt() Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 085/235] xhci: workaround for hosts missing CAS bit Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 086/235] usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 087/235] xhci: free xhci virtual devices with leaf nodes first Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 088/235] USB: serial: omninet: fix NULL-derefs at open and disconnect Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 089/235] USB: serial: quatech2: fix sleep-while-atomic in close Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 090/235] USB: serial: pl2303: fix NULL-deref at open Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 091/235] USB: serial: keyspan_pda: verify endpoints at probe Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 092/235] USB: serial: spcp8x5: fix NULL-deref at open Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 093/235] USB: serial: io_ti: " Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 094/235] USB: serial: io_ti: fix another " Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 095/235] USB: serial: iuu_phoenix: fix " Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 096/235] USB: serial: garmin_gps: fix memory leak on failed URB submit Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 097/235] USB: serial: ti_usb_3410_5052: fix NULL-deref at open Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 098/235] USB: serial: io_edgeport: " Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 099/235] USB: serial: oti6858: " Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 100/235] USB: serial: cyberjack: " Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 101/235] USB: serial: kobil_sct: fix NULL-deref in write Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 102/235] USB: serial: mos7840: fix NULL-deref at open Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 103/235] USB: serial: mos7720: " Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 104/235] USB: serial: mos7720: fix use-after-free on probe errors Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 105/235] USB: serial: mos7720: fix parport " Jiri Slaby 2017-01-27 10:53 ` [PATCH 3.12 106/235] USB: serial: mos7720: fix parallel probe Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 107/235] usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 108/235] usb: dwc3: pci: add Intel Gemini Lake PCI ID Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 109/235] usb: musb: Fix trying to free already-free IRQ 4 Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 110/235] usb: hub: Move hub_port_disable() to fix warning if PM is disabled Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 111/235] ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream() Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 112/235] USB: serial: kl5kusb105: abort on open exception path Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 113/235] USB: phy: am335x-control: fix device and of_node leaks Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 114/235] USB: serial: io_ti: bind to interface after fw download Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 115/235] staging: iio: ad7606: fix improper setting of oversampling pins Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 116/235] usb: dwc3: gadget: always unmap EP0 requests Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 117/235] cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 118/235] hwmon: (ds620) Fix overflows seen when writing temperature limits Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 119/235] hwmon: (g762) Fix overflows and crash seen when writing limit attributes Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 120/235] clk: clk-wm831x: fix a logic error Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 121/235] iommu/amd: Fix the left value check of cmd buffer Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 122/235] scsi: mvsas: fix command_active typo Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 123/235] target/iscsi: Fix double free in lio_target_tiqn_addtpg() Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 124/235] mmc: mmc_test: Uninitialized return value Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 125/235] md: MD_RECOVERY_NEEDED is set for mddev->recovery Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 126/235] powerpc/pci/rpadlpar: Fix device reference leaks Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 127/235] cred/userns: define current_user_ns() as a function Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 128/235] net: ti: cpmac: Fix compiler warning due to type confusion Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 129/235] tick/broadcast: Prevent NULL pointer dereference Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 130/235] usb: gadget: composite: always set ep->mult to a sensible value Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 131/235] netvsc: reduce maximum GSO size Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 132/235] ser_gigaset: return -ENOMEM on error instead of success Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 133/235] ipv6: handle -EFAULT from skb_copy_bits Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 134/235] net, sched: fix soft lockup in tc_classify Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 135/235] net: stmmac: Fix race between stmmac_drv_probe and stmmac_open Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 136/235] drop_monitor: add missing call to genlmsg_end Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 137/235] drop_monitor: consider inserted data in genlmsg_end Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 138/235] igmp: Make igmp group member RFC 3376 compliant Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 139/235] gro: Enter slow-path if there is no tailroom Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 140/235] gro: use min_t() in skb_gro_reset_offset() Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 141/235] gro: Disable frag0 optimization on IPv6 ext headers Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 142/235] HID: hid-cypress: validate length of report Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 143/235] powerpc: Fix build warning on 32-bit PPC Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 144/235] mm/init: fix zone boundary creation Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 145/235] Input: xpad - use correct product id for x360w controllers Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 146/235] Input: i8042 - add Pegatron touchpad to noloop table Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 147/235] selftests: do not require bash to run netsocktests testcase Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 148/235] ocfs2: fix crash caused by stale lvb with fsdlm plugin Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 149/235] mm/hugetlb.c: fix reservation race when freeing surplus pages Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 150/235] KVM: x86: fix emulation of "MOV SS, null selector" Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 151/235] jump_labels: API for flushing deferred jump label updates Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 152/235] KVM: x86: flush pending lapic jump label updates on module unload Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 153/235] KVM: x86: Introduce segmented_write_std Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 154/235] USB: serial: kl5kusb105: fix line-state error handling Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 155/235] USB: serial: ch341: fix initial modem-control state Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 156/235] USB: serial: ch341: fix open error handling Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 157/235] USB: serial: ch341: fix control-message " Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 158/235] USB: serial: ch341: fix open and resume after B0 Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 159/235] i2c: fix kernel memory disclosure in dev interface Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 160/235] xhci: fix deadlock at host remove by running watchdog correctly Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 161/235] vme: Fix wrong pointer utilization in ca91cx42_slave_get Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 162/235] sysrq: attach sysrq handler correctly for 32-bit kernel Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 163/235] sysctl: Drop reference added by grab_header in proc_sys_readdir Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 164/235] drm/radeon: drop verde dpm quirks Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 165/235] USB: serial: ch341: fix resume after reset Jiri Slaby 2017-01-27 10:54 ` [PATCH 3.12 166/235] USB: serial: ch341: fix modem-control and B0 handling Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 167/235] x86/cpu: Fix bootup crashes by sanitizing the argument of the 'clearcpuid=' command-line option Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 168/235] NFSv4.1: nfs4_fl_prepare_ds must be careful about reporting success Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 169/235] powerpc/ibmebus: Fix further device reference leaks Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 170/235] powerpc/ibmebus: Fix device reference leaks in sysfs interface Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 171/235] pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 172/235] arm64: avoid returning from bad_mode Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 173/235] IB/mlx4: Set traffic class in AH Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 174/235] IB/mlx4: Fix port query for 56Gb Ethernet links Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 175/235] perf scripting: Avoid leaking the scripting_context variable Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 176/235] ARM: dts: imx31: fix clock control module interrupts description Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 177/235] ARM: dts: imx31: move CCM device node to AIPS2 bus devices Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 178/235] ARM: dts: imx31: fix AVIC base address Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 179/235] x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 180/235] svcrpc: don't leak contexts on PROC_DESTROY Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 181/235] mmc: mxs-mmc: Fix additional cycles after transmission stop Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 182/235] mtd: nand: xway: disable module support Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 183/235] qla2xxx: Fix crash due to null pointer access Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 184/235] ubifs: Fix journal replay wrt. xattr nodes Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 185/235] clockevents/drivers/exynos_mct: Remove unneeded container_of() Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 186/235] clocksource/exynos_mct: Clear interrupt when cpu is shut down Jiri Slaby 2017-01-27 10:55 ` Jiri Slaby 2017-01-27 10:55 ` Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 187/235] ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 188/235] ARM: dts: da850-evm: fix read access to SPI flash Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 189/235] arm64/ptrace: Preserve previous registers for short regset write Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 190/235] arm64/ptrace: Avoid uninitialised struct padding in fpr_set() Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 191/235] arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 192/235] ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 193/235] ite-cir: initialize use_demodulator before using it Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 194/235] posix_acl: Clear SGID bit when setting file permissions Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 195/235] NFSv4: Ensure nfs_atomic_open set the dentry verifier on ENOENT Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 196/235] vmxnet3: Wake queue from reset work Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 197/235] fs/cifs: make share unaccessible at root level mountable Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 198/235] Fix memory leaks in cifs_do_mount() Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 199/235] Compare prepaths when comparing superblocks Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 200/235] Move check for prefix path to within cifs_get_root() Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 201/235] Fix regression which breaks DFS mounting Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 202/235] apparmor: fix refcount bug in profile replacement Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 203/235] apparmor: fix replacement bug that adds new child to old parent Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 204/235] apparmor: fix uninitialized lsm_audit member Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 205/235] apparmor: exec should not be returning ENOENT when it denies Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 206/235] apparmor: fix update the mtime of the profile file on replacement Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 207/235] apparmor: fix disconnected bind mnts reconnection Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 208/235] apparmor: internal paths should be treated as disconnected Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 209/235] apparmor: fix put() parent ref after updating the active ref Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 210/235] apparmor: fix log failures for all profiles in a set Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 211/235] apparmor: fix audit full profile hname on successful load Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 212/235] apparmor: ensure the target profile name is always audited Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 213/235] apparmor: check that xindex is in trans_table bounds Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 214/235] apparmor: fix refcount race when finding a child profile Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 215/235] apparmor: add missing id bounds check on dfa verification Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 216/235] apparmor: don't check for vmalloc_addr if kvzalloc() failed Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 217/235] apparmor: fix oops in profile_unpack() when policy_db is not present Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 218/235] apparmor: fix module parameters can be changed after policy is locked Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 219/235] apparmor: do not expose kernel stack Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 220/235] apparmor: fix oops, validate buffer size in apparmor_setprocattr() Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 221/235] apparmor: fix arg_size computation for when setprocattr is null terminated Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 222/235] vfio/pci: Fix integer overflows, bitmask check Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 223/235] bna: Add synchronization for tx ring Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 224/235] [media] xc2028: avoid use after free Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 225/235] [media] xc2028: unlock on error in xc2028_set_config() Jiri Slaby 2017-01-27 10:55 ` [PATCH 3.12 226/235] block: fix use-after-free in sys_ioprio_get() Jiri Slaby 2017-01-27 10:56 ` [PATCH 3.12 227/235] xc2028: Fix use-after-free bug properly Jiri Slaby 2017-01-27 10:56 ` [PATCH 3.12 228/235] sg: Fix double-free when drives detach during SG_IO Jiri Slaby 2017-01-27 10:56 ` [PATCH 3.12 229/235] fuse: do not use iocb after it may have been freed Jiri Slaby 2017-01-27 10:56 ` [PATCH 3.12 230/235] move the call of __d_drop(anon) into __d_materialise_unique(dentry, anon) Jiri Slaby 2017-01-27 10:56 ` [PATCH 3.12 231/235] x86/apic: Order irq_enter/exit() calls correctly vs. ack_APIC_irq() Jiri Slaby 2017-01-27 10:56 ` [PATCH 3.12 232/235] serial: 8250_pci: Detach low-level driver during PCI error recovery Jiri Slaby 2017-01-27 10:56 ` [PATCH 3.12 233/235] bnx2x: Correct ringparam estimate when DOWN Jiri Slaby 2017-01-27 10:56 ` [PATCH 3.12 234/235] ocfs2: fix BUG_ON() in ocfs2_ci_checkpointed() Jiri Slaby 2017-01-27 10:56 ` [PATCH 3.12 235/235] tmpfs: clear S_ISGID when setting posix ACLs Jiri Slaby 2017-01-27 15:51 ` [PATCH 3.12 000/235] 3.12.70-stable review Shuah Khan 2017-02-02 13:13 ` Jiri Slaby 2017-01-27 17:23 ` Guenter Roeck 2017-01-27 19:04 ` Jiri Slaby 2017-01-27 20:53 ` Guenter Roeck
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=ae252fd89dfa9e6b15a1299ab690ec2c99da8e1e.1485514374.git.jslaby@suse.cz \ --to=jslaby@suse.cz \ --cc=akpm@linux-foundation.org \ --cc=ddstreet@ieee.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mm@kvack.org \ --cc=mhocko@suse.com \ --cc=stable@vger.kernel.org \ --cc=tglx@linutronix.de \ /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: linkBe 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.