Closed Bug 1784174 Opened 2 years ago Closed 2 years ago

[snap] firefox's widevine plugin doesn't work when /home is mounted `noexec`. GMP "aborting because of MsgProcessingError"

Categories

(Core :: Audio/Video: GMP, defect, P5)

Firefox 103
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: simon.deziel, Unassigned)

Details

Crash Data

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0

Steps to reproduce:

  1. Install Ubuntu 22.04.1 amd64 and use BTRFS (dunno if the FS matters much here)
  2. Tweak /etc/fstab to have /home mounted noexec
  3. snap install firefox
  4. Reboot (mount -o remount,noexec /home doesn't seem to trigger the problem)
  5. Try to watch a video needing the Widevine plugin

Actual results:

  1. See the Widevine CDM crash notification instead of the video

Expected results:

  1. See the video

Additional information

example crash report

https://crash-stats.mozilla.org/report/index/e7d71a84-5906-448d-b3b4-c3a980220810

about:plugin

Widevine Content Decryption Module provided by Google Inc.

File: 4.10.2449.0
Path: /home/sdeziel/snap/firefox/common/.mozilla/firefox/a0h18qe3.default/gmp-widevinecdm/4.10.2449.0
Version: 4.10.2449.0
State: Enabled
This plugin enables playback of encrypted media in compliance with the Encrypted Media Extensions specification. Encrypted media is typically used by sites to protect against copying of premium media content. Visit https://www.w3.org/TR/encrypted-media/ for more information on Encrypted Media Extensions.

OS/package info

$ snap list firefox
Name Version Rev Tracking Publisher Notes
firefox 103.0.2-1 1670 latest/stable/… mozilla✓ -

$ snap --version
snap 2.56.2+22.04ubuntu1
snapd 2.56.2+22.04ubuntu1
series 16
ubuntu 22.04
kernel 5.15.0-46-generic

$ lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04

$ uname -a
Linux media 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Crash Signature: libxul.so@0x250d797 | libxul.so@0x14f137c | libxul.so@0x250cff5 | libxul.so@0x3d515ee | libxul.so@0x253b875 | libxul.so@0x4653b1c | libxul.so@0x3d64392 | plugin-container@0x6478a
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

The bug has a crash signature, thus the bug will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Audio/Video: Playback → Audio/Video: GMP
Summary: [snap] firefox's widevine plugin doesn't work when /home is mounted `noexec` → [snap] firefox's widevine plugin doesn't work when /home is mounted `noexec`. GMP "aborting because of MsgProcessingError"

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)
Blocks: media-triage
Flags: needinfo?(jmathies)

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)

If /home is mounted noexec, then is there a more appropriate place for a user to store executables?
Is the purpose of a noexec /home to prevent user-installed executables, like the widevine plugin, from running?

Severity: -- → S4
Flags: needinfo?(simon.deziel)
Priority: -- → P5
Flags: needinfo?(jmathies)
No longer blocks: media-triage

@karlt, I don't mind having to mount /home with exec if that's needed. It took me a long time figuring out that noexec the source of the plugin crash. In other words, if a warning/error could be displayed, it's be much appreciated, please!

Flags: needinfo?(simon.deziel)

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.