LKML Archive on
help / color / mirror / Atom feed
From: Casey Schaufler <>
To: Jiang Wang <>,
	Andrii Nakryiko <>,
	Jakub Sitnicki <>,
	John Fastabend <>,
	LKML <>,
	Linux Security Module list 
Cc: Casey Schaufler <>
Subject: Regression in unix stream sockets with the Smack LSM
Date: Mon, 13 Sep 2021 15:50:55 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Commit 77462de14a43f4d98dbd8de0f5743a4e02450b1d 

	af_unix: Add read_sock for stream socket types

introduced a regression in UDS socket connections for the Smack LSM.
I have not tracked done the details of why the change broke the code,
but this is where bisecting the kernel indicates the problem lies, and
I have verified that reverting this change repairs the problem.

You can verify the problem with the Smack test suite:

The failing test is tests/

I have not looked to see if there's a similar problem with SELinux.
There may be, but if there isn't it doesn't matter, there's still a

Thank you.

       reply	other threads:[~2021-09-13 22:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
2021-09-13 22:50 ` Casey Schaufler [this message]
2021-09-13 23:47   ` Paul Moore
2021-09-14  0:16     ` Casey Schaufler
2021-09-14 22:14     ` Casey Schaufler
2021-09-15 16:51     ` Casey Schaufler
2021-09-15 17:29       ` Jiang Wang .
2021-09-20 22:35       ` Jiang Wang .
2021-09-20 23:44         ` Casey Schaufler
2021-09-29 15:43           ` Casey Schaufler
2021-09-29 18:36             ` [External] " Jiang Wang .
2021-09-29 20:12               ` Casey Schaufler

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:

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

  git send-email \ \ \ \ \ \ \ \ \
    --subject='Re: Regression in unix stream sockets with the Smack LSM' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).