[Z/A/linux-eom][PATCH] Reading HDA capability register crashes the kernel

Hui Wang hui.wang at canonical.com
Mon Nov 6 05:33:19 UTC 2017

Please ignore this thread, the title should contain linux-oem instead of 
linux-eom. will resend a updated one.

On 2017年11月06日 11:52, Hui Wang wrote:
> BugLink: http://bugs.launchpad.net/bugs/1730261
> This patch is for Zesty, Artful and OEM kernel, since the OEM project is waiting for
> this patch, we need to merge this patch to oem kernel ASAP(ahead of Artful kernel).
> Xenial kernel doesn't read capability register in the HDA driver, we don't merge
> this patch to Xenial kernel.
> [Impact]
> The kernel will crash on some machines when HDA driver initializes, this issue turn out
> to be a firmware issue (capability register has wrong values), but we can imporve the
> driver as this patch does to avoid crash the kernel.
> [Test Case]
> Applying the patch and boot the new kernel on those machines.
> [Fix]
> Abort reading the register when it meets a wrong value.
> [Regression Potential]
> No, it does not change any existing functions.
> Takashi Iwai (1):
>    ALSA: hda: Abort capability probe at invalid register read
>   sound/hda/hdac_controller.c | 5 +++++
>   1 file changed, 5 insertions(+)

More information about the kernel-team mailing list