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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0jqW0yuSOSrgy1=dWARPHmaxtG4fvkZj=pX+fPcTTJh1A@mail.gmail.com>
Date:   Tue, 8 May 2018 22:17:04 +0200
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Jia-Ju Bai <baijiaju1990@...il.com>
Cc:     "Rafael J. Wysocki" <rjw@...ysocki.net>,
        Len Brown <lenb@...nel.org>,
        ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] acpi: scan: Fix a possible data race in acpi_scan_hotplug_enabled

On Tue, May 8, 2018 at 5:08 AM, Jia-Ju Bai <baijiaju1990@...il.com> wrote:
> The write operation to "hotplug->enabled" is protected by
> the lock on line 1760, but the read operation to
> this data on line 1755 is not protected by the lock.
> Thus, there may exist a data race for "hotplug->enabled".

Either it does exist, or it doesn't.

If it exists, it needs to be fixed.  If it doesn't exist, nothing
needs to be done.

Which is the case?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ