Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1696737
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Daniel Micay <danielmicay@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c |
| Date | Wed, 26 Jul 2017 04:40:02 +0200 |
| Message-ID | <u7koW-2PE-5@gated-at.bofh.it> (permalink) |
| References | <u58Lf-cj-1@gated-at.bofh.it> <u5aWK-1Uo-11@gated-at.bofh.it> <u7hAJ-Za-3@gated-at.bofh.it> <u7idr-1t6-1@gated-at.bofh.it> <u7iwO-1zY-41@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=u2PClPbAGhSmCJYZ3kQn6IcIbrx51+Bod2D4ZtSRv7g=; b=lo/nkxDwfbRqmZTvet2xBBBbReLnQf75rYZeWZ+Gd7w7qfWL/hw6ODBlxGIU+i+8/L M0HFwONh8i0RODGS45W19mLS7/VaEL/exGIU+PJfu52ZAB5y8/JDdMaif9S4oYUB2CPL gyJfKqUrNerEh/B62anH40F1JJrh3KyAIDNI1EDnpTm059KBcKiRCdsLlLjB/5RFIi83 +pm6EwrDANM2UigRc7FTaT0TiMeRhgB+Stc7ESWmcHg0qr0ucflyWMwVjVXkVmcm0G8g xfS2NKinZIV+9Ou4tKbuqUUa2+OEAZDGaNgnPIFJrGWh47D0R+PqrQ/tXYXt7oCGpeuv MVFg== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=u2PClPbAGhSmCJYZ3kQn6IcIbrx51+Bod2D4ZtSRv7g=; b=lfn+QPxBFVidAEmLjgyUoe3jdIr5PC1iXVBKl/Xr17GtUNwlJSx3+0Zt/th45VVqTp xylARDamtXZVQBoL5qHGvyDARK+HIKjE+12stsa7SrrkPhssdjQcTdMZoDPVpyLQclVI yav6HSP3dfDPmItDIkidQmQTfLV/Jz49tBtfK4X8FcvoIlJii4HgZawmvT+4+BTpdM8a g26CXJHU9ngTS5sq1nKdS78Wo4Qjh+uIYXrweLmWOjbnHN33dNY2IwHZkU2X4Z/9Dz3B DjRPguCICK4MTkbmbZRuPif5gZQtkCZNfsNeSAvdICAxHrLB73B6/G79c2umaZcxfkED kY1Q== |
| X-Gm-Message-State | AIVw1100gvQnjbXcxUCfyhQ7jewhMpXK46ZPbKxNK5CReThj0TJutLMa EVP/p4V51+jDbA== |
| X-Received | by 10.107.59.200 with SMTP id i191mr5276849ioa.59.1501036675792; Tue, 25 Jul 2017 19:37:55 -0700 (PDT) |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.24.4 |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 14 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | kernel test robot <xiaolong.ye@intel.com>, Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>, Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>, Masami Hiramatsu <mhiramat@kernel.org>, Arnd Bergmann <arnd@arndb.de>, Mark Rutland <mark.rutland@arm.com>, Daniel Axtens <dja@axtens.net>, Rasmus Villemoes <linux@rasmusvillemoes.dk>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Chris Metcalf <cmetcalf@ezchip.com>, Thomas Gleixner <tglx@linutronix.de>, "H. Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@elte.hu>, Andrew Morton <akpm@linux-foundation.org>, LKML <linux-kernel@vger.kernel.org>, LKP <lkp@01.org>, Joe Perches <joe@perches.com> |
| X-Original-Date | Tue, 25 Jul 2017 22:37:52 -0400 |
| X-Original-Message-ID | <1501036672.1196.5.camel@gmail.com> |
| X-Original-References | <20170720014238.GH27396@yexl-desktop> <CA+55aFwuebKQ0-sAiRJWpMcaVJ8MjXvCg56DO5q8jMiPDXvc8A@mail.gmail.com> <CAGXu5jKxBsJGQHx4Wx24iOBZy5raf0s0iDJ2J+EQOGTrVx9-nw@mail.gmail.com> <CA+55aFwZUzAkiv4tkO1r9eoqQcO9uyFnqQbMp=QKRvhCbR-FfQ@mail.gmail.com> <CAGXu5j+=WqBwLu3L8Um=5jfT=KOZX-GP0Nn1A9b8VZrYgiE+8Q@mail.gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1696737 |
Show key headers only | View raw
It was known that there are going to be bugs to work through, many of them relatively benign like the leaks of data near string constants (probably other string constants) in rodata. It makes sense to have it default to WARN with BUG / noreturn as a non-default configuration option for it, I guess with !COMPILE_TEST like UBSAN_SANITIZE_ALL. I don't think there's any sane way to bound the length of either reads / writes. It needs to either WARN + continue on into doing the overflow or use BUG. Trying to correct it might make things worse and would make this more complicated / bug-prone. It already has enough subtle edge cases to deal with. I think 'benign' is a better term than 'false positive' because there hasn't been a non-bug found yet. They're mostly not security vulns but they're undefined behavior.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-20 06:10 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Daniel Micay <danielmicay@gmail.com> - 2017-07-20 06:50 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-20 15:50 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-20 18:00 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-20 20:50 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-21 00:30 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-21 05:40 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Ye Xiaolong <xiaolong.ye@intel.com> - 2017-07-21 04:10 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Kees Cook <keescook@chromium.org> - 2017-07-21 07:50 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-07-21 11:20 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Petr Mladek <pmladek@suse.com> - 2017-07-21 12:10 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Kees Cook <keescook@chromium.org> - 2017-07-26 01:40 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-26 02:20 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Kees Cook <keescook@chromium.org> - 2017-07-26 02:40 +0200
Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c Daniel Micay <danielmicay@gmail.com> - 2017-07-26 04:40 +0200
csiph-web