From patchwork Tue Oct 16 07:09:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Mosnacek X-Patchwork-Id: 10643159 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CF8B7109C for ; Tue, 16 Oct 2018 07:12:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B42DC29A1E for ; Tue, 16 Oct 2018 07:12:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A882529A30; Tue, 16 Oct 2018 07:12:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from UPBD19PA09.eemsg.mail.mil (upbd19pa09.eemsg.mail.mil [214.24.27.84]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA256 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CAADA29A1E for ; Tue, 16 Oct 2018 07:12:11 +0000 (UTC) X-EEMSG-check-008: 144996809|UPBD19PA09_EEMSG_MP9.csd.disa.mil Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by UPBD19PA09.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 16 Oct 2018 07:10:03 +0000 X-IronPort-AV: E=Sophos;i="5.54,387,1534809600"; d="scan'208";a="19447510" IronPort-PHdr: 9a23:iHvhmhDeRTZ1G1mZWninUyQJP3N1i/DPJgcQr6AfoPdwSPn7r86wAkXT6L1XgUPTWs2DsrQY07WQ6/iocFdDyK7JiGoFfp1IW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wsiRQdlPSkw1NR6b0pLkAhxMHUd53vE9DBWO9NWEl6jrZS6tVlqiRCf0S8jWVVKAOVVtnMj8tCy+yjY5jf7qvgOBvrGxLhGV+reIs3jggQwGz/WXUrr8JkRcn/6u1/GEZsGFBZv2XjiONDFJE1vlMhqAZXSXM81u5NV4FYJH/4vFCIt/m/IIs4DxrZhAkZCsPVumIESz8j6qURIeItYQP11a2pMzSYOrrfmApPbMnxEemHiEliFKMlQt08GYNXjSr5cMlI4P4I8s+2y60AjKFLgQR4qJN6ZrpvAZWCuY7bEhuhmBq08zBQywJF6mtU2o2jw1xb2JCfdoD7BIBDKAnj36OubUO5QAbZjrYU8yl94DckN2O2Cw7StFnlQe07radiMYM13to08hx8jbIoG4bIuvdVNRqC3P+/p1Sxez3e7OmteVULeku06yvBccLKdLr4m6qwNNvU06hyK4ZGg++NegYwL7QXg+/RGGYUPjNeG+JzFNbelXq60yOKVs6INxPs1d7MubGgctEkBb9VLpvWiiKjVrSzWhmLuZDMgxo5sGofAsFSONXbO+Zdo1MiPE7AUEHOmfABjA+S/fjt1mrkcB3Om4150L8bKWl/lX8PdeSEwVCGonfow== X-IPAS-Result: A2AiAAAmjsVb/wHyM5BkHAEBAQQBAQcEAQGBUQcBAQsBggADgQlcKIwMX5ZcjgUUgV8SAQEYEwGJMCE0DQ0BAwEBAQEBAQIBbCiCNiQBgmYCJBMNByALAwMJAkAICAMBLQMBBQELFwEHCwUYBIJ/gXUNAwGaazyMBjODKYIQhGgShxiEIheBQT+BEoddARIBhXkCiGiGFY8tCYYZg1KGZQsXgU+HT4cAhB6EfIxsBgIJBw8hgSI4ZHFNIxU7gmyQWG2BBQEBiBIPFwSCIwEB Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 16 Oct 2018 07:10:00 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w9G79ZWS014534; Tue, 16 Oct 2018 03:09:41 -0400 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id w9G79Wds001578 for ; Tue, 16 Oct 2018 03:09:32 -0400 Received: from goalie.tycho.ncsc.mil (goalie.tycho.ncsc.mil [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w9G79WUv014532 for ; Tue, 16 Oct 2018 03:09:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AXAACnjcVbly0VGNZkHQEBBQEHBQGBUQgBCwGCAIFoKIwMX5ZcjgWBegsBAYRshHAhNA0NAQMBAQEBAQECFAEBAQEBBhgGhj8gMoEVAQUBIgESgyCBdQ0DAZpqPIwGM4MphnkShxiEIheBQT+BEo1qAoholUIJhhmDUoZlCxeBT4dPhwCEHoR8jGwGAgkHDyGBIoINTSMVgyeCNBqOCm2JGSqCIwEB X-IPAS-Result: A1AXAACnjcVbly0VGNZkHQEBBQEHBQGBUQgBCwGCAIFoKIwMX5ZcjgWBegsBAYRshHAhNA0NAQMBAQEBAQECFAEBAQEBBhgGhj8gMoEVAQUBIgESgyCBdQ0DAZpqPIwGM4MphnkShxiEIheBQT+BEo1qAoholUIJhhmDUoZlCxeBT4dPhwCEHoR8jGwGAgkHDyGBIoINTSMVgyeCNBqOCm2JGSqCIwEB X-IronPort-AV: E=Sophos;i="5.54,387,1534824000"; d="scan'208";a="392899" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.35]) by goalie.tycho.ncsc.mil with ESMTP; 16 Oct 2018 03:09:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0ASAAAmjsVbly0VGNZkHQEBBQEHBQGBUQgBCwGCAIFoKIwMX5ZcjgWBegsBAYRshHAhNA0NAQMBAQEBAQECARMBAQEBAQYYBliCNiQBgwwgMoEVAQUBIgESgyCBdQ0DAZprPIwGM4MphngShxiEIheBQT+BEo1qAoholUIJhhmDUoZlCxeBT4dPhwCEHoR8jGwGAgkHDyGBIoINTSMVgyeCNBqOCm2JGSqCIwEB X-IPAS-Result: A0ASAAAmjsVbly0VGNZkHQEBBQEHBQGBUQgBCwGCAIFoKIwMX5ZcjgWBegsBAYRshHAhNA0NAQMBAQEBAQECARMBAQEBAQYYBliCNiQBgwwgMoEVAQUBIgESgyCBdQ0DAZprPIwGM4MphngShxiEIheBQT+BEo1qAoholUIJhhmDUoZlCxeBT4dPhwCEHoR8jGwGAgkHDyGBIoINTSMVgyeCNBqOCm2JGSqCIwEB X-IronPort-AV: E=Sophos;i="5.54,387,1534809600"; d="scan'208";a="19447505" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from uhil3cpa06.eemsg.mail.mil ([214.24.21.45]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 16 Oct 2018 07:09:30 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;09e5c089-045a-47ab-a238-f868f5be4508 Authentication-Results: uhil19pa05.eemsg.mail.mil; dkim=none (message not signed) header.i=none; spf=None smtp.pra=omosnace@redhat.com; spf=Pass smtp.mailfrom=omosnace@redhat.com; spf=None smtp.helo=postmaster@mail-wm1-f66.google.com; dmarc=pass (p=none dis=none) d=redhat.com X-EEMSG-check-008: 318128385|UHIL19PA05_EEMSG_MP3.csd.disa.mil X-EEMSG-SBRS: 2.7 X-EEMSG-ORIG-IP: 209.85.128.66 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AeAAB+jcVbf0KAVdFkHQEBBQEHBQGBUQgBCwGEEIwMX5ZcjgWBegsBAROEWYRwGQcBBDANDQEDAQEBAQEBAQEBEwEBCQsLCBsMMYI2JAGDDCAygRUBBQEiARKDIIF1DQSaaTyMBjODKYZ5CQEIhxiEIheBQT+BEo1qAoholUIJhhmDUoZlCxeBT4dPhwCEHoR8jGwGAgkHDyGBIoINTSMVgyeQWG2JGSqCIwEB X-IPAS-Result: A0AeAAB+jcVbf0KAVdFkHQEBBQEHBQGBUQgBCwGEEIwMX5ZcjgWBegsBAROEWYRwGQcBBDANDQEDAQEBAQEBAQEBEwEBCQsLCBsMMYI2JAGDDCAygRUBBQEiARKDIIF1DQSaaTyMBjODKYZ5CQEIhxiEIheBQT+BEo1qAoholUIJhhmDUoZlCxeBT4dPhwCEHoR8jGwGAgkHDyGBIoINTSMVgyeQWG2JGSqCIwEB Received: from mail-wm1-f66.google.com ([209.85.128.66]) by uhil19pa05.eemsg.mail.mil with ESMTP/TLS/AES128-SHA; 16 Oct 2018 07:09:27 +0000 Received: by mail-wm1-f66.google.com with SMTP id 185-v6so22089105wmt.2 for ; Tue, 16 Oct 2018 00:09:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Xz/6mmfTgB8loeYduHOVoRhPUv/XLq8nV0Txgd/qJ9Q=; b=MSlG33NUu/3lC8L9dPFOqv9ZP65tHi1Seb3duoQxTHDou/rK8NhjponeTZfHOt3Kf9 qSdpkksAj/spvflhu0jw3bAnCk9glKYY9EgH1UwlvIPlY7rbhluwkdNTpuYXjbmNpZ2F 0wASc2GcMia/eVDNaGuekfwlHaPme7X0nz/RbLobV80yg0d95L+G/CfsdetVkYBqIRDh ZXB2TpIQpdcCHjkjWuMN5CrW2T83anNW1FnHmwBofsdUivis9vWOJiaDyQgJgJXH/B9B gRewA3sV0FcTDQOiGUBMcj9QMQwJcvUomehKboFMMEl1STYgRd2VE9UES9bk31vSPqgU 4slQ== X-Gm-Message-State: ABuFfohjukEVaFgW4L3HxA3EV/xuZQJrgUNNpqcOc9Zt+TMMbdAej2/s WEVkbSdB3pXS0Ou+n5+/tuFq2Q== X-Google-Smtp-Source: ACcGV62bGbYhcr4dLIuztEj9Bbl4+4g6Knd+DNdcXxTnlkXOQX+R6PF6dUPDynwVvYEtx/k5CwywXA== X-Received: by 2002:a1c:3795:: with SMTP id e143-v6mr16276317wma.9.1539673766069; Tue, 16 Oct 2018 00:09:26 -0700 (PDT) Received: from localhost.localdomain.com (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id g76-v6sm12010147wmd.25.2018.10.16.00.09.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Oct 2018 00:09:25 -0700 (PDT) X-EEMSG-check-009: 444-444 From: Ondrej Mosnacek To: selinux@vger.kernel.org, Paul Moore Date: Tue, 16 Oct 2018 09:09:17 +0200 Message-Id: <20181016070917.5530-1-omosnace@redhat.com> X-Mailer: git-send-email 2.17.2 Subject: [PATCH v2] selinux: fix byte order and alignment issues in policydb.c X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Cc: stable@vger.kernel.org, Doug Ledford , selinux@tycho.nsa.gov, Eli Cohen MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP Add missing LE conversions to the Infiniband-related range checks. These were causing a failure to load any policy with an ibendportcon rule on BE systems. This can be reproduced by running: cat >my_module.cil < Cc: Eli Cohen Cc: James Morris Cc: Doug Ledford Cc: # 4.13+ Fixes: a806f7a1616f ("selinux: Create policydb version for Infiniband support") Signed-off-by: Ondrej Mosnacek --- security/selinux/ss/policydb.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) Changes in v2: - add reproducer to commit message - update e-mail address of James Morris - better Cc also the old SELinux ML diff --git a/security/selinux/ss/policydb.c b/security/selinux/ss/policydb.c index f4eadd3f7350..2b310e8f2923 100644 --- a/security/selinux/ss/policydb.c +++ b/security/selinux/ss/policydb.c @@ -37,6 +37,7 @@ #include #include #include +#include #include "security.h" #include "policydb.h" @@ -2108,7 +2109,7 @@ static int ocontext_read(struct policydb *p, struct policydb_compat_info *info, { int i, j, rc; u32 nel, len; - __le32 buf[3]; + __le32 buf[4]; struct ocontext *l, *c; u32 nodebuf[8]; @@ -2218,20 +2219,20 @@ static int ocontext_read(struct policydb *p, struct policydb_compat_info *info, break; } case OCON_IBPKEY: - rc = next_entry(nodebuf, fp, sizeof(u32) * 4); + rc = next_entry(buf, fp, sizeof(u32) * 4); if (rc) goto out; - c->u.ibpkey.subnet_prefix = be64_to_cpu(*((__be64 *)nodebuf)); + c->u.ibpkey.subnet_prefix = get_unaligned_be64(buf); - if (nodebuf[2] > 0xffff || - nodebuf[3] > 0xffff) { + if (le32_to_cpu(buf[2]) > 0xffff || + le32_to_cpu(buf[3]) > 0xffff) { rc = -EINVAL; goto out; } - c->u.ibpkey.low_pkey = le32_to_cpu(nodebuf[2]); - c->u.ibpkey.high_pkey = le32_to_cpu(nodebuf[3]); + c->u.ibpkey.low_pkey = le32_to_cpu(buf[2]); + c->u.ibpkey.high_pkey = le32_to_cpu(buf[3]); rc = context_read_and_validate(&c->context[0], p, @@ -2249,7 +2250,8 @@ static int ocontext_read(struct policydb *p, struct policydb_compat_info *info, if (rc) goto out; - if (buf[1] > 0xff || buf[1] == 0) { + if (le32_to_cpu(buf[1]) > 0xff || + le32_to_cpu(buf[1]) == 0) { rc = -EINVAL; goto out; } @@ -3105,7 +3107,7 @@ static int ocontext_write(struct policydb *p, struct policydb_compat_info *info, { unsigned int i, j, rc; size_t nel, len; - __le32 buf[3]; + __le32 buf[4]; u32 nodebuf[8]; struct ocontext *c; for (i = 0; i < info->ocon_num; i++) { @@ -3192,12 +3194,12 @@ static int ocontext_write(struct policydb *p, struct policydb_compat_info *info, return rc; break; case OCON_IBPKEY: - *((__be64 *)nodebuf) = cpu_to_be64(c->u.ibpkey.subnet_prefix); + put_unaligned_be64(c->u.ibpkey.subnet_prefix, buf); - nodebuf[2] = cpu_to_le32(c->u.ibpkey.low_pkey); - nodebuf[3] = cpu_to_le32(c->u.ibpkey.high_pkey); + buf[2] = cpu_to_le32(c->u.ibpkey.low_pkey); + buf[3] = cpu_to_le32(c->u.ibpkey.high_pkey); - rc = put_entry(nodebuf, sizeof(u32), 4, fp); + rc = put_entry(buf, sizeof(u32), 4, fp); if (rc) return rc; rc = context_write(p, &c->context[0], fp);