Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git
next-queued-testing
commit 73589972b987abcb36813a01ef6cc36f47e16d2b
Author: Matthew Garrett <matthewgarrett(a)google.com>
AuthorDate: Tue Jun 4 13:38:59 2019 -0700
Commit: Mimi Zohar <zohar(a)linux.ibm.com>
CommitDate: Fri Jun 14 09:04:56 2019 -0400
IMA: support for per policy rule template formats
Admins may wish to log different measurements using different IMA
templates. Add support for overriding the default template on a per-rule
basis.
Inspired-by: Roberto Sassu <roberto.sassu(a)huawei.com>
Signed-off-by: Matthew Garrett <mjg59(a)google.com>
Signed-off-by: Mimi Zohar <zohar(a)linux.ibm.com>
e038f5f691 ima: Use designated initializers for struct ima_event_data
73589972b9 IMA: support for per policy rule template formats
+------------------------------------------------------------------------------------+------------+------------+
| |
e038f5f691 | 73589972b9 |
+------------------------------------------------------------------------------------+------------+------------+
| boot_successes | 35
| 0 |
| boot_failures | 0
| 14 |
| WARNING:suspicious_RCU_usage | 0
| 14 |
| include/linux/rcupdate.h:#Illegal_context_switch_in_RCU_read-side_critical_section | 0
| 14 |
| BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h | 0
| 14 |
+------------------------------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 4.995738] Loading compiled-in X.509 certificates
[ 4.997042] Key type big_key registered
[ 4.997726] Key type encrypted registered
[ 4.998298]
[ 4.998485] =============================
[ 4.998929] WARNING: suspicious RCU usage
[ 4.999441] 5.2.0-rc1-00012-g7358997 #1 Tainted: G T
[ 5.000117] -----------------------------
[ 5.000635] include/linux/rcupdate.h:268 Illegal context switch in RCU read-side
critical section!
[ 5.001865]
[ 5.001865] other info that might help us debug this:
[ 5.001865]
[ 5.009792]
[ 5.009792] rcu_scheduler_active = 2, debug_locks = 1
[ 5.010610] 1 lock held by swapper/1:
[ 5.011014] #0: abbdf1ec (rcu_read_lock){....}, at: lookup_template_desc+0x5/0x100
[ 5.011931]
[ 5.011931] stack backtrace:
[ 5.012477] CPU: 0 PID: 1 Comm: swapper Tainted: G T
5.2.0-rc1-00012-g7358997 #1
[ 5.013483] Call Trace:
[ 5.013768] ? ___might_sleep+0x148/0x2b0
[ 5.014278] ? __need_fs_reclaim+0x40/0x140
[ 5.014748] ? __kmalloc+0x287/0x480
[ 5.015144] ? __lock_acquire+0xa81/0x1470
[ 5.015674] ? template_desc_init_fields+0x1b4/0x330
[ 5.028826] ? template_desc_init_fields+0x1b4/0x330
[ 5.029509] ? lookup_template_desc+0x5/0x100
[ 5.029995] ? lookup_template_desc+0xa0/0x100
[ 5.030550] ? lookup_template_desc+0x5/0x100
[ 5.031040] ? ima_template_desc_current+0x3a/0x50
[ 5.031642] ? hash_setup+0x18/0x181
[ 5.032040] ? init_ima+0x29/0x15c
[ 5.032487] ? do_one_initcall+0x1c7/0x477
[ 5.032945] ? hash_setup+0x181/0x181
[ 5.033423] ? rcu_read_lock_sched_held+0x51/0x80
[ 5.033945] ? trace_initcall_level+0xc3/0xfb
[ 5.034496] ? kernel_init_freeable+0x132/0x274
[ 5.035000] ? kernel_init_freeable+0x163/0x274
[ 5.035565] ? rest_init+0x160/0x160
[ 5.035967] ? kernel_init+0xd/0x160
[ 5.036430] ? rest_init+0x160/0x160
[ 5.036832] ? schedule_tail_wrapper+0x6/0x8
[ 5.037372] ? rest_init+0x160/0x160
[ 5.037775] ? ret_from_fork+0x2e/0x38
[ 5.038260] BUG: sleeping function called from invalid context at mm/slab.h:418
[ 5.039339] in_atomic(): 1, irqs_disabled(): 0, pid: 1, name: swapper
[ 5.040078] 1 lock held by swapper/1:
[ 5.040549] #0: abbdf1ec (rcu_read_lock){....}, at: lookup_template_desc+0x5/0x100
[ 5.053930] CPU: 0 PID: 1 Comm: swapper Tainted: G T
5.2.0-rc1-00012-g7358997 #1
[ 5.054937] Call Trace:
[ 5.055290] ? ___might_sleep+0x26f/0x2b0
[ 5.055737] ? __kmalloc+0x287/0x480
[ 5.056127] ? __lock_acquire+0xa81/0x1470
[ 5.056682] ? template_desc_init_fields+0x1b4/0x330
[ 5.057374] ? template_desc_init_fields+0x1b4/0x330
[ 5.057980] ? lookup_template_desc+0x5/0x100
[ 5.058525] ? lookup_template_desc+0xa0/0x100
[ 5.059013] ? lookup_template_desc+0x5/0x100
[ 5.059555] ? ima_template_desc_current+0x3a/0x50
[ 5.060088] ? hash_setup+0x18/0x181
[ 5.060554] ? init_ima+0x29/0x15c
[ 5.060934] ? do_one_initcall+0x1c7/0x477
[ 5.061475] ? hash_setup+0x181/0x181
[ 5.061903] ? rcu_read_lock_sched_held+0x51/0x80
[ 5.062497] ? trace_initcall_level+0xc3/0xfb
[ 5.062978] ? kernel_init_freeable+0x132/0x274
[ 5.064310] ? kernel_init_freeable+0x163/0x274
[ 5.064814] ? rest_init+0x160/0x160
[ 5.065281] ? kernel_init+0xd/0x160
[ 5.065720] ? rest_init+0x160/0x160
[ 5.066112] ? schedule_tail_wrapper+0x6/0x8
[ 5.066660] ? rest_init+0x160/0x160
[ 5.067053] ? ret_from_fork+0x2e/0x38
[ 5.080761] ima: No TPM chip found, activating TPM-bypass!
[ 5.081464] ima: Allocated hash algorithm: sha512
[ 5.082048] No architecture policies found
[ 5.082687] evm: Initialising EVM extended attributes:
[ 5.083328] evm: security.capability
# HH:MM RESULT GOOD BAD
GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start fa1b32aac2e29b2ef314ac547d81147cb707a6ea
d1fdb6d8f6a4109a4263176c84b899076a5f8008 --
git bisect good 58a485c7c31bf0828bcd5fdd280b6e52368fdce3 # 15:16 G 11 0 0 1
Merge 'bpf/master' into devel-hourly-2019061610
git bisect good 65999b9750fdd5c133281a1655989470284a9fe4 # 15:37 G 10 0 0 1
Merge 'selinuxproject-selinux-kernel/next' into devel-hourly-2019061610
git bisect good 8402c97afc2d98a0db1df6bdd6d9d61ab6110114 # 15:52 G 11 0 2 3
Merge 'renesas/arm64-dt-for-v5.3' into devel-hourly-2019061610
git bisect good 52fd33ccad3f8e8cd8f95fc89f4f377e48d35481 # 18:28 G 10 0 5 5
Merge 'ast/sample_data' into devel-hourly-2019061610
git bisect bad c80b4b08f68ffcd81302a912543f4068cea382ed # 18:54 B 0 8 28 6
Merge 'cgroup/blkcg-fixes' into devel-hourly-2019061610
git bisect bad 5bb9441a375754c4a3fb2ce987d3f588e8a3efef # 18:54 B 0 13 27 0
Merge 'integrity/next-queued-testing' into devel-hourly-2019061610
git bisect good 3c2417a0d3d85bc2fd739fd349610ce6f30f17a4 # 18:54 G 10 0 0 1
Merge
'linux-review/Greg-Kroah-Hartman/drm-no-need-to-check-return-value-of-debugfs_create-functions/20190616-030906'
into devel-hourly-2019061610
git bisect good 9e1e5d4372d641d3cd6d6cb8dc0b488a7850d222 # 18:56 G 10 0 0 1
x86/ima: fix the Kconfig dependency for IMA_ARCH_POLICY
git bisect good b169424551930a9325f700f502802f4d515194e5 # 19:15 G 10 0 0 1
ima: use the lsm policy update notifier
git bisect bad 73589972b987abcb36813a01ef6cc36f47e16d2b # 19:49 B 0 10 28 4
IMA: support for per policy rule template formats
git bisect good e038f5f691e003af25cda0f1593d2cc0a4d1c866 # 20:23 G 10 0 1 2
ima: Use designated initializers for struct ima_event_data
# first bad commit: [73589972b987abcb36813a01ef6cc36f47e16d2b] IMA: support for per policy
rule template formats
git bisect good e038f5f691e003af25cda0f1593d2cc0a4d1c866 # 20:25 G 32 0 2 4
ima: Use designated initializers for struct ima_event_data
# extra tests with debug options
git bisect bad 73589972b987abcb36813a01ef6cc36f47e16d2b # 21:01 B 0 11 25 0
IMA: support for per policy rule template formats
# extra tests on HEAD of linux-devel/devel-hourly-2019061610
git bisect bad 86244c3541b45ce9bdebcfbd04c6d4718ab240e5 # 21:01 B 0 21 38 0
0day head guard for 'devel-hourly-2019061610'
# extra tests on tree/branch integrity/next-queued-testing
git bisect bad 73589972b987abcb36813a01ef6cc36f47e16d2b # 21:08 B 0 14 28 0
IMA: support for per policy rule template formats
# extra tests with first bad commit reverted
git bisect good 010ba19446d1b5d1cf0c1aebbba8cc171cacc35f # 21:47 G 10 0 0 0
Revert "IMA: support for per policy rule template formats"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation