lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAP1Q3XSvz60Lo10j7RUJR7qmFLv=cMMkaN_EZ1q2YuP1VE6xxw@mail.gmail.com>
Date: Sun, 2 Jun 2024 23:49:48 -0700
From: Ronak Doshi <ronak.doshi@...adcom.com>
To: Matthias Stocker <mstocker@...racuda.com>
Cc: kuba@...nel.org, doshir@...are.com, pv-drivers@...are.com, 
	netdev@...r.kernel.org
Subject: Re: [PATCH v2] vmxnet3: disable rx data ring on dma allocation failure

Hi,

> When vmxnet3_rq_create() fails to allocate memory for rq->data_ring.base,
> the subsequent call to vmxnet3_rq_destroy_all_rxdataring does not reset
> rq->data_ring.desc_size for the data ring that failed, which presumably
> causes the hypervisor to reference it on packet reception.
>
> To fix this bug, rq->data_ring.desc_size needs to be set to 0 to tell
> the hypervisor to disable this feature.
>

Reviewed-by: Ronak Doshi <ronak.doshi@...adcom.com>

Thanks,
Ronak

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ