[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180626011836.GM11011@yexl-desktop>
Date: Tue, 26 Jun 2018 09:18:36 +0800
From: kernel test robot <lkp@...el.com>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
LKP <lkp@...org>
Subject: [lkp-robot] [bisect done] 51bad67ffb [ 2.125035] int3: 0000 [#1]
SMP DEBUG_PAGEALLOC
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/debug
commit 51bad67ffbce0aaa44579f84ef5d05597054ec6a
Author: Alexey Dobriyan <adobriyan@...il.com>
AuthorDate: Tue May 8 00:37:55 2018 +0300
Commit: Ingo Molnar <mingo@...nel.org>
CommitDate: Mon May 14 11:43:03 2018 +0200
x86/asm: Pad assembly functions with INT3 instructions
Use INT3 instead of NOP. All that padding between functions is
an illegal area, no legitimate code should jump into it.
I've checked x86_64 allyesconfig disassembly, all changes looks sane:
INT3 is only used after RET or unconditional JMP.
Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
Acked-by: H. Peter Anvin <h.peter.anvin@...el.com>
Acked-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Brian Gerst <brgerst@...il.com>
Cc: Denys Vlasenko <dvlasenk@...hat.com>
Cc: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: http://lkml.kernel.org/r/20180507213755.GA32406@avx2
Signed-off-by: Ingo Molnar <mingo@...nel.org>
e0f6d1a526 x86/vdso: Remove unused file
51bad67ffb x86/asm: Pad assembly functions with INT3 instructions
2302d8647a objtool: Detect assembly code falling through to INT3 padding
7a36b8fc16 Merge branch 'WIP.x86/debug'
0468ba62dc Add linux-next specific files for 20180613
+------------------------------------------+------------+------------+------------+------------+---------------+
| | e0f6d1a526 | 51bad67ffb | 2302d8647a | 7a36b8fc16 | next-20180613 |
+------------------------------------------+------------+------------+------------+------------+---------------+
| boot_successes | 37 | 0 | 0 | 0 | 13 |
| boot_failures | 0 | 15 | 26 | 19 | |
| int3:#[##] | 0 | 15 | 26 | 19 | |
| EIP:ret_from_exception | 0 | 15 | 26 | 19 | |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 15 | 26 | 19 | |
+------------------------------------------+------------+------------+------------+------------+---------------+
[ 2.120938] registered taskstats version 1
[ 2.121341] page_owner is disabled
[ 2.123093] debug: unmapping init [mem 0xc1bfc000-0xc1c94fff]
[ 2.123717] Write protecting the kernel text: 7808k
[ 2.124228] Write protecting the kernel read-only data: 3492k
[ 2.125035] int3: 0000 [#1] SMP DEBUG_PAGEALLOC
[ 2.125453] Modules linked in:
[ 2.125732] CPU: 0 PID: 1 Comm: init Not tainted 4.17.0-rc3-00048-g51bad67 #2
[ 2.126400] EIP: ret_from_exception+0x17/0x20
[ 2.126787] EFLAGS: 00000246 CPU: 0
[ 2.127099] EAX: 00000003 EBX: 00000000 ECX: 00000001 EDX: 00000100
[ 2.127654] ESI: 00000000 EDI: c1039a7f EBP: 51c45fac ESP: d1c45fac
[ 2.128205] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 2.128685] CR0: 80050033 CR2: b7f38da8 CR3: 105cc000 CR4: 000006d0
[ 2.129236] Call Trace:
[ 2.129475] Code: ff ff c7 44 24 18 00 00 00 00 eb d1 cc cc cc cc cc cc cc cc 8b 44 24 38 8a 44 24 34 25 03 00 02 00 83 f8 03 0f 82 ed 00 00 00 cc <cc> cc cc cc cc cc cc cc cc fa 8d b6 00 00 00 00 e8 da 42 86 ff
[ 2.131228] EIP: ret_from_exception+0x17/0x20 SS:ESP: 0068:d1c45fac
[ 2.131825] ---[ end trace 3c916ada3f4fdee3 ]---
[ 2.132241] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 2c9d78ec0b7637dc19587260a32c8d6ea9519f29 29dcea88779c856c7dc92040a0c01233263101d4 --
git bisect good a5eae99e2c751a89f128207942cbf7acde75aacf # 05:44 G 10 0 0 0 Merge 'linux-review/Paul-Kocialkowski/Revert-drm-sun4i-Handle-DRM_BUS_FLAG_PIXDATA_-EDGE/20180613-162350' into devel-spot-201806140237
git bisect good 4058081f1acc44e3bcd7887b0a1216868b9e5400 # 06:09 G 10 0 0 0 Merge 'linux-review/Peng-Donglin/ARM-dump-Convert-to-use-DEFINE_SHOW_ATTRIBUTE-macro/20180613-092058' into devel-spot-201806140237
git bisect good 89db98eeb46e17ab01a4314df6ad2ade3ad05daf # 06:26 G 10 0 0 0 Merge 'linux-review/Nishanth-Menon/ARM-DRA7-OMAP5-Enable-ACTLR-0-Enable-invalidates-of-BTB-for-secondary-cores/20180613-053953' into devel-spot-201806140237
git bisect bad 048def10812f8734e06678c6f9d2c7d0646309a5 # 06:40 B 0 5 19 0 Merge 'linux-review/Richard-Weinberger/ubifs-Fix-memory-leak-in-lprobs-self-check/20180613-025142' into devel-spot-201806140237
git bisect good f17c96283b0eecea42f1bfaaebe9ff2be085201e # 07:06 G 11 0 0 2 Merge 'linux-review/Brian-Norris/power-supply-sbs-battery-don-t-assume-MANUFACTURER_DATA-formats/20180613-042318' into devel-spot-201806140237
git bisect bad 2a2f4b7863cd06e02fa654db300fa07b7b611cac # 07:23 B 0 8 22 0 Merge 'kas/mktme/wip' into devel-spot-201806140237
git bisect good ac72544d72ab0891bfc79645483c80d1e64cd212 # 07:44 G 11 0 0 0 Merge branch 'x86/urgent'
git bisect bad 2a146a09a57809fc836bae4ab7a3cb06a30e2ad4 # 07:58 B 0 2 16 0 Merge branch 'WIP.x86/debug'
git bisect good 95cec4f426a3bf46ce45d4d3773d299da3d86c83 # 08:22 G 11 0 0 0 locking/atomics: Shorten the __atomic_op() defines to __op()
git bisect bad 2302d8647a112e0959fe2a10b0c0a9c154ac2dbc # 08:32 B 0 11 48 11 objtool: Detect assembly code falling through to INT3 padding
git bisect bad 158754d60cdb824383c44a79d2166d5344c7a395 # 08:46 B 0 11 25 0 objtool: Detect INT3 function padding
git bisect bad 51bad67ffbce0aaa44579f84ef5d05597054ec6a # 08:59 B 0 8 22 0 x86/asm: Pad assembly functions with INT3 instructions
# first bad commit: [51bad67ffbce0aaa44579f84ef5d05597054ec6a] x86/asm: Pad assembly functions with INT3 instructions
git bisect good e0f6d1a526b6adfa9ca3b336b83ece0eed345033 # 09:29 G 31 0 0 0 x86/vdso: Remove unused file
# extra tests on HEAD of linux-devel/devel-spot-201806140237
git bisect bad 2c9d78ec0b7637dc19587260a32c8d6ea9519f29 # 09:30 B 0 57 76 2 0day head guard for 'devel-spot-201806140237'
# extra tests on tree/branch tip/WIP.x86/debug
git bisect bad 2302d8647a112e0959fe2a10b0c0a9c154ac2dbc # 09:32 B 0 26 52 0 objtool: Detect assembly code falling through to INT3 padding
# extra tests with first bad commit reverted
git bisect good 49134cbde3cf85e155068e4dcc4863156f34283d # 09:48 G 11 0 0 0 Revert "x86/asm: Pad assembly functions with INT3 instructions"
# extra tests on tree/branch tip/master
git bisect bad 7a36b8fc167a756afba704c7182215db073a488d # 10:10 B 0 7 21 0 Merge branch 'WIP.x86/debug'
# extra tests on tree/branch linux-next/master
git bisect good 0468ba62dc097465dfee1e65f83a171985653d15 # 10:25 G 11 0 0 0 Add linux-next specific files for 20180613
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
Download attachment "dmesg-openwrt-lkp-nhm-dp2-10:20180614085858:i386-randconfig-c0-06140335:4.17.0-rc3-00048-g51bad67:2.gz" of type "application/gzip" (11137 bytes)
View attachment "reproduce-openwrt-lkp-nhm-dp2-10:20180614085858:i386-randconfig-c0-06140335:4.17.0-rc3-00048-g51bad67:2" of type "text/plain" (898 bytes)
View attachment "config-4.17.0-rc3-00048-g51bad67" of type "text/plain" (104417 bytes)
Powered by blists - more mailing lists