All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jslaby@suse.cz>
To: stable@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Eric Ren <zren@suse.com>,
	Mark Fasheh <mfasheh@versity.com>,
	Joel Becker <jlbec@evilplan.org>,
	Junxiao Bi <junxiao.bi@oracle.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Jiri Slaby <jslaby@suse.cz>
Subject: [PATCH 3.12 148/235] ocfs2: fix crash caused by stale lvb with fsdlm plugin
Date: Fri, 27 Jan 2017 11:54:41 +0100	[thread overview]
Message-ID: <762f213c7c123ace3488d0752dabc2930f92e3a2.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: Eric Ren <zren@suse.com>

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

===============

commit e7ee2c089e94067d68475990bdeed211c8852917 upstream.

The crash happens rather often when we reset some cluster nodes while
nodes contend fiercely to do truncate and append.

The crash backtrace is below:

   dlm: C21CBDA5E0774F4BA5A9D4F317717495: dlm_recover_grant 1 locks on 971 resources
   dlm: C21CBDA5E0774F4BA5A9D4F317717495: dlm_recover 9 generation 5 done: 4 ms
   ocfs2: Begin replay journal (node 318952601, slot 2) on device (253,18)
   ocfs2: End replay journal (node 318952601, slot 2) on device (253,18)
   ocfs2: Beginning quota recovery on device (253,18) for slot 2
   ocfs2: Finishing quota recovery on device (253,18) for slot 2
   (truncate,30154,1):ocfs2_truncate_file:470 ERROR: bug expression: le64_to_cpu(fe->i_size) != i_size_read(inode)
   (truncate,30154,1):ocfs2_truncate_file:470 ERROR: Inode 290321, inode i_size = 732 != di i_size = 937, i_flags = 0x1
   ------------[ cut here ]------------
   kernel BUG at /usr/src/linux/fs/ocfs2/file.c:470!
   invalid opcode: 0000 [#1] SMP
   Modules linked in: ocfs2_stack_user(OEN) ocfs2(OEN) ocfs2_nodemanager ocfs2_stackglue(OEN) quota_tree dlm(OEN) configfs fuse sd_mod    iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi af_packet iscsi_ibft iscsi_boot_sysfs softdog xfs libcrc32c ppdev parport_pc pcspkr parport      joydev virtio_balloon virtio_net i2c_piix4 acpi_cpufreq button processor ext4 crc16 jbd2 mbcache ata_generic cirrus virtio_blk ata_piix               drm_kms_helper ahci syscopyarea libahci sysfillrect sysimgblt fb_sys_fops ttm floppy libata drm virtio_pci virtio_ring uhci_hcd virtio ehci_hcd       usbcore serio_raw usb_common sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_mod autofs4
   Supported: No, Unsupported modules are loaded
   CPU: 1 PID: 30154 Comm: truncate Tainted: G           OE   N  4.4.21-69-default #1
   Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.1-0-g4adadbd-20151112_172657-sheep25 04/01/2014
   task: ffff88004ff6d240 ti: ffff880074e68000 task.ti: ffff880074e68000
   RIP: 0010:[<ffffffffa05c8c30>]  [<ffffffffa05c8c30>] ocfs2_truncate_file+0x640/0x6c0 [ocfs2]
   RSP: 0018:ffff880074e6bd50  EFLAGS: 00010282
   RAX: 0000000000000074 RBX: 000000000000029e RCX: 0000000000000000
   RDX: 0000000000000001 RSI: 0000000000000246 RDI: 0000000000000246
   RBP: ffff880074e6bda8 R08: 000000003675dc7a R09: ffffffff82013414
   R10: 0000000000034c50 R11: 0000000000000000 R12: ffff88003aab3448
   R13: 00000000000002dc R14: 0000000000046e11 R15: 0000000000000020
   FS:  00007f839f965700(0000) GS:ffff88007fc80000(0000) knlGS:0000000000000000
   CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
   CR2: 00007f839f97e000 CR3: 0000000036723000 CR4: 00000000000006e0
   Call Trace:
     ocfs2_setattr+0x698/0xa90 [ocfs2]
     notify_change+0x1ae/0x380
     do_truncate+0x5e/0x90
     do_sys_ftruncate.constprop.11+0x108/0x160
     entry_SYSCALL_64_fastpath+0x12/0x6d
   Code: 24 28 ba d6 01 00 00 48 c7 c6 30 43 62 a0 8b 41 2c 89 44 24 08 48 8b 41 20 48 c7 c1 78 a3 62 a0 48 89 04 24 31 c0 e8 a0 97 f9 ff <0f> 0b 3d 00 fe ff ff 0f 84 ab fd ff ff 83 f8 fc 0f 84 a2 fd ff
   RIP  [<ffffffffa05c8c30>] ocfs2_truncate_file+0x640/0x6c0 [ocfs2]

It's because ocfs2_inode_lock() get us stale LVB in which the i_size is
not equal to the disk i_size.  We mistakenly trust the LVB because the
underlaying fsdlm dlm_lock() doesn't set lkb_sbflags with
DLM_SBF_VALNOTVALID properly for us.  But, why?

The current code tries to downconvert lock without DLM_LKF_VALBLK flag
to tell o2cb don't update RSB's LVB if it's a PR->NULL conversion, even
if the lock resource type needs LVB.  This is not the right way for
fsdlm.

The fsdlm plugin behaves different on DLM_LKF_VALBLK, it depends on
DLM_LKF_VALBLK to decide if we care about the LVB in the LKB.  If
DLM_LKF_VALBLK is not set, fsdlm will skip recovering RSB's LVB from
this lkb and set the right DLM_SBF_VALNOTVALID appropriately when node
failure happens.

The following diagram briefly illustrates how this crash happens:

RSB1 is inode metadata lock resource with LOCK_TYPE_USES_LVB;

The 1st round:

             Node1                                    Node2
RSB1: PR
                                                  RSB1(master): NULL->EX
ocfs2_downconvert_lock(PR->NULL, set_lvb==0)
  ocfs2_dlm_lock(no DLM_LKF_VALBLK)

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

dlm_lock(no DLM_LKF_VALBLK)
  convert_lock(overwrite lkb->lkb_exflags
               with no DLM_LKF_VALBLK)

RSB1: NULL                                        RSB1: EX
                                                  reset Node2
dlm_recover_rsbs()
  recover_lvb()

/* The LVB is not trustable if the node with EX fails and
 * no lock >= PR is left. We should set RSB_VALNOTVALID for RSB1.
 */

 if(!(kb_exflags & DLM_LKF_VALBLK)) /* This means we miss the chance to
           return;                   * to invalid the LVB here.
                                     */

The 2nd round:

         Node 1                                Node2
RSB1(become master from recovery)

ocfs2_setattr()
  ocfs2_inode_lock(NULL->EX)
    /* dlm_lock() return the stale lvb without setting DLM_SBF_VALNOTVALID */
    ocfs2_meta_lvb_is_trustable() return 1 /* so we don't refresh inode from disk */
  ocfs2_truncate_file()
      mlog_bug_on_msg(disk isize != i_size_read(inode))  /* crash! */

The fix is quite straightforward.  We keep to set DLM_LKF_VALBLK flag
for dlm_lock() if the lock resource type needs LVB and the fsdlm plugin
is uesed.

Link: http://lkml.kernel.org/r/1481275846-6604-1-git-send-email-zren@suse.com
Signed-off-by: Eric Ren <zren@suse.com>
Reviewed-by: Joseph Qi <jiangqi903@gmail.com>
Cc: Mark Fasheh <mfasheh@versity.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 fs/ocfs2/dlmglue.c   | 10 ++++++++++
 fs/ocfs2/stackglue.c |  6 ++++++
 fs/ocfs2/stackglue.h |  3 +++
 3 files changed, 19 insertions(+)

diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c
index 416a2ab68ac1..9c93df0f241d 100644
--- a/fs/ocfs2/dlmglue.c
+++ b/fs/ocfs2/dlmglue.c
@@ -3302,6 +3302,16 @@ static int ocfs2_downconvert_lock(struct ocfs2_super *osb,
 	mlog(ML_BASTS, "lockres %s, level %d => %d\n", lockres->l_name,
 	     lockres->l_level, new_level);
 
+	/*
+	 * On DLM_LKF_VALBLK, fsdlm behaves differently with o2cb. It always
+	 * expects DLM_LKF_VALBLK being set if the LKB has LVB, so that
+	 * we can recover correctly from node failure. Otherwise, we may get
+	 * invalid LVB in LKB, but without DLM_SBF_VALNOTVALID being set.
+	 */
+	if (!ocfs2_is_o2cb_active() &&
+	    lockres->l_ops->flags & LOCK_TYPE_USES_LVB)
+		lvb = 1;
+
 	if (lvb)
 		dlm_flags |= DLM_LKF_VALBLK;
 
diff --git a/fs/ocfs2/stackglue.c b/fs/ocfs2/stackglue.c
index 39abf89697ed..88610b3cbc04 100644
--- a/fs/ocfs2/stackglue.c
+++ b/fs/ocfs2/stackglue.c
@@ -48,6 +48,12 @@ static char ocfs2_hb_ctl_path[OCFS2_MAX_HB_CTL_PATH] = "/sbin/ocfs2_hb_ctl";
  */
 static struct ocfs2_stack_plugin *active_stack;
 
+inline int ocfs2_is_o2cb_active(void)
+{
+	return !strcmp(active_stack->sp_name, OCFS2_STACK_PLUGIN_O2CB);
+}
+EXPORT_SYMBOL_GPL(ocfs2_is_o2cb_active);
+
 static struct ocfs2_stack_plugin *ocfs2_stack_lookup(const char *name)
 {
 	struct ocfs2_stack_plugin *p;
diff --git a/fs/ocfs2/stackglue.h b/fs/ocfs2/stackglue.h
index 1ec56fdb8d0d..fa49d8a1dc7b 100644
--- a/fs/ocfs2/stackglue.h
+++ b/fs/ocfs2/stackglue.h
@@ -289,4 +289,7 @@ void ocfs2_stack_glue_set_max_proto_version(struct ocfs2_protocol_version *max_p
 int ocfs2_stack_glue_register(struct ocfs2_stack_plugin *plugin);
 void ocfs2_stack_glue_unregister(struct ocfs2_stack_plugin *plugin);
 
+/* In ocfs2_downconvert_lock(), we need to know which stack we are using */
+int ocfs2_is_o2cb_active(void);
+
 #endif  /* STACKGLUE_H */
-- 
2.11.0

  parent reply	other threads:[~2017-01-27 11:09 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 ` [PATCH 3.12 010/235] hotplug: Make register and unregister notifier API symmetric Jiri Slaby
2017-01-27 10:52   ` 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 ` Jiri Slaby [this message]
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=762f213c7c123ace3488d0752dabc2930f92e3a2.1485514374.git.jslaby@suse.cz \
    --to=jslaby@suse.cz \
    --cc=akpm@linux-foundation.org \
    --cc=jlbec@evilplan.org \
    --cc=junxiao.bi@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mfasheh@versity.com \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=zren@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.