From: patchwork-bot+netdevbpf@kernel.org
To: Cezar Bulinaru <cbulinaru@gmail.com>
Cc: pabeni@redhat.com, kys@microsoft.com, haiyangz@microsoft.com,
wei.liu@kernel.org, decui@microsoft.com, davem@davemloft.net,
edumazet@google.com, kuba@kernel.org,
linux-hyperv@vger.kernel.org, netdev@vger.kernel.org,
mikelley@microsoft.com
Subject: Re: [PATCH v3] net: hv_netvsc: Fix a warning triggered by memcpy in rndis_filter
Date: Sat, 15 Oct 2022 10:20:16 +0000 [thread overview]
Message-ID: <166582921603.1299.10791611158258198610.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20221014024503.4533-1-cbulinaru@gmail.com>
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:
On Thu, 13 Oct 2022 22:45:03 -0400 you wrote:
> memcpy: detected field-spanning write (size 168) of single field "(void *)&request->response_msg + (sizeof(struct rndis_message) - sizeof(union rndis_message_container)) + sizeof(*req_id)" at drivers/net/hyperv/rndis_filter.c:338 (size 40)
> RSP: 0018:ffffc90000144de0 EFLAGS: 00010282
> RAX: 0000000000000000 RBX: ffff8881766b4000 RCX: 0000000000000000
> RDX: 0000000000000102 RSI: 0000000000009ffb RDI: 00000000ffffffff
> RBP: ffffc90000144e38 R08: 0000000000000000 R09: 00000000ffffdfff
> R10: ffffc90000144c48 R11: ffffffff82f56ac8 R12: ffff8881766b403c
> R13: 00000000000000a8 R14: ffff888100b75000 R15: ffff888179301d00
> FS: 0000000000000000(0000) GS:ffff8884d6280000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: 000055f8b024c418 CR3: 0000000176548001 CR4: 00000000003706e0
> Call Trace:
> <IRQ>
> ? _raw_spin_unlock_irqrestore+0x27/0x50
> netvsc_poll+0x556/0x940 [hv_netvsc]
> __napi_poll+0x2e/0x170
> net_rx_action+0x299/0x2f0
> __do_softirq+0xed/0x2ef
> __irq_exit_rcu+0x9f/0x110
> irq_exit_rcu+0xe/0x20
> sysvec_hyperv_callback+0xb0/0xd0
> </IRQ>
> <TASK>
> asm_sysvec_hyperv_callback+0x1b/0x20
> RIP: 0010:native_safe_halt+0xb/0x10
>
> [...]
Here is the summary with links:
- [v3] net: hv_netvsc: Fix a warning triggered by memcpy in rndis_filter
https://git.kernel.org/netdev/net/c/017e42540639
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2022-10-15 10:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-14 2:45 [PATCH v3] net: hv_netvsc: Fix a warning triggered by memcpy in rndis_filter Cezar Bulinaru
2022-10-15 10:20 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=166582921603.1299.10791611158258198610.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=cbulinaru@gmail.com \
--cc=davem@davemloft.net \
--cc=decui@microsoft.com \
--cc=edumazet@google.com \
--cc=haiyangz@microsoft.com \
--cc=kuba@kernel.org \
--cc=kys@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=mikelley@microsoft.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=wei.liu@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).