lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <9523980.S2jPabPoO5@aspire.rjw.lan> Date: Wed, 13 Dec 2017 00:45:50 +0100 From: "Rafael J. Wysocki" <rjw@...ysocki.net> To: Vadim Lomovtsev <Vadim.Lomovtsev@...iumnetworks.com> Cc: robert.moore@...el.com, lv.zheng@...el.com, rafael.j.wysocki@...el.com, lenb@...nel.org, linux-acpi@...r.kernel.org, devel@...ica.org, linux-kernel@...r.kernel.org, vadim.lomovtsev@...ium.com Subject: Re: [BUG] acpica: ltp_acpi test case causes kernel crash at acpi_ns_walk_namespace On Tuesday, December 12, 2017 4:59:19 PM CET Vadim Lomovtsev wrote: > Hi guys, > > While running LTP tests I've faced kernel crash caused by ltp_acpi test case. > I have ACPI support enabled in kernel but kernel is boot with FDT having ACPI > disabled. The ltp_acpi test case application is built along with ltp_acpi_cmds > module to run ACPI tests. > > So my question is - should we update acpica implementation at kernel side by > adding 'acpi_disabled' variable checking to the 'acpi_get_devices' function (see > patch next to this email, maybe not a good approach) or this should be fixed at LTP > side so the ltp_acpi_cmds should be updated in order to check if acpi is enabled > before running tests ? There should be a check preventing acpi_get_devices() from being called in the acpi_disabled case. acpi_disabled is Linux-specific and the ACPICA code isn't, so the code calling ACPICA functions should check acpi_disabled when necessary. Thanks, Rafael
Powered by blists - more mailing lists