linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Hutchings <ben@decadent.org.uk>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org
Cc: akpm@linux-foundation.org, "Eric Biggers" <ebiggers@google.com>,
	"Alexander Potapenko" <glider@google.com>,
	"David Howells" <dhowells@redhat.com>
Subject: [PATCH 3.16 071/254] ASN.1: fix out-of-bounds read when parsing indefinite length item
Date: Wed, 28 Feb 2018 15:20:18 +0000	[thread overview]
Message-ID: <lsq.1519831218.988532443@decadent.org.uk> (raw)
In-Reply-To: <lsq.1519831217.271785318@decadent.org.uk>

3.16.55-rc1 review patch.  If anyone has any objections, please let me know.

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

From: Eric Biggers <ebiggers@google.com>

commit e0058f3a874ebb48b25be7ff79bc3b4e59929f90 upstream.

In asn1_ber_decoder(), indefinitely-sized ASN.1 items were being passed
to the action functions before their lengths had been computed, using
the bogus length of 0x80 (ASN1_INDEFINITE_LENGTH).  This resulted in
reading data past the end of the input buffer, when given a specially
crafted message.

Fix it by rearranging the code so that the indefinite length is resolved
before the action is called.

This bug was originally found by fuzzing the X.509 parser in userspace
using libFuzzer from the LLVM project.

KASAN report (cleaned up slightly):

    BUG: KASAN: slab-out-of-bounds in memcpy ./include/linux/string.h:341 [inline]
    BUG: KASAN: slab-out-of-bounds in x509_fabricate_name.constprop.1+0x1a4/0x940 crypto/asymmetric_keys/x509_cert_parser.c:366
    Read of size 128 at addr ffff880035dd9eaf by task keyctl/195

    CPU: 1 PID: 195 Comm: keyctl Not tainted 4.14.0-09238-g1d3b78bbc6e9 #26
    Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.0-20171110_100015-anatol 04/01/2014
    Call Trace:
     __dump_stack lib/dump_stack.c:17 [inline]
     dump_stack+0xd1/0x175 lib/dump_stack.c:53
     print_address_description+0x78/0x260 mm/kasan/report.c:252
     kasan_report_error mm/kasan/report.c:351 [inline]
     kasan_report+0x23f/0x350 mm/kasan/report.c:409
     memcpy+0x1f/0x50 mm/kasan/kasan.c:302
     memcpy ./include/linux/string.h:341 [inline]
     x509_fabricate_name.constprop.1+0x1a4/0x940 crypto/asymmetric_keys/x509_cert_parser.c:366
     asn1_ber_decoder+0xb4a/0x1fd0 lib/asn1_decoder.c:447
     x509_cert_parse+0x1c7/0x620 crypto/asymmetric_keys/x509_cert_parser.c:89
     x509_key_preparse+0x61/0x750 crypto/asymmetric_keys/x509_public_key.c:174
     asymmetric_key_preparse+0xa4/0x150 crypto/asymmetric_keys/asymmetric_type.c:388
     key_create_or_update+0x4d4/0x10a0 security/keys/key.c:850
     SYSC_add_key security/keys/keyctl.c:122 [inline]
     SyS_add_key+0xe8/0x290 security/keys/keyctl.c:62
     entry_SYSCALL_64_fastpath+0x1f/0x96

    Allocated by task 195:
     __do_kmalloc_node mm/slab.c:3675 [inline]
     __kmalloc_node+0x47/0x60 mm/slab.c:3682
     kvmalloc ./include/linux/mm.h:540 [inline]
     SYSC_add_key security/keys/keyctl.c:104 [inline]
     SyS_add_key+0x19e/0x290 security/keys/keyctl.c:62
     entry_SYSCALL_64_fastpath+0x1f/0x96

Fixes: 42d5ec27f873 ("X.509: Add an ASN.1 decoder")
Reported-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: David Howells <dhowells@redhat.com>
[bwh: Backported to 3.16: drop ASN1_OP_{COND_,}MATCH_ANY_{ACT_,}OR_SKIP cases]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 lib/asn1_decoder.c | 47 ++++++++++++++++++++++++++---------------------
 1 file changed, 26 insertions(+), 21 deletions(-)

--- a/lib/asn1_decoder.c
+++ b/lib/asn1_decoder.c
@@ -305,38 +305,43 @@ next_op:
 
 	/* Decide how to handle the operation */
 	switch (op) {
-	case ASN1_OP_MATCH_ANY_ACT:
-	case ASN1_OP_COND_MATCH_ANY_ACT:
-		ret = actions[machine[pc + 1]](context, hdr, tag, data + dp, len);
-		if (ret < 0)
-			return ret;
-		goto skip_data;
-
-	case ASN1_OP_MATCH_ACT:
-	case ASN1_OP_MATCH_ACT_OR_SKIP:
-	case ASN1_OP_COND_MATCH_ACT_OR_SKIP:
-		ret = actions[machine[pc + 2]](context, hdr, tag, data + dp, len);
-		if (ret < 0)
-			return ret;
-		goto skip_data;
-
 	case ASN1_OP_MATCH:
 	case ASN1_OP_MATCH_OR_SKIP:
+	case ASN1_OP_MATCH_ACT:
+	case ASN1_OP_MATCH_ACT_OR_SKIP:
 	case ASN1_OP_MATCH_ANY:
+	case ASN1_OP_MATCH_ANY_ACT:
 	case ASN1_OP_COND_MATCH_OR_SKIP:
+	case ASN1_OP_COND_MATCH_ACT_OR_SKIP:
 	case ASN1_OP_COND_MATCH_ANY:
-	skip_data:
+	case ASN1_OP_COND_MATCH_ANY_ACT:
+
 		if (!(flags & FLAG_CONS)) {
 			if (flags & FLAG_INDEFINITE_LENGTH) {
+				size_t tmp = dp;
+
 				ret = asn1_find_indefinite_length(
-					data, datalen, &dp, &len, &errmsg);
+					data, datalen, &tmp, &len, &errmsg);
 				if (ret < 0)
 					goto error;
-			} else {
-				dp += len;
 			}
 			pr_debug("- LEAF: %zu\n", len);
 		}
+
+		if (op & ASN1_OP_MATCH__ACT) {
+			unsigned char act;
+
+			if (op & ASN1_OP_MATCH__ANY)
+				act = machine[pc + 1];
+			else
+				act = machine[pc + 2];
+			ret = actions[act](context, hdr, tag, data + dp, len);
+			if (ret < 0)
+				return ret;
+		}
+
+		if (!(flags & FLAG_CONS))
+			dp += len;
 		pc += asn1_op_lengths[op];
 		goto next_op;
 

  parent reply	other threads:[~2018-02-28 16:20 UTC|newest]

Thread overview: 261+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-28 15:20 [PATCH 3.16 000/254] 3.16.55-rc1 review Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 138/254] iw_cxgb4: Only validate the MSN for successful completions Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 046/254] xhci: Don't show incorrect WARN message about events for empty rings Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 183/254] mdio-sun4i: Fix a memory leak Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 007/254] btrfs: clear space cache inode generation always Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 008/254] scsi: dma-mapping: always provide dma_get_cache_alignment Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 253/254] ACPI: sbshc: remove raw pointer from printk() message Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 032/254] eeprom: at24: check at24_read/write arguments Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 098/254] MIPS: Set `si_code' for SIGFPE signals sent from emulation too Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 195/254] net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg() Ben Hutchings
2018-02-28 15:20 ` Ben Hutchings [this message]
2018-02-28 15:20 ` [PATCH 3.16 018/254] drm/i915: Don't try indexed reads to alternate slave addresses Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 199/254] powerpc: Don't preempt_disable() in show_cpuinfo() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 134/254] net/mlx5: Cleanup IRQs in case of unload failure Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 059/254] x86/PCI: Make broadcom_postcore_init() check acpi_disabled Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 120/254] PCI / PM: Force devices to D0 in pci_pm_thaw_noirq() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 249/254] media: v4l2-compat-ioctl32.c: copy clip list in put_v4l2_window32 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 005/254] KVM: x86: Don't re-execute instruction when not passing CR2 value Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 054/254] dm: fix various targets to dm_register_target after module __init resources created Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 044/254] can: ti_hecc: Fix napi poll return value for repoll Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 026/254] uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 090/254] tcp md5sig: Use skb's saddr when replying to an incoming segment Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 089/254] ext4: fix crash when a directory's i_size is too small Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 042/254] can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 229/254] dccp: don't restart ccid2_hc_tx_rto_expire() if sk in closed state Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 004/254] KVM: x86: emulator: Return to user-mode on L1 CPL=0 emulation failure Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 102/254] MIPS: ptrace: Fix FP context restoration FCSR regression Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 231/254] of: fdt: Fix return with value in void function Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 232/254] net: bcmgenet: fix bcmgenet_open() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 198/254] ALSA: hda - Apply the existing quirk to iMac 14,1 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 035/254] quota: Check for register_shrinker() failure Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 165/254] net: phy: Add phy_interface_is_rgmii helper Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 200/254] 8021q: fix a memory leak for VLAN 0 device Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 185/254] Input: twl4030-vibra - fix ERROR: Bad of_node_put() warning Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 215/254] dm btree: fix serious bug in btree_split_beneath() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 192/254] USB: Gadget core: fix inconsistency in the interface tousb_add_gadget_udc_release() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 086/254] ipv4: Use standard iovec primitive in raw_probe_proto_opt Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 101/254] MIPS: Fix a preemption issue with thread's FPU defaults Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 028/254] isa: Prevent NULL dereference in isa_bus driver callbacks Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 093/254] MIPS: Clear [MSA]FPE CSR.Cause after notify_die() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 097/254] MIPS: Always clear FCSR cause bits after emulation Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 096/254] MIPS: Respect the FCSR exception mask for `si_code' Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 210/254] sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 104/254] MIPS: MSA: bugfix - disable MSA correctly for new threads/processes Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 162/254] can: gs_usb: fix return value of the "set_bittiming" callback Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 164/254] usbip: remove kernel addresses from usb device and urb debug msgs Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 248/254] media: v4l2-compat-ioctl32: Copy v4l2_window->global_alpha Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 170/254] mm/mprotect: add a cond_resched() inside change_pmd_range() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 077/254] usb: musb: da8xx: fix babble condition handling Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 113/254] ALSA: rawmidi: Avoid racy info ioctl via ctl device Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 240/254] media: v4l2-ioctl.c: don't copy back the result for -ENOTTY Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 045/254] virtio: release virtio index when fail to device_register Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 109/254] MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 205/254] nl80211: take RCU read lock when calling ieee80211_bss_get_ie() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 201/254] ALSA: pcm: Remove yet superfluous WARN_ON() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 061/254] efi: Move some sysfs files to be read-only by root Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 173/254] ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 145/254] tracing: Fix crash when it fails to alloc ring buffer Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 022/254] usb: host: fix incorrect updating of offset Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 235/254] [media] v4l2-compat-ioctl32: fix sparse warnings Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 143/254] sctp: Replace use of sockets_allocated with specified macro Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 151/254] af_key: fix buffer overread in parse_exthdrs() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 072/254] ASN.1: check for error from ASN1_OP_END__ACT actions Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 221/254] cfg80211: fix station info handling bugs Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 123/254] net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 139/254] crypto: n2 - cure use after free Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 100/254] MIPS: Respect the ISA level in FCSR handling Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 153/254] USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 158/254] e1000e: Fix e1000_check_for_copper_link_ich8lan return value Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 030/254] sctp: force the params with right types for sctp csum apis Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 106/254] mips/ptrace: Preserve previous registers for short regset write Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 222/254] x86/mce: Make machine check speculation protected Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 052/254] batman-adv: Fix lock for ogm cnt access in batadv_iv_ogm_calc_tq Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 207/254] cfg80211: check dev_set_name() return value Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 171/254] crypto: algapi - fix NULL dereference in crypto_remove_spawns() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 124/254] ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 024/254] usb: hub: Cycle HUB power when initialization fails Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 119/254] KVM: arm/arm64: Fix HYP unmapping going off limits Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 211/254] sctp: do not allow the v4 socket to bind a v4mapped v6 address Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 227/254] pppoe: take ->needed_headroom of lower device into account on xmit Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 049/254] ALSA: usb-audio: Fix out-of-bound error Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 136/254] net: mvneta: clear interface link status on port disable Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 110/254] MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 191/254] usb: udc: core: add device_del() call to error pathway Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 094/254] MIPS: prevent FP context set via ptrace being discarded Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 246/254] media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 088/254] net: ipv4: fix for a race condition in raw_sendmsg Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 036/254] mfd: cros ec: spi: Don't send first message too soon Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 002/254] ASoC: twl4030: fix child-node lookup Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 243/254] media: v4l2-compat-ioctl32.c: fix the indentation Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 168/254] sh_eth: fix TSU resource handling Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 085/254] nl80211: fix nl80211_send_iface() error paths Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 252/254] media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 063/254] btrfs: fix missing error return in btrfs_drop_snapshot Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 181/254] ALSA: pcm: Abort properly at pending signal in OSS read/write loops Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 214/254] dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 076/254] 509: fix printing uninitialized stack memory when OID is empty Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 130/254] usbip: fix usbip bind writing random string after command in match_busid Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 068/254] can: esd_usb2: cancel urb on -EPIPE and -EPROTO Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 062/254] kdb: Fix handling of kallsyms_symbol_next() return value Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 177/254] ALSA: aloop: Fix racy hw constraints adjustment Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 129/254] usbip: prevent leaking socket pointer address in messages Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 121/254] ACPI: APEI / ERST: Fix missing error handling in erst_reader() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 176/254] ALSA: aloop: Fix inconsistent format due to incomplete rule Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 180/254] xfrm: Return error on unknown encap_type in init_state Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 064/254] Btrfs: disable FUA if mounted with nobarrier Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 239/254] adv7604: use correct drive strength defines Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 184/254] sh_eth: fix TXALCR1 offsets Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 010/254] scsi: libsas: align sata_device's rps_resp on a cacheline Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 118/254] parisc: Hide Diva-built-in serial aux and graphics card Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 095/254] MIPS: lose_fpu(): Disable FPU when MSA enabled Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 070/254] can: usb_8dev: cancel urb on -EPIPE and -EPROTO Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 039/254] ALSA: seq: Remove spurious WARN_ON() at timer check Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 169/254] kernel/acct.c: fix the acct->needcheck check in check_free_space() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 247/254] media: v4l2-compat-ioctl32.c: fix ctrl_is_pointer Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 016/254] blktrace: fix trace mutex deadlock Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 179/254] x86/microcode/intel: Extend BDW late-loading with a revision check Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 006/254] iommu/vt-d: Fix scatterlist offset handling Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 238/254] media: v4l2-compat-ioctl32.c: add capabilities field to, v4l2_input32 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 209/254] sctp: use the right sk after waking up from wait_buf sleep Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 188/254] Input: twl6040-vibra - fix child-node lookup Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 174/254] x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 082/254] dmaengine: dmatest: warn user when dma test times out Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 146/254] tracing: Fix possible double free on failure of allocating trace buffer Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 234/254] blk-mq: fix race between timeout and freeing request Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 159/254] IB/srpt: Disable RDMA access by the initiator Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 218/254] net: fs_enet: do not call phy_stop() in interrupts Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 161/254] USB: serial: cp210x: add new device ID ELV ALC 8xxx Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 083/254] dmaengine: dmatest: move callback wait queue to thread context Ben Hutchings
2018-02-28 17:47   ` Adam Wallis
2018-03-03 15:33     ` Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 251/254] media: v4l2-compat-ioctl32.c: don't copy back the result for certain errors Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 099/254] MIPS: math-emu: Define IEEE 754-2008 feature control bits Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 144/254] ring-buffer: Mask out the info bits when returning buffer page length Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 025/254] usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 020/254] usb: gadget: don't dereference g until after it has been null checked Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 148/254] include/stddef.h: Move offsetofend() from vfio.h to a generic kernel header Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 133/254] net/mlx5: Fix misspelling in the error message and comment Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 067/254] can: ems_usb: cancel urb on -EPIPE and -EPROTO Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 111/254] powerpc/perf: Dereference BHRB entries safely Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 194/254] uas: ignore UAS for Norelsys NS1068(X) chips Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 021/254] USB: usbfs: Filter flags passed in from user space Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 241/254] vb2: V4L2_BUF_FLAG_DONE is set after DQBUF Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 156/254] IB/ipoib: Fix race condition in neigh creation Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 154/254] fscache: Fix the default for fscache_maybe_release_page() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 011/254] bcache: recover data from backing when data is clean Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 189/254] Input: 88pm860x-ts - fix child-node lookup Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 132/254] usb: Add device quirk for Logitech HD Pro Webcam C925e Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 013/254] USB: serial: option: add Quectel BG96 id Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 244/254] media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 038/254] mfd: twl6040: Fix child-node lookup Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 220/254] can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 197/254] SolutionEngine771x: add Ether TSU resource Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 078/254] USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 141/254] USB: serial: ftdi_sio: add id for Airbus DS P8GR Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 091/254] MIPS: CPS: Fix r1 .set mt assembler warning Ben Hutchings
2018-03-01 13:44   ` James Hogan
2018-03-03 15:48     ` Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 033/254] arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 073/254] lib/oid_registry.c: X.509: fix the buffer overflow in the utility function for OID string Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 115/254] nfsd: auth: Fix gid sorting when rootsquash enabled Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 040/254] media: dvb: i2c transfers over usb cannot be done from stack Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 015/254] ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 155/254] ALSA: pcm: Remove incorrect snd_BUG_ON() usages Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 142/254] usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 057/254] net_sched: red: Avoid illegal values Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 152/254] kbuild: add '-fno-stack-check' to kernel build options Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 034/254] arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 223/254] net: igmp: Use correct source address on IGMPv3 reports Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 186/254] Input: twl4030-vibra - fix sibling-node lookup Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 206/254] mac80211_hwsim: validate number of different channels Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 254/254] rds: Fix NULL pointer dereference in __rds_rdma_map Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 213/254] KVM/x86: Fix wrong macro references of X86_CR0_PG_BIT and X86_CR4_PAE_BIT in kvm_valid_sregs() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 175/254] ALSA: aloop: Release cable upon open error path Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 202/254] KVM: x86: Add memory barrier on vmcs field lookup Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 023/254] USB: core: Add type-specific length check of BOS descriptors Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 147/254] nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 066/254] net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 237/254] [media] media: v4l2-compat-ioctl32: fix missing reserved field copy in put_v4l2_create32 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 225/254] Input: trackpoint - assume 3 buttons when buttons detection fails Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 112/254] KVM: X86: Fix load RFLAGS w/o the fixed bit Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 041/254] can: kvaser_usb: free buf in error paths Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 012/254] Input: elantech - add new icbody type 15 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 107/254] MIPS: Factor out NT_PRFPREG regset access helpers Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 172/254] xfrm: Use __skb_queue_tail in xfrm_trans_queue Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 031/254] net/packet: fix a race in packet_bind() and packet_notifier() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 233/254] mac80211_hwsim: fix compiler warning on MIPS Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 160/254] mmc: s3mci: mark debug_regs[] as static Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 103/254] MIPS: ptrace: Prevent writes to read-only FCSR bits Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 187/254] Input: twl6040-vibra - fix DT node memory management Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 167/254] net: stmmac: enable EEE in MII, GMII or RGMII only Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 204/254] futex: Prevent overflow by strengthen input validation Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 043/254] can: kvaser_usb: ratelimit errors if incomplete messages are received Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 079/254] ASoC: wm_adsp: Don't overrun firmware file buffer when reading region data Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 212/254] KVM/x86: Check input paging mode when cs.l is set Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 058/254] ALSA: pcm: prevent UAF in snd_pcm_info Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 029/254] hv: kvp: Avoid reading past allocated blocks from KVP file Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 166/254] phy: Add helper function to check phy interface mode Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 051/254] netfilter: xt_bpf: add overflow checks Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 230/254] hrtimer: Reset hrtimer cpu base proper on CPU hotplug Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 001/254] ALSA: seq: Fix regression by incorrect ioctl_mutex usages Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 157/254] e1000e: Separate signaling for link check/link up Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 135/254] net/mlx5: Stay in polling mode when command EQ destroy fails Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 219/254] can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_once Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 017/254] hwmon: (pmbus) Use 64bit math for DIRECT format values Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 224/254] net: igmp: fix source address check for IGMPv3 reports Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 245/254] media: v4l2-compat-ioctl32.c: avoid sizeof(type) Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 117/254] posix-timer: Properly check sigevent->sigev_notify Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 182/254] ALSA: pcm: Allow aborting mutex lock at OSS read/write loops Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 203/254] usb: misc: usb3503: make sure reset is low for at least 100us Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 060/254] arm64: fpsimd: Prevent registers leaking from dead tasks Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 105/254] MIPS: Fix FCSR Cause bit handling for correct SIGFPE issue Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 092/254] MIPS: clear MSACSR cause bits when handling MSA FP exception Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 127/254] usbip: vhci: stop printing kernel pointer addresses in messages Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 116/254] USB: serial: option: add support for Telit ME910 PID 0x1101 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 217/254] i2c: core-smbus: prevent stack corruption on read I2C_BLOCK_DATA Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 126/254] USB: serial: option: adding support for YUGA CLM920-NC5 Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 122/254] net: phy: marvell: Limit 88m1101 autoneg errata to 88E1145 as well Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 137/254] n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD) Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 131/254] usb: add RESET_RESUME for ELSA MicroLink 56K Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 140/254] ALSA: hda - Add MIC_NO_PRESENCE fixup for 2 HP machines Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 080/254] ASoC: wm_adsp: Fix validation of firmware and coeff lengths Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 150/254] af_key: fix buffer overread in verify_address_len() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 163/254] ALSA: pcm: Add missing error checks in OSS emulation plugin builder Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 190/254] USB: fix usbmon BUG trigger Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 074/254] X.509: reject invalid BIT STRING for subjectPublicKey Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 019/254] drm/i915: Prevent zero length "index" write Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 128/254] usbip: stub: stop printing kernel pointer addresses in messages Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 193/254] USB: UDC core: fix double-free in usb_add_gadget_udc_release Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 216/254] i2c: core: decrease reference count of device node in i2c_unregister_device Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 056/254] net_sched: red: Avoid devision by zero Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 208/254] arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 075/254] X.509: fix buffer overflow detection in sprint_oid() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 053/254] dm mpath: simplify failure path of dm_multipath_init() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 037/254] mfd: twl4030-audio: Fix sibling-node lookup Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 149/254] stddef.h: move offsetofend inside #ifndef/#endif guard, neaten Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 114/254] kernel: make groups_sort calling a responsibility group_info allocators Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 226/254] Input: trackpoint - force 3 buttons if 0 button is reported Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 242/254] media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 125/254] xfrm: Reinject transport-mode packets through tasklet Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 014/254] ASoC: fsl_ssi: add AC'97 ops setting check and cleanup Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 236/254] [media] V4L2: fix VIDIOC_CREATE_BUFS 32-bit compatibility mode data copy-back Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 069/254] can: kvaser_usb: cancel urb on -EPIPE and -EPROTO Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 108/254] MIPS: Guard against any partial write attempt with PTRACE_SETREGSET Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 084/254] dmaengine: jz4740: disable/unprepare clk if probe fails Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 047/254] usb: xhci: fix panic in xhci_free_virt_devices_depth_first Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 196/254] SolutionEngine771x: fix Ether platform data Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 055/254] s390: always save and restore all registers on context switch Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 050/254] ALSA: usb-audio: Add check return value for usb_string() Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 027/254] serial: 8250_pci: Add Amazon PCI serial device ID Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 009/254] scsi: use dma_get_cache_alignment() as minimum DMA alignment Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 228/254] x86/microcode/intel: Extend BDW late-loading further with LLC size check Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 065/254] btrfs: Fix possible off-by-one in btrfs_search_path_in_tree Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 178/254] sh_eth: fix SH7757 GEther initialization Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 081/254] xhci: Don't add a virt_dev to the devs array before it's fully allocated Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 003/254] KVM: x86: Exit to user-mode on #UD intercept when emulator requires Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 250/254] media: v4l2-compat-ioctl32.c: drop pr_info for unknown buffer type Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 048/254] ext4: fix fdatasync(2) after fallocate(2) operation Ben Hutchings
2018-02-28 15:20 ` [PATCH 3.16 087/254] ipv4: Avoid reading user iov twice after raw_probe_proto_opt Ben Hutchings
2018-02-28 16:57 ` [PATCH 3.16 000/254] 3.16.55-rc1 review Guenter Roeck
2018-02-28 17:30   ` Ben Hutchings

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=lsq.1519831218.988532443@decadent.org.uk \
    --to=ben@decadent.org.uk \
    --cc=akpm@linux-foundation.org \
    --cc=dhowells@redhat.com \
    --cc=ebiggers@google.com \
    --cc=glider@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

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

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).