Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4031189ybv; Mon, 10 Feb 2020 10:58:48 -0800 (PST) X-Google-Smtp-Source: APXvYqxoFWonJiurlG2gwwNvEAR8zNRv6J9+NDGiMRYGe80rTkTBkXhbHYNUjMOha5DYWuVsuVjh X-Received: by 2002:aca:b187:: with SMTP id a129mr301985oif.175.1581361128305; Mon, 10 Feb 2020 10:58:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581361128; cv=none; d=google.com; s=arc-20160816; b=Z3zSbsr5C93SsmJg+YaY3ptxP+C+BkgL9ABEZvxSUans/HDhnjKnlADRRRje8S8cvb dwI1fTHODcS778gFaCMiOeHgjScHCrIwvYxhAVYJsiXcvob4dr0Gkqm+C+ezfuOIz7VV xNVwxZtiLv8lZHBrx9l9FAcizGbCr4tivt+kMbCaqqrqCeMSMTeLe0/5KiqZrWrkC8Z0 AujJtDUaQRRb3ZcUQrMX21wEENsFEGPkSM5NRQaLw8Uo8vXX2Lpw+5McM46JpKmquBTE KjP0FEQ0HcabMvcuZk3zEE5/NQ75ht9hS8ZiqIYdHXfZDQxIuYmQKc91Vhh3ElTtZSG9 vcgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=PSmZeFJCMGTOzXs3oJspEZkIGM1dD8cmKnIsqsaXh5Y=; b=tmXI/v3XdaAONyx5gX0DAuC6xR4cLv2CJqOP5KWNvt5S8B9RVNJDNy+U+Y/wGQhJz4 dauIkLzLe7bNwgVO8yfTpM79hLQFc95fR+phNIRzhRsGmdKnc2x8RbmhBQrCnDtA7dFL rxY69Y9BpytrtrCH54MnhMvP18zKKJD9qRB/s+o5QhqAvjBBeNZUqyQinI1HzUSwCZeE sN9wymsmvyOToHJBKoy2/m/uI0dWD1qkqP3J2Y7bshreCQUqmu6K+y5wrDFwhSikV8W/ 8U3q1GHvadV2CLQ2e1VES3CXWx0RpDLiAWulSJR3d3mt2VvRWo9EosyaKqQiMgb79a2K Jajw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l2si579830oti.303.2020.02.10.10.58.36; Mon, 10 Feb 2020 10:58:48 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727682AbgBJS60 (ORCPT + 99 others); Mon, 10 Feb 2020 13:58:26 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:50192 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727079AbgBJS6Z (ORCPT ); Mon, 10 Feb 2020 13:58:25 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 0D4AF1C259A; Mon, 10 Feb 2020 19:58:24 +0100 (CET) Date: Mon, 10 Feb 2020 19:58:23 +0100 From: Pavel Machek To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, youling257 , linux-kernel@vger.kernel.org Subject: Re: [PATCH] scripts/kallsyms: fix memory corruption caused by write over-run Message-ID: <20200210185822.GA420@amd> References: <20200210161852.842-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <20200210161852.842-1-masahiroy@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2020-02-11 01:18:52, Masahiro Yamada wrote: > scripts/kallsyms crashes because memcpy() writes one more byte than > allocated. >=20 > Fixes: 8d60526999aa ("scripts/kallsyms: change table to store (strcut sym= _entry *)") > Reported-by: youling257 > Reported-by: Pavel Machek > Signed-off-by: Masahiro Yamada Tested-by: Pavel Machek Thanks! Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl5Bp84ACgkQMOfwapXb+vIjYQCfedtM2eZCZ29z9ojkk2B0W2ML 1xcAoKkKc3GstwIw7jiXhejvrEAuVRQe =ZKh/ -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--