[GH-ISSUE #2343] Dropping 'mincore' syscall breaks several apps #1564

Closed
opened 2026-05-05 08:13:34 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @Vincent43 on GitHub (Jan 16, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2343

Originally assigned to: @netblue30 on GitHub.

Recent commit that added mincore to default seccomp blacklist causes kodi fail to start. Perhaps we have to move to seccomp.drop filter in kodi profile and omit mincore syscall.

SECCOMP subj==firejail-default (enforce) pid=4792 comm="kodi.bin" exe="/usr/lib/kodi/kodi.bin" sig=31 arch=c000003e syscall=27 compat=0 ip=0x6bf06868d89b code=0x0

Originally created by @Vincent43 on GitHub (Jan 16, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2343 Originally assigned to: @netblue30 on GitHub. Recent [commit](https://github.com/netblue30/firejail/commit/ae3db84128503c16fd638b5c7bf9408d64ce14ba) that added `mincore` to default `seccomp` blacklist causes `kodi` fail to start. Perhaps we have to move to `seccomp.drop` filter in kodi profile and omit `mincore` syscall. `SECCOMP subj==firejail-default (enforce) pid=4792 comm="kodi.bin" exe="/usr/lib/kodi/kodi.bin" sig=31 arch=c000003e syscall=27 compat=0 ip=0x6bf06868d89b code=0x0`
gitea-mirror 2026-05-05 08:13:34 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Vincent43 commented on GitHub (Jan 21, 2019):

Fixed by 05bbec3375

<!-- gh-comment-id:456112495 --> @Vincent43 commented on GitHub (Jan 21, 2019): Fixed by https://github.com/netblue30/firejail/commit/05bbec3375be71cdf7d72cf04634e056cec5c643
Author
Owner

@Vincent43 commented on GitHub (Jan 22, 2019):

Bad news, mpv have the same issue:
SECCOMP ses=1 subj==firejail-default (enforce) pid=23615 comm="mpv/vo" exe="/usr/bin/mpv" sig=31 arch=c000003e syscall=27 compat=0 ip=0x6db290aea89b code=0x0

I wonder if mincore isn't too widely used to be in default filter.

<!-- gh-comment-id:456494396 --> @Vincent43 commented on GitHub (Jan 22, 2019): Bad news, `mpv` have the same issue: `SECCOMP ses=1 subj==firejail-default (enforce) pid=23615 comm="mpv/vo" exe="/usr/bin/mpv" sig=31 arch=c000003e syscall=27 compat=0 ip=0x6db290aea89b code=0x0` I wonder if `mincore` isn't too widely used to be in default filter.
Author
Owner

@SkewedZeppelin commented on GitHub (Jan 22, 2019):

totem seems broken too

<!-- gh-comment-id:456514239 --> @SkewedZeppelin commented on GitHub (Jan 22, 2019): totem seems broken too
Author
Owner

@SkewedZeppelin commented on GitHub (Jan 22, 2019):

We should probably revert it before release to not cause too many issues.

The kernel patch to reduce leakage from the mincore syscall was already backported to all supported kernels anyway. take that back, it wasn't, only in 4.20 for now?

<!-- gh-comment-id:456514742 --> @SkewedZeppelin commented on GitHub (Jan 22, 2019): We should probably revert it before release to not cause too many issues. ~~The kernel patch to reduce leakage from the mincore syscall was already backported to all supported kernels anyway.~~ take that back, it wasn't, only in 4.20 for now?
Author
Owner

@Vincent43 commented on GitHub (Jan 22, 2019):

I think it's only in 5.0 for now. Perhaps isn't considered much urgent.

<!-- gh-comment-id:456547880 --> @Vincent43 commented on GitHub (Jan 22, 2019): I think it's only in 5.0 for now. Perhaps isn't considered much urgent.
Author
Owner

@netblue30 commented on GitHub (Jan 23, 2019):

I have removed it, thanks!

<!-- gh-comment-id:456878685 --> @netblue30 commented on GitHub (Jan 23, 2019): I have removed it, thanks!
Author
Owner

@Vincent43 commented on GitHub (Jan 24, 2019):

@SkewedZeppelin actually the kernel commit was reverted.

<!-- gh-comment-id:457176582 --> @Vincent43 commented on GitHub (Jan 24, 2019): @SkewedZeppelin actually the kernel commit [was reverted](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=30bac164aca750892b93eef350439a0562a68647).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1564
No description provided.