All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Moore <paul@paul-moore.com>
To: "Christian Göttsche" <cgoettsche@seltendoof.de>, selinux@vger.kernel.org
Cc: "Stephen Smalley" <stephen.smalley.work@gmail.com>,
	"Ondrej Mosnacek" <omosnace@redhat.com>,
	"Christian Göttsche" <cgzones@googlemail.com>
Subject: Re: [PATCH 2/5] selinux: bounds-check filename transition source types  at load
Date: Thu, 24 Sep 2026 17:30:16 -0400	[thread overview]
Message-ID: <41a06ba1784707e62f2e0ef06c1652c7@paul-moore.com> (raw)
In-Reply-To: <20260903113538.72942-1-cgoettsche@seltendoof.de>

On Sep  3, 2026 =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgoettsche@seltendoof.de> wrote:
> 
> filename_trans_read_helper() validates the target type, target class and
> each datum's otype, but the per-datum stypes ebitmap is read without any
> bound on its set bits.
> Reject a stypes bitmap whose highest set bit is not a defined type.
> 
> Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
> Reviewed-by: Stephen Smalley <stephen.smalley.work@gmail.com>
> ---
>  security/selinux/ss/policydb.c | 4 ++++
>  1 file changed, 4 insertions(+)

Merged into selinux/dev, thanks!

--
paul-moore.com

      parent reply	other threads:[~2026-09-24 21:30 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03 11:35 [PATCH 2/5] selinux: bounds-check filename transition source types at load Christian Göttsche
2026-09-03 11:35 ` [PATCH 3/5] selinux: bounds-check role and user membership bitmaps " Christian Göttsche
2026-09-03 11:55   ` sashiko-bot
2026-09-03 13:50   ` Stephen Smalley
2026-09-24 21:22     ` Paul Moore
2026-09-03 11:35 ` [PATCH 4/5] selinux: validate user MLS range and default level " Christian Göttsche
2026-09-03 11:52   ` sashiko-bot
2026-09-03 13:52   ` Stephen Smalley
2026-09-24 21:27   ` Paul Moore
2026-09-03 11:35 ` [PATCH 5/5] selinux: validate permissive and neveraudit map types " Christian Göttsche
2026-09-03 11:50   ` sashiko-bot
2026-09-03 13:53   ` Stephen Smalley
2026-09-24 21:29     ` Paul Moore
2026-09-03 11:35 ` [PATCH 1/5] selinux: reject duplicate symbol values during policy load Christian Göttsche
2026-09-03 11:57   ` sashiko-bot
2026-09-03 13:44   ` Stephen Smalley
2026-09-24 21:30   ` Paul Moore
2026-09-03 11:52 ` [PATCH 2/5] selinux: bounds-check filename transition source types at load sashiko-bot
2026-09-03 13:47 ` Stephen Smalley
2026-09-03 15:18   ` Christian Göttsche
2026-09-04 12:10     ` Stephen Smalley
2026-09-24 21:30 ` Paul Moore [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41a06ba1784707e62f2e0ef06c1652c7@paul-moore.com \
    --to=paul@paul-moore.com \
    --cc=cgoettsche@seltendoof.de \
    --cc=cgzones@googlemail.com \
    --cc=omosnace@redhat.com \
    --cc=selinux@vger.kernel.org \
    --cc=stephen.smalley.work@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.