Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1216385
| From | Andy Lutomirski <luto@amacapital.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) |
| Date | 2015-08-31 21:20 +0200 |
| Message-ID | <q3CMy-8uA-5@gated-at.bofh.it> (permalink) |
| References | <pVLjX-jQ-5@gated-at.bofh.it> <q0WHL-48j-5@gated-at.bofh.it> <q3zlF-3rM-35@gated-at.bofh.it> <q3A81-4DV-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 31, 2015 at 9:22 AM, David Herrmann <dh.herrmann@gmail.com> wrote: > Hi > > On Mon, Aug 31, 2015 at 5:37 PM, Andy Lutomirski <luto@amacapital.net> wrote: >> On Mon, Aug 24, 2015 at 2:52 AM, David Herrmann <dh.herrmann@gmail.com> wrote: >>> On Mon, Aug 10, 2015 at 4:42 AM, Andy Lutomirski <luto@amacapital.net> wrote: >>>> I haven't checked the context in which it's used, but in order for >>>> kdbus_proc_permission to do what it claims to do, it appears to be >>>> missing calls to security_inode_permission and >>>> security_file_permission. >>> >>> Both are expected to be added by lsm patches (both hooks you mentioned >>> are empty if no lsm is selected). >> >> Will that mean that existing MAC policies stop being fully enforced >> (in effect) if kdbus is installed? > > It means kdbus messages carry information about the sender, which LSMs > might prevent you to read via /proc. Just like you can send dbus > messages to a peer, which LSM-enhanced dbus-daemon might not allow. It's a security-sensitive function that doesn't do what the name and description suggest. Whether that's an active problem or not is unknown, but it's certainly a maintainability problem. > If > you use LSMs, we clearly advise you to wait for kdbus to gain LSM > support. We explicitly support legacy dbus1-compat for exactly such > reasons. This is not an acceptable attitude for security. There are so many things wrong with your statement that I'll limit myself to one of them: Fedora 23/Rawhide, which is the *reference* platform, uses SELinux. --Andy > > Thanks > David -- Andy Lutomirski AMA Capital Management, LLC -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) David Herrmann <dh.herrmann@gmail.com> - 2015-08-24 12:00 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) Andy Lutomirski <luto@amacapital.net> - 2015-08-31 17:40 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) David Herrmann <dh.herrmann@gmail.com> - 2015-08-31 18:30 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) Andy Lutomirski <luto@amacapital.net> - 2015-08-31 21:20 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) Josh Boyer <jwboyer@fedoraproject.org> - 2015-09-01 19:20 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) Andy Lutomirski <luto@amacapital.net> - 2015-09-01 20:40 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) Josh Boyer <jwboyer@fedoraproject.org> - 2015-09-01 21:10 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) Andy Lutomirski <luto@amacapital.net> - 2015-09-01 21:40 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) Josh Boyer <jwboyer@fedoraproject.org> - 2015-09-01 22:00 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) Andy Lutomirski <luto@amacapital.net> - 2015-09-01 22:20 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) Josh Boyer <jwboyer@fedoraproject.org> - 2015-09-01 23:30 +0200
Re: kdbus_proc_permission (Re: [GIT PULL] kdbus updates for Greg) Andy Lutomirski <luto@amacapital.net> - 2015-09-01 23:50 +0200
csiph-web