hi, Ville Syrjala, we noticed there is a v2 for this commit https://lore.kernel.org/all/20241003181553.8891-1-ville.syrjala@xxxxxxxxxxxxxxx/ but bot failed to analyze the patch mail structure and re-assemble it with other patches in this serial to form a new branch (which need manual efforts). so we just made this report out FYI. in case you are sure the issue should be addressed by v2, please just ignore. if you want us to test v2, please let us know. thanks Hello, kernel test robot noticed "Oops:general_protection_fault,probably_for_non-canonical_address#:#[##]PREEMPT_SMP_KASAN_PTI" on: commit: 2cc919cccbb5d887534545618d696db4ec5fb691 ("[PATCH 4/8] drm/client: Make copies of modes") url: https://github.com/intel-lab-lkp/linux/commits/Ville-Syrjala/drm-client-Constify-modes/20241004-061843 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/all/20241003113304.11700-5-ville.syrjala@xxxxxxxxxxxxxxx/ patch subject: [PATCH 4/8] drm/client: Make copies of modes in testcase: boot compiler: gcc-12 test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G (please refer to attached dmesg/kmsg for entire log/backtrace) +----------------------------------------------------------------------------------------------+------------+------------+ | | 40327b7031 | 2cc919cccb | +----------------------------------------------------------------------------------------------+------------+------------+ | boot_successes | 15 | 0 | | boot_failures | 0 | 16 | | Oops:general_protection_fault,probably_for_non-canonical_address#:#[##]PREEMPT_SMP_KASAN_PTI | 0 | 16 | | KASAN:null-ptr-deref_in_range[#-#] | 0 | 16 | | RIP:drm_mode_copy[drm] | 0 | 16 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 16 | +----------------------------------------------------------------------------------------------+------------+------------+ If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <oliver.sang@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-lkp/202410091649.1353a717-oliver.sang@xxxxxxxxx [ 12.729071][ T116] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console [ 12.733522][ T116] Console: switching to colour dummy device 80x25 [ 12.738211][ T116] [drm] Found bochs VGA, ID 0xb0c5. [ 12.738603][ T116] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebf0000. [ 12.742172][ T116] [drm] Initialized bochs-drm 1.0.0 for 0000:00:02.0 on minor 0 [ 12.744751][ T116] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI [ 12.745622][ T116] KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] [ 12.746193][ T116] CPU: 1 UID: 0 PID: 116 Comm: udevd Not tainted 6.12.0-rc1-00311-g2cc919cccbb5 #2 [ 12.746817][ T116] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 12.747510][ T116] RIP: 0010:drm_mode_copy (kbuild/src/consumer/drivers/gpu/drm/drm_modes.c:1422) drm [ 12.748000][ T116] Code: 40 84 c6 0f 85 01 01 00 00 84 c9 0f 95 c2 0f 9e c0 84 c2 0f 85 f1 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 e8 48 c1 e8 03 <0f> b6 0c 10 48 8d 45 77 48 89 c6 83 e0 07 48 c1 ee 03 0f b6 14 16 All code ======== 0: 40 84 c6 test %al,%sil 3: 0f 85 01 01 00 00 jne 0x10a 9: 84 c9 test %cl,%cl b: 0f 95 c2 setne %dl e: 0f 9e c0 setle %al 11: 84 c2 test %al,%dl 13: 0f 85 f1 00 00 00 jne 0x10a 19: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 20: fc ff df 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax 2a:* 0f b6 0c 10 movzbl (%rax,%rdx,1),%ecx <-- trapping instruction 2e: 48 8d 45 77 lea 0x77(%rbp),%rax 32: 48 89 c6 mov %rax,%rsi 35: 83 e0 07 and $0x7,%eax 38: 48 c1 ee 03 shr $0x3,%rsi 3c: 0f b6 14 16 movzbl (%rsi,%rdx,1),%edx Code starting with the faulting instruction =========================================== 0: 0f b6 0c 10 movzbl (%rax,%rdx,1),%ecx 4: 48 8d 45 77 lea 0x77(%rbp),%rax 8: 48 89 c6 mov %rax,%rsi b: 83 e0 07 and $0x7,%eax e: 48 c1 ee 03 shr $0x3,%rsi 12: 0f b6 14 16 movzbl (%rsi,%rdx,1),%edx [ 12.749333][ T116] RSP: 0000:ffffc900007ff548 EFLAGS: 00010246 [ 12.749749][ T116] RAX: 0000000000000000 RBX: ffff8881819c6600 RCX: 0000000000000000 [ 12.750284][ T116] RDX: dffffc0000000000 RSI: 1ffff11030338c01 RDI: ffff8881819c6648 [ 12.750820][ T116] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 12.751354][ T116] R10: 0000000000000000 R11: dffffc0000000000 R12: 0000000000000000 [ 12.751889][ T116] R13: 0000000000000000 R14: 0000000000000001 R15: ffff8881819c6600 [ 12.752435][ T116] FS: 0000000000000000(0000) GS:ffff8883a8f00000(0063) knlGS:00000000f7cec740 [ 12.753057][ T116] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 12.753537][ T116] CR2: 00000000ffc27bf8 CR3: 0000000139596000 CR4: 00000000000406f0 [ 12.754112][ T116] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 12.754674][ T116] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 12.755239][ T116] Call Trace: [ 12.755479][ T116] <TASK> [ 12.755686][ T116] ? die_addr (kbuild/src/consumer/arch/x86/kernel/dumpstack.c:421 kbuild/src/consumer/arch/x86/kernel/dumpstack.c:460) [ 12.755977][ T116] ? exc_general_protection (kbuild/src/consumer/arch/x86/kernel/traps.c:751 kbuild/src/consumer/arch/x86/kernel/traps.c:693) [ 12.756372][ T116] ? asm_exc_general_protection (kbuild/src/consumer/arch/x86/include/asm/idtentry.h:617) [ 12.756757][ T116] ? drm_mode_copy (kbuild/src/consumer/drivers/gpu/drm/drm_modes.c:1422) drm The kernel config and materials to reproduce are available at: https://download.01.org/0day-ci/archive/20241009/202410091649.1353a717-oliver.sang@xxxxxxxxx -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki