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]
Date: Wed, 8 May 2024 16:38:45 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: open list <linux-kernel@...r.kernel.org>, kunit-dev@...glegroups.com,
	lkft-triage@...ts.linaro.org, David Gow <davidgow@...gle.com>,
	Brendan Higgins <brendan.higgins@...ux.dev>,
	Guenter Roeck <linux@...ck-us.net>, Arnd Bergmann <arnd@...db.de>,
	Anders Roxell <anders.roxell@...aro.org>
Subject: Re: next: kasan: Unable to handle kernel paging request at virtual
 address

On Wed, May 08, 2024 at 04:59:10PM +0530, Naresh Kamboju wrote:
> While running kunit tests on arm64 and x86_64 the following kernel BUG
> noticed on running Linux next-20240508 kernel and stride tests failed.
> 
> observations:
> 1) The null pointer dereference notice while running kunit_test
> 2) The stride test case failed on today's linux next-20240508 tag.
> 
> The detailed log provided in the links below.
> 
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
> 
> Crash log:
> --------
> 
> <6>[   43.086497]     KTAP version 1
> <6>[   43.087004]     # Subtest: kunit_fault
> <6>[   43.087577]     # module: kunit_test
> <6>[   43.087748]     1..1
> <1>[   43.092588] Unable to handle kernel paging request at virtual
> address dfff800000000000
> <1>[   43.093687] KASAN: null-ptr-deref in range
> [0x0000000000000000-0x0000000000000007]
> <1>[   43.094770] Mem abort info:
> <1>[   43.095425]   ESR = 0x0000000096000005
> <1>[   43.097071]   EC = 0x25: DABT (current EL), IL = 32 bits
> <1>[   43.098034]   SET = 0, FnV = 0
> <1>[   43.098542]   EA = 0, S1PTW = 0
> <1>[   43.099104]   FSC = 0x05: level 1 translation fault
> <1>[   43.099837] Data abort info:
> <1>[   43.100679]   ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
> <1>[   43.101535]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
> <1>[   43.102321]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
> <1>[   43.103287] [dfff800000000000] address between user and kernel
> address ranges
> <0>[   43.105111] Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
> <4>[   43.106046] Modules linked in:
> <4>[   43.108961] CPU: 1 PID: 375 Comm: kunit_try_catch Tainted: G
>             N 6.9.0-rc7-next-20240508 #1
> <4>[   43.110433] Hardware name: linux,dummy-virt (DT)
> <4>[   43.111555] pstate: 82400009 (Nzcv daif +PAN -UAO +TCO -DIT
> -SSBS BTYPE=--)
> <4>[   43.113232] pc : kunit_test_null_dereference+0x2c/0x114
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
This function is supposed to dereference a NULL pointer.

regards,
dan carpenter


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ