[syzbot] [apparmor?] linux-next test error: WARNING in apparmor_unix_stream_connect
John Johansen
john.johansen at canonical.com
Wed Jul 30 10:17:52 UTC 2025
On 7/28/25 01:16, Alexander Potapenko wrote:
> On Mon, Jul 21, 2025 at 11:35 AM syzbot
> <syzbot+cd38ee04bcb3866b0c6d at syzkaller.appspotmail.com> wrote:
>>
>> Hello,
>>
>> syzbot found the following issue on:
>
> John, do you have an idea what's going on?
> This is pretty likely to be related to your "apparmor: make sure unix
> socket labeling is correctly updated." patch.
yeah it is being caused by that patch. Specifically it introduces using
security_sk_alloc() to make sure the sk is given a default label which
makes this check now incorrect the fix is just to drop the check. I have
added the fix with the syzbot ref
More information about the Linux-security-module-archive
mailing list