[SRU][F/U/OEM-5.6] UBUNTU: SAUCE: Fix amdgpu hang during acpi event

Bug #1871316 reported by AaronMa
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Critical
AaronMa
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
linux-oem-5.6 (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

=== SRU Justification===

[Impact]
On new amdgpu ARCTURUS and RENOIR, system got call trace and hang
because of some acpi events.

[Fix]
This is a kernel NULL pointer bug.
Check for NULL pointers before calling.

[Test]
Verified on hw, amdgpu works fine.

[Regression Potential]
Low, it's safe to check NULL pointers.

This new amdgpu is supported since 5.4, no need for lower version kernel.

CVE References

AaronMa (mapengyu)
tags: added: originate-from-1868036
Changed in linux:
status: New → In Progress
Changed in hwe-next:
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → AaronMa (mapengyu)
AaronMa (mapengyu)
Changed in linux:
status: In Progress → New
no longer affects: linux
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1871316

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Timo Aaltonen (tjaalton)
affects: linux-oem (Ubuntu Focal) → linux-oem-5.6 (Ubuntu Focal)
Changed in linux-oem-5.6 (Ubuntu Focal):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (35.2 KiB)

This bug was fixed in the package linux - 5.4.0-24.28

---------------
linux (5.4.0-24.28) focal; urgency=medium

  * focal/linux: 5.4.0-24.28 -proposed tracker (LP: #1871939)

  * getitimer returns it_value=0 erroneously (LP: #1349028)
    - [Config] CONTEXT_TRACKING_FORCE policy should be unset

  * 12d1:1038 Dual-Role OTG device on non-HNP port - unable to enumerate USB
    device on port 1 (LP: #1047527)
    - [Config] USB_OTG_FSM policy not needed

  * Add DCPD backlight support for HP CML system (LP: #1871589)
    - SAUCE: drm/i915: Force DPCD backlight mode for HP CML 2020 system

  * Backlight brightness cannot be adjusted using keys (LP: #1860303)
    - SAUCE drm/i915: Force DPCD backlight mode for HP Spectre x360 Convertible
      13t-aw100

  * CVE-2020-11494
    - slcan: Don't transmit uninitialized stack data in padding

  * Ubuntu Kernel Support for OpenPOWER NV Secure & Trusted Boot (LP: #1866909)
    - powerpc: Detect the secure boot mode of the system
    - powerpc/ima: Add support to initialize ima policy rules
    - powerpc: Detect the trusted boot state of the system
    - powerpc/ima: Define trusted boot policy
    - ima: Make process_buffer_measurement() generic
    - certs: Add wrapper function to check blacklisted binary hash
    - ima: Check against blacklisted hashes for files with modsig
    - powerpc/ima: Update ima arch policy to check for blacklist
    - powerpc/ima: Indicate kernel modules appended signatures are enforced
    - powerpc/powernv: Add OPAL API interface to access secure variable
    - powerpc: expose secure variables to userspace via sysfs
    - x86/efi: move common keyring handler functions to new file
    - powerpc: Load firmware trusted keys/hashes into kernel keyring
    - x86/efi: remove unused variables

  * [roce-0227]sync mainline kernel 5.6rc3 roce patchset into ubuntu HWE kernel
    branch (LP: #1864950)
    - RDMA/hns: Cleanups of magic numbers
    - RDMA/hns: Optimize eqe buffer allocation flow
    - RDMA/hns: Add the workqueue framework for flush cqe handler
    - RDMA/hns: Delayed flush cqe process with workqueue
    - RDMA/hns: fix spelling mistake: "attatch" -> "attach"
    - RDMA/hns: Initialize all fields of doorbells to zero
    - RDMA/hns: Treat revision HIP08_A as a special case
    - RDMA/hns: Use flush framework for the case in aeq
    - RDMA/hns: Stop doorbell update while qp state error
    - RDMA/hns: Optimize qp destroy flow
    - RDMA/hns: Optimize qp context create and destroy flow
    - RDMA/hns: Optimize qp number assign flow
    - RDMA/hns: Optimize qp buffer allocation flow
    - RDMA/hns: Optimize qp param setup flow
    - RDMA/hns: Optimize kernel qp wrid allocation flow
    - RDMA/hns: Optimize qp doorbell allocation flow
    - RDMA/hns: Check if depth of qp is 0 before configure

  * [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel
    branch (LP: #1867586)
    - net: hns3: modify an unsuitable print when setting unknown duplex to fibre
    - net: hns3: add enabled TC numbers and DWRR weight info in debugfs
    - net: hns3: add support for dump MAC ID and loopback status in debugfs
    - net: hns3: add missing help info for QS shaper...

Changed in linux (Ubuntu Focal):
status: Incomplete → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.4 KiB)

This bug was fixed in the package linux-oem-5.6 - 5.6.0-1008.8

---------------
linux-oem-5.6 (5.6.0-1008.8) focal; urgency=medium

  * focal/linux-oem-5.6: 5.6.0-1008.8 -proposed tracker (LP: #1871932)

  * [SRU][F/U/OEM-5.6] UBUNTU: SAUCE: Fix amdgpu hang during acpi event
    (LP: #1871316)
    - SAUCE: drm/amdgpu: Fix oops when pp_funcs is unset in ACPI event

  * [TGL] graphics kernel support (LP: #1855399)
    - drm/i915: Polish WM_LINETIME register stuff
    - drm/i915: Move linetime wms into the crtc state
    - drm/i915: Nuke skl wm.dirty_pipes bitmask
    - drm/i915: Remove skl_ddl_allocation struct
    - drm/i915: Move dbuf slice update to proper place
    - drm/i915: Update dbuf slices only with full modeset
    - drm/i915: Introduce parameterized DBUF_CTL
    - drm/i915: Manipulate DBuf slices properly
    - drm/i915: Correctly map DBUF slices to pipes
    - drm/i915/display: Set TRANS_DDI_MODE_SELECT to default value when clearing
      DDI select
    - drm/i915: Ensure no conflicts with BIOS when updating Dbuf

  * Focal update: v5.6.4 upstream stable release (LP: #1872944)
    - ipv4: fix a RCU-list lock in fib_triestat_seq_show
    - net: dsa: ksz: Select KSZ protocol tag
    - net, ip_tunnel: fix interface lookup with no key
    - sctp: fix possibly using a bad saddr with a given dst
    - sctp: fix refcount bug in sctp_wfree
    - net: macb: Fix handling of fixed-link node
    - net: fix fraglist segmentation reference count leak
    - udp: initialize is_flist with 0 in udp_gro_receive
    - padata: fix uninitialized return value in padata_replace()
    - brcmfmac: abort and release host after error
    - XArray: Fix xa_find_next for large multi-index entries
    - drm/bridge: analogix-anx6345: Avoid duplicate -supply suffix
    - drm/i915/display: Fix mode private_flags comparison at atomic_check
    - misc: rtsx: set correct pcr_ops for rts522A
    - misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices
    - misc: pci_endpoint_test: Avoid using module parameter to determine irqtype
    - PCI: sysfs: Revert "rescan" file renames
    - coresight: do not use the BIT() macro in the UAPI header
    - mei: me: add cedar fork device ids
    - nvmem: release the write-protect pin
    - nvmem: check for NULL reg_read and reg_write before dereferencing
    - nvmem: sprd: Fix the block lock operation
    - extcon: axp288: Add wakeup support
    - power: supply: axp288_charger: Add special handling for HP Pavilion x2 10
    - Revert "ALSA: uapi: Drop asound.h inclusion from asoc.h"
    - Revert "dm: always call blk_queue_split() in dm_process_bio()"
    - ALSA: hda/ca0132 - Add Recon3Di quirk to handle integrated sound on EVGA X99
      Classified motherboard
    - soc: mediatek: knows_txdone needs to be set in Mediatek CMDQ helper
    - perf python: Fix clang detection to strip out options passed in $CC
    - mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
    - Linux 5.6.3
    - cxgb4: fix MPS index overwrite when setting MAC address
    - ipv6: don't auto-add link-local address to lag ports
    - net: dsa: bcm_sf2: Do not register slave MDIO bus with OF
    - net: dsa: bcm_sf2: Ensure correct sub-no...

Read more...

Changed in linux-oem-5.6 (Ubuntu):
status: Fix Committed → Fix Released
Changed in hwe-next:
status: In Progress → Fix Released
Changed in linux-oem-5.6 (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.