Re: [PATCH] nbd: restrict sockets to TCP and UDP
From: Jens Axboe <axboe@kernel.dk>
Date: 2025-09-09 13:29:17
Also in:
linux-block, lkml
From: Jens Axboe <axboe@kernel.dk>
Date: 2025-09-09 13:29:17
Also in:
linux-block, lkml
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