You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
KASAN use-after-free error reported when SSP DAI configuration fails #1497
For the attached topology file sof-apl-nocodec-ssp5.m4 loading fails right after the DAI SSP configuration error but it also leaves behind a big KASAN dump
Activity
dragosht commentedon Nov 15, 2019
Sorry, just figured out this is probably the same issue as #1466 . I tried the patch in #1469 and that also seems to fix this one.
mengdonglin commentedon Nov 20, 2019
@dragosht Is KASAN a device using ApolloLake (APL) SoC?
ranj063 commentedon Nov 20, 2019
@mengdonglin KASAN is the kernel memory sanitizer https://www.kernel.org/doc/html/v4.14/dev-tools/kasan.html
plbossart commentedon Dec 2, 2019
@dragosht this should be fixed now? If yes can you close this issue?
dragosht commentedon Dec 3, 2019
@plbossart I've just tested using the latest topic/sof-dev and I'm still getting the use-after-free warning:
Full kernel log: dmesg.log
plbossart commentedon Dec 4, 2019
can you try with the patch posted on alsa-devel
[alsa-devel] [PATCH v2 12/15] ASoC: soc-core: add missing return value check for soc_link_init()
It solved some issues in snd_soc_get_pcm_runtime in my case.
dragosht commentedon Dec 4, 2019
@plbossart I've tried the patch you mentioned above, but it doesn't seem to make a difference. The change it PR #1591 seems to fix this for me though.