[GH-ISSUE #291] 32-bit firejail allows 64-bit executable, bypassing --seccomp limitations #205

Closed
opened 2026-05-05 05:19:05 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @yumkam on GitHub (Feb 11, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/291

On amd64 cpu, with amd64 kernel, and mostly 32-bit userland,

cp `which strace` /path/to/copy/strace
firejail --seccomp
/path/to/copy/strace /path/to/32-bit-executable # fails with noise in syslog, as expected
strace64 /path/to/64-bit-executable # unexpectedly, works without problem
# (and note that strace64|gdb64|gdb-multiarch are not blacklisted, unlike strace|gdb)

Maybe, it would be good to block all unhandled architectures, if seccomp2 enforcement enabled?

Originally created by @yumkam on GitHub (Feb 11, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/291 On amd64 cpu, with amd64 kernel, and mostly 32-bit userland, ``` sh cp `which strace` /path/to/copy/strace firejail --seccomp /path/to/copy/strace /path/to/32-bit-executable # fails with noise in syslog, as expected strace64 /path/to/64-bit-executable # unexpectedly, works without problem # (and note that strace64|gdb64|gdb-multiarch are not blacklisted, unlike strace|gdb) ``` Maybe, it would be good to block all unhandled architectures, if seccomp2 enforcement enabled?
gitea-mirror 2026-05-05 05:19:05 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Feb 11, 2016):

This could be a security problem, I'll look into it. Thanks!

<!-- gh-comment-id:182984641 --> @netblue30 commented on GitHub (Feb 11, 2016): This could be a security problem, I'll look into it. Thanks!
Author
Owner

@netblue30 commented on GitHub (Feb 13, 2016):

Fixed!

<!-- gh-comment-id:183662953 --> @netblue30 commented on GitHub (Feb 13, 2016): Fixed!
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#205
No description provided.