lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202211161829.1e6323fc-yujie.liu@intel.com>
Date:   Wed, 16 Nov 2022 21:39:03 +0800
From:   kernel test robot <yujie.liu@...el.com>
To:     Won Chung <wonchung@...gle.com>
CC:     <oe-lkp@...ts.linux.dev>, <lkp@...el.com>,
        Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
        <dri-devel@...ts.freedesktop.org>, <wonchung@...gle.com>,
        <bleung@...gle.com>, <pmalani@...omium.org>, <imre.deak@...el.com>,
        <maarten.lankhorst@...ux.intel.com>, <mripard@...nel.org>,
        <tzimmermann@...e.de>, <airlied@...il.com>, <daniel@...ll.ch>,
        <jani.nikula@...ux.intel.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4] drm/sysfs: Link DRM connectors to corresponding
 Type-C connectors

Greeting,

FYI, we noticed WARNING:at_drivers/base/component.c:#component_del due to commit (built with gcc-11):

commit: 55495ab682271956fda4d2728480a8cd9e0afaa2 ("[PATCH v4] drm/sysfs: Link DRM connectors to corresponding Type-C connectors")
url: https://github.com/intel-lab-lkp/linux/commits/Won-Chung/drm-sysfs-Link-DRM-connectors-to-corresponding-Type-C-connectors/20221109-025232
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link: https://lore.kernel.org/all/20221108185004.2263578-1-wonchung@google.com/
patch subject: [PATCH v4] drm/sysfs: Link DRM connectors to corresponding Type-C connectors

in testcase: igt
version: igt-x86_64-7da9f813-1_20221112
with following parameters:

	group: group-04

on test machine: 20 threads 1 sockets (Commet Lake) with 16G memory

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


[   75.976323][ T2291] ------------[ cut here ]------------
[   75.981626][ T2291] WARNING: CPU: 9 PID: 2291 at drivers/base/component.c:821 component_del+0x38a/0x4b0
[   75.990972][ T2291] Modules linked in: i915(-) drm_buddy drm_display_helper ttm drm_kms_helper drm netconsole intel_rapl_msr intel_rapl_common btrfs blake2b_generic xor raid6_pq zstd_compress libcrc32c sd_mod x86_pkg_temp_thermal ipmi_devintf intel_powerclamp t10_pi coretemp ipmi_msghandler crc64_rocksoft_generic kvm_intel crc64_rocksoft crc64 sg kvm irqbypass crct10dif_pclmul crc32_pclmul intel_gtt crc32c_intel ghash_clmulni_intel sdhci_pci cqhci sha512_ssse3 ahci sdhci libahci rapl intel_cstate intel_wmi_thunderbolt wmi_bmof ppdev i2c_designware_platform mei_me i2c_i801 syscopyarea video parport_pc i2c_smbus libata intel_uncore sysfillrect mmc_core serio_raw mei i2c_designware_core idma64 intel_pch_thermal sysimgblt parport wmi intel_pmc_core acpi_pad acpi_tad fuse ip_tables [last unloaded: drm]
[   76.061091][ T2291] CPU: 9 PID: 2291 Comm: i915_module_loa Tainted: G        W          6.1.0-rc2-00560-g55495ab68227 #1
[   76.071896][ T2291] RIP: 0010:component_del+0x38a/0x4b0
[   76.077103][ T2291] Code: 48 89 f8 48 c1 e8 03 42 80 3c 20 00 75 6b 48 39 6b 20 75 a4 48 c7 43 20 00 00 00 00 eb 9a 48 c7 c7 00 b1 1a 85 e8 16 ad 04 01 <0f> 0b 31 ed 5b 48 89 ef 5d 41 5c 41 5d 41 5e 41 5f e9 50 84 2b ff
[   76.096428][ T2291] RSP: 0018:ffffc90001cd7b28 EFLAGS: 00010282
[   76.102339][ T2291] RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff834ef740
[   76.110135][ T2291] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90001cd7ad0
[   76.117927][ T2291] RBP: ffffffff851ab0c0 R08: 0000000000000001 R09: ffffc90001cd7ad7
[   76.125717][ T2291] R10: fffff5200039af5a R11: 0000000000000001 R12: ffff888433f9f800
[   76.133516][ T2291] R13: ffffffffa034d4e0 R14: ffff888106d2f038 R15: ffffffffa0389500
[   76.141312][ T2291] FS:  00007f1ff5227bc0(0000) GS:ffff8883cae80000(0000) knlGS:0000000000000000
[   76.150060][ T2291] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   76.156507][ T2291] CR2: 00005648c3f42428 CR3: 000000045664a005 CR4: 00000000003706e0
[   76.164308][ T2291] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   76.172106][ T2291] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   76.179897][ T2291] Call Trace:
[   76.183049][ T2291]  <TASK>
[   76.185845][ T2291]  drm_sysfs_connector_remove+0x6b/0x190 [drm]
[   76.191864][ T2291]  drm_connector_unregister+0x1e2/0x2c0 [drm]
[   76.197788][ T2291]  drm_connector_unregister_all+0x6d/0xf0 [drm]
[   76.203884][ T2291]  ? drm_connector_free_work_fn+0x100/0x100 [drm]
[   76.210157][ T2291]  ? ktime_get_mono_fast_ns+0x85/0x1d0
[   76.215456][ T2291]  drm_modeset_unregister_all+0xe/0x30 [drm]
[   76.221296][ T2291]  drm_dev_unregister+0x19d/0x220 [drm]
[   76.226711][ T2291]  drm_dev_unplug+0x48/0xb0 [drm]
[   76.231616][ T2291]  i915_driver_remove+0xb6/0x140 [i915]
[   76.237100][ T2291]  i915_pci_remove+0x39/0x80 [i915]
[   76.242216][ T2291]  pci_device_remove+0x96/0x1c0
[   76.246922][ T2291]  device_release_driver_internal+0x3b9/0x600
[   76.252819][ T2291]  driver_detach+0xc0/0x180
[   76.257170][ T2291]  ? i915_pci_register_driver+0x20/0x20 [i915]
[   76.263235][ T2291]  bus_remove_driver+0xe4/0x2d0
[   76.267934][ T2291]  ? d_lru_add+0xa6/0xf0
[   76.272029][ T2291]  ? i915_pci_register_driver+0x20/0x20 [i915]
[   76.278088][ T2291]  pci_unregister_driver+0x26/0x260
[   76.283133][ T2291]  ? unregister_sysctl_table+0x7d/0x170
[   76.289123][ T2291]  ? i915_pci_register_driver+0x20/0x20 [i915]
[   76.295184][ T2291]  i915_exit+0x7b/0xc5 [i915]
[   76.299814][ T2291]  __do_sys_delete_module+0x2ea/0x510
[   76.306059][ T2291]  ? module_flags+0x300/0x300
[   76.310581][ T2291]  ? __fget_light+0x51/0x220
[   76.315017][ T2291]  ? __blkcg_punt_bio_submit+0x1b0/0x1b0
[   76.320494][ T2291]  ? _raw_spin_lock+0x81/0xd0
[   76.325018][ T2291]  ? _raw_write_lock_irq+0xd0/0xd0
[   76.329970][ T2291]  ? exit_to_user_mode_loop+0xbc/0x120
[   76.335274][ T2291]  ? exit_to_user_mode_prepare+0x89/0xd0
[   76.340744][ T2291]  do_syscall_64+0x35/0x80
[   76.345008][ T2291]  entry_SYSCALL_64_after_hwframe+0x5e/0xc8
[   76.350732][ T2291] RIP: 0033:0x7f1ff75d74d7
[   76.355003][ T2291] Code: 73 01 c3 48 8b 0d b9 19 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 89 19 0d 00 f7 d8 64 89 01 48
[   76.374334][ T2291] RSP: 002b:00007ffe07f5ca38 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[   76.382558][ T2291] RAX: ffffffffffffffda RBX: 00005648c3f34da0 RCX: 00007f1ff75d74d7
[   76.390353][ T2291] RDX: 000000000000001a RSI: 0000000000000800 RDI: 00005648c3f34e08
[   76.398145][ T2291] RBP: 0000000000000000 R08: 00000000ffffffff R09: 00007ffe07f5b790
[   76.405938][ T2291] R10: fffffffffffffeee R11: 0000000000000206 R12: 00007f1ff7788c22
[   76.413736][ T2291] R13: 00007ffe07f5caf0 R14: 0000000000000000 R15: 0000000000000000
[   76.421536][ T2291]  </TASK>
[   76.424422][ T2291] ---[ end trace 0000000000000000 ]---


If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <yujie.liu@...el.com>
| Link: https://lore.kernel.org/oe-lkp/202211161829.1e6323fc-yujie.liu@intel.com


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

View attachment "config-6.1.0-rc2-00560-g55495ab68227" of type "text/plain" (170421 bytes)

View attachment "job-script" of type "text/plain" (5410 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (55792 bytes)

View attachment "igt" of type "text/plain" (175695 bytes)

View attachment "job.yaml" of type "text/plain" (4320 bytes)

View attachment "reproduce" of type "text/plain" (17791 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ