From patchwork Tue Oct 23 06:57:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Mosnacek X-Patchwork-Id: 10652753 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 7CB0213BF for ; Tue, 23 Oct 2018 06:58:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E32F29090 for ; Tue, 23 Oct 2018 06:58:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CAF829307; Tue, 23 Oct 2018 06:58:18 +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 uhil19pa12.eemsg.mail.mil (uhil19pa12.eemsg.mail.mil [214.24.21.85]) (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 7214429090 for ; Tue, 23 Oct 2018 06:58:17 +0000 (UTC) X-EEMSG-check-008: 348870783|UHIL19PA12_EEMSG_MP10.csd.disa.mil Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.2]) by uhil19pa12.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 23 Oct 2018 06:58:15 +0000 X-IronPort-AV: E=Sophos;i="5.54,415,1534809600"; d="scan'208";a="17098357" IronPort-PHdr: 9a23:qJrzbhWk1N60UScr8mJfBSdQEFLV8LGtZVwlr6E/grcLSJyIuqrYYRSCuKdThVPEFb/W9+hDw7KP9fy4BipYud6oizMrSNR0TRgLiM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xV6YV4Jq8NOVido4bqri1JqFAtGwIpbqU/rjlEeUnPhgFVXLz0uLEYgAsGTdF5oVNMGX63OG8m/DrHW6FVg7WQBfEW6TiTULIBU19pMiJ/RBO13o9ie723kvBb4St6mXZmrfwr1SF2bAWztDeqpK8X3z8kvraiu2Yvo3tAG8KYnz3FCx1my+8MhKwRCD627lm7e38KZ4ba+rRrJc38s4Im5iJsMl0YYyQaULH4WGnLhKSSD9nK6YoG3kyEpdnOYLmvLCMbKrU6z1f5SmNg1hTFxkgyolYgZRH7x+cNfN77NMsg3SXuHGHacBAJ46ca1am5uV0KSb4wblVsiCVm39OcTyIADMrIBy4ujwciZGkFOJJO4BMXDe8p1zCPuKQVm2Ncey/aR6Ki/ISYhsLUwT8lV94/wWfRvauMjZ4CynBpm9poqCWJvSd3FaTDS8E5OnHozc9EzPDmIfCks+QJUoxjnbOkV+QEO8Ku0XG71JVjRgmuwbFNejjxK/cNk5HcVSrtUmiEQaKLfmyLyi4+KVL37AK0I0cfbc5LqwoiN7KHiMAC0QLmVrxwS2ObolqIqQ5rPeYTbQljoI68YERKVLsXYO6RbeQv26g4D10BLjfFSDF7B++/rRimm412 X-IPAS-Result: A2BMAAD+xc5b/wHyM5BjHAEBAQQBAQcEAQGBUgYBAQsBggEDgQlcKIxsiz6LFY4NFIFaFwEBGBMBiWIhNQwNAQMBAQEBAQECAWwogjYkgmgCJBMUIAsDAwkCQAgIAwEtAwEFAQsfCwUYBIMAgXUNAwGaKjyMBjOFO4RpEocdhCMXgUE/iG4BDAYBbIUNAo8Njz4JhiWKQgsXiSSHCpZABgIJBw8hgSQCNGRxTSMVO4JskFltgQUBAYoiDheCJwEB Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 23 Oct 2018 06:58:14 +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 w9N6wAJH000811; Tue, 23 Oct 2018 02:58:11 -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 w9N6w9O5009947 for ; Tue, 23 Oct 2018 02:58:09 -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 w9N6w91h000808 for ; Tue, 23 Oct 2018 02:58:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1ARAAC8xc5blywYGNZjHgEGBwaBUQkLAYIBgWgojGyLPosVjg2BegsBAYRshSIhNA0NAQMBAQEBAQECFAEBAQEBBhgGhkBSgRUBBQE1gyGBdQ0DAZoqPIwGM4okEocdhCMXgUE/iHtzhQ0CnksJhiWKQgsXiSSHCpZABgIJBw8hgSKCDU0jFYMngjSOJW2LKYJMAQE X-IPAS-Result: A1ARAAC8xc5blywYGNZjHgEGBwaBUQkLAYIBgWgojGyLPosVjg2BegsBAYRshSIhNA0NAQMBAQEBAQECFAEBAQEBBhgGhkBSgRUBBQE1gyGBdQ0DAZoqPIwGM4okEocdhCMXgUE/iHtzhQ0CnksJhiWKQgsXiSSHCpZABgIJBw8hgSKCDU0jFYMngjSOJW2LKYJMAQE X-IronPort-AV: E=Sophos;i="5.54,415,1534824000"; d="scan'208";a="398106" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.35]) by goalie.tycho.ncsc.mil with ESMTP; 23 Oct 2018 02:58:08 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0ANAAD+xc5blywYGNZjHgEGBwaBUQkLAYIBgWgojGyLPosVjg2BegsBAYRshSIhNA0NAQMBAQEBAQECARMBAQEBAQYYBliCNiQBgw1SgRUBBQE1gyGBdQ0DAZoqPIwGM4okEocdhCMXgUE/iHtzhQ0CnksJhiWKQgsXiSSHCpZABgIJBw8hgSKCDU0jFYMngjSOJW2LKYJMAQE X-IPAS-Result: A0ANAAD+xc5blywYGNZjHgEGBwaBUQkLAYIBgWgojGyLPosVjg2BegsBAYRshSIhNA0NAQMBAQEBAQECARMBAQEBAQYYBliCNiQBgw1SgRUBBQE1gyGBdQ0DAZoqPIwGM4okEocdhCMXgUE/iHtzhQ0CnksJhiWKQgsXiSSHCpZABgIJBw8hgSKCDU0jFYMngjSOJW2LKYJMAQE X-IronPort-AV: E=Sophos;i="5.54,415,1534809600"; d="scan'208";a="19747535" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from ucol3cpa06.eemsg.mail.mil ([214.24.24.44]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 23 Oct 2018 06:58:08 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;fcda0894-787f-44f6-bc29-582cc908ba8d Authentication-Results: UCOL3CPA03.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: 559810908|UCOL3CPA03_EEMSG_MP18.csd.disa.mil X-EEMSG-SBRS: 3.4 X-EEMSG-ORIG-IP: 209.85.128.66 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AhAAB9xc5bhkKAVdFjHgEGBwaBUQkLAYQRjGyLPosVjg2BegsBAROEWYUiGQcBBDANDQEDAQEBAQEBAQEBEwEBAQgLCwgbDi+CNiQBgw1SgRUBBQE1gyGBdQ0Emio8jAYziiQJAQiHHYQjF4FBP4h7c4UNAp5LCYYlikILF4kkhwqWQAYCCQcPIYEigg1NIxWDJ4I0jiVtiymCTAEB X-IPAS-Result: A0AhAAB9xc5bhkKAVdFjHgEGBwaBUQkLAYQRjGyLPosVjg2BegsBAROEWYUiGQcBBDANDQEDAQEBAQEBAQEBEwEBAQgLCwgbDi+CNiQBgw1SgRUBBQE1gyGBdQ0Emio8jAYziiQJAQiHHYQjF4FBP4h7c4UNAp5LCYYlikILF4kkhwqWQAYCCQcPIYEigg1NIxWDJ4I0jiVtiymCTAEB Received: from mail-wm1-f66.google.com ([209.85.128.66]) by UCOL3CPA03.eemsg.mail.mil with ESMTP/TLS/AES128-SHA; 23 Oct 2018 06:58:05 +0000 Received: by mail-wm1-f66.google.com with SMTP id y11-v6so514355wma.3 for ; Mon, 22 Oct 2018 23:58:05 -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=JAVTWh5BI7wQdHKlITdFENhLjeq6ElqA350PGEEw+3w=; b=IZttrMBjWxW5RLnOCLEY93QdBIMOTZDdlnazFFhEv9lSfG0qKaFGGLgwx3Ta0UWZ1c q7jDBjVPSNwCm+yjP0EIvwn6dGKSCKd1nWcr0iCKQGJcd8B7F8CRTuI3XYuf/qlJZHSV vtU1E2bjX5h7QvJEs+LjRm+nBe5OkcuqfKEoAgdCPNtZMt4B1dB61YxDyD80BS1fyQsE 7TVbKPcMzfnrXtbh7vlm+12zHmBEvPH2jlQG8ToPiJ1/KfFJQxqYRtn7bVB/WxQGrWjT wpsPWOtIF6PATUBoj5ymfutCcUjVHplM1lQxQD2CdiCPX96jyA3Jcg6vCDLgP09HP2hT b+YA== X-Gm-Message-State: AGRZ1gLzh6DwwNYoXFp+6VYtT0UM4nZlIXrJq9z5IsN+NvaBkQ1zTwdV IH62SjAeZh9nAzCcDAIkG1D2vQ== X-Google-Smtp-Source: ACcGV60f+rN5liSi5ODia1afGL5Q39NjrbsbB0i6EcjrUoKjuNbhUlSeJO3MeDjKEystKNx4DCMbiw== X-Received: by 2002:a1c:f518:: with SMTP id t24-v6mr1173416wmh.82.1540277883822; Mon, 22 Oct 2018 23:58:03 -0700 (PDT) Received: from localhost.localdomain.com (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id e6-v6sm285287wrc.70.2018.10.22.23.58.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Oct 2018 23:58:03 -0700 (PDT) X-EEMSG-check-009: 444-444 From: Ondrej Mosnacek To: selinux@vger.kernel.org Date: Tue, 23 Oct 2018 08:57:57 +0200 Message-Id: <20181023065757.16784-1-omosnace@redhat.com> X-Mailer: git-send-email 2.17.2 Subject: [PATCH v2] 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(-) Changes in v2: - use UINT8_MAX as the limit for ibendport.port value to emphasize that it is an 8-bit value diff --git a/libsepol/src/policydb.c b/libsepol/src/policydb.c index db6765ba..96176d80 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 > UINT8_MAX || 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)