Subject: Re: [PATCH v1 net] af_unix: Terminate sun_path when bind()ing pathname socket.

From: [email-masked]
Date: Thu, 27 Jul 2023 09:40:20 +0000

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <[email-masked]>:

On Wed, 26 Jul 2023 12:08:28 -0700 you wrote:
> kernel test robot reported slab-out-of-bounds access in strlen(). [0]
> 
> Commit 06d4c8a80836 ("af_unix: Fix fortify_panic() in unix_bind_bsd().")
> removed unix_mkname_bsd() call in unix_bind_bsd().
> 
> If sunaddr->sun_path is not terminated by user and we don't enable
> CONFIG_INIT_STACK_ALL_ZERO=y, strlen() will do the out-of-bounds access
> during file creation.
> 
> [...]

Here is the summary with links:
  - [v1,net] af_unix: Terminate sun_path when bind()ing pathname socket.
    https://git.kernel.org/netdev/net/c/ecb4534b6a1c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html