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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 3 Jan 2021 21:50:13 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        lkp@...el.com
Subject: [x86]  14df326702: BUG:unable_to_handle_page_fault_for_address


Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 14df32670291588036a498051a54cd8462d7f611 ("x86: Support kmap_local() forced debugging")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+---------------------------------------------+------------+------------+
|                                             | 0e91a0c698 | 14df326702 |
+---------------------------------------------+------------+------------+
| boot_successes                              | 12         | 0          |
| boot_failures                               | 1          | 18         |
| BUG:kernel_hang_in_boot_stage               | 1          |            |
| BUG:unable_to_handle_page_fault_for_address | 0          | 18         |
| Oops:#[##]                                  | 0          | 18         |
| EIP:ioread32_rep                            | 0          | 18         |
| Kernel_panic-not_syncing:Fatal_exception    | 0          | 18         |
+---------------------------------------------+------------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>


[   10.551574] BUG: unable to handle page fault for address: fffbb000
[   10.552286] #PF: supervisor write access in kernel mode
[   10.552286] #PF: error_code(0x0002) - not-present page
[   10.552286] *pde = 07ae4067 *pte = 00000000 
[   10.552286] Oops: 0002 [#1] SMP
[   10.552286] CPU: 0 PID: 12 Comm: kworker/0:1 Tainted: G S                5.10.0-rc2-00078-g14df32670291 #2
[   10.552286] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[   10.552286] Workqueue: ata_sff ata_sff_pio_task
[   10.552286] EIP: ioread32_rep+0x3a/0x80
[   10.552286] Code: 78 15 8d b6 00 00 00 00 8b 10 83 e9 01 89 17 83 c7 04 83 f9 ff 75 f1 8b 7d fc c9 c3 8d 74 26 00 3d 00 00 01 00 76 11 0f b7 d0 <f3> 6d 8b 7d fc c9 c3 8d b4 26 00 00 00 00 8b 15 00 57 be c6 85 d2
[   10.552286] EAX: 00010170 EBX: 00000200 ECX: 00000080 EDX: 00000170
[   10.552286] ESI: fffbae80 EDI: fffbae80 EBP: c130be74 ESP: c130be70
[   10.552286] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010002
[   10.552286] CR0: 80050033 CR2: fffbb000 CR3: 06e92000 CR4: 000406d0
[   10.552286] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[   10.552286] DR6: fffe0ff0 DR7: 00000400
[   10.552286] Call Trace:
[   10.552286]  ata_sff_data_xfer32+0x75/0x140
[   10.552286]  ? __kmap_local_pfn_prot+0xf/0xb0
[   10.552286]  ata_pio_sector+0xa8/0x140
[   10.552286]  ata_pio_sectors+0x77/0x90
[   10.552286]  ata_sff_hsm_move+0xba/0x700
[   10.552286]  ? process_one_work+0x172/0x4e0
[   10.552286]  ata_sff_pio_task+0x9e/0x190
[   10.552286]  process_one_work+0x1ec/0x4e0
[   10.552286]  worker_thread+0x15e/0x3c0
[   10.552286]  kthread+0xee/0x120
[   10.552286]  ? process_one_work+0x4e0/0x4e0
[   10.552286]  ? kthread_delayed_work_timer_fn+0xa0/0xa0
[   10.552286]  ret_from_fork+0x19/0x24
[   10.552286] Modules linked in:
[   10.552286] CR2: 00000000fffbb000
[   10.552286] ---[ end trace 17dcbc9e82836976 ]---


To reproduce:

        # build kernel
	cd linux
	cp config-5.10.0-rc2-00078-g14df32670291 .config
	make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
Oliver Sang


View attachment "config-5.10.0-rc2-00078-g14df32670291" of type "text/plain" (130708 bytes)

View attachment "job-script" of type "text/plain" (4416 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (12512 bytes)

Powered by blists - more mailing lists