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]
Date:   Thu, 27 Oct 2022 20:03:22 +0200
From:   Mirsad Goran Todorovac <mirsad.todorovac@....unizg.hr>
To:     srinivas pandruvada <srinivas.pandruvada@...ux.intel.com>,
        LKML <linux-kernel@...r.kernel.org>, rjw@...ysocki.net
Cc:     regressions@...ts.linux.dev, regressions@...mhuis.info,
        "linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
        Robert Moore <robert.moore@...el.com>, devel@...ica.org
Subject: Re: BUG: bisected: thermald regression (MEMLEAK) in commit
 c7ff29763989bd09c433f73fae3c1e1c15d9cda4

P.S.

Forgot another useful thing you've mentioned: please find attached the 
dmesg output.

Good luck!

Mirsad

On 27. 10. 2022. 00:48, srinivas pandruvada wrote:
> On Wed, 2022-10-26 at 19:52 +0200, Mirsad Goran Todorovac wrote:
>> Dear all,
>>
>> On 24. 10. 2022. 20:56, Mirsad Goran Todorovac wrote:
>>> On 24. 10. 2022. 20:39, srinivas pandruvada wrote:
>>>
>>>>> Thank you for the patch. Unfortunately, when applied to v6.0.3
>>>>> it
>>>>> didn't
>>>>> fix the issue.
>>>> Thanks for the test. I copied to acpi and acpica mailing list.
>>>> Someone
>>>> can tell us what is this call doing wrong here.
>> I have worse news: after every
>>
>> # systemctl stop thermald
>> # systemctl start thermald
>>
>> the number of leaks increases by one allocated block (apparently 80
>> bytes). The effect appears to be
>> cummulative.
>>
>> Please find the results of the MEMLEAK scan in the attachment.
>>
>> In theory, motivated adversary could theoretically exhaust  i.e. 8
>> GiB
>> in a loop of 10 million thermald stops/starts,
> Of course it needs to be debugged. To start/stop systemctl service you
> need root access. If you have root access, there are other worse things
> can be done.
>
> Thanks,
> Srinivas
>
>> on my laptop and 2 sec for stop+start, it would be approx. 230 days.
>>
>> Hope this helps.
>>
>> Mirsad
>>
>> -- 
>>
>> Mirsad Goran Todorovac
>> Sistem inženjer
>> Grafički fakultet | Akademija likovnih umjetnosti
>> Sveučilište u Zagrebu

--
Mirsad Goran Todorovac
Sistem inženjer
Grafički fakultet | Akademija likovnih umjetnosti
Sveučilište u Zagrebu
-- 
System engineer
Faculty of Graphic Arts | Academy of Fine Arts
University of Zagreb, Republic of Croatia
The European Union

View attachment "thermald_memleak_dmesg.txt" of type "text/plain" (256075 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ