lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 04 Jan 2021 21:30:08 +0000
To:     wangyunjian <>
Subject: Re: [PATCH net v6] vhost_net: fix ubuf refcount incorrectly when sendmsg


This patch was applied to netdev/net.git (refs/heads/master):

On Tue, 29 Dec 2020 10:01:48 +0800 you wrote:
> From: Yunjian Wang <>
> Currently the vhost_zerocopy_callback() maybe be called to decrease
> the refcount when sendmsg fails in tun. The error handling in vhost
> handle_tx_zerocopy() will try to decrease the same refcount again.
> This is wrong. To fix this issue, we only call vhost_net_ubuf_put()
> when vq->heads[nvq->desc].len == VHOST_DMA_IN_PROGRESS.
> [...]

Here is the summary with links:
  - [net,v6] vhost_net: fix ubuf refcount incorrectly when sendmsg fails

You are awesome, thank you!
Deet-doot-dot, I am a bot.

Powered by blists - more mailing lists