P.S., In Coverity there are a number of "Out-of-bounds access (OVERRUN)" 
defects that relate to rte_memcpy() or one of the wrappers around it. They look 
like this:


    CID 362728 (#1 of 1): Out-of-bounds access (OVERRUN)
    11. overrun-buffer-val: Overrunning array tdata->auth_tag.data of 16 bytes 
by
        passing it to a function which accesses it at byte offset 160.
    8182                rte_memcpy(sym_op->aead.digest.data, 
tdata->auth_tag.data,
    8183                        tdata->auth_tag.len);
    8184                debug_hexdump(stdout, "digest:",
    8185                        sym_op->aead.digest.data,
    8186                        tdata->auth_tag.len);
    8187        }

As far as we can tell these are false positives since there are a number of 
different size handling statements in rte_memcpy() and an issue like this would 
result in an immediate error under any sort of load.

In this case you can edit the defect online and change the defect 
"Classification" to "False Positive" and change the "Action" to "Ignore".

If anyone disagrees and thinks that this is a real issue, let me know.

John



From: Mcnamara, John <john.mcnam...@intel.com>
Sent: Thursday, February 10, 2022 8:44 PM
To: gaetan.ri...@6wind.com; ilyes.ben_hamo...@6wind.com; 
olivier.m...@6wind.com; ajit.khapa...@broadcom.com; farah.sm...@broadcom.com; 
kalesh-anakkur.pura...@broadcom.com; kishore.padmana...@broadcom.com; 
lance.richard...@broadcom.com; michael.wi...@broadcom.com; 
peter.spreadboro...@broadcom.com; somnath.ko...@broadcom.com; 
stuart.schac...@broadcom.com; sunila.s...@caviumnetworks.com; 
hyon...@cisco.com; vatangchengch...@huawei.com; adwiv...@marvell.com; 
ano...@marvell.com; asek...@marvell.com; gmuthukri...@marvell.com; 
hka...@marvell.com; jer...@marvell.com; kirankum...@marvell.com; 
ktejas...@marvell.com; ndabilpu...@marvell.com; pbhagavat...@marvell.com; 
psathe...@marvell.com; scha...@marvell.com; sk...@marvell.com; 
sthot...@marvell.com; tduszyn...@marvell.com; jack...@mellanox.com; 
viachesl...@mellanox.com; xuemi...@mellanox.com; step...@networkplumber.org; 
dkozl...@nvidia.com; eagost...@nvidia.com; sh...@nvidia.com; 
suanmi...@nvidia.com; xuemi...@nvidia.com; apeksha.gu...@nxp.com; 
franck.lenorm...@nxp.com; g.si...@nxp.com; hemant.agra...@nxp.com; 
jun.y...@nxp.com; nipun.gu...@nxp.com; shreyansh.j...@nxp.com; 
ivan.ilche...@oktetlabs.ru; zyta.sz...@semihalf.com; jiawe...@trustnetic.com; 
vsriv...@xilinx.com
Cc: tho...@monjalon.net; Yigit, Ferruh <ferruh.yi...@intel.com>; Morrissey, 
Sean <sean.morris...@intel.com>; dev@dpdk.org; jer...@marvell.com
Subject: Open Coverity defects in DPDK

Folks,

If your email is on the "To" list then you have an open defect in the DPDK 
Coverity database. Due to an issue with an automated emailer you may not have 
received an email notifying you about this. We will try to send them again.

In the meantime you can see the defects against your email in the list below. 
If you spot any email addresses that are no longer valid please let me and Sean 
know.

You can review the defects online at:

    http://scan.coverity.com/projects/dpdk-data-plane-development-kit

If you aren't registered for the DPDK Coverity you can do so here:

    http://scan.coverity.com/users/sign_up



CID     Type                           Owner
------  ------------------------------ -----------------------------
373712  Resource leak                  
gaetan.ri...@6wind.com<mailto:gaetan.ri...@6wind.com>
373890  Negative array index read      
ilyes.ben_hamo...@6wind.com<mailto:ilyes.ben_hamo...@6wind.com>
373888  Out-of-bounds read             
ilyes.ben_hamo...@6wind.com<mailto:ilyes.ben_hamo...@6wind.com>
373855  Logically dead code            
olivier.m...@6wind.com<mailto:olivier.m...@6wind.com>
373686  Waiting while holding a lock   
olivier.m...@6wind.com<mailto:olivier.m...@6wind.com>
369668  Out-of-bounds access           
ajit.khapa...@broadcom.com<mailto:ajit.khapa...@broadcom.com>
371896  Out-of-bounds access           
farah.sm...@broadcom.com<mailto:farah.sm...@broadcom.com>
371894  Out-of-bounds access           
farah.sm...@broadcom.com<mailto:farah.sm...@broadcom.com>
369660  Out-of-bounds access           
kalesh-anakkur.pura...@broadcom.com<mailto:kalesh-anakkur.pura...@broadcom.com>
373390  Untrusted value as argument    
kishore.padmana...@broadcom.com<mailto:kishore.padmana...@broadcom.com>
373389  Untrusted value as argument    
kishore.padmana...@broadcom.com<mailto:kishore.padmana...@broadcom.com>
369669  Out-of-bounds read             
lance.richard...@broadcom.com<mailto:lance.richard...@broadcom.com>
374939  Dereference after null check   
michael.wi...@broadcom.com<mailto:michael.wi...@broadcom.com>
369665  Out-of-bounds access           
peter.spreadboro...@broadcom.com<mailto:peter.spreadboro...@broadcom.com>
372064  Uninitialized scalar variable  
somnath.ko...@broadcom.com<mailto:somnath.ko...@broadcom.com>
369667  Out-of-bounds access           
somnath.ko...@broadcom.com<mailto:somnath.ko...@broadcom.com>
369666  Out-of-bounds access           
somnath.ko...@broadcom.com<mailto:somnath.ko...@broadcom.com>
369662  Out-of-bounds access           
somnath.ko...@broadcom.com<mailto:somnath.ko...@broadcom.com>
369661  Out-of-bounds access           
somnath.ko...@broadcom.com<mailto:somnath.ko...@broadcom.com>
369659  Out-of-bounds access           
somnath.ko...@broadcom.com<mailto:somnath.ko...@broadcom.com>
369658  Out-of-bounds access           
stuart.schac...@broadcom.com<mailto:stuart.schac...@broadcom.com>
373869  Unchecked return value         
sunila.s...@caviumnetworks.com<mailto:sunila.s...@caviumnetworks.com>
373365  Dereference null return value  
sunila.s...@caviumnetworks.com<mailto:sunila.s...@caviumnetworks.com>
375064  Dereference after null check   
hyon...@cisco.com<mailto:hyon...@cisco.com>
367379  Failure to restore non-local   
vatangchengch...@huawei.com<mailto:vatangchengch...@huawei.com>
372137  Untrusted value as argument    
adwiv...@marvell.com<mailto:adwiv...@marvell.com>
372138  Untrusted value as argument    
ano...@marvell.com<mailto:ano...@marvell.com>
370218  Dereference null return value  
asek...@marvell.com<mailto:asek...@marvell.com>
373635  Logically dead code            
gmuthukri...@marvell.com<mailto:gmuthukri...@marvell.com>
373628  Dereference null return value  
gmuthukri...@marvell.com<mailto:gmuthukri...@marvell.com>
374858  Unchecked return value         
hka...@marvell.com<mailto:hka...@marvell.com>
371880  Uninitialized scalar variable  
jer...@marvell.com<mailto:jer...@marvell.com>
371876  Uninitialized scalar variable  
jer...@marvell.com<mailto:jer...@marvell.com>
372065  Explicit null dereferenced     
kirankum...@marvell.com<mailto:kirankum...@marvell.com>
370225  Uninitialized pointer read     
kirankum...@marvell.com<mailto:kirankum...@marvell.com>
370224  Uninitialized pointer read     
kirankum...@marvell.com<mailto:kirankum...@marvell.com>
370223  Uninitialized pointer read     
kirankum...@marvell.com<mailto:kirankum...@marvell.com>
370221  Uninitialized pointer read     
kirankum...@marvell.com<mailto:kirankum...@marvell.com>
370220  Uninitialized pointer read     
kirankum...@marvell.com<mailto:kirankum...@marvell.com>
370219  Uninitialized pointer read     
kirankum...@marvell.com<mailto:kirankum...@marvell.com>
370217  Uninitialized pointer read     
kirankum...@marvell.com<mailto:kirankum...@marvell.com>
370214  Uninitialized pointer read     
kirankum...@marvell.com<mailto:kirankum...@marvell.com>
373857  Out-of-bounds access           
ktejas...@marvell.com<mailto:ktejas...@marvell.com>
371877  Uninitialized scalar variable  
ndabilpu...@marvell.com<mailto:ndabilpu...@marvell.com>
371872  Uninitialized scalar variable  
ndabilpu...@marvell.com<mailto:ndabilpu...@marvell.com>
370215  Unchecked return value         
ndabilpu...@marvell.com<mailto:ndabilpu...@marvell.com>
370213  Unchecked return value         
ndabilpu...@marvell.com<mailto:ndabilpu...@marvell.com>
374991  Resource leak                  
pbhagavat...@marvell.com<mailto:pbhagavat...@marvell.com>
374990  Resource leak                  
pbhagavat...@marvell.com<mailto:pbhagavat...@marvell.com>
370587  Uninitialized pointer read     
pbhagavat...@marvell.com<mailto:pbhagavat...@marvell.com>
370580  Unsigned compared against 0    
pbhagavat...@marvell.com<mailto:pbhagavat...@marvell.com>
370579  Uninitialized pointer read     
pbhagavat...@marvell.com<mailto:pbhagavat...@marvell.com>
370578  Uninitialized scalar variable  
pbhagavat...@marvell.com<mailto:pbhagavat...@marvell.com>
370222  Dereference null return value  
pbhagavat...@marvell.com<mailto:pbhagavat...@marvell.com>
373870  Division or modulo by zero     
psathe...@marvell.com<mailto:psathe...@marvell.com>
373258  Unintended sign extension      
psathe...@marvell.com<mailto:psathe...@marvell.com>
373859  Dereference after null check   
scha...@marvell.com<mailto:scha...@marvell.com>
373630  Uninitialized scalar variable  
sk...@marvell.com<mailto:sk...@marvell.com>
373636  Uninitialized scalar variable  
sthot...@marvell.com<mailto:sthot...@marvell.com>
373623  Uninitialized scalar variable  
sthot...@marvell.com<mailto:sthot...@marvell.com>
373361  Logically dead code            
sthot...@marvell.com<mailto:sthot...@marvell.com>
370584  Reliance on integer endianness 
sthot...@marvell.com<mailto:sthot...@marvell.com>
370582  Reliance on integer endianness 
sthot...@marvell.com<mailto:sthot...@marvell.com>
370581  Division or modulo by float 
zersthot...@marvell.com<mailto:zersthot...@marvell.com>
371873  Wrong sizeof argument          
tduszyn...@marvell.com<mailto:tduszyn...@marvell.com>
373627  Dereference after null check   
jack...@mellanox.com<mailto:jack...@mellanox.com>
373633  Out-of-bounds access           
viachesl...@mellanox.com<mailto:viachesl...@mellanox.com>
373708  Waiting while holding a lock   
xuemi...@mellanox.com<mailto:xuemi...@mellanox.com>
373664  Unchecked return value         
step...@networkplumber.org<mailto:step...@networkplumber.org>
373662  Unchecked return value         
step...@networkplumber.org<mailto:step...@networkplumber.org>
373661  Dereference after null check   
step...@networkplumber.org<mailto:step...@networkplumber.org>
375091  Division or modulo by zero     
dkozl...@nvidia.com<mailto:dkozl...@nvidia.com>
374940  Uninitialized scalar variable  
eagost...@nvidia.com<mailto:eagost...@nvidia.com>
374376  Unchecked return value         
eagost...@nvidia.com<mailto:eagost...@nvidia.com>
374373  Uninitialized pointer read     
eagost...@nvidia.com<mailto:eagost...@nvidia.com>
370611  Bad bit shift operation        sh...@nvidia.com<mailto:sh...@nvidia.com>
374378  Structurally dead code         
suanmi...@nvidia.com<mailto:suanmi...@nvidia.com>
373691  Waiting while holding a lock   
xuemi...@nvidia.com<mailto:xuemi...@nvidia.com>
374021  Untrusted value as argument    
apeksha.gu...@nxp.com<mailto:apeksha.gu...@nxp.com>
374020  Argument cannot be negative    
apeksha.gu...@nxp.com<mailto:apeksha.gu...@nxp.com>
374017  Resource leak                  
apeksha.gu...@nxp.com<mailto:apeksha.gu...@nxp.com>
374016  Unused value                   
apeksha.gu...@nxp.com<mailto:apeksha.gu...@nxp.com>
374015  String not null terminated     
apeksha.gu...@nxp.com<mailto:apeksha.gu...@nxp.com>
373161  Structurally dead code         
franck.lenorm...@nxp.com<mailto:franck.lenorm...@nxp.com>
373908  Unused value                   g.si...@nxp.com<mailto:g.si...@nxp.com>
373907  Unused value                   g.si...@nxp.com<mailto:g.si...@nxp.com>
373619  Out-of-bounds access           g.si...@nxp.com<mailto:g.si...@nxp.com>
373621  Resource leak                  
hemant.agra...@nxp.com<mailto:hemant.agra...@nxp.com>
373618  Uninitialized scalar variable  
hemant.agra...@nxp.com<mailto:hemant.agra...@nxp.com>
373617  Argument cannot be negative    
hemant.agra...@nxp.com<mailto:hemant.agra...@nxp.com>
373424  Dereference before null check  
hemant.agra...@nxp.com<mailto:hemant.agra...@nxp.com>
373422  Dereference before null check  
hemant.agra...@nxp.com<mailto:hemant.agra...@nxp.com>
373421  Unintentional integer overflow 
hemant.agra...@nxp.com<mailto:hemant.agra...@nxp.com>
373415  Dereference before null check  
hemant.agra...@nxp.com<mailto:hemant.agra...@nxp.com>
373414  Dereference before null check  
hemant.agra...@nxp.com<mailto:hemant.agra...@nxp.com>
373412  Dereference before null check  
hemant.agra...@nxp.com<mailto:hemant.agra...@nxp.com>
367380  Dereference before null check  
hemant.agra...@nxp.com<mailto:hemant.agra...@nxp.com>
375066  Resource leak                  jun.y...@nxp.com<mailto:jun.y...@nxp.com>
375063  Resource leak                  jun.y...@nxp.com<mailto:jun.y...@nxp.com>
375062  Resource leak                  jun.y...@nxp.com<mailto:jun.y...@nxp.com>
375061  Resource leak                  jun.y...@nxp.com<mailto:jun.y...@nxp.com>
375060  Argument cannot be negative    jun.y...@nxp.com<mailto:jun.y...@nxp.com>
367378  Explicit null dereferenced     
nipun.gu...@nxp.com<mailto:nipun.gu...@nxp.com>
373703  Resource leak                  
shreyansh.j...@nxp.com<mailto:shreyansh.j...@nxp.com>
373874  Uninitialized scalar variable  
ivan.ilche...@oktetlabs.ru<mailto:ivan.ilche...@oktetlabs.ru>
372201  Unchecked return value         
zyta.sz...@semihalf.com<mailto:zyta.sz...@semihalf.com>
373893  Out-of-bounds write            
jiawe...@trustnetic.com<mailto:jiawe...@trustnetic.com>
373884  Logically dead code            
jiawe...@trustnetic.com<mailto:jiawe...@trustnetic.com>
373883  Memset buffer size of 0        
jiawe...@trustnetic.com<mailto:jiawe...@trustnetic.com>
373880  Out-of-bounds read             
jiawe...@trustnetic.com<mailto:jiawe...@trustnetic.com>
373873  Unchecked return value         
jiawe...@trustnetic.com<mailto:jiawe...@trustnetic.com>
373881  Dereference after null check   
vsriv...@xilinx.com<mailto:vsriv...@xilinx.com>
373876  Dereference after null check   
vsriv...@xilinx.com<mailto:vsriv...@xilinx.com>
373872  Dereference after null check   
vsriv...@xilinx.com<mailto:vsriv...@xilinx.com>

Reply via email to