|
Bugzilla – Full Text Bug Listing |
| Summary: | AUDIT-WHITELIST: gamemode: new polkit actions and rule | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Matthias Bach <marix> |
| Component: | Security | Assignee: | Matthias Gerstner <matthias.gerstner> |
| Status: | RESOLVED FIXED | QA Contact: | Security Team bot <security-team> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | wolfgang.frisch |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Matthias Bach
2023-12-09 14:30:50 UTC
Thank you for opening this bug report. We will schedule it in our team shortly. Thank you for opening the review bug. The new helpers are small and look fine on first sight. We will schedule a full review and report back. I will work on this. Just a quick note on the packaging: you will need to rename the "gamemode.rules" file, because currently the 50-default.rules from polkit-default-privs takes precedence and will override the rules from your package. You should name it something like 40-gamemode.rules for them to become effective. Thanks, Matthias. I had already been wondering what I was doing wrong. I'm done with the review. The helpers are written in a simple, somewhat old school style, but also in a very defensive style. Nothing to complain about. cpu-helper will allow to turn off arbitrary CPUs which is a pretty strong capability in terms of DoSsing a system. Since it is opt in only for members of the gamemode group I guess it's okay. The procsys-helper is also heavy stuff, it allows to disable the `split_lock_mitigate` in /proc/sys/kernel. This allows, as the kernel docs says, "bad applications" to run with better performance, while opening up quite a local DoS vector against all "good applications". Likely some games qualify as such "bad applications" which makes this necessary in gamemode. Here I see it similarly as above for the cpu-helper. It's limited to explicit members of "gamemode" so I am fine with it. Once you have the newly named rules file in the package I will start the whitelisting process. Thanks, Matthias. I have updated the rules file in games:tools:gamemode. I sadly only forgot to tag the bug in the commit so it didn't show up in here. No problem, I already saw it. The whitelisting process has already been started. This is an autogenerated message for OBS integration: This bug (1217915) was mentioned in https://build.opensuse.org/request/show/1133150 Factory / rpmlint The whitelisting is available by now in Factory. Closing as fixed. |