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:   Sun, 16 Oct 2022 21:19:40 +0100
From:   Phillip Lougher <phillip@...ashfs.org.uk>
To:     Mirsad Goran Todorovac <mirsad.todorovac@....unizg.hr>,
        regressions@...mhuis.info
Cc:     bagasdotme@...il.com, linux-kernel@...r.kernel.org,
        marcmiltenberger@...il.com, regressions@...ts.linux.dev,
        srw@...dewatkins.net, phillip.lougher@...il.com
Subject: Re: BISECT result: 6.0.0-RC kernels trigger Firefox snap bug with
 6.0.0-rc3 through 6.0.0-rc7

On 16/10/2022 20:55, Phillip Lougher wrote:
> 
> Tracking down bugs of this sort is always a process of elimination,
> and gathering information to pinpoint the exact circumstances of why
> it is triggering.
> 
> Next step is to download the exact snap(s) where the problems are 
> occurring, as this may provide some insights.
> 
> I don't run Ubuntu, and I don't use snaps.  Can you provide the
> download link(s) of the snap(s) that cause problems?  If there's
> any firefox snaps that don't cause problems those will be useful
> too.
> 

It appears there's a searchable "Snap Store" https://snapcraft.io,
but, it doesn't give any download links to the actual snaps which
is rather annoying.

Does anyone know how to get the download link?  I have not run
Ubuntu for over 14 years and have absolutely no wish to do so
now either.

Thanks

Phillip

> You don't mention if there's any errors present in "dmesg" when
> this happens, and so I'm assuming there aren't any?
> 
> Phillip
> 
> 
>> marvin@...vin-IdeaPad-3-15ITL6:~$ sudo tail -300f /var/log/syslog | 
>> grep firefox
>> Oct 16 17:23:17 marvin-IdeaPad-3-15ITL6 systemd[1795]: Started 
>> snap.firefox.firefox.41ac7adc-efbd-4c47-bccb-06711efb7a2e.scope.
>> Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2556]: 
>> update.go:85: cannot change mount namespace according to change mount 
>> (/var/lib/snapd/hostfs/usr/share/cups/doc-root 
>> /usr/share/cups/doc-root none bind,ro 0 0): cannot create directory 
>> "/usr/share/cups/doc-root": permission denied
>> Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2556]: 
>> update.go:85: cannot change mount namespace according to change mount 
>> (/var/lib/snapd/hostfs/usr/share/gimp/2.0/help 
>> /usr/share/gimp/2.0/help none bind,ro 0 0): cannot create directory 
>> "/usr/share/gimp/2.0": permission denied
>> Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2556]: 
>> update.go:85: cannot change mount namespace according to change mount 
>> (/var/lib/snapd/hostfs/usr/share/libreoffice/help 
>> /usr/share/libreoffice/help none bind,ro 0 0): cannot create directory 
>> "/usr/share/libreoffice/help": permission denied
>> Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2556]: 
>> update.go:85: cannot change mount namespace according to change mount 
>> (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs 
>> none bind,ro 0 0): cannot open directory "/var/lib": permission denied
>> Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 kernel: [   25.654344] audit: 
>> type=1400 audit(1665933798.028:105): apparmor="DENIED" 
>> operation="mkdir" profile="snap-update-ns.firefox" 
>> name="/usr/share/cups/doc-root/" pid=2556 comm="5" requested_mask="c" 
>> denied_mask="c" fsuid=0 ouid=0
>> Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 kernel: [   25.655141] audit: 
>> type=1400 audit(1665933798.028:106): apparmor="DENIED" 
>> operation="mkdir" profile="snap-update-ns.firefox" 
>> name="/usr/share/gimp/2.0/" pid=2556 comm="5" requested_mask="c" 
>> denied_mask="c" fsuid=0 ouid=0
>> Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 kernel: [   25.655528] audit: 
>> type=1400 audit(1665933798.028:107): apparmor="DENIED" 
>> operation="mkdir" profile="snap-update-ns.firefox" 
>> name="/usr/share/libreoffice/help/" pid=2556 comm="5" 
>> requested_mask="c" denied_mask="c" fsuid=0 ouid=0
>> Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 kernel: [   25.655671] audit: 
>> type=1400 audit(1665933798.028:108): apparmor="DENIED" 
>> operation="open" profile="snap-update-ns.firefox" name="/var/lib/" 
>> pid=2556 comm="5" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
>> Oct 16 17:23:19 marvin-IdeaPad-3-15ITL6 firefox[2527]: Failed to load 
>> module "canberra-gtk-module"
>> Oct 16 17:23:19 marvin-IdeaPad-3-15ITL6 firefox[2527]: Failed to load 
>> module "canberra-gtk-module"
>> Oct 16 17:23:19 marvin-IdeaPad-3-15ITL6 kernel: [   27.287722] audit: 
>> type=1326 audit(1665933799.660:110): auid=1000 uid=1000 gid=1000 ses=3 
>> subj=snap.firefox.firefox pid=2527 comm="firefox" 
>> exe="/snap/firefox/1943/usr/lib/firefox/firefox" sig=0 arch=c000003e 
>> syscall=314 compat=0 ip=0x7f54ec28673d code=0x50000
>> Oct 16 17:23:20 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2527]: 
>> ATTENTION: default value of option mesa_glthread overridden by 
>> environment.
>> Oct 16 17:23:20 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2527]: 
>> message repeated 2 times: [ ATTENTION: default value of option 
>> mesa_glthread overridden by environment.]
>> Oct 16 17:23:23 marvin-IdeaPad-3-15ITL6 snapd[817]: 
>> storehelpers.go:748: cannot refresh: snap has no updates available: 
>> "bare", "canonical-livepatch", "core", "core18", "core20", "firefox", 
>> "gnome-3-34-1804", "gnome-3-38-2004", "gtk-common-themes", "slack", 
>> "snap-store", "snapd", "zoom-client"
>> Oct 16 17:23:40 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2527]: 
>> Missing chrome or resource URL: 
>> resource://gre/modules/UpdateListener.sys.mjs
>> Oct 16 17:23:55 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: 
>> [2022-10-16T15:23:55Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
>> Oct 16 17:23:55 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: 
>> message repeated 3 times: [ [2022-10-16T15:23:55Z ERROR mp4parse] 
>> Found 2 nul bytes in "\0\0"]
>> Oct 16 17:23:56 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: 
>> [2022-10-16T15:23:56Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
>> Oct 16 17:23:56 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: 
>> message repeated 3 times: [ [2022-10-16T15:23:56Z ERROR mp4parse] 
>> Found 2 nul bytes in "\0\0"]
>> Oct 16 17:23:58 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: 
>> [2022-10-16T15:23:58Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
>> Oct 16 17:23:58 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: 
>> message repeated 3 times: [ [2022-10-16T15:23:58Z ERROR mp4parse] 
>> Found 2 nul bytes in "\0\0"]
>> Oct 16 17:24:14 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4942]: 
>> XPCOMGlueLoad error for file 
>> /snap/firefox/1943/usr/lib/firefox/libmozgtk.so:
>> Oct 16 17:24:14 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4942]: 
>> /snap/firefox/1943/gnome-platform/usr/lib/x86_64-linux-gnu/libXcomposite.so.1: unsupported version 0 of Verneed record
>> Oct 16 17:24:14 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4942]: 
>> Couldn't load XPCOM.
>> Oct 16 17:24:19 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4995]: 
>> XPCOMGlueLoad error for file 
>> /snap/firefox/1943/usr/lib/firefox/libmozgtk.so:
>> Oct 16 17:24:19 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4995]: 
>> /snap/firefox/1943/gnome-platform/usr/lib/x86_64-linux-gnu/libXcomposite.so.1: unsupported version 0 of Verneed record
>> Oct 16 17:24:19 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4995]: 
>> Couldn't load XPCOM.
>> Oct 16 17:24:21 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5033]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
>> Oct 16 17:24:21 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5033]: 
>> message repeated 2 times: [ 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record]
>> Oct 16 17:24:21 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5033]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared 
>> libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
>> Verneed record
>> Oct 16 17:24:27 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4480]: 
>> Inconsistency detected by ld.so: ../elf/dl-runtime.c: 80: _dl_fixup: 
>> Assertion `ELFW(R_TYPE)(reloc->r_info) == ELF_MACHINE_JMP_SLOT' failed!
>> Oct 16 17:24:31 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5163]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
>> Oct 16 17:24:31 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5163]: 
>> message repeated 2 times: [ 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record]
>> Oct 16 17:24:31 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5163]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared 
>> libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
>> Verneed record
>> Oct 16 17:24:36 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5205]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
>> Oct 16 17:24:36 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5205]: 
>> message repeated 2 times: [ 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record]
>> Oct 16 17:24:36 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5205]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared 
>> libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
>> Verneed record
>> Oct 16 17:24:42 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5372]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
>> Oct 16 17:24:42 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5372]: 
>> message repeated 2 times: [ 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record]
>> Oct 16 17:24:42 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5372]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared 
>> libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
>> Verneed record
>> Oct 16 17:24:45 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5396]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
>> Oct 16 17:24:45 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5396]: 
>> message repeated 2 times: [ 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record]
>> Oct 16 17:24:45 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5396]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared 
>> libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
>> Verneed record
>> Oct 16 17:24:53 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5483]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
>> Oct 16 17:24:53 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5483]: 
>> message repeated 2 times: [ 
>> /snap/firefox/1943/usr/lib/firefox/firefox: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record]
>> Oct 16 17:24:53 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5483]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared 
>> libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
>> Verneed record
>> Oct 16 17:25:02 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2527]: 
>> Missing chrome or resource URL: 
>> resource://gre/modules/UpdateListener.sys.mjs
>> Oct 16 17:25:07 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5514]: 
>> /snap/firefox/1943/usr/lib/firefox/pingsender: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
>> Oct 16 17:25:07 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5514]: 
>> /snap/firefox/1943/usr/lib/firefox/pingsender: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
>> Oct 16 17:25:07 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5514]: 
>> /snap/firefox/1943/usr/lib/firefox/pingsender: error while loading 
>> shared libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported 
>> version 0 of Verneed record
>> Oct 16 17:25:07 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2764]: 
>> /snap/firefox/1943/usr/lib/firefox/firefox: symbol lookup error: 
>> /snap/firefox/1943/usr/lib/firefox/libmozsandbox.so: undefined symbol: 
>> , version
>> Oct 16 17:25:07 marvin-IdeaPad-3-15ITL6 systemd[1795]: 
>> snap.firefox.firefox.41ac7adc-efbd-4c47-bccb-06711efb7a2e.scope: 
>> Consumed 6min 11.938s CPU time.
>> Oct 16 17:26:22 marvin-IdeaPad-3-15ITL6 systemd[1795]: Started 
>> snap.firefox.firefox.8af6eb39-1ebc-4e81-a7c1-a6cc66e76eac.scope.
>> Oct 16 17:26:23 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5573]: 
>> /bin/bash: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of 
>> Verdef record
>> Oct 16 17:26:23 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5573]: 
>> /bin/bash: error while loading shared libraries: 
>> /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verneed record
>>
>> I have double-checked that this version of the function is in my build 
>> tree:
>>
>> static int squashfs_readahead_fragment(struct page **page,
>>          unsigned int pages, unsigned int expected)
>> {
>>          struct inode *inode = page[0]->mapping->host;
>>          struct squashfs_cache_entry *buffer = 
>> squashfs_get_fragment(inode->i_sb,
>>                  squashfs_i(inode)->fragment_block,
>>                  squashfs_i(inode)->fragment_size);
>>          struct squashfs_sb_info *msblk = inode->i_sb->s_fs_info;
>>          unsigned int n, mask = (1 << (msblk->block_log - PAGE_SHIFT)) 
>> - 1;
>>          int error = buffer->error;
>>
>>          if (error)
>>                  goto out;
>>
>>          expected += squashfs_i(inode)->fragment_offset;
>>
>>          for (n = 0; n < pages; n++) {
>>                  unsigned int base = (page[n]->index & mask) << 
>> PAGE_SHIFT;
>>                  unsigned int offset = base + 
>> squashfs_i(inode)->fragment_offset;
>>
>>                  if (expected > offset) {
>>                          unsigned int avail = min_t(unsigned int, 
>> expected -
>>                                  offset, PAGE_SIZE);
>>
>>                          squashfs_fill_page(page[n], buffer, offset, 
>> avail);
>>                  }
>>
>>                  unlock_page(page[n]);
>>                  put_page(page[n]);
>>          }
>>
>> out:
>>          squashfs_cache_put(buffer);
>>          return error;
>> }
>>
>> The same set of Firefox windows and tabs loaded correctly once 
>> switching back to the 5.19.13 kernel image.
>>
>> The same applies for running the same setup with the home-built "Linux 
>> 5.19.15-20221014-conf051913ub x86_64": No Verdef nor Verneed error 
>> messages.
>>
>> Have a nice day, and good bug hunting!
>>
>> Regards,
>> Mirsad
>>
>> -- 
>> Mirsad Goran Todorovac
>> Sistem inženjer
>> Grafički fakultet | Akademija likovnih umjetnosti
>> Sveučilište u Zagrebu
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ