Function fm10k_init_module() defined in
drivers/net/ethernet/intel/fm10k/fm10k_main.c
calls alloc_workqueue() to allocate memory for struct workqueue_struct which
is
dereferenced immediately. As alloc_workqueue() may return NULL on failure,
this code piece may cause NULL pointer dereference
Function fm10k_init_module() defined in
drivers/net/ethernet/intel/fm10k/fm10k_main.c calls alloc_workqueue() to
allocate memory for struct workqueue_struct which is dereferenced immediately.
As alloc_workqueue() may return NULL on failure, this code piece may cause NULL
pointer dereference bug
Function queue_userspace_packet() defined in net/openvswitch/datapath.c calls
nla_nest_start() to allocate memory for struct nlattr which is dereferenced
immediately. As nla_nest_start() may return NULL on failure, this code piece
may cause NULL pointer dereference bug.
---
net/openvswitch/data