[PR #813] [CLOSED] Quickfix for problem found in SELinux that affects Firejail too. #3760

Closed
opened 2026-05-05 10:07:24 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/813
Author: @manevich
Created: 9/25/2016
Status: Closed

Base: masterHead: CVE-2016-7545


📝 Commits (1)

  • 9da61ac quickfix for SELinux CVE-2016-7545

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 src/firejail/sandbox.c (+4 -0)

📄 Description

Quickfix for problem found in SELinux (CVE-2016-7545) that affects Firejail too.
See https://security-tracker.debian.org/tracker/CVE-2016-7545 and http://seclists.org/oss-sec/2016/q3/606.
Fixed by calling setsid() as done in SELinux. Side effect of this is broken job control in shell:

$ firejail --quiet
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
$ fg
bash: fg: no job control
$ bg
bash: bg: no job control

But this should be fine until somebody comes with better solution.

EDIT: grsecurity prevents exploitation of this problem.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/813 **Author:** [@manevich](https://github.com/manevich) **Created:** 9/25/2016 **Status:** ❌ Closed **Base:** `master` ← **Head:** `CVE-2016-7545` --- ### 📝 Commits (1) - [`9da61ac`](https://github.com/netblue30/firejail/commit/9da61aca4cf8ec3a4c7fa8c0a5fe373b894197d9) quickfix for SELinux CVE-2016-7545 ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/sandbox.c` (+4 -0) </details> ### 📄 Description Quickfix for problem found in SELinux (CVE-2016-7545) that affects Firejail too. See https://security-tracker.debian.org/tracker/CVE-2016-7545 and http://seclists.org/oss-sec/2016/q3/606. Fixed by calling `setsid()` as done in SELinux. Side effect of this is broken job control in shell: ``` $ firejail --quiet bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell $ fg bash: fg: no job control $ bg bash: bg: no job control ``` But this should be fine until somebody comes with better solution. EDIT: grsecurity prevents exploitation of this problem. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:07:24 -06:00
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#3760
No description provided.