To avoid wild pointer, pointers should be set to NULL after free them.
Fixes: 1a2fc1799f09 ("net/ice: reject duplicated flow for flow director")
Fixes: 84dc7a95a2d3 ("net/ice: enable flow director engine")
Fixes: 0f880c3df192 ("net/ice: add flow director counter resource init/release")
Signed-off
All the counter resources should be cleaned up when teardown.
Fixes: 0f880c3df192 ("net/ice: add flow director counter resource init/release")
Signed-off-by: Wang ShougangX
Acked-by: Qi Zhang
---
drivers/net/ice/ice_fdir_filter.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/n
The removal of FDIR profile should start from the next
of ICE_FLTR_PTYPE_NONF_NONE.
Fixes: 109e8e06249e ("net/ice: configure HW flow director rule")
Signed-off-by: Wang ShougangX
---
drivers/net/ice/ice_fdir_filter.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dr
These patches include FDIR memory resource fixes related to ICE driver.
Patch 1: fix memzone reserve and release in FDIR
Patch 2: fix removal of FDIR profile
Patch 3: fix FDIR counter resource release
Patch 4: fix wild pointer
---
v5 changes:
Changed loop start index in ice_fdir_prof_alloc().
To avoid memzone reserve failure and memory leak, following
resources management should be added.
- Check if the FDIR Memzone already exists before reserving.
- Free FDIR memzone when teardown and other failure scenarios.
Fixes: 84dc7a95a2d3 ("net/ice: enable flow director engine")
Signed-off-by:
On Wed, Nov 13, 2019 at 8:46 AM Wangyu (Eric) wrote:
>
>
> The problem has been solved after that fix, it's a good solution to this
> problem :)
Cool, marking this patch as rejected.
> And many thanks to you and Anatoly.
You are welcome.
--
David Marchand
The problem has been solved after that fix, it's a good solution to this
problem :)
And many thanks to you and Anatoly.
-邮件原件-
发件人: David Marchand [mailto:david.march...@redhat.com]
发送时间: 2019年11月13日 15:34
收件人: Wangyu (Eric)
抄送: dev@dpdk.org; ferruh.yi...@intel.com; Linuxarm ; humin
Hello Li Han,
On Tue, Nov 5, 2019 at 3:14 PM David Marchand wrote:
> On Sat, Oct 26, 2019 at 6:07 PM David Marchand
> wrote:
> > I took Anatoly patches since his work on the subject preceded your patch.
> > Please, test the current master branch and see if you still have issues.
>
> Did you have
On Mon, Nov 4, 2019 at 11:15 AM Burakov, Anatoly
wrote:
>
> On 04-Nov-19 6:32 AM, Wangyu (Turing Solution Development Dep) wrote:
> >
> > Resolve address conflicts on 64K pagesize without base_virtaddr, which
> > cause new address conflicts in eal_get_virtual_area().
> >
> > Signed-off-by: Beard-
On 11/13, Cui LunyuanX wrote:
>After ports reset, tx laser register will be reset. The link
>status for 82599eb got from link status register was not correct.
>Set tx laser disable after ports reset.
>
>Fixes: 0408f47ba4d6 ("net/ixgbe: fix busy polling while fiber link update")
>Cc: sta...@dpdk.org
Currently, the next address picked by PCI mapping infrastructure
may be page-unaligned due to BAR length being smaller than page size.
This leads to a situation where the requested map address is invalid,
resulting in mmap() call returning an arbitrary address,
which will later interfere with devic
From: Tianfei zhang
Introducing new register and unregister API for ifpga interrupt.
1. register FME and AFU interrupt
ifpga_register_msix_irq()
2. unregister FME and AFU interrupt
ifpga_unregister_msix_irq()
On PAC N3000 card, there is one PCIe MSIX interrupt for FME managerment,
like th
From: Andy Pei
if fpga image support lightweight feature, set afu uuid to all 0, ipn3ke
representor will not be probed.
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/ifpga_rawdev.c | 44 +---
1 file changed, 32 insertions(+), 12 deletions(-)
diff --git a/dr
From: Tianfei zhang
In PAC N3000 card, there is one MAX10 chip in each card, and
all of the sensors are connected to MAX10 chip. To support multiple
cards in one server, we introducing a sensor device list under
intel_max10_device instead of a global list. On the other hand, we
using separate int
From: Tianfei zhang
Clean fme errors register when some fme errors occurred.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_fme_error.c | 24 ++--
drivers/raw/ifpga/ifpga_rawdev.c | 22 ++
2 files changed,
From: Tianfei zhang
Add new API to get the board info.
opae_mgr_get_board_info()
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_api.c | 11 +++
drivers/raw/ifpga/base/ifpga_defines.h | 55 ++
drivers/raw/ifpga/base
From: Tianfei zhang
Add secure max10 device support.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_defines.h| 2 +
drivers/raw/ifpga/base/ifpga_fme.c| 26 --
drivers/raw/ifpga/base/opae_intel_max10.c | 137 +---
Add PCIe BDF devices tree scan for ipn3ke.
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/ifpga_rawdev.c | 551 ++-
drivers/raw/ifpga/ifpga_rawdev.h | 16 ++
2 files changed, 562 insertions(+), 5 deletions(-)
diff --git a/drivers/raw/
The ipn3ke board FPGA and i40e BDF scan has added in ifpga_rawdev,
so it doesn't need to provide configuration for i40e port bonding.
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/net/ipn3ke/Makefile | 1 +
drivers/net/ipn3ke/ipn3ke_ethdev.c| 292 ++
From: Tianfei zhang
Update the SEU registser definition.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_defines.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/raw/ifpga/base/ifpga_defines.h
b/drivers/raw/ifpga/base/ifpg
From: Tianfei zhang
We can change the PKVL FEC mode when the A10 NIOS FW
initialization. The end-user can use this feature the
change the FEC mode, the default mode is RS FEC mode.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_fme.c | 42 +++
Add SEU interrupt support for FPGA.
Signed-off-by: Tianfei zhang
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/ifpga_rawdev.c | 245 +++
1 file changed, 245 insertions(+)
diff --git a/drivers/raw/ifpga/ifpga_rawdev.c b/drivers/raw/if
From: Tianfei zhang
Introducing sensor APIs to PMD driver for PAC N3000 card.
Those sensor APIs:
1. opae_mgr_for_each_sensor()
2. opae_mgr_get_sensor_by_name()
3. opae_mgr_get_sensor_by_id()
4. opae_mgr_get_sensor_value_by_name()
5. opae_mgr_get_sensor_value_by_id()
6. opae_mgr_get_sensor_value(
From: Tianfei zhang
The sensor devices are connected in MAX10 FPGA. we used the
device tree to describe those sensor devices. Parse the device
tree to get the sensor devices and add them into a list.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/opae_intel_ma
From: Tianfei zhang
In PAC N3000 card, this is a BMC chip which using MAX10 FPGA
to manage the board configuration, like sensors, flash controller,
QSFP, powers. And this is a SPI bus connected between A10 FPGA and
MAX10, we can access the MAX10 registers over this SPI bus.
In BMC, there are abo
From: Tianfei zhang
The length of send buffer of SPI bus should be 4bytes align.
Signed-off-by: Tianfei Zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/opae_spi_transaction.c | 40 ---
1 file changed, 36 insertions(+), 4 deletions(-)
diff --git a/drivers/raw/
From: Andy Pei
In ipn3ke, each FPGA network side port bonding to an i40e pf,
each i40e pf link status should get data from FPGA network,
side port. This patch provide bonding relationship.
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/net/i40e/base/i40e_type.h | 3 +++
From: Tianfei zhang
Add irq support for ifpga FME global error, port error and uint unit.
We implmented this feature by vfio interrupt mechanism.
To build this feature, CONFIG_RTE_EAL_VFIO should be enabled.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
config/common_base
From: Tianfei zhang
This patch exposes SEU error information to application then application
could compare this information (128bit) with its own SMH file to know
if this SEU is a fatal error or not.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_defines
From: Tianfei zhang
Every defined bit in FME_ERROR0 is RW1C. Other reserved bits are always
0 when readout and it will plan to be RW1C if needed in future.
So it is safe just write the read back value to clear all the errors.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/ra
This patch set adds PCIe AER disable and FPGA interrupt support for
ipn3ke. It also provides a small rework for port bonding between FPGA
line side port and I40e PF port.
What is the PCI Express AER(Advanced Error Reporting)?
Advanced Error Reporting capability is implemented with a PCI Express
ad
HI Stephen,
Will you please enhance it to also provide number of files in each
category?
We also need to think about how to handle the scripts "*.sh", as many of these
are without SPDX.
- we can either leave them as it is.
Or , we can put the SPDX header without a copyright?
Regards,
Acked-by: Hemant Agrawal
> -Original Message-
> From: Jerin Jacob
> Sent: Friday, November 8, 2019 8:24 PM
> To: Ferruh Yigit
> Cc: Vamsi Krishna Attunuru ; dev@dpdk.org;
> tho...@monjalon.net; Jerin Jacob Kollanukkaran ; Kiran
> Kumar Kokkilagadda ; olivier.m...@6wind.com;
> anatoly.bura...@intel.com; arybche..
> -Original Message-
> From: Matan Azrad
> Sent: Wednesday, November 13, 2019 0:00
> To: dev@dpdk.org
> Cc: Slava Ovsiienko ; Dekel Peled
>
> Subject: [PATCH v2] net/mlx5: revert default rules amount optimization
>
> This reverts commit 304ffe576f239e5405228c0feec04b6138d525b7.
>
> It t
Hi, Qiming
> -Original Message-
> From: Yang, Qiming
> Sent: Tuesday, November 12, 2019 6:37 PM
> To: Wang, ShougangX ; dev@dpdk.org
> Cc: Zhang, Qi Z
> Subject: RE: [PATCH v4 2/4] net/ice: fix removal of FDIR profile
>
> Hi,
>
> > -Original Message-
> > From: Wang, ShougangX
>
https://bugs.dpdk.org/show_bug.cgi?id=361
Kalesh A P (kalesh-anakkur.pura...@broadcom.com) changed:
What|Removed |Added
CC||dev@dpdk.org
--
On Tue, Nov 12, 2019 at 09:23:31AM -0800, Stephen Hemminger wrote:
> Since Linux kernel is going to drop support for iopl real soon now.
> Is there any ongoing effort to either drop Legacy virtio support,
I think it's not a good idea to drop the legacy virtio
support at present.
> or replace iop
Hi,
Few more points
Operating system : Centos 7.6
Logging mechanism : syslog
We have logged using syslog before the call and syslog after the call.
Thanks & Regards
Venu
On Wed, 13 Nov 2019 at 10:37, Venumadhav Josyula wrote:
> Hi ,
> We are using 'rte_mempool_create' for allocation of flow
Hi ,
We are using 'rte_mempool_create' for allocation of flow memory. This has
been there for a while. We just migrated to dpdk-18.11 from dpdk-17.05. Now
here is problem statement
Problem statement :
In new dpdk ( 18.11 ), the 'rte_mempool_create' take approximately ~4.4 sec
for allocation compar
When VHOST_USER_VRING_NOFD_MASK is set, the fd_num is 0.
Fixes: bf47225 ("vhost: fix possible denial of service by leaking FDs")
Signed-off-by: Zhike Wang
---
lib/librte_vhost/vhost_user.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/lib/librte_vhost/vhost_u
After ports reset, tx laser register will be reset. The link
status for 82599eb got from link status register was not correct.
Set tx laser disable after ports reset.
Fixes: 0408f47ba4d6 ("net/ixgbe: fix busy polling while fiber link update")
Cc: sta...@dpdk.org
Signed-off-by: Lunyuan Cui
---
d
The link status got from link status register was not correct,
because register has been reset when ports reset.
After port reset, set the link status down.
Fixes: c431ec66c54c ("net/igb: support setting link up or down")
Cc: sta...@dpdk.org
Signed-off-by: Lunyuan Cui
---
drivers/net/e1000/igb_
Thank you for your advice, it's helpful.
I will follow your advice to write a new one.
-邮件原件-
发件人: Gavin Hu (Arm Technology China) [mailto:gavin...@arm.com]
发送时间: 2019年11月12日 15:02
收件人: Wangyu (Eric) ; dev@dpdk.org
抄送: ferruh.yi...@intel.com; Linuxarm ; humin (Q)
; dengxiaofeng ; Liyuan
On 11/12, Wei Zhao wrote:
>Correct an error in the IPV6 header bitmask used for programming switch
>rules. Also, change other programming switch headers to use big endian
>fields in order to make setting these easier.
>
>Fixes: 04b8ec1ea807 ("net/ice/base: add protocol structures and defines")
>
>S
On 11/12, Bruce Richardson wrote:
>When compiling with 16B descriptor support enabled, clang compiles gave an
>error, complaining that the final parameter of _mm256_blend_epi32() had to
>be an immediate value (i.e. compile-time constant). While it appears that
>GCC was able to convert the constant
On 11/12, Leyi Rong wrote:
>Fix iavf vf_checksum_sw case fail in X710/XXV710, set bit2 to 1
>of CMD field in Tx descriptor of AVX Tx path according to Spec.
>
>Fixes: af0c246a3800 ("net/iavf: enable AVX2 for iavf")
>
>Signed-off-by: Leyi Rong
>
>---
>v2:
>- Use IAVF_TX_DESC_CMD_ICRC instead of 0x0
On 11/12, Qi Zhang wrote:
>Order intermediate VSIG list correct in order to correctly match existing
>VSIG lists.
>
>When overriding pre-existing TCAM entries, properly delete the existing
>entry and remove it from the change/update list.
>
>Fixes: 51d04e4933e3 ("net/ice/base: add flexible pipeline
On 11/12, Di ChenxuX wrote:
>testpmd will occur infinite loops when device hotplug remove.
>We can fix the issue by using the pci generic remove function
>
>Fixes: ac89d46096d5 ("net/i40e: release port upon close")
>
>Signed-off-by: Di ChenxuX
>
>v4:
>used generic remove function for i40e_vf_repre
On 11/12, Di ChenxuX wrote:
>testpmd will occur infinite loops when device hotplug remove.
>We can fix the issue by using the pci generic remove function
>
>Fixes: f2f4990eff94 ("net/ixgbe: release port upon close")
>
>Signed-off-by: Di ChenxuX
>
>v4:
>used generic remove function for ixgbe_vf_rep
On 11/07, Simei Su wrote:
>This patch fixes core dump issue when entering safe mode with a
>wrong ice.pkg. In safe mode, rte_flow is not supported and it
>won't initialize any flow engine.
>
>Fixes: 7615a6895009 ("net/ice: rework for generic flow enabling")
>
>Signed-off-by: Simei Su
>---
> driver
In ice_hash_create(), whatever the hash_function is, the filter_ptr->symm
is always 0 and when we destroy the flow, the ice_rem_rss_cfg() is never
carried out. So the destroy function never works well. The patch fixes
this issue and at the same time distinguishes semanteme between simple_xor
and sy
> -Original Message-
> From: Eelco Chaudron [mailto:echau...@redhat.com]
> Sent: Tuesday, November 12, 2019 7:09 PM
> To: Zhang, Xiao
> Cc: Zhang, Qi Z ; dev@dpdk.org; Xing, Beilei
>
> Subject: Re: [dpdk-dev] [PATCH] net/i40e: force promiscuous state after VF
> reset
>
>
>
> On 12 No
Hi, Qi
> -Original Message-
> From: Zhang, Qi Z
> Sent: Tuesday, November 12, 2019 9:38 PM
> To: Su, Simei ; Ye, Xiaolong ;
> Yang, Qiming
> Cc: dev@dpdk.org
> Subject: RE: [PATCH] net/ice: add a structure for RSS
>
>
>
> > -Original Message-
> > From: Su, Simei
> > Sent: Tue
This reverts commit 304ffe576f239e5405228c0feec04b6138d525b7.
It tried to optimize the amount of the default flow
rules and created it only once on top of the PF representor.
For each FDB rule, the default port ID to match on is like of the port
that triggers the flow.
Hence, the single default
This reverts commit 304ffe576f239e5405228c0feec04b6138d525b7.
Commit 304ffe576f23 tried to optimize the amount of the default flow
rules and created it only once on top of the PF representor.
For each FDB rule, the default port ID to match on is like of the port
that triggers the flow.
Hence, th
Rather than overloading USER1 and USER2 logtypes,
use a DPDK dynamic log type.
Signed-off-by: Stephen Hemminger
---
lib/librte_vhost/vhost.c | 12
lib/librte_vhost/vhost.h | 5 +++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/lib/librte_vhost/vhost.c b/lib/libr
On Fri, Nov 8, 2019 at 5:47 PM Stephen Hemminger
wrote:
>
> These are a couple of small cleanups for 19.10 which
Stephen, we might be a bit late for this release, but it is still 19.11 :-)
> came out of work on pcapng support. Full pcapng support
> and BPF are planned for DPDK 20.02.
>
> Stephen
On Tue, Nov 12, 2019 at 9:29 AM Krzysztof Kanas wrote:
>
> On 19-11-08 14:45, David Marchand wrote:
> > External Email
> >
> > --
> > On Fri, Nov 8, 2019 at 12:05 PM David Marchand
> > wrote:
> > >
> > > On Fri, Nov 8, 2019 at 11
From: Krzysztof Kanas
Caught while investigating timeouts on a ARM64 server.
Stracing a test process running the eal_flags_autotest, we can see that
the fork helper is checking all possible file descriptors from
getdtablesize() to 2, and close the existing ones.
We can do better by inspecting th
Shoot repeated words in all our guides.
Signed-off-by: David Marchand
---
doc/guides/contributing/coding_style.rst | 8
doc/guides/cryptodevs/zuc.rst | 2 +-
doc/guides/linux_gsg/nic_perf_intel_platform.rst | 2 +-
doc/guides/nics
Add missing _.
Fixes: 2977a13657ab ("doc: fix AESNI_MB guide")
Cc: sta...@dpdk.org
Signed-off-by: David Marchand
---
Changelog since v1:
- rebased on master, still the same issue
---
doc/guides/cryptodevs/aesni_mb.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guid
On Tue, Nov 12, 2019 at 6:09 PM Ferruh Yigit wrote:
>
> On 11/12/2019 12:37 PM, David Marchand wrote:
> > Caught when compiling this example with pkg-config:
> >
> > ## Building l2fwd
> > ...
> > main.c: In function ‘main’:
> > main.c:716:3: warning: ‘rte_eth_dev_set_ptypes’ is deprecated: Sym
On Tue, Nov 12, 2019 at 9:11 AM Olivier Matz wrote:
>
> On Fri, Nov 08, 2019 at 10:00:35AM -0800, Stephen Hemminger wrote:
> > The #ifdef to conditionally include on BSD
> > is unnecessary. It is harmless to include the header on other
> > OS's. An extra include is better than an #ifdef.
> >
> >
> -Original Message-
> From: Matan Azrad
> Sent: Monday, November 11, 2019 8:01 AM
> To: Ananyev, Konstantin ; Yigit, Ferruh
> ; Dekel Peled ;
> Mcnamara, John ; Kovacevic, Marko
> ; nhor...@tuxdriver.com;
> ajit.khapa...@broadcom.com; somnath.ko...@broadcom.com; Burakov, Anatoly
> ;
Since Linux kernel is going to drop support for iopl real soon now.
Is there any ongoing effort to either drop Legacy virtio support,
or replace iopl with ioperm, or at least test with iopl failing?
Note: it looks like the current code does not match comment.
/*
* Request iopl privilege for all
On 11/12/2019 12:37 PM, David Marchand wrote:
> Caught when compiling this example with pkg-config:
>
> ## Building l2fwd
> ...
> main.c: In function ‘main’:
> main.c:716:3: warning: ‘rte_eth_dev_set_ptypes’ is deprecated: Symbol
> is not yet part of stable ABI [-Wdeprecated-declarations]
>
Set the install path for the kernel modules as /boot/modules. This may
ease the integration with the official FreeBSD ports system as all
components should be correctly located in the staging directory after
running "ninja install"
Signed-off-by: Bruce Richardson
---
kernel/freebsd/meson.build |
Clang is the system compiler for FreeBSD and kernel module builds can fail
when built with gcc, e.g. when testing with test-meson-builds.sh.
Therefore, it's safer to always use clang to build the kmods since the
actual flags used are outside of DPDK's control and cannot be guaranteed to
work with a
Two small changes to improve FreeBSD build and install with meson
Bruce Richardson (2):
freebsd: allow installing kernel modules
freebsd: always use clang for kmod compilation
kernel/freebsd/meson.build | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
--
2.22.0
On 11/12/2019 3:15 PM, Ferruh Yigit wrote:
> A vulnerability was fixed in DPDK.
>
> Some downstream stakeholders were warned in advance in order to coordinate the
> release of fixes and reduce the vulnerability window.
>
> Problem:
> A malicious container which has direct access to the vhost-user
Hi,
> -Original Message-
> From: dev On Behalf Of Dekel Peled
> Sent: Monday, November 11, 2019 4:33 PM
> To: Matan Azrad ; Shahaf Shuler
> ; Slava Ovsiienko
> Cc: Ori Kam ; dev@dpdk.org; sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix RSS action validation of queue idx
>
>
On 12/11/2019 15:19, Maxime Coquelin wrote:
> A malicious Vhost-user master could send in loop hand-crafted
> vhost-user messages containing more file descriptors the
> vhost-user slave expects. Doing so causes the application using
> the vhost-user library to run out of FDs.
>
> This issue has be
On 12/11/2019 15:19, Maxime Coquelin wrote:
> vhost_user_set_vring_num() performs multiple allocations
> without checking whether data were previously allocated.
>
> It may cause a denial of service because of the memory leaks
> that happen if a malicious vhost-user master keeps sending
> VHOST_US
On 12/11/2019 16:19, Maxime Coquelin wrote:
> A malicious Vhost-user master could send in loop hand-crafted
> vhost-user messages containing more file descriptors the
> vhost-user slave expects. Doing so causes the application using
> the vhost-user library to run out of FDs.
>
> This issue has be
On 12/11/2019 16:19, Maxime Coquelin wrote:
> vhost_user_set_vring_num() performs multiple allocations
> without checking whether data were previously allocated.
>
> It may cause a denial of service because of the memory leaks
> that happen if a malicious vhost-user master keeps sending
> VHOST_US
A malicious Vhost-user master could send in loop hand-crafted
vhost-user messages containing more file descriptors the
vhost-user slave expects. Doing so causes the application using
the vhost-user library to run out of FDs.
This issue has been assigned CVE-2019-14818
Fixes: 8f972312b8f4 ("vhost:
vhost_user_set_vring_num() performs multiple allocations
without checking whether data were previously allocated.
It may cause a denial of service because of the memory leaks
that happen if a malicious vhost-user master keeps sending
VHOST_USER_SET_VRING_NUM request until the slave runs out
of mem
A malicious Vhost-user master could send in loop hand-crafted
vhost-user messages containing more file descriptors the
vhost-user slave expects. Doing so causes the application using
the vhost-user library to run out of FDs.
This issue has been assigned CVE-2019-14818
Fixes: 8f972312b8f4 ("vhost:
A malicious Vhost-user master could send in loop hand-crafted
vhost-user messages containing more file descriptors the
vhost-user slave expects. Doing so causes the application using
the vhost-user library to run out of FDs.
This issue has been assigned CVE-2019-14818
Fixes: 8f972312b8f4 ("vhost:
From: Stefan Hajnoczi
[ backported from upstream commit eb7c574b21cc92792ea5a1f219ddf6dd3cf3b1e1 ]
Check the virtqueue size constraints so that invalid values don't cause
bugs later on in the code. For example, sometimes the virtqueue size is
stored as unsigned int and sometimes as uint16_t, so
vhost_user_set_vring_num() performs multiple allocations
without checking whether data were previously allocated.
It may cause a denial of service because of the memory leaks
that happen if a malicious vhost-user master keeps sending
VHOST_USER_SET_VRING_NUM request until the slave runs out
of mem
As soon as some ancillary data (fds) are received, it is copied
without checking its length.
This patch adds the number of fds received to the message,
which is set in read_vhost_message().
This is preliminary work to support sending fds to Qemu.
Signed-off-by: Dr. David Alan Gilbert
Signed-off
vhost_user_set_vring_num() performs multiple allocations
without checking whether data were previously allocated.
It may cause a denial of service because of the memory leaks
that happen if a malicious vhost-user master keeps sending
VHOST_USER_SET_VRING_NUM request until the slave runs out
of mem
A malicious Vhost-user master could send in loop hand-crafted
vhost-user messages containing more file descriptors the
vhost-user slave expects. Doing so causes the application using
the vhost-user library to run out of FDs.
This issue has been assigned CVE-2019-14818
Fixes: 8f972312b8f4 ("vhost:
As soon as some ancillary data (fds) are received, it is copied
without checking its length.
This patch adds the number of fds received to the message,
which is set in read_vhost_message().
This is preliminary work to support sending fds to Qemu.
Signed-off-by: Dr. David Alan Gilbert
Signed-off
From: Stefan Hajnoczi
[ backported from upstream commit eb7c574b21cc92792ea5a1f219ddf6dd3cf3b1e1 ]
Check the virtqueue size constraints so that invalid values don't cause
bugs later on in the code. For example, sometimes the virtqueue size is
stored as unsigned int and sometimes as uint16_t, so
vhost_user_set_vring_num() performs multiple allocations
without checking whether data were previously allocated.
It may cause a denial of service because of the memory leaks
that happen if a malicious vhost-user master keeps sending
VHOST_USER_SET_VRING_NUM request until the slave runs out
of mem
A vulnerability was fixed in DPDK.
Some downstream stakeholders were warned in advance in order to coordinate the
release of fixes and reduce the vulnerability window.
Problem:
A malicious container which has direct access to the vhost-user socket can keep
sending messages which may cause leaking
Hi all,
Here is a new stable release:
https://fast.dpdk.org/rel/dpdk-19.08.1.tar.xz
The git tree is at:
https://dpdk.org/browse/dpdk-stable/?h=19.08
This stable release fixes CVE-2019-14818, all users of the vhost
library are strongly encouraged to upgrade as soon as possible.
K
Hi all,
Here is a new LTS release:
https://fast.dpdk.org/rel/dpdk-18.11.4.tar.xz
The git tree is at:
https://dpdk.org/browse/dpdk-stable/?h=18.11
This stable release fixes CVE-2019-14818, all users of the vhost
library are strongly encouraged to upgrade as soon as possible.
Kevi
Hi all,
Here is a new LTS release:
https://fast.dpdk.org/rel/dpdk-17.11.8.tar.xz
The git tree is at:
https://dpdk.org/browse/dpdk-stable/?h=17.11
This stable release fixes CVE-2019-14818, all users of the vhost
library are strongly encouraged to upgrade as soon as possible.
Test
Hi all,
Here is a new stable release:
https://fast.dpdk.org/rel/dpdk-16.11.10.tar.xz
The git tree is at:
https://dpdk.org/browse/dpdk-stable/?h=16.11
This stable release fixes CVE-2019-14818, all users of the vhost
library are strongly encouraged to upgrade as soon as possible.
In rte_realloc, if the old element has pad and need to allocate a new
memory, the padding size was not deducted, so more data was copied to
new data area.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Xueming Li
---
lib/librte_eal/common/rte_malloc.c | 3 ++-
1
When resize a memory with next element, the original element size grows.
If the orginal element has padding, the real inner element size didn't
grow as well and this causes trailer verification failure when malloc
debug enabled.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Sig
Currently, multiple rte_flow RSS rules may mapping to the same
hardware rule if a later rule is just for inputset change or symm
turn on/off. so after one of the rules be destroyed, we will
get error ICE_ERR_DOES_NOT_EXIST when destroying any other rules.
The patch simply fix this by ignore this er
> -Original Message-
> From: Dekel Peled
> Sent: Tuesday, November 12, 2019 16:19
> To: Matan Azrad ; Shahaf Shuler
> ; Slava Ovsiienko
> Cc: Ori Kam ; dev@dpdk.org
> Subject: [PATCH] net/mlx5: fix verbs flow counter query
>
> Function flow_verbs_counter_query() was recently modified.
>
Function flow_verbs_counter_query() was recently modified.
The new 'if' condition uses a pointer to flow counter-set.
This pointer is valid only if flow contains a count action.
This patch adds check to verify the pointer is valid.
Fixes: d85c7b5ea59f ("net/mlx5: split hairpin flows")
Cc: or...@m
From: Dekel Peled
> Function mlx5_rxq_get_type() uses the input queue index, without checking
> it, as index to the Rx queues array.
> If this value is too high, it will result in pointer to memory out of Rx
> queues
> array bounds.
>
> This patch adds check of the input queue index, to verify
From: Dekel Peled
> RSS action validation function checks the queues included in RSS to make
> sure they are valid.
> A Queue is considered valid if the pointer to the queue (item at location
> queue-index of RxQ array) is not a null value.
> The queue indices are not checked. If a large value i
1 - 100 of 135 matches
Mail list logo