add_event_to_context() warning

Found by

trinity and the 0day bug tester

Severity

Warning

First Seen

3.19-next

Most recently Seen

3.19-next

Reproducible

?

Found On

???

Linux-kernel

24 January 2015 -- [perf] WARNING: CPU: 0 PID: 1457 at kernel/events/core.c:890 add_event_to_ctx()

Introduced by

d26bb7f73a2881f2412c340a27438b185f0cc3dc

Fixed in

4.0 -- 2fde4f94e0a9531251e706fa57131b51b0df042e

Kernel Splat

  1. [   34.700861] ------------[ cut here ]------------
    [   34.701372] WARNING: CPU: 0 PID: 1457 at kernel/events/core.c:890 add_event_to_ctx+0x253/0x270()
    [   34.702515] CPU: 0 PID: 1457 Comm: trinity-main Not tainted 3.19.0-rc4-gd26bb7f #2
    [   34.702931]  00000000 00000000 c0911e2c cd8a61df c0911e48 cd052cfa 0000037a cd0d32f3
    [   34.702931]  c0c206d0 c0c20590 d3c9e0a0 c0911e58 cd052dd4 00000009 00000000 c0911e78
    [   34.702931]  cd0d32f3 d3c9e214 00000000 00000000 c0c20598 00000246 c0c50990 c0911e90
    [   34.702931] Call Trace:
    [   34.702931]  [] dump_stack+0x16/0x18
    [   34.702931]  [] warn_slowpath_common+0x6a/0xa0
    [   34.702931]  [] ? add_event_to_ctx+0x253/0x270
    [   34.702931]  [] warn_slowpath_null+0x14/0x20
    [   34.702931]  [] add_event_to_ctx+0x253/0x270
    [   34.702931]  [] inherit_event+0xef/0x240
    [   34.702931]  [] inherit_group+0x18/0x70
    [   34.702931]  [] ? alloc_perf_context+0x24/0x50
    [   34.702931]  [] perf_event_init_task+0x117/0x310
    [   34.702931]  [] copy_process+0x477/0x14f0
    [   34.702931]  [] do_fork+0xb3/0x430
    [   34.702931]  [] ? do_setitimer+0x13d/0x220
    [   34.702931]  [] ? alarm_setitimer+0x3a/0x60
    [   34.702931]  [] SyS_clone+0x1b/0x20
    [   34.702931]  [] syscall_call+0x7/0x7
    [   34.702931]  [] ? xen_chk_extra_mem+0x10/0x70
    [   34.702931] ---[ end trace 19d6cac21f26a758 ]---
    

Back to perf_fuzzer bugs found