Tango platform uses __initcall without further checks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Paolo Pisati | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact:
The TANGO platform (an embedded soc used in home entertainment, connectivity and control devices) is enabled by default in the generic arm kernel. During kernel bootup, the tango platform blindly registers its pm ops in arch/arm/
Given the narrow scope of this SOC, i propose to disable support for the TANGO arch.
Fix:
Apply the attached patch and recompile.
How to test:
Suspend the tegra board and chek that it worked - either close the laptop
lid, 'systemctl suspend' or:
# echo -n mem > /sys/power/state
CVE References
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu): | |
assignee: | nobody → Paolo Pisati (p-pisati) |
description: | updated |
description: | updated |
tags: | added: patch |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | New → Fix Committed |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
tags: | added: cscc |
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 1787945
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.