lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+fCnZfzA8f2rjq0CAYBvGtQLxZKOWk+3BWwjrdP-T-ncdeLpg@mail.gmail.com>
Date: Mon, 24 Mar 2025 22:58:21 +0100
From: Andrey Konovalov <andreyknvl@...il.com>
To: Maciej Wieczor-Retman <maciej.wieczor-retman@...el.com>
Cc: Florian Mayer <fmayer@...gle.com>, Vitaly Buka <vitalybuka@...gle.com>, kees@...nel.org, 
	julian.stecklina@...erus-technology.de, kevinloughlin@...gle.com, 
	peterz@...radead.org, tglx@...utronix.de, justinstitt@...gle.com, 
	catalin.marinas@....com, wangkefeng.wang@...wei.com, bhe@...hat.com, 
	ryabinin.a.a@...il.com, kirill.shutemov@...ux.intel.com, will@...nel.org, 
	ardb@...nel.org, jason.andryuk@....com, dave.hansen@...ux.intel.com, 
	pasha.tatashin@...een.com, guoweikang.kernel@...il.com, dwmw@...zon.co.uk, 
	mark.rutland@....com, broonie@...nel.org, apopple@...dia.com, bp@...en8.de, 
	rppt@...nel.org, kaleshsingh@...gle.com, richard.weiyang@...il.com, 
	luto@...nel.org, glider@...gle.com, pankaj.gupta@....com, 
	pawan.kumar.gupta@...ux.intel.com, kuan-ying.lee@...onical.com, 
	tony.luck@...el.com, tj@...nel.org, jgross@...e.com, dvyukov@...gle.com, 
	baohua@...nel.org, samuel.holland@...ive.com, dennis@...nel.org, 
	akpm@...ux-foundation.org, thomas.weissschuh@...utronix.de, surenb@...gle.com, 
	kbingham@...nel.org, ankita@...dia.com, nathan@...nel.org, ziy@...dia.com, 
	xin@...or.com, rafael.j.wysocki@...el.com, andriy.shevchenko@...ux.intel.com, 
	cl@...ux.com, jhubbard@...dia.com, hpa@...or.com, 
	scott@...amperecomputing.com, david@...hat.com, jan.kiszka@...mens.com, 
	vincenzo.frascino@....com, corbet@....net, maz@...nel.org, mingo@...hat.com, 
	arnd@...db.de, ytcoode@...il.com, xur@...gle.com, morbo@...gle.com, 
	thiago.bauermann@...aro.org, linux-doc@...r.kernel.org, 
	kasan-dev@...glegroups.com, linux-kernel@...r.kernel.org, 
	llvm@...ts.linux.dev, linux-mm@...ck.org, 
	linux-arm-kernel@...ts.infradead.org, x86@...nel.org
Subject: Re: [PATCH v2 13/14] x86: runtime_const used for KASAN_SHADOW_END

On Mon, Mar 24, 2025 at 11:50 AM Maciej Wieczor-Retman
<maciej.wieczor-retman@...el.com> wrote:
>
> >So I assume that if outline mode works, inline mode should be fine as far as
> >kernel is concerned? If so perhaps it will be more time efficient to post v3 of
> >this series (once I'm done with kasan_non_canonical_hook() edge cases and
> >unpoisoning per-cpu vms[areas] with the same tag) and work on the clang side
> >later / in the meantime.

Generally, yes.

The inline mode also might require adding some __no_sanitize_address
annotations. Typically for lower-level function that get messed up by
the inline instrumentation. But the annotations previously added for
the Generic mode would work for SW_TAGS as well, unless SW_TAGS
instrumentation touches some other low-level code.

> Oh, I guess I also need to add a patch to handle the int3 (X86_TRAP_BP) so
> kasan reports show up in inline mode.

Ah, yes, for SW_TAGS, need an appropriate handler here.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ