Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1398603pxb; Fri, 26 Feb 2021 09:41:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/i0OCPVDG48tRGaQQVfk5R9UYh5Z8zPbZNG+CwxNJXOq4DJBNMbfSkqnVMY9ekcYL1q49 X-Received: by 2002:aa7:cf16:: with SMTP id a22mr4556998edy.288.1614361300204; Fri, 26 Feb 2021 09:41:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614361300; cv=none; d=google.com; s=arc-20160816; b=y704MlTj1gpFuDadZmaTwhgX2rSxGc/NFNfdBNnmrRIQxMQLBnXs9iuyO2yNWk/Fcg SGhejxHqNeIhSnq3rk7dOZ0k4k6WWCnH5FndzlQJ5bXJ70ZJLwy2T5ybumiuds2Z3trP rTscPtyWEc7GI/xGUte+1f6oJOscPrnu4uJdmfnayXfupIgPWgJItRPsS/JDJFv9989j Lvn4gJiGphRBCvza/zFaNXQuZWu66Isl/58XEpMXDnyPXQ0K0ZBGfSXlWkUYdbofAQT7 eMve/tVGVaFyXOovmyZv3uhd4cN+KBo/kcTm79T8Y/SzUl3b+yoTxjzxSl2FuhPM34/P ehPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=/BuqB3Oqx0tX4WNfP6KKpm8RPYgYW/KLWsgiNVhvs3E=; b=z8PTNIgYm5d033lI8LGgBZksUCtDg0fo6gHZAwShd0XKQpfSqmSSCm+/MbxvjyBaTk 3IdkFZnTFa/QSf+xL3LR7RjIg3d3ZymC6XmTHMi0KcOSwDp2PQ7pfGHZ397hmPsAZiAZ ynmr32y/V4pU2nEnRyqJQ8jV8I30lEO1bbW/Ao6dTc/tiQ0HlJ4MGdJaDH8TXJLz0kdj YG2pCrcPMXMIqtwlXZdYhK5Ngzmb0qpyAKuqkbXWVTMqfhd9b8/W2pEq9mZVph4ODHs6 +La7AJrAtWFGuqKqu2ZkwtV4RGcQQAHcVV5AHjvaC2WyN6rUbbK3ukyNfxlQHM6ACi3c +1Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=x7KrW2yk; dkim=neutral (no key) header.i=@linutronix.de header.b=GrxkUzIu; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp9si5820333ejc.345.2021.02.26.09.41.15; Fri, 26 Feb 2021 09:41:40 -0800 (PST) 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=@linutronix.de header.s=2020 header.b=x7KrW2yk; dkim=neutral (no key) header.i=@linutronix.de header.b=GrxkUzIu; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229953AbhBZRj4 (ORCPT + 99 others); Fri, 26 Feb 2021 12:39:56 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:44816 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229886AbhBZRj4 (ORCPT ); Fri, 26 Feb 2021 12:39:56 -0500 From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1614361153; 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=/BuqB3Oqx0tX4WNfP6KKpm8RPYgYW/KLWsgiNVhvs3E=; b=x7KrW2ykM4exs/iT7gBW0KuK7Q2QuqkHTQACVr+7TgroAD9Nhjf37tKbJRdMD2ZtuHoAKo r+tUgonAEXIQjU+VFiNdQ1Q9GFoKsjICFhYfvvg8rS3gX9Tf1L1qDuZScQOdQYyAvW0mGD 6VBSxhZEz0SqpJWEhMmUtQc/R2RvF/W55mQT2JBNUTMvFD2seAcOxhCZOAe4dpnT+djCM9 vXbpM0Sta7VdENd/+mCefiifPqcr1vxDClrORdb+w6jKqQGQdBQrQnMGs49m4Hqg5kTkR4 ipFq+US+IEujnctcyHU05WWJR2lJh3csQAJcR2DwnMM+M2wppl2DUPU5nzAB+w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1614361153; 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=/BuqB3Oqx0tX4WNfP6KKpm8RPYgYW/KLWsgiNVhvs3E=; b=GrxkUzIuAItpSsCg7WP1LZlRe7nFXWqayBjou22gY64xetZQI/mC6hQ8WauDI2VtGxxwfj Uv+/AOw6UhaORkCg== To: Alexander Gordeev Cc: Petr Mladek , Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , linux-kernel@vger.kernel.org, Sven Schnelle Subject: Re: [PATCH] printk: fix buffer overflow potential for print_text() In-Reply-To: <20210226171943.GA12088@oc3871087118.ibm.com> References: <20210114170412.4819-1-john.ogness@linutronix.de> <20210226171943.GA12088@oc3871087118.ibm.com> Date: Fri, 26 Feb 2021 18:39:13 +0100 Message-ID: <87ft1iwwxq.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-02-26, Alexander Gordeev wrote: > I am seeing KASAN reporting incorrect 1-byte access in exactly > same location Sven has identified before. In case there no > fix for it yet, please see below what happens in case of pretty > large buffer - WARN_ONCE() invocation in my case. It looks like you have not applied the fix yet: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=08d60e5999540110576e7c1346d486220751b7f9 John Ogness