Date: Sat, 25 May 2019 02:39:23 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 238113] snd_hda(4) NULL dereference in attach when loaded as module on powerpc64 Message-ID: <bug-238113-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238113 Bug ID: 238113 Summary: snd_hda(4) NULL dereference in attach when loaded as module on powerpc64 Product: Base System Version: CURRENT Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: jhibbits@FreeBSD.org Loading snd_hda(4) on powerpc64 as a module causes a NULL dereference in hdaa_attach() on powerpc64. It works fine when built into the kernel, and loads correctly as a module on powerpc(32) and powerpcspe. The backtrace points to hdac_if.h:43, which is in HDAC_CODEC_COMMAND(). It appears the KOBJLOOKUP() fails, returning a NULL pointer. There may be a bug in the module loading on powerpc64. A workaround was committed in r348250, compiling snd_hda(4) into GENERIC64, just as is done in amd64's GENERIC. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238113-227>