lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 14 Dec 2020 21:18:20 -0500
From:   Paul Moore <paul@...l-moore.com>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     selinux@...r.kernel.org, linux-security-module@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: [GIT PULL] SELinux patches for v5.11

Hi Linus,

While we have a small number of SELinux patches for v5.11, there are a
few changes worth highlighting:

- Change the LSM network hooks to pass flowi_common structs instead of
the parent flowi struct as the LSMs do not currently need the full
flowi struct and they do not have enough information to use it safely
(missing information on the address family).  This patch was discussed
both with Herbert Xu (representing team netdev) and James Morris
(representing team LSMs-other-than-SELinux).

- Fix how we handle errors in inode_doinit_with_dentry() so that we
attempt to properly label the inode on following lookups instead of
continuing to treat it as unlabeled.

- Tweak the kernel logic around allowx, auditallowx, and dontauditx
SELinux policy statements such that the auditx/dontauditx are
effective even without the allowx statement.

Everything passes our test suite and as of an hour or two ago it
applies cleanly to your tree; please merge for v5.11.

Thanks,
-Paul

--
The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

 Linux 5.10-rc1 (2020-10-25 15:14:11 -0700)

are available in the Git repository at:

 git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git
   tags/selinux-pr-20201214

for you to fetch changes up to 3df98d79215ace13d1e91ddfc5a67a0f5acbd83f:

 lsm,selinux: pass flowi_common instead of flowi to the LSM hooks
   (2020-11-23 18:36:21 -0500)

----------------------------------------------------------------
selinux/stable-5.11 PR 20201214

----------------------------------------------------------------
Gustavo A. R. Silva (1):
     selinux: Fix fall-through warnings for Clang

Ondrej Mosnacek (1):
     selinux: drop super_block backpointer from superblock_security_struct

Paul Moore (2):
     selinux: fix inode_doinit_with_dentry() LABEL_INVALID error handling
     lsm,selinux: pass flowi_common instead of flowi to the LSM hooks

Tianyue Ren (1):
     selinux: fix error initialization in inode_doinit_with_dentry()

bauen1 (1):
     selinux: allow dontauditx and auditallowx rules to take effect without
       allowx

.../chelsio/inline_crypto/chtls/chtls_cm.c         |  2 +-
drivers/net/wireguard/socket.c                     |  4 ++--
include/linux/lsm_hook_defs.h                      |  4 ++--
include/linux/lsm_hooks.h                          |  2 +-
include/linux/security.h                           | 23 +++++++++-------
include/net/flow.h                                 | 10 +++++++++
include/net/route.h                                |  6 ++---
net/dccp/ipv4.c                                    |  2 +-
net/dccp/ipv6.c                                    |  6 ++---
net/ipv4/icmp.c                                    |  4 ++--
net/ipv4/inet_connection_sock.c                    |  4 ++--
net/ipv4/ip_output.c                               |  2 +-
net/ipv4/ping.c                                    |  2 +-
net/ipv4/raw.c                                     |  2 +-
net/ipv4/syncookies.c                              |  2 +-
net/ipv4/udp.c                                     |  2 +-
net/ipv6/af_inet6.c                                |  2 +-
net/ipv6/datagram.c                                |  2 +-
net/ipv6/icmp.c                                    |  6 ++---
net/ipv6/inet6_connection_sock.c                   |  4 ++--
net/ipv6/netfilter/nf_reject_ipv6.c                |  2 +-
net/ipv6/ping.c                                    |  2 +-
net/ipv6/raw.c                                     |  2 +-
net/ipv6/syncookies.c                              |  2 +-
net/ipv6/tcp_ipv6.c                                |  4 ++--
net/ipv6/udp.c                                     |  2 +-
net/l2tp/l2tp_ip6.c                                |  2 +-
net/netfilter/nf_synproxy_core.c                   |  2 +-
net/xfrm/xfrm_state.c                              |  6 +++--
security/security.c                                | 17 +++++++-------
security/selinux/hooks.c                           | 26 ++++++++++++------
security/selinux/include/objsec.h                  |  1 -
security/selinux/include/xfrm.h                    |  2 +-
security/selinux/ss/services.c                     |  4 +---
security/selinux/xfrm.c                            | 13 ++++++-----
35 files changed, 101 insertions(+), 77 deletions(-)

-- 
paul moore
www.paul-moore.com

Powered by blists - more mailing lists