v2: - avoid calling vmalloc_user() under read lock - add one more patch that fixes another related race condition v1: https://lore.kernel.org/selinux/CAFqZXNvdtpxveqesYMz3ZxoWGd_vi5euqy6c9gzhmdkKgbU-Fg@xxxxxxxxxxxxxx/T/ Ondrej Mosnacek (2): selinux: fix a race condition in security_read_policy() selinux: fix a race condition in sel_open_policy() security/selinux/include/security.h | 1 - security/selinux/selinuxfs.c | 12 ++++++------ security/selinux/ss/services.c | 28 ++++++++++++---------------- 3 files changed, 18 insertions(+), 23 deletions(-) -- 2.26.2