From patchwork Wed Oct 17 14:46:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Mosnacek X-Patchwork-Id: 10645733 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 691B8112B for ; Wed, 17 Oct 2018 14:47:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A977256E6 for ; Wed, 17 Oct 2018 14:47:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C96325EA6; Wed, 17 Oct 2018 14:47:29 +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 upbd19pa07.eemsg.mail.mil (upbd19pa07.eemsg.mail.mil [214.24.27.82]) (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 A8951256E6 for ; Wed, 17 Oct 2018 14:47:27 +0000 (UTC) X-EEMSG-check-008: 174898309|UPBD19PA07_EEMSG_MP7.csd.disa.mil Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.2]) by upbd19pa07.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 17 Oct 2018 14:47:24 +0000 X-IronPort-AV: E=Sophos;i="5.54,392,1534809600"; d="scan'208";a="16912018" IronPort-PHdr: 9a23:ux3dnhF2Czp+6fil4EyKVp1GYnF86YWxBRYc798ds5kLTJ7+p8m9bnLW6fgltlLVR4KTs6sC17KJ9fi4EUU7or+5+EgYd5JNUxJX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w1VQan0sqYaigQASd55pVNMGWWoNWIl6TrHULhagaiSBfEO7DWcULYOU0RpMyN5RRO5wpNudKW1naMPjmQThS55of43wxR4Sxam/y7hvaQA3XQn4r7rmi8GvCliSOmEniWALFJYyv0BgKRUX3Hn7ke6aXIORJH/7LluOYLr8ox3sCd3WgkqYyBTBbfoMCr3la7dR9XX6ogOjQORuMjIcb64JDQTMbJ40x/4WnxhyVKAxkR18GoPG2S45Yd7YoiwIsMqgC+hGGydcVcIscYr+MfytFteSuwwZBshxWh4ycGIS2ULQ9CHAGc6iAUoKC1EfZtP5AVcFvwuhTCF7cwkthoMbmLyFYKospLVgd+OwWM0GNBvwXnQr6aIrokn3H1sh5V/6Svd3RZabPTWBvdlGWO7zYJD0ar7bvSpvPoATd5hzbO6VvYJP+G59Ge20YksUUigldF8V0GhProlwbHWGzygVXXeWemPdD2UmC0lN0fp+RSyBlg+acMPsFVkd+Wc1thTkAruVb4yTSKV9jq5hGAmOPkRIho/o5zvOxRfSukXaqCQJPN7xvo4BRpEYyrTECd2AvPwulmokQ== X-IPAS-Result: A2AOAQDeSsdb/wHyM5BiHAEBAQQBAQcEAQGBVAQBAQsBggEDgQlcKIxrizuLEY4cgVoXAQEYEwGJPCE3Cg0BAwEBAQEBAQIBbCiCNiSCZwIkExQgCwMDCQJACAgDAS0DAQUBCx8LBRgEgn+BdQ0DAZkePIwGM4U6hF4ShxiEIheBQT+IbwESAWyFDQKOf48yCYYcg1WGZwsXiR+HAgGWFAYCCQcPIYE4ImRxTSMVO4JskFhtgQUBAYhFgj4BAQ Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 17 Oct 2018 14:47:22 +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 w9HElBxq025480; Wed, 17 Oct 2018 10:47:16 -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 w9HElAwN008646 for ; Wed, 17 Oct 2018 10:47:10 -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 w9HElAEH025477 for ; Wed, 17 Oct 2018 10:47:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AoAAAiSsdbl3oVGNZiHgEGBwaBUQkLAYIBgWgojGuLO4sRjgiBegsBAYRshHwhNA0NAQMBAQEBAQECFAEBAQEBBhgGhj9SgRUBBQE1gyCBdQ0DAZkePIwGM4oYEocYhCIXgUE/iW+FDQKeMQmGHINVhmcLF4kfhwOWFAYCCQcPIYEigg1NIxWDJ4I0jiRtjAoBAQ X-IPAS-Result: A1AoAAAiSsdbl3oVGNZiHgEGBwaBUQkLAYIBgWgojGuLO4sRjgiBegsBAYRshHwhNA0NAQMBAQEBAQECFAEBAQEBBhgGhj9SgRUBBQE1gyCBdQ0DAZkePIwGM4oYEocYhCIXgUE/iW+FDQKeMQmGHINVhmcLF4kfhwOWFAYCCQcPIYEigg1NIxWDJ4I0jiRtjAoBAQ X-IronPort-AV: E=Sophos;i="5.54,392,1534824000"; d="scan'208";a="394295" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.35]) by goalie.tycho.ncsc.mil with ESMTP; 17 Oct 2018 10:47:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AfAADeSsdbl3oVGNZiHgEGBwaBUQkLAYIBgWgojGuLO4sRjgiBegsBAYRshHwhNA0NAQMBAQEBAQECARMBAQEBAQYYBliCNiQBgwxSgRUBBQE1gyCBdQ0DAZkePIwGM4oYEocYhCIXgUE/iW+FDQKeMQmGHINVhmcLF4kfhwOWFAYCCQcPIYEigg1NIxWDJ4I0jiRtjAoBAQ X-IPAS-Result: A0AfAADeSsdbl3oVGNZiHgEGBwaBUQkLAYIBgWgojGuLO4sRjgiBegsBAYRshHwhNA0NAQMBAQEBAQECARMBAQEBAQYYBliCNiQBgwxSgRUBBQE1gyCBdQ0DAZkePIwGM4oYEocYhCIXgUE/iW+FDQKeMQmGHINVhmcLF4kfhwOWFAYCCQcPIYEigg1NIxWDJ4I0jiRtjAoBAQ X-IronPort-AV: E=Sophos;i="5.54,392,1534809600"; d="scan'208";a="19522832" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from uhil3cpa11.eemsg.mail.mil ([214.24.21.122]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 17 Oct 2018 14:47:09 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;37609017-9e14-454f-bcae-75424ef65d42 Authentication-Results: uhil19pa07.eesmg.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-wr1-f68.google.com; dmarc=pass (p=none dis=none) d=redhat.com X-EEMSG-check-008: 285781010|UHIL19PA07_EEMSG_MP5.csd.disa.mil X-EEMSG-SBRS: 2.7 X-EEMSG-ORIG-IP: 209.85.221.68 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AvAAChSsdbf0TdVdFiHgEGBwaBUQkLAYQRjGuLO4sRjgiBegsBAROEWYR8GQcBBDANDQEDAQEBAQEBAQEBEwEBCQsLCBsMMYI2JAGDDFKBFQEFATWDIIF1DQSZHTyMBjOKGAkBCIcYhCIXgUE/iW+FDQKeMQmGHINVhmcLF4kfhwIBlhQGAgkHDyGBIoINTSMVgyeQWG2MCgEB X-IPAS-Result: A0AvAAChSsdbf0TdVdFiHgEGBwaBUQkLAYQRjGuLO4sRjgiBegsBAROEWYR8GQcBBDANDQEDAQEBAQEBAQEBEwEBCQsLCBsMMYI2JAGDDFKBFQEFATWDIIF1DQSZHTyMBjOKGAkBCIcYhCIXgUE/iW+FDQKeMQmGHINVhmcLF4kfhwIBlhQGAgkHDyGBIoINTSMVgyeQWG2MCgEB Received: from mail-wr1-f68.google.com ([209.85.221.68]) by uhil19pa07.eesmg.mail.mil with ESMTP/TLS/AES128-SHA; 17 Oct 2018 14:47:06 +0000 Received: by mail-wr1-f68.google.com with SMTP id g15-v6so30008110wru.9 for ; Wed, 17 Oct 2018 07:47:06 -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=eJGkJ0owUL3V+L1BnNpzt4sCGftNBgXEgWmcqcJ8Aiw=; b=RxyOT7kGA/7Mb3gxamjSiHcKowZsaWTDOJpN3DjmfxuIliX8WIhbNV6QUi0uR0jBZX xt3Olf9I1GWm67Y9eWpLOgWtjJZC7cm2CfCIRr7CE6Y28DUctft/ln1+hAdB4SzyqJ9I bhDlrpPL0V+jhmorayZU8kzuIM57xYeJvH/f5SHUev1iAptbQD0NbI4ysE64H+c9vs+N QKdCbtgf6KgbU5GfsiBSJmoKlfAcMclZZTLv8tQHhNc8ePaSOVMgVw90bqZANNOFQQVa jbCl0lzBqBgtXvKOn0gdVPt64ssc5A6KxgVVD7mBu7R7PX31evceVryh8/WHCaIHebld nMzA== X-Gm-Message-State: ABuFfognrEXZu9NcUxHiiBWRNXrxX+GSyk/l80Hn8n17uTyI8PrZfL26 REUQTJPrmQaA7eJADI3HYvIMtw== X-Google-Smtp-Source: ACcGV610vsV8SjiCKctEmARekorkUcSjCGFsI6MpCKligu9vZFflOEPnGQa2CGqcZm4Zs3+V8BLZ0g== X-Received: by 2002:adf:a481:: with SMTP id g1-v6mr25817571wrb.167.1539787624586; Wed, 17 Oct 2018 07:47:04 -0700 (PDT) Received: from localhost.localdomain.com (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id g15-v6sm11561082wrr.36.2018.10.17.07.47.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Oct 2018 07:47:03 -0700 (PDT) X-EEMSG-check-009: 444-444 From: Ondrej Mosnacek To: selinux@vger.kernel.org Date: Wed, 17 Oct 2018 16:46:59 +0200 Message-Id: <20181017144659.10960-1-omosnace@redhat.com> X-Mailer: git-send-email 2.17.2 Subject: [PATCH] libsepol: fix endianity in ibpkey range checks 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: Stephen Smalley , selinux@tycho.nsa.gov MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP We need to convert from little-endian before dong range checks on the ibpkey port numbers, otherwise we would be checking a wrong value. Fixes: 9fbb3112769a ("libsepol: Add ibpkey ocontext handling") Signed-off-by: Ondrej Mosnacek Acked-by: Stephen Smalley --- libsepol/src/policydb.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/libsepol/src/policydb.c b/libsepol/src/policydb.c index a6d76ca3..dc201e2f 100644 --- a/libsepol/src/policydb.c +++ b/libsepol/src/policydb.c @@ -2830,15 +2830,21 @@ static int ocontext_read_selinux(struct policydb_compat_info *info, break; case OCON_IBPKEY: rc = next_entry(buf, fp, sizeof(uint32_t) * 4); - if (rc < 0 || buf[2] > 0xffff || buf[3] > 0xffff) + if (rc < 0) return -1; + c->u.ibpkey.low_pkey = le32_to_cpu(buf[2]); + c->u.ibpkey.high_pkey = le32_to_cpu(buf[3]); + + if (c->u.ibpkey.low_pkey > 0xffff || + c->u.ibpkey.high_pkey > 0xffff) + return -1; + + /* we want c->u.ibpkey.subnet_prefix in network + * (big-endian) order, just memcpy it */ memcpy(&c->u.ibpkey.subnet_prefix, buf, sizeof(c->u.ibpkey.subnet_prefix)); - c->u.ibpkey.low_pkey = le32_to_cpu(buf[2]); - c->u.ibpkey.high_pkey = le32_to_cpu(buf[3]); - if (context_read_and_validate (&c->context[0], p, fp)) return -1;