2022-04-19 12:26:05

by kernel test robot

[permalink] [raw]
Subject: [drm/edid] f43809fb1a: dmesg.RIP:drm_update_tile_info[drm]



Greeting,

FYI, we noticed the following commit (built with gcc-11):

commit: f43809fb1a1a3c69bf3ad6ab9ac67e1ea3e09970 ("drm/edid: add drm_edid helper for drm_update_tile_info()")
git://people.freedesktop.org/~jani/drm edid-hfeeodb

in testcase: ltp
version: ltp-x86_64-14c1f76-1_20220415
with following parameters:

disk: 1HDD
fs: xfs
test: syscalls-06
ucode: 0xec

test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/


on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):



If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>



[ 29.976544][ T345] ==================================================================
[ 29.976658][ T345] Disabling lock debugging due to kernel taint
[ 29.979325][ T345] general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 [#1] SMP KASAN PTI
[ 29.979330][ T345] KASAN: null-ptr-deref in range [0x0000000000000078-0x000000000000007f]
[ 29.979333][ T345] CPU: 1 PID: 345 Comm: kworker/u8:6 Tainted: G B I 5.18.0-rc2-00700-gf43809fb1a1a #1
[ 29.979337][ T345] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.1.1 10/07/2015
[ 29.979338][ T345] Workqueue: events_unbound async_run_entry_fn
[ 29.979345][ T345] RIP: 0010:drm_update_tile_info+0x68/0x100 [drm]
[ 29.979389][ T345] Code: 63 c0 48 8d 14 03 c7 02 f1 f1 f1 f1 c7 42 04 00 00 f3 f3 65 48 8b 14 25 28 00 00 00 48 89 54 24 60 31 d2 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 04 84 c0 75 4a 0f b6 46 7e
[ 29.979392][ T345] RSP: 0018:ffffc90000c0f9c8 EFLAGS: 00010207
[ 29.979394][ T345] RAX: dffffc0000000000 RBX: 1ffff92000181f3a RCX: 0000000000000000
[ 29.979396][ T345] RDX: 000000000000000f RSI: 0000000000000000 RDI: 000000000000007e
[ 29.979398][ T345] RBP: ffff8881045ba000 R08: 0000000000000001 R09: ffff8881045ba169
[ 29.979399][ T345] R10: ffffed10208b742d R11: 0000000000000001 R12: 0000000000000000
[ 29.979401][ T345] R13: 0000000000000000 R14: ffff888849f60000 R15: ffff8881045ba178
[ 29.979402][ T345] FS: 0000000000000000(0000) GS:ffff8887c1e80000(0000) knlGS:0000000000000000
[ 29.979404][ T345] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 29.979406][ T345] CR2: 000055caeb133ff8 CR3: 000000087000e006 CR4: 00000000003706e0
[ 29.979408][ T345] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 29.979409][ T345] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 29.979411][ T345] Call Trace:
[ 29.979412][ T345] <TASK>
[ 29.979415][ T345] ? drm_add_display_info+0x100/0x100 [drm]
[ 29.979450][ T345] ? memset+0x20/0x40
[ 29.979454][ T345] drm_connector_update_edid_property+0xce/0x340 [drm]
[ 29.979492][ T345] drm_helper_probe_single_connector_modes+0x13c4/0x1a00 [drm_kms_helper]
[ 29.979512][ T345] ? drm_connector_mode_valid+0x1c0/0x1c0 [drm_kms_helper]
[ 29.979527][ T345] ? __mutex_lock_slowpath+0x40/0x40
[ 29.979532][ T345] drm_client_modeset_probe+0x381/0xf00 [drm]
[ 29.979568][ T345] ? drm_client_firmware_config+0x1c00/0x1c00 [drm]
[ 29.979603][ T345] ? mutex_lock+0x9f/0x100
[ 29.979606][ T345] ? __mutex_lock_slowpath+0x40/0x40
[ 29.979609][ T345] ? intel_fbdev_unregister+0x100/0x100 [i915]
[ 29.979802][ T345] __drm_fb_helper_initial_config_and_unlock+0xae/0x2c0 [drm_kms_helper]
[ 29.979820][ T345] intel_fbdev_initial_config+0x3b/0x80 [i915]
[ 29.979987][ T345] async_run_entry_fn+0x96/0x500
[ 29.979991][ T345] process_one_work+0x689/0x1040
[ 29.979994][ T345] worker_thread+0x5b3/0xf00
[ 29.979998][ T345] ? __kthread_parkme+0xd9/0x200
[ 29.980000][ T345] ? schedule+0xfe/0x240
[ 29.980002][ T345] ? process_one_work+0x1040/0x1040
[ 29.980005][ T345] ? process_one_work+0x1040/0x1040
[ 29.980007][ T345] kthread+0x292/0x340
[ 29.980010][ T345] ? kthread_complete_and_exit+0x40/0x40
[ 29.980012][ T345] ret_from_fork+0x22/0x30
[ 29.980016][ T345] </TASK>
[ 29.980017][ T345] Modules linked in: i915 kvm intel_gtt drm_buddy irqbypass wmi_bmof crct10dif_pclmul drm_dp_helper crc32_pclmul crc32c_intel mei_wdt ttm ghash_clmulni_intel drm_kms_helper rapl syscopyarea intel_cstate joydev ahci sysfillrect sysimgblt libahci fb_sys_fops intel_uncore wmi mei_me drm libata mei intel_pch_thermal video intel_pmc_core acpi_pad ip_tables
[ 29.980060][ T345] ---[ end trace 0000000000000000 ]---
[ 29.980061][ T345] RIP: 0010:drm_update_tile_info+0x68/0x100 [drm]
[ 29.980100][ T345] Code: 63 c0 48 8d 14 03 c7 02 f1 f1 f1 f1 c7 42 04 00 00 f3 f3 65 48 8b 14 25 28 00 00 00 48 89 54 24 60 31 d2 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 04 84 c0 75 4a 0f b6 46 7e
[ 29.980102][ T345] RSP: 0018:ffffc90000c0f9c8 EFLAGS: 00010207
[ 29.980105][ T345] RAX: dffffc0000000000 RBX: 1ffff92000181f3a RCX: 0000000000000000
[ 29.980106][ T345] RDX: 000000000000000f RSI: 0000000000000000 RDI: 000000000000007e
[ 29.980108][ T345] RBP: ffff8881045ba000 R08: 0000000000000001 R09: ffff8881045ba169
[ 29.980109][ T345] R10: ffffed10208b742d R11: 0000000000000001 R12: 0000000000000000
[ 29.980110][ T345] R13: 0000000000000000 R14: ffff888849f60000 R15: ffff8881045ba178
[ 29.980112][ T345] FS: 0000000000000000(0000) GS:ffff8887c1e80000(0000) knlGS:0000000000000000
[ 29.980114][ T345] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 29.980115][ T345] CR2: 000055caeb133ff8 CR3: 000000087000e006 CR4: 00000000003706e0
[ 29.980117][ T345] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 29.980118][ T345] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 29.980120][ T345] Kernel panic - not syncing: Fatal exception
[ 29.980125][ T345] Kernel Offset: disabled



To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file

# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.



--
0-DAY CI Kernel Test Service
https://01.org/lkp



Attachments:
(No filename) (6.50 kB)
config-5.18.0-rc2-00700-gf43809fb1a1a (169.42 kB)
job-script (5.76 kB)
dmesg.xz (18.74 kB)
ltp (67.22 kB)
job.yaml (4.81 kB)
Download all attachments