drivers/net/netdevsim/netdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
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
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.
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
© 2016 - 2026 Red Hat, Inc.