Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic in sysmon_envsys_unregister() (Jason Thorpe) writes:

>> On Mar 26, 2019, at 8:17 AM, Michael van Elst <> wrote:
>> That is not caught by QUEUEDEBUG but caused by QUEUEDEBUG.

>Well, to be fair, the code had a use-after-free bug.  ASAN might have caught it as well.

The code doesn't free anything, the sensor data is just unlinked from the list.
The data itself belongs to the parent driver (thinkpad_acpi).

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index