Re: [PATCH] nbd: restrict sockets to TCP and UDP
- To: Josef Bacik <josef@toxicpanda.com>, Eric Dumazet <edumazet@google.com>
- Cc: linux-kernel <linux-kernel@vger.kernel.org>, netdev@vger.kernel.org, Eric Dumazet <eric.dumazet@gmail.com>, syzbot+e1cd6bd8493060bd701d@syzkaller.appspotmail.com, Mike Christie <mchristi@redhat.com>, "Richard W.M. Jones" <rjones@redhat.com>, Yu Kuai <yukuai1@huaweicloud.com>, linux-block@vger.kernel.org, nbd@other.debian.org
- Subject: Re: [PATCH] nbd: restrict sockets to TCP and UDP
- From: Jens Axboe <axboe@kernel.dk>
- Date: Tue, 09 Sep 2025 07:29:16 -0600
- Message-id: <[🔎] 175742455632.75115.15346620038817180242.b4-ty@kernel.dk>
- In-reply-to: <[🔎] 20250909132243.1327024-1-edumazet@google.com>
- References: <[🔎] 20250909132243.1327024-1-edumazet@google.com>
On Tue, 09 Sep 2025 13:22:43 +0000, Eric Dumazet wrote:
> Recently, syzbot started to abuse NBD with all kinds of sockets.
>
> Commit cf1b2326b734 ("nbd: verify socket is supported during setup")
> made sure the socket supported a shutdown() method.
>
> Explicitely accept TCP and UNIX stream sockets.
>
> [...]
Applied, thanks!
[1/1] nbd: restrict sockets to TCP and UDP
commit: 9f7c02e031570e8291a63162c6c046dc15ff85b0
Best regards,
--
Jens Axboe
Reply to: