Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754303AbdLDOId (ORCPT ); Mon, 4 Dec 2017 09:08:33 -0500 Received: from www262.sakura.ne.jp ([202.181.97.72]:11845 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752339AbdLDOIb (ORCPT ); Mon, 4 Dec 2017 09:08:31 -0500 To: sds@tycho.nsa.gov, bot+015afdb01dbf2abb6a6bfdd5430b72e5503fca6d@syzkaller.appspotmail.com, linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov, syzkaller-bugs@googlegroups.com Cc: linux-kernel@vger.kernel.org, dledford@redhat.com, mka@chromium.org, junil0814.lee@lge.com, kyeongdon.kim@lge.com Subject: Re: KASAN: slab-out-of-bounds Read in strcmp From: Tetsuo Handa References: <001a113f711a721c58055f052200@google.com> <089e08259d282c063e055f4bddbd@google.com> <97d6bab0-d278-9945-5d82-a0a76b8b78c5@I-love.SAKURA.ne.jp> <1512395025.20988.3.camel@tycho.nsa.gov> In-Reply-To: <1512395025.20988.3.camel@tycho.nsa.gov> Message-Id: <201712042307.ACI78163.JOVFOLOtHFMFSQ@I-love.SAKURA.ne.jp> X-Mailer: Winbiff [Version 2.51 PL2] X-Accept-Language: ja,en,zh Date: Mon, 4 Dec 2017 23:07:56 +0900 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 264 Lines: 10 Stephen Smalley wrote: > > Thus, I guess the simplest fix is to use strncmp() instead of > > strcmp(). > > Already fixed by > https://www.spinics.net/lists/selinux/msg23589.html > OK, I thought everyone was too busy. I would appreciate if you responded to all.