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] [thread-next>] [day] [month] [year] [list]
Message-ID: <fd604ae0-5630-4745-acf2-1e51c69cf0c0@roeck-us.net>
Date: Thu, 11 Apr 2024 08:05:39 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Naresh Kamboju <naresh.kamboju@...aro.org>,
	David Gow <davidgow@...gle.com>, Will Deacon <will@...nel.org>,
	mic@...ikod.net, keescook@...omium.org, rmoar@...gle.com,
	lkft-triage@...ts.linaro.org, kunit-dev@...glegroups.com,
	linux-kernel@...r.kernel.org, peterz@...radead.org,
	mingo@...hat.com, longman@...hat.com, boqun.feng@...il.com,
	anders.roxell@...aro.org, arnd@...db.de,
	Linux Kernel Functional Testing <lkft@...aro.org>
Subject: Re: BUG: KASAN: null-ptr-deref in _raw_spin_lock_irq next-20240410

On Thu, Apr 11, 2024 at 06:00:25PM +0300, Dan Carpenter wrote:
> On Thu, Apr 11, 2024 at 08:20:55PM +0530, Naresh Kamboju wrote:
> > 
> > I use to notice kernel panic while running kunit tests
> > now I have noticed this
> > 
> > Unable to handle kernel paging request at virtual address
> > KASAN: null-ptr-deref in range
> > pc : kunit_test_null_dereference (lib/kunit/kunit-test.c:119)
> > lr : kunit_generic_run_threadfn_adapter (lib/kunit/try-catch.c:31)
> > 
> > The kunit tests run to completion and the system is stable.
> > Kernel did not panic.
> > 
> 
> [ Snip ]
> 
> > <0>[   76.808597] Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
> > <4>[   76.809876] Modules linked in:
> > <4>[   76.812055] CPU: 1 PID: 567 Comm: kunit_try_catch Tainted: G
> > B            N 6.9.0-rc3-next-20240410 #1
> > <4>[   76.812987] Hardware name: linux,dummy-virt (DT)
> > <4>[   76.814123] pstate: 12400009 (nzcV daif +PAN -UAO +TCO -DIT
> > -SSBS BTYPE=--)
> > <4>[ 76.814947] pc : kunit_test_null_dereference (lib/kunit/kunit-test.c:119)
>                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> This is a new intentional NULL dereferencer that was added yesterday.
> 
> Maybe these should have a big printk, "Intentional NULL dereference
> coming up!\n".
> 

Can the backtrace be suppressed, similar to the warnings suppression I am
working on ?

Thanks,
Guenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ