Details

[Home]

Issue of the Implementation # L0296

Brief

ASoC: samsung: i2s: Null pointer dereference on samsung_i2s_remove

Detailed Description

If (quirks & QUIRK_SEC_DAI == 0) then samsung_i2s_probe() doesn't allocate sec_dai and pri_dai->sec_dai remains NULL, but samsung_i2s_remove() permorms pri_dai->sec_dai dereference in any case.

Component

linux-kernel 4.13

Accepted

https://patchwork.kernel.org/patch/9897495/
commit

Status

Fixed in kernel 4.14-rc4

[Home]