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-next>] [day] [month] [year] [list]
Message-ID: <e335e7cd-366f-7ced-2707-b6ef49cfe9eb@alu.unizg.hr>
Date:   Wed, 12 Oct 2022 08:05:18 +0200
From:   Mirsad Todorovac <mirsad.todorovac@....unizg.hr>
To:     Thorsten Leemhuis <regressions@...mhuis.info>,
        linux-kernel@...r.kernel.org
Cc:     Marc Miltenberger <marcmiltenberger@...il.com>,
        "regressions@...ts.linux.dev" <regressions@...ts.linux.dev>,
        Slade Watkins <srw@...dewatkins.net>
Subject: Re: BUG reproduced: 6.0.0-RC kernels trigger Firefox snap bug with
 6.0.0-rc3 through 6.0.0-rc7

On 10/8/22 18:43, Mirsad Goran Todorovac wrote:

> On 10/6/22 14:25, Thorsten Leemhuis wrote:
>>>>>>
>>>>>>> One more question:
>>>>>>>
>>>>>>> On 06.10.22 14:00, Thorsten Leemhuis wrote:
>>>>>>> Were those two vanilla kernels? I asked in #snappy on IRC and 
>>>>>>> was told
>>>>>>> that "snapd simply expects some ubuntu bit in patched into the 
>>>>>>> kernel if
>>>>>>> it detects that it runs on an official ubuntu install...". This 
>>>>>>> was also
>>>>>>> suggested "it probably makes sense to file a but in LP to make the
>>>>>>> kernel team aware".
>>>>>> Yes, last time I tried it with git clone from linux_stable on 
>>>>>> kernel.org
>>>>>> and
>>>>>> config-6.0.0-060000-generic from the official Ubuntu mainline build
>>>>> You don't want to do that. Better take the config used to build a
>>>>> working kernel (say 5.19.y) and then build 6.0 with it (after running
>>>>> "make olddefconfig"), because it might be a new kernel option (say 
>>>>> for a
>>>>> new security technique) that might cause the problem, as explained 
>>>>> here:
>>>>> https://docs.kernel.org/admin-guide/reporting-regressions.html
>>>> If I understood well, that would mean building www.kernel.org git
>>>> linux_stable
>>>> source with Ubuntu's config-5.9.13-051903?
>>> I meant "please download Linux 6.0 (ideally through git, that you have
>>> everything to perform a bisection), add the config from a working 
>>> kernel
>>> (if config-5.9.13-051903 is one, yeah, then take that) as .config and
>>> then run "make olddefconfig" before compiling and installing the kernel
>>> to see if 6.0 fails with that config that was working.
>>
>> Hi, Thorsten,
>>
>> Having done this build with mentioned config-5.19.13-051903-config from
>> Ubuntu's mainline build and your recommended make option
>> had produced a kernel that so far did not exhibit the Firefox snap
>> "tab crash/wrong Verneed record version" bug.
>>
>> However, the uptime is 1d 18h50min, so it might be too early to draw
>> a definite general conclusion.
>>
>> Now, the brave conlusion seems to be that the culprit is one of the 
>> modules
>> added in config-6.0.0-060000-generic.
>>
>> I am new to this, but is seems that we should look at some compiled-in
>> modules (147 loadable and 41 compiled-in):

Hi, guys,

I can also confirm the bug with the official RPM build from elrepo stock 
mainline kernel:

[marvin@...mtodorov linux_torvalds]$ uname -rms
Linux 6.0.0-1.el8.elrepo.x86_64 x86_64
[marvin@...mtodorov linux_torvalds]$ /snap/bin/firefox &
/snap/firefox/1883/usr/lib/firefox/firefox: 
/snap/firefox/1883/usr/lib/firefox/firefox: no version information 
available (required by /snap/firefox/1883/usr/lib/firefox/libmozsandbox.so)
/snap/firefox/1883/usr/lib/firefox/firefox: 
/snap/firefox/1883/usr/lib/firefox/firefox: no version information 
available (required by /snap/firefox/1883/usr/lib/firefox/libmozsandbox.so)
/snap/firefox/1883/usr/lib/firefox/firefox: 
/snap/firefox/1883/usr/lib/firefox/firefox: no version information 
available (required by /snap/firefox/1883/usr/lib/firefox/libmozsandbox.so)
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libpthread.so.0: version `' not found (required by 
/snap/firefox/1883/usr/lib/firefox/libmozsandbox.so)
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libpthread.so.0: version `' not found (required by 
/snap/firefox/1883/usr/lib/firefox/libmozsandbox.so)
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/librt.so.1: version `' not found (required by 
/snap/firefox/1883/usr/lib/firefox/libmozsandbox.so)
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/librt.so.1: version `' not found (required by 
/snap/firefox/1883/usr/lib/firefox/libmozsandbox.so)
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: error while loading shared 
libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
Verneed record
/snap/firefox/1883/usr/lib/firefox/firefox: error while loading shared 
libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
Verneed record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: error while loading shared 
libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
Verneed record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: error while loading shared 
libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
Verneed record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: error while loading shared 
libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
Verneed record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: error while loading shared 
libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
Verneed record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: error while loading shared 
libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
Verneed record
Missing chrome or resource URL: 
resource://gre/modules/UpdateListener.sys.mjs
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/firefox: error while loading shared 
libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
Verneed record
/snap/firefox/1883/usr/lib/firefox/pingsender: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/pingsender: 
/lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/snap/firefox/1883/usr/lib/firefox/pingsender: error while loading 
shared libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 
0 of Verneed record
/snap/firefox/1883/usr/lib/firefox/firefox: symbol lookup error: 
/snap/firefox/1883/usr/lib/firefox/libxul.so: undefined symbol: PL_strcmp

[1]+  Done                    /snap/bin/firefox  (wd: ~/Downloads)
(wd now: ~/linux/kernel/linux_torvalds)
[marvin@...mtodorov linux_torvalds]$

However, I haven't yet done informing the Ubuntu developers.

I will try to do that later today.

-Mirsad

-- 
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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ