*** This bug is a duplicate of bug 2046844 ***
    https://bugs.launchpad.net/bugs/2046844

Hi cipricus,

can you specify how and where your firefox was installed? We are trying
to support multiple variations including downloading directly from
mozilla if it is installed to the standard location?


mruffell is correct in his assessment that this is due to firefox not correctly 
handling user namespace mediation. This can be seen in your dmesg with the 
following messages

[   69.033622] audit: type=1400 audit(1709714939.278:138): apparmor="AUDIT" 
operation="userns_create" class="namespace" info="Userns create - transitioning 
profile" profile="unconfined" pid=2922 comm=495043204C61756E6368 
requested="userns_create" target="unprivileged_userns"
[   69.037108] audit: type=1400 audit(1709714939.282:139): apparmor="DENIED" 
operation="capable" class="cap" profile="unprivileged_userns" pid=2982 
comm=53616E64626F7820466F726B6564 capability=21  capname="sys_admin"


Unfortunately firefox does not handle the error returned when it tries an 
operation that require sys_admin capability gracefully resulting in the crash.


mruffell has already provided all the relevant links so I will just supplement 
that information

1. The recommended way is updating the firefox profile in
/etc/apparmor.d/firefox by adding the location you have firefox
installed, and then reloading the profile with sudo apparmor_parser -r
/etc/apparmor.d/firefox

2. You can disable user namespaces, this will keep firefox from trying
to use them as part of ts sandbox https://lwn.net/Articles/673597/

3. the least recommended way to fix this is you can disable the finer
grained user namespace restrictions as outlined in
https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-
namespaces

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2056297

Title:
  Non-flatpak Firefox-based browsers crash with kernel 6.8.0-11-generic
  in 24.04

Status in linux package in Ubuntu:
  New

Bug description:
  All details are to be found in my previous bug report
  (https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2056190).

  Given that simply reverting to kernel 6.5.0-17-generic fixes the
  problem, the bug seems to be with the 6.8.0 kernel. Therefore I'm
  posting this.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: linux-image-6.8.0-11-generic 6.8.0-11.11
  ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
  Uname: Linux 6.8.0-11-generic x86_64
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: KDE
  Date: Wed Mar  6 09:49:36 2024
  InstallationDate: Installed on 2023-10-04 (154 days ago)
  InstallationMedia: Kubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  MachineType: Sony Corporation VPCSB2P9E
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-11-generic 
root=UUID=0dbb7177-a759-43f8-86d2-53e3253805d5 ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-6.8.0-11-generic N/A
   linux-backports-modules-6.8.0-11-generic  N/A
   linux-firmware                            20240202.git36777504-0ubuntu1
  SourcePackage: linux
  UpgradeStatus: Upgraded to noble on 2024-03-04 (2 days ago)
  dmi.bios.date: 11/16/2011
  dmi.bios.release: 20.85
  dmi.bios.vendor: INSYDE
  dmi.bios.version: R2085H4
  dmi.board.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.ec.firmware.release: 20.85
  dmi.modalias: 
dmi:bvnINSYDE:bvrR2085H4:bd11/16/2011:br20.85:efr20.85:svnSonyCorporation:pnVPCSB2P9E:pvrC609DJQ5:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:skuN/A:
  dmi.product.family: VAIO
  dmi.product.name: VPCSB2P9E
  dmi.product.sku: N/A
  dmi.product.version: C609DJQ5
  dmi.sys.vendor: Sony Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2056297/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to