[snap] seccomp denials for syscall=312,314,330 on amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Confirmed
|
Low
|
Unassigned | ||
snapd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# Steps to reproduce
1) Install Chromium's snap
snap install chromium
2) Monitor logs
journalctl -o cat -f --grep chromium
3) Start Chromium
journalctl will be filled with errors due to some syscalls not permitted by the seccomp policy, like those:
Apr 14 11:18:14 sdeziel-lemur audit[1734639]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.
Apr 14 11:18:14 sdeziel-lemur audit[1734751]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.
Apr 14 11:18:14 sdeziel-lemur audit[1734790]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 subj=snap.
# Additional information
$ uname -a
Linux sdeziel-lemur 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -rd
Description: Ubuntu 20.04.4 LTS
Release: 20.04
$ snap list chromium
Name Version Rev Tracking Publisher Notes
chromium 100.0.4896.88 1961 latest/stable canonical✓ -
$ snap connections chromium
Interface Plug Slot Notes
audio-playback chromium:
audio-record chromium:
bluez chromium:bluez :bluez -
browser-support chromium:
camera chromium:camera :camera manual
content[
content[
content[
content[
cups-control chromium:
desktop chromium:desktop :desktop -
desktop-legacy chromium:
gsettings chromium:gsettings :gsettings -
home chromium:home :home -
joystick chromium:joystick :joystick -
mount-observe chromium:
mpris - chromium:mpris -
network chromium:network :network -
network-bind chromium:
network-manager chromium:
opengl chromium:opengl :opengl -
password-
personal-files chromium:
pulseaudio chromium:pulseaudio - -
raw-usb chromium:raw-usb - -
removable-media chromium:
screen-
system-files chromium:
system-packages-doc chromium:
u2f-devices chromium:
unity7 chromium:unity7 :unity7 -
upower-observe chromium:
wayland chromium:wayland :wayland -
x11 chromium:x11 :x11 -
Changed in chromium-browser (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: log-noise |
Here is the syscall number => name mapping on amd64:
312: sys_kcmp
314: sys_sched_setattr (so also covered in LP: #1900679)
330: pkey_alloc