From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 215445] UBSAN: invalid-load in amdgpu_dm.c:5882:84 - load of value 32 is not a valid value for type '_Bool'
Date: Mon, 03 Jan 2022 03:41:17 +0000 [thread overview]
Message-ID: <bug-215445-2300-OIBFDSFGNr@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-215445-2300@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=215445
--- Comment #2 from Bogdan (bogdan.pylypenko107@gmail.com) ---
> [ 7.729181]
> ================================================================================
> [ 7.729183] UBSAN: invalid-load in
> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5882:84
> [ 7.729185] load of value 32 is not a valid value for type '_Bool'
> [ 7.729186] CPU: 5 PID: 4803 Comm: systemd-udevd Tainted: G O
> 5.15.12-gentoo-x86_64 #11
> [ 7.729188] Hardware name: HP HP Pavilion Gaming Laptop 15-ec1xxx/87B1,
> BIOS F.20 11/04/2020
> [ 7.729190] Call Trace:
> [ 7.729192] <TASK>
> [ 7.729193] dump_stack_lvl+0x45/0x59
> [ 7.729200] ubsan_epilogue+0x5/0x40
> [ 7.729202] __ubsan_handle_load_invalid_value.cold+0x43/0x48
> [ 7.729204] create_stream_for_sink.cold+0x3a/0x7d [amdgpu]
> [ 7.729387] create_validate_stream_for_sink+0x55/0x140 [amdgpu]
> [ 7.729537] amdgpu_dm_connector_mode_valid+0x4f/0x180 [amdgpu]
> [ 7.729678] drm_connector_mode_valid+0x35/0x80
> [ 7.729682] drm_helper_probe_single_connector_modes+0x3b2/0x880
> [ 7.729684] drm_client_modeset_probe+0x287/0x1380
> [ 7.729686] ? kmem_cache_alloc_trace+0x17d/0x380
> [ 7.729689] ? trace_hardirqs_on+0x2b/0x100
> [ 7.729692] ? ktime_get_mono_fast_ns+0x49/0xc0
> [ 7.729694] __drm_fb_helper_initial_config_and_unlock+0x44/0x500
> [ 7.729696] ? drm_file_alloc+0x199/0x280
> [ 7.729698] ? drm_client_init+0x12e/0x180
> [ 7.729700] amdgpu_fbdev_init+0xd6/0x140 [amdgpu]
> [ 7.729749] amdgpu_device_init.cold+0xfc0/0x1b4c [amdgpu]
> [ 7.729749] ? _raw_spin_unlock_irqrestore+0x15/0x40
> [ 7.729749] ? pci_conf1_read+0x99/0x100
> [ 7.729749] ? pci_bus_read_config_word+0x49/0x80
> [ 7.729749] amdgpu_driver_load_kms+0x67/0x340 [amdgpu]
> [ 7.729749] amdgpu_pci_probe+0x113/0x1c0 [amdgpu]
> [ 7.729749] pci_device_probe+0xe1/0x180
> [ 7.729749] really_probe+0x207/0x400
> [ 7.729749] __driver_probe_device+0x10d/0x1c0
> [ 7.729749] driver_probe_device+0x1e/0xc0
> [ 7.729749] __driver_attach+0xce/0x200
> [ 7.729749] ? __device_attach_driver+0x100/0x100
> [ 7.729749] bus_for_each_dev+0x78/0xc0
> [ 7.729749] bus_add_driver+0x12b/0x200
> [ 7.729749] driver_register+0x8f/0x100
> [ 7.729749] ? 0xffffffffc0d84000
> [ 7.729749] do_one_initcall+0x44/0x240
> [ 7.729749] ? kmem_cache_alloc_trace+0x17d/0x380
> [ 7.729749] do_init_module+0x87/0x280
> [ 7.729749] __do_sys_init_module+0x12d/0x1c0
> [ 7.729749] do_syscall_64+0x5c/0xc0
> [ 7.729749] ? trace_hardirqs_on_prepare+0x24/0xc0
> [ 7.729749] ? syscall_exit_to_user_mode+0x2c/0x80
> [ 7.729749] ? do_syscall_64+0x69/0xc0
> [ 7.729749] ? trace_hardirqs_on_prepare+0x24/0xc0
> [ 7.729749] ? syscall_exit_to_user_mode+0x2c/0x80
> [ 7.729749] ? do_syscall_64+0x69/0xc0
> [ 7.729749] ? do_user_addr_fault+0x1e6/0x6c0
> [ 7.729749] ? trace_hardirqs_off+0x26/0xc0
> [ 7.729749] ? exc_page_fault+0x89/0x140
> [ 7.729749] entry_SYSCALL_64_after_hwframe+0x44/0xae
> [ 7.729749] RIP: 0033:0x701aa4f7be0a
> [ 7.729749] Code: 48 8b 0d 61 80 0b 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 49 89 ca b8 af 00 00 00 0f 05 <48> 3d
> 01 f0 ff ff 73 01 c3 48 8b 0d 2e 80 0b 00 f7 d8 64 89 01 48
> [ 7.729749] RSP: 002b:00007ffe4ebcb818 EFLAGS: 00000246 ORIG_RAX:
> 00000000000000af
> [ 7.729749] RAX: ffffffffffffffda RBX: 000060e5c69b38b0 RCX:
> 0000701aa4f7be0a
> [ 7.729749] RDX: 000060e5c69bea80 RSI: 000000000157d12f RDI:
> 0000701aa2499010
> [ 7.729749] RBP: 00007ffe4ebcb860 R08: 0000701aa3c7f000 R09:
> 0000000000000000
> [ 7.729749] R10: 000060e5c6b2d5f0 R11: 0000000000000246 R12:
> 000060e5c69bea80
> [ 7.729749] R13: 0000701aa2499010 R14: 000000000000003c R15:
> 000060e5c6b152b0
> [ 7.729749] </TASK>
> [ 7.730306]
> ================================================================================
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2022-01-03 3:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-03 3:34 [Bug 215445] New: UBSAN: invalid-load in amdgpu_dm.c:5882:84 - load of value 32 is not a valid value for type '_Bool' bugzilla-daemon
2022-01-03 3:38 ` [Bug 215445] " bugzilla-daemon
2022-01-03 3:41 ` bugzilla-daemon [this message]
2022-01-03 3:54 ` [Bug 215445] AMDGPU -- " bugzilla-daemon
2022-01-05 12:45 ` bugzilla-daemon
2022-01-06 22:05 ` bugzilla-daemon
2022-01-11 10:25 ` bugzilla-daemon
2022-01-11 11:42 ` bugzilla-daemon
2022-01-12 20:23 ` bugzilla-daemon
2022-01-13 2:50 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-215445-2300-OIBFDSFGNr@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.