From patchwork Tue Nov 22 19:40:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Jurgens X-Patchwork-Id: 9442045 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B9360605EE for ; Tue, 22 Nov 2016 19:47:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A45BD1FE95 for ; Tue, 22 Nov 2016 19:47:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 946901FF13; Tue, 22 Nov 2016 19:47:48 +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=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from emsm-gh1-uea10.nsa.gov (smtp.nsa.gov [8.44.101.8]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 878A41FE95 for ; Tue, 22 Nov 2016 19:47:47 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,682,1473120000"; d="scan'208";a="1226810" IronPort-PHdr: =?us-ascii?q?9a23=3AW5wM/R+IoymHfv9uRHKM819IXTAuvvDOBiVQ1KB5?= =?us-ascii?q?1+IQIJqq85mqBkHD//Il1AaPBtSAragZwLOM7OjJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fdbghMijexe61+IRW5oQnMqMUbg5ZpJ7osxBfOvnZGYf?= =?us-ascii?q?ldy3lyJVKUkRb858Ow84Bm/i9Npf8v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neWV9IcDLrL2FmSKe/rKCObNVI6JMsrSVXV+K8bEufSrLhpRsa1D/sE3?= =?us-ascii?q?FYxD8lazGgoo/5kABiiGKBMHZzq2LUecR0xRvG+tPcQ+Vc3iQYSyl8jTnYGEK8?= =?us-ascii?q?M8Ov/dqKi5fJqvq+WH65Vp1PbSnrypuNtCil6m1sGh2yhPOzlcPhEQgh1y/0yc?= =?us-ascii?q?VqWT/PrBbmbYnhz766Pv5/fkl0GF/87NJ3GplknYstgJEfx2AaiY+T/Xobj2jz?= =?us-ascii?q?K85W2b/lbHUTXz4L2MTZ4BPi2E1+NHKG25z2Vnuawst7aNm1fHka2iQj4MBWEK?= =?us-ascii?q?2U9qBLnTNpolqkqgLceeZ9njEAxvY19n4ahfwGuAo3wiWbHL8SAVFSPTbwmBSQ?= =?us-ascii?q?89C+sKJXaX63cbeqyUp+mcusA62DogFAWHf1Y5kiEjV27sllN1LMynLz4Jn+eN?= =?us-ascii?q?bMddITqgGUkxDYguhWKJMxkuQFiDFiOWL6s30lxfA0jQBy3ZG6u4iHLnti8Li/?= =?us-ascii?q?AhFGKj3/f9kT9S31jaZCgsaW2JiiHpt7FTUNQJvoSveoHSkctfv5KgmOFyc8pW?= =?us-ascii?q?2DGbrFGg+f6llpoG7TE5yxMHGXPnYZx814RBaBPExfnBwUXDIik542FgCl2Nbh?= =?us-ascii?q?cUdh5jAN4V71sR1Mxfx0NxnkTmjQvh+oZSkuRJiZMhVW8hlI513JPsyG8uJzAy?= =?us-ascii?q?ZY84W8owyLMGOWfBlHDWcTVUCeAFDjJLau78Ha8+eEHuq+M+fOYbKWpOxESviH?= =?us-ascii?q?2Imi0oRj/zeDLMmPOGdtD+Ej0EpZQX95A9jZmykISyEPjSLBdcCaqA25+iJtqs?= =?us-ascii?q?C/9/TqVRn16oSTDrteK9Jv+wq5ga2bLe6fmD55KSpE1pML3XLIzqIf00QKiyF2?= =?us-ascii?q?bDStH7UAtTTWTKLMlK9XDhgbZDl1NMRU7qIzxA1NNdTcitPv2b5yluQ1BEtdVV?= =?us-ascii?q?z9hsGpYtQHLHymNFzZHkmLO66GKifVw8zseqOzU75QjPhOtxKqozqbF1LjPjKZ?= =?us-ascii?q?mDnzThyvLeZMjCKbPRxZoo29dAhiCXT7RtL8dhK7KMN3jSExwbAsnXzKNGEcMT?= =?us-ascii?q?96c05Ws7Kf8zhXgvRlFGxH9HZlKvOEmymB5enCNpkWqedrAjhzl+9C+ns6xKFa?= =?us-ascii?q?7D9aS/FunyvStsBho1ejkuaVyzpnVAFBqjFEhY6RukViI6rZ/IFaWXnY5BIN8X?= =?us-ascii?q?mQCxMSqtt5Dd3vvrpcysLIlKPyNjhC9cnb/dEbB8fKK8KKK2YuMR3sGDHIFgQF?= =?us-ascii?q?ViKrOXvZh0NDjPGY7meVoYQiqpjwhJoOTadWVFwpFvMaDURlGcYNIIxsUzMhkL?= =?us-ascii?q?6bkNQI6mSkoBnWXsVasYjNVuiODvX3NDaZkb5EagMOwbzmN4sTMpb2209lallh?= =?us-ascii?q?gITFAUzQXctOoi1gdAM0pltC8GRmRG0px03lch+t4GMUFfOshB45lBB+bvo3+z?= =?us-ascii?q?f2/1g3JkHHqzAxkEkrhNrlhj6RcCbrLKiuXYBaESz0uFYtMpnjWQZ6cRWynVB4?= =?us-ascii?q?NDfDX79ekqFvdX5qiADBoptCAuRTTbdeYB8Xy/CXfOsn3khBqiW9xE9H+evEBY?= =?us-ascii?q?FklAQ0bZ6mt2hA1B57bN4pOazQI7JEzlZKhq2QoyCozfo+wAkCJ0YK62OfYzQH?= =?us-ascii?q?t1ANNrU8ICqo5ONs4xSYmzRfYGgMS+YqovVy+0M5POSA1Tzv07hCK0C2LOGfIK?= =?us-ascii?q?WZu3Xamc6PWFMw2VsCl1NZ8rhuzccjb02UWlg0zLSPExQJNMzCKRxabsdJ6HfT?= =?us-ascii?q?eiOOvvnXzpJuI4WxDOboQvGStKwMmEKrAB4pH5gQ7sQGBpSjzV3XLcLgLL4D1R?= =?us-ascii?q?Uh+R/mJEubA/RTeRKKkTAHo8elwJ9xw4ZdOikXAX9hPiWv+rbXuggqjeKAXNcs?= =?us-ascii?q?YnYVRI0ENm42WMChlC5ZuGxAAyWt3uIf1geC8yf2pj7MAznkc9pjePCUaAtwCN?= =?us-ascii?q?G3/DU/9LS2iV7X85jFOm76NNRjtcXU5u8AoZaIFe9UR6Fns0jAg4lYW2CqU2nX?= =?us-ascii?q?HN66PZj/cY8sbcDvB3a7VVy+hTQ1T9vxPNmzL6iIhx3oSphOsIWB2jAsK9O9HC?= =?us-ascii?q?kEGxhsv+ED+L58ZQobbpUhZR7othgxOLKnLwed0tSuRWGtKT1MQPRE1uq6ZqZY?= =?us-ascii?q?zyw1Yu+01XssVJc6wPer8UQVXpEFkgnexeq/Z4lZSSX8AWJSewPUqCUjimdhKP?= =?us-ascii?q?g9wv0kwBzSq1kdMyqHdOtzaGxLp9s8H0+dIW1qCmokQF+RlZDD4git378O/ytd?= =?us-ascii?q?mNJU0fZdvnbno5HRei6hVquwpJrJtCogaMQprLdqMYz/OMeGso3RniDHRpnKrg?= =?us-ascii?q?KFSDK6F+ZdmtVIPC1YQuNHln0+NMMavopB7U4xVsYgKLxVFKkjuKylaTp+AS4V?= =?us-ascii?q?1y8ZWJuK3CYejeekx7vaihCQfYw4MBMeqpVChcASXjVqYiMEvqCjSZvZl2uFSm?= =?us-ascii?q?gNLwcT6QVM5A0Alo9scODq+pDITJpWxz5Qvf10TjPBFoN0+FvjVmGWnV/4Re2h?= =?us-ascii?q?kuOzxgJd1vfs0tgdWBNkCEhd2/xZllA0J75tMaUQuJDFsiOQf0PgoG3t0PemJE?= =?us-ascii?q?VWycDMeVz0FpbKtWr9Ui0Z+H0bX4xPxWreFZsMjQV2drwnpFJWIICpYkz+/SAr?= =?us-ascii?q?x5x1H7mkUsCm304lrXECRyiwCdpABeZmsFbZWDB+ZpCrr5LlO45MTWBM4p2drE?= =?us-ascii?q?xZkF5sMy6/xppQMcZN4iQDXDJXuzWSoMOySNFf2c9xF5IDOM1/u2r7GK9eO5ic?= =?us-ascii?q?uHw2ur3uyn/F4D8wqlG6yyuvG6WgVeJW43UeGhk1J2SZskQvE+ws8mLJ/1DRrl?= =?us-ascii?q?x0+vxUCqKJjUpvvDZ3BopOCSpR1XC5M1RzS2FLs+VAJ6TPacNcR+Q9aASyNBMg?= =?us-ascii?q?Df4mx1KG/UVqknfjeSBysRFa+y/FVQkuSSYVmqvtmSEZqsy/OT8aTIxHbTs/YC?= =?us-ascii?q?ffMA+bmD5YswhBZE1wXJAZGNlF8akB3YRI5srCVVqsKSYdURxgMQI3z+FSmlNd?= =?us-ascii?q?v0WDZy/dFxaoeujSvRFte8eestKpJuzj/AhbkoPnrPw496IbSnK9lw2iXczSoo?= =?us-ascii?q?3hutCErUaBaKD4M+igbnDbVzjMkQq8hbE6AJnW5yLTKhZUK4FmyXo4ZpjsEXTL?= =?us-ascii?q?MgpbKKIbPUVbSbt3adFBouBEecBoZroG+ahwCR2ZXB/vHpKgrOVeJFbJWTveNz?= =?us-ascii?q?mB8vC4oY/L9bzdUvTgadaRyHbbWK93JZB66SThG7j2z4Be/Fb22u13+UN+U1TG?= =?us-ascii?q?NDqBrNv5LAMR+MaiblfivoEuHT7OHJdwimTiyV9deMcMXi2q9IgYyIlD53buSO?= =?us-ascii?q?J41Uzzv/NO97V+7ok3+b9pw9+uJajOMfRarVNnAh+MCwVv7JotBGx/SH5NYu8N?= =?us-ascii?q?MvjeZ78UjcbwpODrDKwY9Aea+/RHZtfdIUHOhNW/ACmGSRNYhAcBtSIaLgyE2v?= =?us-ascii?q?6HgaB0U8GlpfP92k03/VizNRsGzK1p5YeY+6qHuO7XYAHXzbgfQKTqQdnzrrs0?= =?us-ascii?q?sUOI+fIkjKIOenByYwC/EugSTMgdxmn6zaAt0C0jDdjOH6769/5FTHI5mSjsm5?= =?us-ascii?q?ZjEFUKAvkUB6aE/ZxCnmcknOzULtIWcr1DmmaLER6rDLoCxGW25CSJO2ZlgwvB?= =?us-ascii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3DxjoCMmsiiQDEhQjhyb/KrKHaJ9x7pC5W8i8/FwQE6PXyvVcnLbxYq+?= =?us-ascii?q?F8JP2SBurGjm18rTuOBtMKBXp4RnD1gXDyJ2Icrd8ixfXm3u3gu9oQq7T3yiJ2?= =?us-ascii?q?cS4CwKPjMtbeFo1KpgtxKOcczOrQuIvr8lgFOiFALOD72zwpENAcbskU2jZTJj?= =?us-ascii?q?bSSgF5cwrO1E0tkVf+dvaJC3GVHaBhD3FAODoyQF/xWspa6kSYJGxmgSnKI2JP?= =?us-ascii?q?nzUoUKBMWf1zZ9hz5TyZMJi22cDM/OTpz/98F8Q3oJM931SXDvJojOJDj0r+wE?= =?us-ascii?q?2ZQGGEObaeFcN2Ve4LAskWK/Q1qusaXt5CCAKLrwITCwPsADNJaAjmRKhq/HMZ?= =?us-ascii?q?Oo7PtHXylUtZMggN/N4CiN4g+XZsy6Kzqnmhg=3D?= X-IPAS-Result: =?us-ascii?q?A2HXBACPoDRY/wHyM5BdHAEBBAEBCgEBFwEBBAEBCgEBgw0?= =?us-ascii?q?BAQEBAR+BWaRZlmwkiCFTAQEBAQEBAQECAQJfKIIzGoIcAgQBAiQTFCALAwMJA?= =?us-ascii?q?QEXCCEICAMBLRURBwcLBRgEiEwEsUk9KgKLJAEBCAEBAQEjjzMRAYV9AQSObIt?= =?us-ascii?q?ikH+KGoYQkXJVXjQegyocgV9whV6CLgEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 22 Nov 2016 19:47:44 +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 uAMJlZAr019304; Tue, 22 Nov 2016 14:47:36 -0500 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 uAMJfKW4031463 for ; Tue, 22 Nov 2016 14:41:20 -0500 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uAMJf23d017043 for ; Tue, 22 Nov 2016 14:41:19 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1B4BAC6njRY/4GlL8FdHAEBBAEBCgEBgzgBAQEBAYF4pFmSX4QUhiECgm0BAgEBAQEBAmIohGkCBCdSEBgIMVcHEohxsVE9i1ABAQEHAiWVQgWObItikH+QKpFyVYESg0gcgV88NIgMAQEB X-IPAS-Result: A1B4BAC6njRY/4GlL8FdHAEBBAEBCgEBgzgBAQEBAYF4pFmSX4QUhiECgm0BAgEBAQEBAmIohGkCBCdSEBgIMVcHEohxsVE9i1ABAQEHAiWVQgWObItikH+QKpFyVYESg0gcgV88NIgMAQEB X-IronPort-AV: E=Sophos;i="5.31,682,1473134400"; d="scan'208";a="5839026" Received: from emsm-gh1-uea11.corp.nsa.gov (HELO emsm-gh1-uea11.nsa.gov) ([10.208.41.37]) by goalie.tycho.ncsc.mil with ESMTP; 22 Nov 2016 14:41:19 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3AtlbIPRVEwLCQW8oohILdRqX5JujV8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYbBGAt8tkgFKBZ4jH8fUM07OQ6PG7HzZdqs/b6zgrS99lb1c9k8?= =?us-ascii?q?IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBo?= =?us-ascii?q?KevrB4Xck9q41/yo+53Ufg5EmCexbal8IRiyowjdrNcajIttJqos1BfErGZDdv?= =?us-ascii?q?hLy29vOV+dhQv36N2q/J5k/SRQuvYh+NBFXK7nYak2TqFWASo/PWwt68LlqRfM?= =?us-ascii?q?TQ2U5nsBSWoWiQZHAxLE7B7hQJj8tDbxu/dn1ymbOc32Sq00WSin4qx2RhLklD?= =?us-ascii?q?sLOjgk+2zMlMd+kLxUrw6gpxxnwo7bfoeVNOZlfqjAed8WXHdNUtpNWyBEBI63?= =?us-ascii?q?cokBAPcbPetAr4fzuUYAoxW9CwerBuzvxCRFimPq0aAgz+gsCx3K0BAmEtkTsH?= =?us-ascii?q?rUttL1NKIKXO671qbIyyjIYfdL2Tfn54jHbBYhoeqRVr93bMXe008vFwLbgVWU?= =?us-ascii?q?q4zoJDaV2foJs2if9eVgU+WvimE9pw5tpTivw94hh4/UjYwW0lDJ7Th1zYI7KN?= =?us-ascii?q?GiR0N2Y8SoHIZRuiyaLYd6X90uTmVutS0n0LMJo4S7czIPyJk/xx7QdfiHc4+Q?= =?us-ascii?q?7xLmSumRJTN4i2hjeLK4iBe+61SvyurmWsm11FZGtitFkt/SuXARzxHf98yKR/?= =?us-ascii?q?Vn8kqu2zuDzR3f5+BELEwuiKbXNZoszqY1lpUJsETDGiH2mF/xjK+Tbkgr5/Kn?= =?us-ascii?q?6+LmYrr4op+cNZR5igTgPaQqnsywG+I4Mg8BXmSB5eu807jj8VXjQLpWlv02jr?= =?us-ascii?q?XZsJfCKMQAuKG5Bw5V0oA+6xewFDqmzNQZkmUHLFJCYh6HiZPpNEvULPD3Cve/?= =?us-ascii?q?nQfkrDA+zPDcP6b+Ko7KM2OGi7DlO7Fn5AoU0AMuyfhH7o9QT7QGJ+j+HET2sZ?= =?us-ascii?q?iQFRMiGxClyObgTtNm38URXnzLSqKBObnTqneQ7/guOPGIbYQY/jHnJLxt6/rj?= =?us-ascii?q?gXE+g1M1Z6Sl3ZILLnu/G7AuOEiQZzzsj9kdAE8LuBYzSKrhj1jGGT5aYzCoWL?= =?us-ascii?q?kx4ConD4mlJYjGT4GpxreG2XSVBJpTM0xPDBiuDG3neoOfE6MAYSSTL8tjujkJ?= =?us-ascii?q?UbyoTYgxkxqpsVmpmPJcMuPI93hA5trY399v6riWzElq+A=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0F4BAA+njRY/4GlL8FdHAEBBAEBCgEBF?= =?us-ascii?q?wEBBAEBCgEBgw0BAQEBAYF4pFmSX4QUhiECgm0BAQEBAQEBAQIBAl8ogjMaAYI?= =?us-ascii?q?bAgQnUhAYCDFXBxKIcbFQPYtQAQEBBwIllUIFjmyLYpB/kCqRclWBEoNIHIFfP?= =?us-ascii?q?DSIDAEBAQ?= X-IPAS-Result: =?us-ascii?q?A0F4BAA+njRY/4GlL8FdHAEBBAEBCgEBFwEBBAEBCgEBgw0?= =?us-ascii?q?BAQEBAYF4pFmSX4QUhiECgm0BAQEBAQEBAQIBAl8ogjMaAYIbAgQnUhAYCDFXB?= =?us-ascii?q?xKIcbFQPYtQAQEBBwIllUIFjmyLYpB/kCqRclWBEoNIHIFfPDSIDAEBAQ?= X-IronPort-AV: E=Sophos;i="5.31,682,1473120000"; d="scan'208";a="995713" Received: from mail-il-dmz.mellanox.com (HELO mellanox.co.il) ([193.47.165.129]) by emsm-gh1-uea11.nsa.gov with ESMTP; 22 Nov 2016 19:41:17 +0000 Received: from Internal Mail-Server by MTLPINE1 (envelope-from danielj@mellanox.com) with ESMTPS (AES256-SHA encrypted); 22 Nov 2016 21:41:14 +0200 Received: from x-vnc01.mtx.labs.mlnx. (x-vnc01.mtx.labs.mlnx [10.12.150.16]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id uAMJenMb005134; Tue, 22 Nov 2016 21:41:11 +0200 From: Dan Jurgens To: chrisw@sous-sol.org, paul@paul-moore.com, sds@tycho.nsa.gov, eparis@parisplace.org, dledford@redhat.com, sean.hefty@intel.com, hal.rosenstock@gmail.com Subject: [PATCH v5 7/9] selinux: Implement Infiniband PKey "Access" access vector Date: Tue, 22 Nov 2016 21:40:36 +0200 Message-Id: <1479843638-67136-8-git-send-email-danielj@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1479843638-67136-1-git-send-email-danielj@mellanox.com> References: <1479843638-67136-1-git-send-email-danielj@mellanox.com> X-Mailman-Approved-At: Tue, 22 Nov 2016 14:41:47 -0500 X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Cc: linux-rdma@vger.kernel.org, linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Jurgens Add a type and access vector for PKeys. Implement the ib_pkey_access hook to check that the caller has permission to access the PKey on the given subnet prefix. Add an interface to get the PKey SID. Walk the PKey ocontexts to find an entry for the given subnet prefix and pkey. Signed-off-by: Daniel Jurgens --- v2: - Use void* blobs for security structs. Paul Moore - Add pkey specific data to the audit log. Paul Moore - Don't introduce a new initial sid, use unlabeled. Stephen Smalley v3: - Reorder parameters to pkey_access hook. Paul Moore --- include/linux/lsm_audit.h | 7 +++++++ security/lsm_audit.c | 13 ++++++++++++ security/selinux/hooks.c | 23 +++++++++++++++++++++ security/selinux/include/classmap.h | 2 ++ security/selinux/include/security.h | 2 ++ security/selinux/ss/services.c | 41 +++++++++++++++++++++++++++++++++++++ 6 files changed, 88 insertions(+) diff --git a/include/linux/lsm_audit.h b/include/linux/lsm_audit.h index e58e577..402b770 100644 --- a/include/linux/lsm_audit.h +++ b/include/linux/lsm_audit.h @@ -45,6 +45,11 @@ struct lsm_ioctlop_audit { u16 cmd; }; +struct lsm_pkey_audit { + u64 subnet_prefix; + u16 pkey; +}; + /* Auxiliary data to use in generating the audit record. */ struct common_audit_data { char type; @@ -60,6 +65,7 @@ struct common_audit_data { #define LSM_AUDIT_DATA_DENTRY 10 #define LSM_AUDIT_DATA_IOCTL_OP 11 #define LSM_AUDIT_DATA_FILE 12 +#define LSM_AUDIT_DATA_PKEY 13 union { struct path path; struct dentry *dentry; @@ -77,6 +83,7 @@ struct common_audit_data { char *kmod_name; struct lsm_ioctlop_audit *op; struct file *file; + struct lsm_pkey_audit *pkey; } u; /* this union contains LSM specific data */ union { diff --git a/security/lsm_audit.c b/security/lsm_audit.c index 37f04da..b18d277 100644 --- a/security/lsm_audit.c +++ b/security/lsm_audit.c @@ -410,6 +410,19 @@ static void dump_common_audit_data(struct audit_buffer *ab, audit_log_format(ab, " kmod="); audit_log_untrustedstring(ab, a->u.kmod_name); break; + case LSM_AUDIT_DATA_PKEY: { + struct in6_addr sbn_pfx; + + memset(&sbn_pfx.s6_addr, 0, + sizeof(sbn_pfx.s6_addr)); + + memcpy(&sbn_pfx.s6_addr, &a->u.pkey->subnet_prefix, + sizeof(a->u.pkey->subnet_prefix)); + + audit_log_format(ab, " pkey=0x%x subnet_prefix=%pI6c", + a->u.pkey->pkey, &sbn_pfx); + break; + } } /* switch (a->type) */ } diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index d87e29d..e21f7690 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -6086,6 +6086,28 @@ static int selinux_key_getsecurity(struct key *key, char **_buffer) #endif #ifdef CONFIG_SECURITY_INFINIBAND +static int selinux_ib_pkey_access(void *ib_sec, u64 subnet_prefix, u16 pkey_val) +{ + struct common_audit_data ad; + int err; + u32 sid = 0; + struct ib_security_struct *sec = ib_sec; + struct lsm_pkey_audit pkey; + + err = security_pkey_sid(subnet_prefix, pkey_val, &sid); + + if (err) + return err; + + ad.type = LSM_AUDIT_DATA_PKEY; + pkey.subnet_prefix = subnet_prefix; + pkey.pkey = pkey_val; + ad.u.pkey = &pkey; + return avc_has_perm(sec->sid, sid, + SECCLASS_INFINIBAND_PKEY, + INFINIBAND_PKEY__ACCESS, &ad); +} + static int selinux_ib_alloc_security(void **ib_sec) { struct ib_security_struct *sec; @@ -6290,6 +6312,7 @@ static struct security_hook_list selinux_hooks[] = { LSM_HOOK_INIT(tun_dev_attach, selinux_tun_dev_attach), LSM_HOOK_INIT(tun_dev_open, selinux_tun_dev_open), #ifdef CONFIG_SECURITY_INFINIBAND + LSM_HOOK_INIT(ib_pkey_access, selinux_ib_pkey_access), LSM_HOOK_INIT(ib_alloc_security, selinux_ib_alloc_security), LSM_HOOK_INIT(ib_free_security, selinux_ib_free_security), #endif diff --git a/security/selinux/include/classmap.h b/security/selinux/include/classmap.h index 1f1f4b2..d42dd4d 100644 --- a/security/selinux/include/classmap.h +++ b/security/selinux/include/classmap.h @@ -165,5 +165,7 @@ struct security_class_mapping secclass_map[] = { { COMMON_CAP_PERMS, NULL } }, { "cap2_userns", { COMMON_CAP2_PERMS, NULL } }, + { "infiniband_pkey", + { "access", NULL } }, { NULL } }; diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 6bb9b0a..17afb7c 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h @@ -176,6 +176,8 @@ int security_get_user_sids(u32 callsid, char *username, int security_port_sid(u8 protocol, u16 port, u32 *out_sid); +int security_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *out_sid); + int security_netif_sid(char *name, u32 *if_sid); int security_node_sid(u16 domain, void *addr, u32 addrlen, diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c index 082b20c..085c54b 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c @@ -2203,6 +2203,47 @@ int security_port_sid(u8 protocol, u16 port, u32 *out_sid) } /** + * security_pkey_sid - Obtain the SID for a pkey. + * @subnet_prefix: Subnet Prefix + * @pkey_num: pkey number + * @out_sid: security identifier + */ +int security_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *out_sid) +{ + struct ocontext *c; + int rc = 0; + + read_lock(&policy_rwlock); + + c = policydb.ocontexts[OCON_PKEY]; + while (c) { + if (c->u.pkey.low_pkey <= pkey_num && + c->u.pkey.high_pkey >= pkey_num && + c->u.pkey.subnet_prefix == subnet_prefix) + break; + + c = c->next; + } + + if (c) { + if (!c->sid[0]) { + rc = sidtab_context_to_sid(&sidtab, + &c->context[0], + &c->sid[0]); + if (rc) + goto out; + } + *out_sid = c->sid[0]; + } else { + *out_sid = SECINITSID_UNLABELED; + } + +out: + read_unlock(&policy_rwlock); + return rc; +} + +/** * security_netif_sid - Obtain the SID for a network interface. * @name: interface name * @if_sid: interface SID