Thread View: linux.kernel.netdev
3 messages
3 total messages
Started by Kyuwon Cho
Sat, 21 Nov 2026 19:32
[PATCH net v2 0/1] netdevsim: bound the peer TX queue index in nsim_start_peer_tx_queue()
Author: Kyuwon Cho
Date: Sat, 21 Nov 2026 19:32
Date: Sat, 21 Nov 2026 19:32
20 lines
11446 bytes
11446 bytes
nsim_start_peer_tx_queue() can wake a TX queue past the end of the peer's TX queue array after the device is relinked to a peer with fewer TX queues; KASAN reports a slab-out-of-bounds read in nsim_poll(). The patch skips the wake-up in that case. v2: send the patch inline instead of as an attachment (Jakub). v1: https://lore.kernel.org/netdev/179505710275.3511681.13434978152402269948@gmail.com/ The patch was written with LLM assistance; we reviewed and tested it. With it, the reproducer from v1 no longer triggers the KASAN report. Kyuwon Cho (1): netdevsim: bound the peer TX queue index in nsim_start_peer_tx_queue() drivers/net/netdevsim/netdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.43.0
Re: [PATCH net v2 0/1] netdevsim: bound the peer TX queue index in nsim_start_peer_tx_queue()
Author: netdev-bot+sinfo
Date: Sat, 21 Nov 2026 19:38
Date: Sat, 21 Nov 2026 19:38
19 lines
8446 bytes
8446 bytes
Hi! This is an automated message. This series looks like a fix, but its commit messages seem to be missing some information: - How the issue was discovered, e.g. hit in production, hit during development, syzbot report, manual code inspection, LLM or static analysis tool scan. Please do not repost the series just to address the above. Instead, reply to this email with the missing information, so that reviewers can take it into account. *IMPORTANT*: If you do repost (for other reasons) - please include the relevant info in the cover letter or commit messages. -- The evaluation is done by an LLM so it may be wrong, if you think that is the case please reply and explain.
Re: [PATCH net v2 0/1] netdevsim: bound the peer TX queue index in nsim_start_peer_tx_queue()
Author: Kyuwon Cho
Date: Sat, 21 Nov 2026 20:00
Date: Sat, 21 Nov 2026 20:00
17 lines
11739 bytes
11739 bytes
On Sat, 21 Nov 2026 19:38:20 +0000, netdev-bot+sinfo@kernel.org wrote: > This is an automated message. This series looks like a fix, but its > commit messages seem to be missing some information: > > - How the issue was discovered, e.g. hit in production, hit during > development, syzbot report, manual code inspection, LLM or static > analysis tool scan. It was found by an LLM-guided test generator that we are developing as a research prototype. One of its tests relinked netdevsim peers while packets were in flight, and KASAN reported the out-of-bounds read in a QEMU guest. The v1 report has the details and the reproducer: https://lore.kernel.org/netdev/179505710275.3511681.13434978152402269948@gmail.com/ Thanks, Kyuwon Cho
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads