Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3738580pxk; Tue, 29 Sep 2020 05:11:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDDbljHU4DsSmuVWj5p8pGBk3KUMaXdWTd+g6dkcZkXgx87aOuYeLgkl4ZEqbfFk1Xh07d X-Received: by 2002:a50:d61e:: with SMTP id x30mr2816667edi.70.1601381512789; Tue, 29 Sep 2020 05:11:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601381512; cv=none; d=google.com; s=arc-20160816; b=wI7yyI6dhWBPnn9ZJ9Y/ggM/yA09Zu5BEHA22i0hFuloqS2z6vvCUFbTMsoD0YqcKn rwCKhQ2djKMdLk6V3CsC76ty5UF/QZ9VQ7fjLzglmSsc1jcO98R22nbZOPnbI6FGbcRR YF3wGcPjLu+Auvac/hhWlnBfbFE0cfBzPFBdS0w8rE4Yv1eEE1+onZ6Gh5FnGib5jQ8n rrC3NIt4j7QhaApjyuKp5yHiqrClzgaLzbrQU8ssgnSQXdSl3lK7q76Px6Y3M6/Nt0Mm DIEJKtIJ8ViPegBQJrO4pA/PdHmKhZLuDQkFfTeOo51o1ctkTi12uyZDy7PvkrzlS0EJ EsHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=z4lbCBkD9u0QTwO1EvR/PP7ZMkc8zCFTfP2jUjFJnWw=; b=GtDoqE6fMBqNRdSxzBJJeRj745Z0NCQ/6UhzPM8x/nD2qCKZtpA/4H5LHkdJ0fuBWo RMZglpCISD3O5wx0GcXUbb7V2iTd5wZySJ4sc+eJK/tvkao6iRVYyRxK3K8fL/Zoi4lz YbW3EcVnLAAAXo2llnYeyrUUBFt5qpxxrON9sHvzT04C8hmsDAqvgHGKTbMydAL1vVv2 iSJdk6Gv2xAYJT0muNw7jxCRNBoExuYp3wD6KkhnawC31NWppnPcflnKWbsA/ITikVMN qeXfOK/FOmfgdmaoPvM24GjuWlTSIUH9zzjXFn5SNgCiPXccuJX/65nWcWvv7OGWdF5+ RlTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=TOaQYph0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w2si2815869edt.253.2020.09.29.05.11.30; Tue, 29 Sep 2020 05:11:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=TOaQYph0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730824AbgI2MKe (ORCPT + 99 others); Tue, 29 Sep 2020 08:10:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:35170 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730237AbgI2MKS (ORCPT ); Tue, 29 Sep 2020 08:10:18 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1601381417; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=z4lbCBkD9u0QTwO1EvR/PP7ZMkc8zCFTfP2jUjFJnWw=; b=TOaQYph0bWqhd2RuxIu8nZ5wdP3RN/HUuoeCgmVhWffelErziW2h5FND2A9IwRKRTxOVi4 Sfqh3pi/4aykxiKrDBCS6apNySuob+NfSmSVW+KsTogAH7QALFDGleOhXcn4wG7ZrnrYku gLt9o67O99KYzJZVxvLhGlndIqhQjB0= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 102BFADC5; Tue, 29 Sep 2020 12:10:17 +0000 (UTC) Date: Tue, 29 Sep 2020 14:10:16 +0200 From: Petr Mladek To: Sergey Senozhatsky Cc: Dmitry Vyukov , LKML , Steven Rostedt , John Ogness Subject: Re: KASAN: global-out-of-bounds in console_unlock Message-ID: <20200929121016.GR6442@alley> References: <20200928020752.GA871730@jagdpanzerIV.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200928020752.GA871730@jagdpanzerIV.localdomain> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2020-09-28 11:07:52, Sergey Senozhatsky wrote: > Cc-ing John and Steven > > On (20/09/27 11:12), Dmitry Vyukov wrote: > > Hi printk maintainers, > > > > I've got the following out-of-bounds in printk code. > > This is on next-20200925. Config is attached. > > This is just on pr_cont("\n"). Something overreads the string. > > > > ================================================================== > > BUG: KASAN: global-out-of-bounds in memchr+0x65/0x80 lib/string.c:1058 > > Read of size 1 at addr ffffffff8c68c860 by task swapper/0/0 > > Thanks for the report. I think this should be fixed by > https://lore.kernel.org/lkml/20200926015526.8921-1-john.ogness@linutronix.de/ I agree with Sergey. This looks very much like the same problem. Best Regards, Petr