Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp424879ima; Wed, 24 Oct 2018 03:41:22 -0700 (PDT) X-Google-Smtp-Source: AJdET5faPEOtib17kFpiRZpMVtG6/76dH68TYaU/5yR6+yW0yQs9o7zskmYWJ680cVfQNMAr2ZmQ X-Received: by 2002:a62:5b43:: with SMTP id p64-v6mr2176996pfb.122.1540377682523; Wed, 24 Oct 2018 03:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540377682; cv=none; d=google.com; s=arc-20160816; b=f5fjhiz4Oj7iBJGUSG7hQHKm4Bntj2QjAc2HKFujNEXCcgWcq8f2GYUvwIrspNXWal enUnnJ/wglJ9jhq+7XnpEryOG06fspHLkO8Eps1M93LON9sAlOWJwRZrwNnivkH+jsIh tMH5c4hlaPh7nttZiH7q7HcUrR5DpFYfXQtWuw+q0fyJwX5KGIO5Mmdnn6L4XSe8ab2u 4l//t8x1jCwUdbOjqPrp7D1G/OTDSt7a+eOjsrUJK1RbNZdL/Gv2y+MqtVDvsAo9Y6HQ 87Z+Rhp6XwJ0ngE0NdGkCVpAO29g1qCDAbct29jZ0mtkBEUTKmezbI0tH61JFdRCFCSn GufQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=Z1RXAxd3h/Z6dvQ5/5g1Kgc3KOwjdy6sbnMxwSQyjTM=; b=kfJt7FNtP6QFlPpZcewctGgL3+OKx+X1Q6wIOFqSNBrxl627wKyBFBW956ma11xCmj xzIEpM9PONTtHl0K9L+6dy+kVTpE8p9DTgaVYq/g7NCjVX8+Z6hysYfqU3hGDosshcHT rtrPKg3PGNh8IYQkZGd5t/slL/gkeJKm2lieudbDfIjwZxmEoZdKUKWBhYoRQDo6gvvD Fmf9j7JdS2fvP54v0B8eUqhCzoA4fWxIKT0QGP/RXyS0BhbtCvO3bjWPuq/0PhdLfp68 jN8a68xCWuuDY9cEVq6a/NcL+wYgyCBNzaIij+83D2HisShv8FSw+tK7PFApsRnoBn2w Mu2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x1LoGKYM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si4136575pgi.119.2018.10.24.03.41.07; Wed, 24 Oct 2018 03:41:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x1LoGKYM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727187AbeJXTIN (ORCPT + 99 others); Wed, 24 Oct 2018 15:08:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:51166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726913AbeJXTIN (ORCPT ); Wed, 24 Oct 2018 15:08:13 -0400 Received: from tleilax.poochiereds.net (cpe-71-70-156-158.nc.res.rr.com [71.70.156.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 35B1920824; Wed, 24 Oct 2018 10:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540377638; bh=T7sgOfv6Pa9Qm0zkYYhd3EuEZxlK0I3rcidhsItzG6k=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=x1LoGKYMhKlGO+0gn4UntRWo4DD/U2mrDTUanSA3dtgU3rZ1RWzU5afLJ0sSep5hW 0qzICWjPdSUg+vTH3jnrfQlV5XMfjj5pnqFzsbb1gXqeymoLl7TjPIwkf4X3JShzAD r8UrZmnxN0KIkZA7E0Z9nxAoveFJcoOf1iJPjpA4= Message-ID: <09f6038b7642f425eba162ea2239552e12da2045.camel@kernel.org> Subject: Re: KASAN: slab-out-of-bounds Read in string (2) From: Jeff Layton To: Amir Goldstein , Dan Carpenter , Bruce Fields Cc: Dmitry Vyukov , syzbot+376cea2b0ef340db3dd4@syzkaller.appspotmail.com, Miklos Szeredi , overlayfs , linux-kernel , Petr Mladek , "Steven Rostedt (VMware)" , Sergey Senozhatsky , syzkaller-bugs@googlegroups.com, Jan Harkes , Mark Fasheh Date: Wed, 24 Oct 2018 06:40:35 -0400 In-Reply-To: References: <0000000000003852440576ef80b2@google.com> <20181024090959.s5y3azpsmtswjyn5@mwanda> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-1.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-10-24 at 12:35 +0300, Amir Goldstein wrote: > > > diff --git a/fs/lockd/host.c b/fs/lockd/host.c > > > index d35cd6be0675..93fb7cf0b92b 100644 > > > --- a/fs/lockd/host.c > > > +++ b/fs/lockd/host.c > > > @@ -341,7 +341,7 @@ struct nlm_host *nlmsvc_lookup_host(const struct > > > svc_rqst *rqstp, > > > }; > > > struct lockd_net *ln = net_generic(net, lockd_net_id); > > > > > > - dprintk("lockd: %s(host='%*s', vers=%u, proto=%s)\n", __func__, > > > + dprintk("lockd: %s(host='%.*s', vers=%u, proto=%s)\n", __func__, > > > (int)hostname_len, hostname, rqstp->rq_vers, > > > (rqstp->rq_prot == IPPROTO_UDP ? "udp" : "tcp")); > > > > > > > Why wasn't this one applied? It looks correct to me. The rest seem to > > have been fixed already. > > > > I did not send this patch to Jeff. > Jeff was CC'ed on the patch I sent to Miklos > and Miklos decided to only take the overlayfs bits: > https://marc.info/?l=linux-unionfs&m=153847248625015&w=2 > > So I guess it has fallen between the cracks. > Feel free to send a patch to Jeff. > > Thanks, > Amir. Actually, this should probably go to Bruce, as he mostly takes care of lockd. Patch looks correct though. Thanks, -- Jeff Layton