Activity log for bug #2066233

Date Who What changed Old value New value Message
2024-05-21 08:08:44 You-Sheng Yang bug added bug
2024-05-21 08:10:16 You-Sheng Yang bug added subscriber Canonical Hardware Enablement
2024-05-21 08:10:26 You-Sheng Yang tags amd oem-priority originate-from-2065426
2024-05-21 08:10:51 You-Sheng Yang bug task added linux-oem-6.8 (Ubuntu)
2024-05-21 08:10:59 You-Sheng Yang nominated for series Ubuntu Noble
2024-05-21 08:10:59 You-Sheng Yang bug task added linux (Ubuntu Noble)
2024-05-21 08:10:59 You-Sheng Yang bug task added linux-oem-6.8 (Ubuntu Noble)
2024-05-21 08:10:59 You-Sheng Yang nominated for series Ubuntu Oracular
2024-05-21 08:10:59 You-Sheng Yang bug task added linux (Ubuntu Oracular)
2024-05-21 08:10:59 You-Sheng Yang bug task added linux-oem-6.8 (Ubuntu Oracular)
2024-05-21 08:11:12 You-Sheng Yang linux (Ubuntu Oracular): status New Fix Released
2024-05-21 08:11:16 You-Sheng Yang linux (Ubuntu Noble): status New In Progress
2024-05-21 08:11:21 You-Sheng Yang linux-oem-6.8 (Ubuntu Noble): status New In Progress
2024-05-21 08:11:24 You-Sheng Yang linux-oem-6.8 (Ubuntu Noble): importance Undecided High
2024-05-21 08:11:26 You-Sheng Yang linux-oem-6.8 (Ubuntu Noble): assignee You-Sheng Yang (vicamo)
2024-05-21 08:11:30 You-Sheng Yang linux-oem-6.8 (Ubuntu Oracular): status New Invalid
2024-05-21 08:38:20 You-Sheng Yang attachment added dmesg https://bugs.launchpad.net/ubuntu/+source/linux-oem-6.8/+bug/2066233/+attachment/5780750/+files/comment-3.txt
2024-05-21 08:39:50 You-Sheng Yang description Newer VBIOS on DCN 3.5 bumped the version of IntegratedInfo table from 2.2 to 2.3. This version uses same structure. Version 2.3 is missing from the construct_integrated_info() parser, so it leads to NULL pointer dereference. Fix landed to upstream v6.9-rc7: 9a35d205f466 ("drm/amd/display: Atom Integrated System Info v2_2 for DCN35") Newer VBIOS on DCN 3.5 bumped the version of IntegratedInfo table from 2.2 to 2.3. This version uses same structure. Version 2.3 is missing from the construct_integrated_info() parser, so it leads to NULL pointer dereference. [Thu May 9 18:02:38 2024] Call Trace: [Thu May 9 18:02:38 2024] <TASK> [Thu May 9 18:02:38 2024] ? show_regs+0x72/0x90 [Thu May 9 18:02:38 2024] ? __die+0x25/0x80 [Thu May 9 18:02:38 2024] ? page_fault_oops+0x154/0x4c0 [Thu May 9 18:02:38 2024] ? ttm_bo_kmap+0x11d/0x310 [ttm] [Thu May 9 18:02:38 2024] ? dma_resv_wait_timeout+0x48/0xe0 [Thu May 9 18:02:38 2024] ? do_user_addr_fault+0x30e/0x6e0 [Thu May 9 18:02:38 2024] ? exc_page_fault+0x84/0x1b0 [Thu May 9 18:02:38 2024] ? asm_exc_page_fault+0x27/0x30 [Thu May 9 18:02:38 2024] ? dcn35_clk_mgr_construct+0x183/0x2210 [amdgpu] [Thu May 9 18:02:38 2024] ? dcn35_clk_mgr_construct+0x15a/0x2210 [amdgpu] [Thu May 9 18:02:38 2024] ? dcn35_hwseq_create+0x23/0x470 [amdgpu] ... Fix landed to upstream v6.9-rc7: 9a35d205f466 ("drm/amd/display: Atom Integrated System Info v2_2 for DCN35")
2024-05-21 08:46:24 You-Sheng Yang description Newer VBIOS on DCN 3.5 bumped the version of IntegratedInfo table from 2.2 to 2.3. This version uses same structure. Version 2.3 is missing from the construct_integrated_info() parser, so it leads to NULL pointer dereference. [Thu May 9 18:02:38 2024] Call Trace: [Thu May 9 18:02:38 2024] <TASK> [Thu May 9 18:02:38 2024] ? show_regs+0x72/0x90 [Thu May 9 18:02:38 2024] ? __die+0x25/0x80 [Thu May 9 18:02:38 2024] ? page_fault_oops+0x154/0x4c0 [Thu May 9 18:02:38 2024] ? ttm_bo_kmap+0x11d/0x310 [ttm] [Thu May 9 18:02:38 2024] ? dma_resv_wait_timeout+0x48/0xe0 [Thu May 9 18:02:38 2024] ? do_user_addr_fault+0x30e/0x6e0 [Thu May 9 18:02:38 2024] ? exc_page_fault+0x84/0x1b0 [Thu May 9 18:02:38 2024] ? asm_exc_page_fault+0x27/0x30 [Thu May 9 18:02:38 2024] ? dcn35_clk_mgr_construct+0x183/0x2210 [amdgpu] [Thu May 9 18:02:38 2024] ? dcn35_clk_mgr_construct+0x15a/0x2210 [amdgpu] [Thu May 9 18:02:38 2024] ? dcn35_hwseq_create+0x23/0x470 [amdgpu] ... Fix landed to upstream v6.9-rc7: 9a35d205f466 ("drm/amd/display: Atom Integrated System Info v2_2 for DCN35") [SRU Justification] BugLink: https://bugs.launchpad.net/bugs/2066233 [Impact] Newer VBIOS on DCN 3.5 bumped the version of IntegratedInfo table from 2.2 to 2.3. This version uses same structure. Version 2.3 is missing from the construct_integrated_info() parser, so it leads to NULL pointer dereference. ``` Call Trace: <TASK> ? show_regs+0x72/0x90 ? __die+0x25/0x80 ? page_fault_oops+0x154/0x4c0 ? ttm_bo_kmap+0x11d/0x310 [ttm] ? dma_resv_wait_timeout+0x48/0xe0 ? do_user_addr_fault+0x30e/0x6e0 ? exc_page_fault+0x84/0x1b0 ? asm_exc_page_fault+0x27/0x30 ? dcn35_clk_mgr_construct+0x183/0x2210 [amdgpu] ? dcn35_clk_mgr_construct+0x15a/0x2210 [amdgpu] ? dcn35_hwseq_create+0x23/0x470 [amdgpu] ``` [Fix] Fix landed to upstream v6.9-rc7: 9a35d205f466 ("drm/amd/display: Atom Integrated System Info v2_2 for DCN35") [Test Case] AMDGPU should then be initialized successfully without NULL pointer deref dump at boot. [Where problems could occur] No. New hardware revision with same data only. [Other Info] While this has been landed to v6.9-rc7, expect every kernel version older than that with planned support to the new VBIOS update should be fixed. So far linux/noble and linux-oem-6.8/noble are nominated by chip vendor. ========== original bug report ========== Newer VBIOS on DCN 3.5 bumped the version of IntegratedInfo table from 2.2 to 2.3. This version uses same structure. Version 2.3 is missing from the construct_integrated_info() parser, so it leads to NULL pointer dereference. [Thu May 9 18:02:38 2024] Call Trace: [Thu May 9 18:02:38 2024] <TASK> [Thu May 9 18:02:38 2024] ? show_regs+0x72/0x90 [Thu May 9 18:02:38 2024] ? __die+0x25/0x80 [Thu May 9 18:02:38 2024] ? page_fault_oops+0x154/0x4c0 [Thu May 9 18:02:38 2024] ? ttm_bo_kmap+0x11d/0x310 [ttm] [Thu May 9 18:02:38 2024] ? dma_resv_wait_timeout+0x48/0xe0 [Thu May 9 18:02:38 2024] ? do_user_addr_fault+0x30e/0x6e0 [Thu May 9 18:02:38 2024] ? exc_page_fault+0x84/0x1b0 [Thu May 9 18:02:38 2024] ? asm_exc_page_fault+0x27/0x30 [Thu May 9 18:02:38 2024] ? dcn35_clk_mgr_construct+0x183/0x2210 [amdgpu] [Thu May 9 18:02:38 2024] ? dcn35_clk_mgr_construct+0x15a/0x2210 [amdgpu] [Thu May 9 18:02:38 2024] ? dcn35_hwseq_create+0x23/0x470 [amdgpu] ... Fix landed to upstream v6.9-rc7: 9a35d205f466 ("drm/amd/display: Atom Integrated System Info v2_2 for DCN35")