linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [perf] fuzzer triggers "BUG: kernel NULL pointer dereference"
@ 2025-07-08 14:44 Vince Weaver
  2025-07-21 21:17 ` Vince Weaver
  0 siblings, 1 reply; 6+ messages in thread
From: Vince Weaver @ 2025-07-08 14:44 UTC (permalink / raw)
  To: linux-kernel, linux-perf-users
  Cc: Liang, Kan, Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Ian Rogers, Adrian Hunter

Hello

the perf_fuzzer can reliably trigger this on a 6.16-rc2 kernel.  It 
doesn't look obviously perf related but since the perf_fuzzer triggered it 
I thought I'd report it as a perf issue first.  I can work on a smaller 
test case but that might take a bit especially as the machine locks up 
super hard and requires being unplugged after it's triggered.

let me know if there's any other info I can provide.  The dump below is 
transcribed from a screenshot as I still haven't figured out a way to get 
a serial console on this Raptorlake system.

BUG: kernel NULL pointer dereference, address: 0000000000000008
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0
Oops: Oops: 0000 [#1] SMP NOPTI
CPU: 5 UID: 0 PID: 0 Comm: swapper/5 Not tainted 6.16.0-rc2+ #8 PREEMPT (voluntary)
Hardware name: Dell Inc. Precision 3660/0VJ7G2
RIP: 0010:rb_insert_color+0x18/0x130
Code: 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 07
RSP: 0018:ffffb5e5c01e3df8 EFLAGS: 00010046
RAX: ffff93f1927f8168 .....
...
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000000008 CR3: 00000000596824001 CR4: 000000000000f72ef0
DR0: 00000000a000001 ....
PKRU: 55555554
Call Trace:
 <TASK>
 timerqueue_add+0x66/0xb0
 hrtimer_start_range_ns+0x102/0x420
 ? next_zone+0x42/0x70
 tick_nohz_stop_tick+0xce/0x230
 tick_nohz_idle_stop_tick+0x70/0xd0
 do_idle+0x1d3/240
 cpu_startup_entry+0x29/0x30
 start_secondary+0x119/0x140
 common_startup_64+0x13e/0x141
 </TASK>




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-30  1:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-08 14:44 [perf] fuzzer triggers "BUG: kernel NULL pointer dereference" Vince Weaver
2025-07-21 21:17 ` Vince Weaver
2025-07-29  9:23   ` Mi, Dapeng
2025-07-29 16:50     ` Vince Weaver
2025-07-29 18:06       ` Vince Weaver
2025-07-30  1:54         ` Mi, Dapeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).