[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] bfcf4bd96c ("x86/irq/64: Split the IRQ stack into its own pages"): double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN



Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/stackguards

commit bfcf4bd96c127fa67275b54554bea089424601f8
Author:     Andy Lutomirski <luto@xxxxxxxxxx>
AuthorDate: Fri Jul 13 17:27:40 2018 -0700
Commit:     Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Fri Apr 5 09:23:30 2019 +0200

    x86/irq/64: Split the IRQ stack into its own pages
    
    Currently the IRQ stack is hardcoded as the first page of the percpu area,
    and the stack canary lives on the IRQ stack.  The former gets in the way of
    adding an IRQ stack guard page, and the latter is a potential weakness in
    the stack canary mechanism.
    
    Split the IRQ stack into its own private percpu pages.
    
    [ tglx: Make 64 and 32 bit share struct irq_stack ]
    
    Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxx>

1593e8b7e3  x86/irq/32: Handle irq stack allocation failure proper
bfcf4bd96c  x86/irq/64: Split the IRQ stack into its own pages
834dedd380  x86/irq/64: Remove stack overflow debug code
af9671e6ad  Merge branch 'perf/urgent'
+------------------------------------------+------------+------------+------------+------------+
|                                          | 1593e8b7e3 | bfcf4bd96c | 
834dedd380 | af9671e6ad |
+------------------------------------------+------------+------------+------------+------------+
| boot_successes                           | 31         | 0          | 0        
  | 8          |
| boot_failures                            | 2          | 11         | 11       
  | 3          |
| BUG:kernel_in_stage                      | 2          | 2          | 0        
  | 3          |
| double_fault:#[##]                       | 0          | 9          |          
  |            |
| RIP:interrupt_entry                      | 0          | 9          | 11       
  |            |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 9          | 11       
  |            |
| invalid_opcode:#[##]                     | 0          | 0          | 11       
  |            |
+------------------------------------------+------------+------------+------------+------------+

[    8.787903]  memory used by lock dependency info: 7899 kB
[    8.794327]  per task-struct memory footprint: 1920 bytes
[    8.806410] ACPI: Core revision 20190215
[    8.826246] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, 
max_idle_ns: 19112604467 ns
[    8.836106] hpet clockevent registered
[    8.837757] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN
[    8.839882] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 
5.1.0-rc3-00027-gbfcf4bd #1
[    8.842976] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
1.10.2-1 04/01/2014
[    8.858753] RIP: 0010:interrupt_entry+0xbb/0xd0
[    8.867595] Code: 00 02 00 00 74 02 0f 0b 58 48 8d 7c 24 08 65 ff 04 25 4c 
ee 01 00 75 1b 65 48 89 3c 25 f8 9f 00 00 65 48 8b 24 25 50 ee 01 00 <48> 3b 7c 
24 f8 74 02 0f 0b 57 ff 77 f8 e8 ca 13 60 fe c3 66 90 48
[    8.902603] RSP: 0000:ffff888059002000 EFLAGS: 00010056
[    8.912812] RAX: 1ffffffff0745f00 RBX: 0000000000000000 RCX: 0000000000000000
[    8.923404] RDX: 0000000000000000 RSI: ffffffff82a008ca RDI: ffffffff83a07cf8
[    8.926529] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[    8.929025] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[    8.931162] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[    8.943725] FS:  0000000000000000(0000) GS:ffff888019000000(0000) 
knlGS:0000000000000000
[    8.959095] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    8.966820] CR2: ffff888059001ff8 CR3: 0000000003a26000 CR4: 00000000000006b0
[    8.969912] Call Trace:
[    8.970864] ---[ end trace 6dd0cce45af54f3e ]---
[    8.972478] RIP: 0010:interrupt_entry+0xbb/0xd0

                                                          # HH:MM RESULT GOOD 
BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start a45b3649d85a7ed735803ebe50b0cefd39e202b2 
79a3aaa7b82e3106be97842dedfd8429248896e6 --
git bisect good cb030100ff36e2ca0582734ee7665e7a0560d884  # 17:16  G     11     
0    7   7  Merge 
'linux-review/Ming-Lei/block-clarify-that-bio_add_page-and-related-helpers-can-add-multi-pages/20190402-122152'
 into devel-hourly-2019040514
git bisect good 0b6c6764f5add44efa60ff6c62773f1b969c322e  # 17:42  G     11     
0    0   0  Merge 
'linux-review/Dan-Carpenter/kvm-vmx-Silence-a-shift-wrap-warning/20190325-175921'
 into devel-hourly-2019040514
git bisect good 694889d98fe7ad27139710ff6ac1ecca237cad60  # 17:54  G     11     
0    0   0  Merge 
'linux-review/Miquel-Raynal/usb-host-xhci-plat-Prevent-an-abnormally-restrictive-PHY-init-skipping/20190326-182118'
 into devel-hourly-2019040514
git bisect good 972b31f1074bf48850b5838e7dd07e39c2f0a28e  # 18:10  G     10     
0    0   0  Merge 
'linux-review/Chris-Wilson/drm-i915-Fixup-kerneldoc-for-intel_cdclk_needs_cd2x_update/20190404-162941'
 into devel-hourly-2019040514
git bisect good 7076ae7c9e44ffcc6595efac92a5af9bddefad7f  # 18:24  G     11     
0    9   9  Merge 
'linux-review/Simon-Ser/drm-i915-add-immutable-zpos-plane-properties/20190330-145029'
 into devel-hourly-2019040514
git bisect good b5542826501e00b0262366df16f4a36fa9d05aa0  # 18:46  G     11     
0    0   0  Merge 
'linux-review/Jos-Roberto-de-Souza/drm-i915-icl-Fix-VEBOX-mismatch-BUG_ON/20190327-103233'
 into devel-hourly-2019040514
git bisect  bad 47c6427db42cced58b3db988a5b2c66a925ddedd  # 18:55  B      0    
10   24   0  Merge 'tip/WIP.x86/stackguards' into devel-hourly-2019040514
git bisect good 4f234e8466886f67827a6884c842b252c987700b  # 19:13  G     11     
0    3   3  Merge 
'linux-review/Dan-Carpenter/drm-i915-selftests-Fix-an-IS_ERR-vs-NULL-check/20190326-144653'
 into devel-hourly-2019040514
git bisect good 532b6ea509e08b1a4f5a85bab6c8850e00acd587  # 19:38  G     11     
0    4   4  Merge 
'linux-review/Vandita-Kulkarni/drm-i915-icl-Ungate-ddi-clocks-before-IO-enable/20190325-234604'
 into devel-hourly-2019040514
git bisect good b296ea01e0f7dd935bd875af79a664faacbe60e1  # 19:59  G     11     
0    2   2  Merge 
'linux-review/Micha-Winiarski/Revert-drm-i915-Introduce-private-PAT-management/20190325-231917'
 into devel-hourly-2019040514
git bisect good 89b188687a3970cd6966194eb1514ba33a9295f1  # 20:19  G     11     
0    3   3  x86/cpu: Prepare TSS.IST setup for guard pages
git bisect good a7ff04550f803dd3ceb9c0c96a7b167c4482a6ca  # 20:37  G     11     
0    0   0  x86/irq/32: Make irq stack a character array
git bisect good 1593e8b7e3841322ea7cbfdf62ff2d8a2e76018e  # 20:52  G     10     
0    0   0  x86/irq/32: Handle irq stack allocation failure proper
git bisect  bad 2dfb90e9458e9b7d55f6ca7631ef5f9594f2556a  # 21:08  B      0    
10   24   0  x86/irq/64: Remap the IRQ stack with guard pages
git bisect  bad bfcf4bd96c127fa67275b54554bea089424601f8  # 21:18  B      0     
7   21   0  x86/irq/64: Split the IRQ stack into its own pages
# first bad commit: [bfcf4bd96c127fa67275b54554bea089424601f8] x86/irq/64: 
Split the IRQ stack into its own pages
git bisect good 1593e8b7e3841322ea7cbfdf62ff2d8a2e76018e  # 21:28  G     30     
0    1   2  x86/irq/32: Handle irq stack allocation failure proper
# extra tests with debug options
git bisect  bad bfcf4bd96c127fa67275b54554bea089424601f8  # 21:45  B      0     
8   22   0  x86/irq/64: Split the IRQ stack into its own pages
# extra tests on HEAD of linux-devel/devel-hourly-2019040514
git bisect  bad a45b3649d85a7ed735803ebe50b0cefd39e202b2  # 21:46  B      0    
13   30   0  0day head guard for 'devel-hourly-2019040514'
# extra tests on tree/branch tip/WIP.x86/stackguards
git bisect  bad 834dedd380c079e8d7d68cf16511ba9608d0ebf1  # 22:00  B      0    
11   25   0  x86/irq/64: Remove stack overflow debug code
# extra tests on tree/branch tip/master
git bisect good af9671e6adba5250cf553a0024a9af773cd133ba  # 22:16  G     11     
0    3   3  Merge branch 'perf/urgent'

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/lkp                          Intel Corporation

Attachment: dmesg-quantal-vm-quantal-214:20190405211820:x86_64-randconfig-a0-04051600:5.1.0-rc3-00027-gbfcf4bd:1.gz
Description: application/gzip

Attachment: dmesg-quantal-vm-quantal-706:20190405205519:x86_64-randconfig-a0-04051600:5.1.0-rc3-00026-g1593e8b:2.gz
Description: application/gzip

Attachment: reproduce-quantal-vm-quantal-214:20190405211820:x86_64-randconfig-a0-04051600:5.1.0-rc3-00027-gbfcf4bd:1
Description: Text document

Attachment: config-5.1.0-rc3-00027-gbfcf4bd
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.