From patchwork Mon Oct 22 08:18:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Mosnacek X-Patchwork-Id: 10651853 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 989F790 for ; Mon, 22 Oct 2018 08:18:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8883126E16 for ; Mon, 22 Oct 2018 08:18:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C8C126E78; Mon, 22 Oct 2018 08:18:34 +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 ucol19pa13.eemsg.mail.mil (ucol19pa13.eemsg.mail.mil [214.24.24.86]) (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 D42F526E16 for ; Mon, 22 Oct 2018 08:18:33 +0000 (UTC) X-EEMSG-check-008: 638386552|UCOL19PA13_EEMSG_MP11.csd.disa.mil X-IronPort-AV: E=Sophos;i="5.54,411,1534809600"; d="scan'208";a="638386552" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by ucol19pa13.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 22 Oct 2018 08:18:32 +0000 X-IronPort-AV: E=Sophos;i="5.54,411,1534809600"; d="scan'208";a="19687361" IronPort-PHdr: 9a23:dDGhJha5wNRoevbkYDjT26//LSx+4OfEezUN459isYplN5qZosy/YR7h7PlgxGX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mVO/ErndN5IJiLq8PO0KdpIbrrjdTs102BhUmaLouoTxbbEXOmxdVW6nssr4algQcScJ5uVNLGW+oI2I+6T/HWrhUgaSSE/EV7CucTrYPU0RpNSN+RQm52JNwdLu1zrh7tTZdkyd8puU6+yJpSQH6uiD2oa8JnzU69+KWrjIE7FtDQv+TkW/tDk5Fxf8Hju9IDHPl8lq1a3Qrdob+4LB7Y8/n8N9ysDwEfRw/cnheDqybACbqgvbNW9TV6oBVmQKNtcPSbLS6MSkVMPEnxAn+Q2RmiFaEzitT3kFSEw2JtI5iKYi4IsljwyOpHS7edVJfh8EBvMjwsAsNS+07IRNkzX5428eKDisKWITUGmkzgwRlIWVJeZ5O81kbQq8vhDvb28sO5RkaNRHTFInt4YzMhYHQw3BoStJt3WTfraCtnJ4m0HR53dhz633r2jwJb+KNa8Z3GTDo05tHj+n3ZvGjqOcCHYxjz6+nWfQPGtOu9Wu/xNNhXUr2o9ZWBEK3ZckEwLqTSCK5USuYVOCMJnCLhCo8O1Xu6AOAK1Q2bIJVqhZ4PLWdwJFbkALlXPV/QSDDwD2TwGkqK+hPbwsto8/nY1kMS+gcL+SdPr0ox/szSRMAOmXEESt/F6m9tlug X-IPAS-Result: A2DUAACGhs1b/wHyM5BkHAEBAQQBAQcEAQGBUwUBAQsBggEDgQlKEiiMbIs5ixWODRSBWhcBARgTAYlSITYLDQEDAQEBAQEBAgFsKII2JIJoAiQTFCALAwMJAkAICAMBLQQFDB8LBRgEgwCBdQ0DAaUAM4U7hFcShx2EIxeBQT+IbgESAWyFDQKPDI88CYYlikILF4kkhwkBljYGAgkWgUoELWRxTSMVO4JskFltgQUBAYg7gj4BAQ Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 22 Oct 2018 08:18:31 +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 w9M8INEb001628; Mon, 22 Oct 2018 04:18:27 -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 w9M8ILa3032121 for ; Mon, 22 Oct 2018 04:18:21 -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 w9M8IJFM001623 for ; Mon, 22 Oct 2018 04:18:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1ARAwBDh81bly0aGNZkH4F4ggKBVhIojGyLOYsVkAcLAQGEbIUSITcKDQEDAQEBAQEBAhQBAQEBAQYYBoZAUoEWBTaDIYF1EAGkfDOKEhKHHYQjF4FBP4luhQ0CnkgJhiWKQgsXiSSHCpY2BgIJFoFZgXdNIxWDJ4I0jiVtjAABAQ X-IPAS-Result: A1ARAwBDh81bly0aGNZkH4F4ggKBVhIojGyLOYsVkAcLAQGEbIUSITcKDQEDAQEBAQEBAhQBAQEBAQYYBoZAUoEWBTaDIYF1EAGkfDOKEhKHHYQjF4FBP4luhQ0CnkgJhiWKQgsXiSSHCpY2BgIJFoFZgXdNIxWDJ4I0jiVtjAABAQ X-IronPort-AV: E=Sophos;i="5.54,411,1534824000"; d="scan'208";a="397331" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.34]) by goalie.tycho.ncsc.mil with ESMTP; 22 Oct 2018 04:18:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AyAgBDh81bly0aGNZkH4F4ggKBVhIojGyWTpAHCwEBhGyFMzcKDQEDAQEBAQEBAgETAQEBAQEGGAZYgjYkAYMNUoEWBTaDIYF1EAGkfDOKEhKHHYQ6gUE/iW6FDQKeSAmGJYpCCxeJJIcKljYGAgkWgVmBd00jFYMngjSOJW2MAAEB X-IPAS-Result: A0AyAgBDh81bly0aGNZkH4F4ggKBVhIojGyWTpAHCwEBhGyFMzcKDQEDAQEBAQEBAgETAQEBAQEGGAZYgjYkAYMNUoEWBTaDIYF1EAGkfDOKEhKHHYQ6gUE/iW6FDQKeSAmGJYpCCxeJJIcKljYGAgkWgVmBd00jFYMngjSOJW2MAAEB X-IronPort-AV: E=Sophos;i="5.54,411,1534809600"; d="scan'208";a="17036430" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from uphb3cpa06.eemsg.mail.mil (HELO USFB19PA20.eemsg.mail.mil) ([214.24.26.45]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 22 Oct 2018 08:18:20 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;bc1445c6-ef66-4e42-9671-989770fe68a0 Authentication-Results: USFB19PA09.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-f67.google.com; dmarc=pass (p=none dis=none) d=redhat.com X-EEMSG-check-008: 60322529|USFB19PA09_EEMSG_MP5.csd.disa.mil X-EEMSG-SBRS: 2.7 X-EEMSG-ORIG-IP: 209.85.128.67 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A1AAC4hs1bf0OAVdFkHgEGBwaBUQkLAYQRjGyLOYsVjg2BegsBAROEWYUSGQcBBDANDQEDAQEBAQEBAQEBEwEBCQsLCBsMMYI2JAGDDVKBFQEFATWDIYF1DQSYPzyMBjOKEgkBCIcdhCMXgUE/iW6FDQKeSAmGJYpCCxeJJIcJAZY2BgIJBw8hgSKCDU0jFYMnkFltjAABAQ X-IPAS-Result: A0A1AAC4hs1bf0OAVdFkHgEGBwaBUQkLAYQRjGyLOYsVjg2BegsBAROEWYUSGQcBBDANDQEDAQEBAQEBAQEBEwEBCQsLCBsMMYI2JAGDDVKBFQEFATWDIYF1DQSYPzyMBjOKEgkBCIcdhCMXgUE/iW6FDQKeSAmGJYpCCxeJJIcJAZY2BgIJBw8hgSKCDU0jFYMnkFltjAABAQ Received: by mail-wm1-f67.google.com with SMTP id 143-v6so9211239wmf.1 for ; Mon, 22 Oct 2018 01:18:15 -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=zPNnaR+OscqGVO8MWgaGTRnSIc7drH7cHgnhJXE09sk=; b=XXW5hlkn1uW6VV7relTc2sVhpPlce+FWrl+Ia2o7ywQjm2/lPwXTbnLyXJEi9t9QeH kbUHEJeA4tVOXiqFq9MVMpEsvKWfaUEr7bYYGdQpp25JUXINxesupurwgSSrPkUbzL+U qYiqdfNv8L/nNPgRVg9Slb5no8O+79KxsBDnNL6L4TXkFndvKv5Q8ACpGPKRi3ihiF1b qnujoJPlsBF+wsfyKnIKSGaGNVvmhFoYgpOoTBzS8gu1AKybfQ3j/PbtTWQw6Ggkh7td 3cI1aP5yEit41wqEcGbJAZHECCiJRFi+9h5Eetmd8AzfQsG5LckHvdDKVFR22UuCr5/P QZTw== X-Gm-Message-State: ABuFfoj5IzngxUMc2dRYDl9op8GwPzTJBku2b+m4WSxb563CVg/uoI6l bA1d28LcjPl7/RXVfBet8kJugg== X-Google-Smtp-Source: ACcGV63tW0FGzihJii003blCnNK/CLrrVaFFZAiV0+cSkekWyWcD2uB3mlv1TQrXkWcaDEx8mQ04Og== X-Received: by 2002:a1c:8c46:: with SMTP id o67-v6mr14676868wmd.35.1540196293618; Mon, 22 Oct 2018 01:18:13 -0700 (PDT) Received: from localhost.localdomain.com (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id i7-v6sm49804785wrb.30.2018.10.22.01.18.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Oct 2018 01:18:12 -0700 (PDT) X-EEMSG-check-009: 444-444 From: Ondrej Mosnacek To: selinux@vger.kernel.org Date: Mon, 22 Oct 2018 10:18:07 +0200 Message-Id: <20181022081807.5018-1-omosnace@redhat.com> X-Mailer: git-send-email 2.17.2 Subject: [PATCH] libsepol: add missing ibendport port validity check 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 The kernel checks if the port is in the range 1-255 when loading an ibenportcon rule. Add the same check to libsepol. Fixes: 118c0cd1038e ("libsepol: Add ibendport ocontext handling") Signed-off-by: Ondrej Mosnacek --- libsepol/src/policydb.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libsepol/src/policydb.c b/libsepol/src/policydb.c index db6765ba..e2808b2d 100644 --- a/libsepol/src/policydb.c +++ b/libsepol/src/policydb.c @@ -2854,7 +2854,9 @@ static int ocontext_read_selinux(struct policydb_compat_info *info, return -1; break; } - case OCON_IBENDPORT: + case OCON_IBENDPORT: { + uint32_t port; + rc = next_entry(buf, fp, sizeof(uint32_t) * 2); if (rc < 0) return -1; @@ -2862,6 +2864,10 @@ static int ocontext_read_selinux(struct policydb_compat_info *info, if (len == 0 || len > IB_DEVICE_NAME_MAX - 1) return -1; + port = le32_to_cpu(buf[1]); + if (port > 0xff || port == 0) + return -1; + c->u.ibendport.dev_name = malloc(len + 1); if (!c->u.ibendport.dev_name) return -1; @@ -2869,11 +2875,12 @@ static int ocontext_read_selinux(struct policydb_compat_info *info, if (rc < 0) return -1; c->u.ibendport.dev_name[len] = 0; - c->u.ibendport.port = le32_to_cpu(buf[1]); + c->u.ibendport.port = port; if (context_read_and_validate (&c->context[0], p, fp)) return -1; break; + } case OCON_PORT: rc = next_entry(buf, fp, sizeof(uint32_t) * 3); if (rc < 0)