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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 19 Nov 2019 17:57:30 -0800
From:   Francesco Ruggeri <fruggeri@...sta.com>
To:     linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
        Francesco Ruggeri <fruggeri@...sta.com>
Subject: Re: Kernel panic when reading /sys/firmware/acpi/tables/data/BERT

On Tue, Nov 19, 2019 at 3:30 PM Francesco Ruggeri <fruggeri@...sta.com> wrote:
>
> If I run
>
> for ((i=0; i<10; i++))
>         do for ((j=0; j<1000000; j++))
>                 do cat /sys/firmware/acpi/tables/data/BERT >/dev/null
>         done &
> done
>
> I see this panic in 5.3.11. I see a similar panic in 4.19.84.
>

The issue seems to be that acpi_os_map_cleanup does not execute under
mutex_lock(&acpi_ioremap_lock), so more than one process may end up
freeing the same map.
I will prepare a patch.

Francesco Ruggeri

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ