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,
	"Guillaume Nault" <g.nault@alphalink.fr>,
	"David S. Miller" <davem@davemloft.net>,
	syzbot+ed0838d0fa4c4f2b528e20286e6dc63effc7c14d@syzkaller.appspotmail.com,
	"Xin Long" <lucien.xin@gmail.com>
Subject: [PATCH 3.16 227/254] pppoe: take ->needed_headroom of lower device into account on xmit
Date: Wed, 28 Feb 2018 15:20:18 +0000	[thread overview]
Message-ID: <lsq.1519831218.139451129@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: Guillaume Nault <g.nault@alphalink.fr>

commit 02612bb05e51df8489db5e94d0cf8d1c81f87b0c upstream.

In pppoe_sendmsg(), reserving dev->hard_header_len bytes of headroom
was probably fine before the introduction of ->needed_headroom in
commit f5184d267c1a ("net: Allow netdevices to specify needed head/tailroom").

But now, virtual devices typically advertise the size of their overhead
in dev->needed_headroom, so we must also take it into account in
skb_reserve().
Allocation size of skb is also updated to take dev->needed_tailroom
into account and replace the arbitrary 32 bytes with the real size of
a PPPoE header.

This issue was discovered by syzbot, who connected a pppoe socket to a
gre device which had dev->header_ops->create == ipgre_header and
dev->hard_header_len == 0. Therefore, PPPoE didn't reserve any
headroom, and dev_hard_header() crashed when ipgre_header() tried to
prepend its header to skb->data.

skbuff: skb_under_panic: text:000000001d390b3a len:31 put:24
head:00000000d8ed776f data:000000008150e823 tail:0x7 end:0xc0 dev:gre0
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:104!
invalid opcode: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
    (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 3670 Comm: syzkaller801466 Not tainted
4.15.0-rc7-next-20180115+ #97
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:skb_panic+0x162/0x1f0 net/core/skbuff.c:100
RSP: 0018:ffff8801d9bd7840 EFLAGS: 00010282
RAX: 0000000000000083 RBX: ffff8801d4f083c0 RCX: 0000000000000000
RDX: 0000000000000083 RSI: 1ffff1003b37ae92 RDI: ffffed003b37aefc
RBP: ffff8801d9bd78a8 R08: 1ffff1003b37ae8a R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff86200de0
R13: ffffffff84a981ad R14: 0000000000000018 R15: ffff8801d2d34180
FS:  00000000019c4880(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000208bc000 CR3: 00000001d9111001 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
  skb_under_panic net/core/skbuff.c:114 [inline]
  skb_push+0xce/0xf0 net/core/skbuff.c:1714
  ipgre_header+0x6d/0x4e0 net/ipv4/ip_gre.c:879
  dev_hard_header include/linux/netdevice.h:2723 [inline]
  pppoe_sendmsg+0x58e/0x8b0 drivers/net/ppp/pppoe.c:890
  sock_sendmsg_nosec net/socket.c:630 [inline]
  sock_sendmsg+0xca/0x110 net/socket.c:640
  sock_write_iter+0x31a/0x5d0 net/socket.c:909
  call_write_iter include/linux/fs.h:1775 [inline]
  do_iter_readv_writev+0x525/0x7f0 fs/read_write.c:653
  do_iter_write+0x154/0x540 fs/read_write.c:932
  vfs_writev+0x18a/0x340 fs/read_write.c:977
  do_writev+0xfc/0x2a0 fs/read_write.c:1012
  SYSC_writev fs/read_write.c:1085 [inline]
  SyS_writev+0x27/0x30 fs/read_write.c:1082
  entry_SYSCALL_64_fastpath+0x29/0xa0

Admittedly PPPoE shouldn't be allowed to run on non Ethernet-like
interfaces, but reserving space for ->needed_headroom is a more
fundamental issue that needs to be addressed first.

Same problem exists for __pppoe_xmit(), which also needs to take
dev->needed_headroom into account in skb_cow_head().

Fixes: f5184d267c1a ("net: Allow netdevices to specify needed head/tailroom")
Reported-by: syzbot+ed0838d0fa4c4f2b528e20286e6dc63effc7c14d@syzkaller.appspotmail.com
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Reviewed-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 drivers/net/ppp/pppoe.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

--- a/drivers/net/ppp/pppoe.c
+++ b/drivers/net/ppp/pppoe.c
@@ -832,6 +832,7 @@ static int pppoe_sendmsg(struct kiocb *i
 	struct pppoe_hdr *ph;
 	struct net_device *dev;
 	char *start;
+	int hlen;
 
 	lock_sock(sk);
 	if (sock_flag(sk, SOCK_DEAD) || !(sk->sk_state & PPPOX_CONNECTED)) {
@@ -850,16 +851,16 @@ static int pppoe_sendmsg(struct kiocb *i
 	if (total_len > (dev->mtu + dev->hard_header_len))
 		goto end;
 
-
-	skb = sock_wmalloc(sk, total_len + dev->hard_header_len + 32,
-			   0, GFP_KERNEL);
+	hlen = LL_RESERVED_SPACE(dev);
+	skb = sock_wmalloc(sk, hlen + sizeof(*ph) + total_len +
+			   dev->needed_tailroom, 0, GFP_KERNEL);
 	if (!skb) {
 		error = -ENOMEM;
 		goto end;
 	}
 
 	/* Reserve space for headers. */
-	skb_reserve(skb, dev->hard_header_len);
+	skb_reserve(skb, hlen);
 	skb_reset_network_header(skb);
 
 	skb->dev = dev;
@@ -920,7 +921,7 @@ static int __pppoe_xmit(struct sock *sk,
 	/* Copy the data if there is no space for the header or if it's
 	 * read-only.
 	 */
-	if (skb_cow_head(skb, sizeof(*ph) + dev->hard_header_len))
+	if (skb_cow_head(skb, LL_RESERVED_SPACE(dev) + sizeof(*ph)))
 		goto abort;
 
 	__skb_push(skb, sizeof(*ph));

  parent reply	other threads:[~2018-02-28 16:36 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 ` [PATCH 3.16 071/254] ASN.1: fix out-of-bounds read when parsing indefinite length item Ben Hutchings
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 ` Ben Hutchings [this message]
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.139451129@decadent.org.uk \
    --to=ben@decadent.org.uk \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=g.nault@alphalink.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lucien.xin@gmail.com \
    --cc=stable@vger.kernel.org \
    --cc=syzbot+ed0838d0fa4c4f2b528e20286e6dc63effc7c14d@syzkaller.appspotmail.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 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).