CC: [email protected]
CC: [email protected]
TO: Sebastian Andrzej Siewior <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git 
linux-5.16.y-rt-rebase
head:   23316ccdc3157a7b74ddbe4e31d031f96a5b6586
commit: 7a7b4bc238bc31705cdf97a438a9b83cb3f5a870 [64/127] net: dev: Makes sure 
netif_rx() can be invoked in any context.
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago
config: ia64-randconfig-m031-20220116 
(https://download.01.org/0day-ci/archive/20220117/[email protected]/config)
compiler: ia64-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
drivers/staging/gdm724x/gdm_lte.c:86 gdm_lte_rx() error: dereferencing freed 
memory 'skb'

vim +/skb +86 drivers/staging/gdm724x/gdm_lte.c

61e12104764512 Won Kang 2013-07-25  76  
61e12104764512 Won Kang 2013-07-25  77  static int gdm_lte_rx(struct sk_buff 
*skb, struct nic *nic, int nic_type)
61e12104764512 Won Kang 2013-07-25  78  {
61e12104764512 Won Kang 2013-07-25  79          int ret;
61e12104764512 Won Kang 2013-07-25  80  
61e12104764512 Won Kang 2013-07-25  81          ret = netif_rx_ni(skb);
61e12104764512 Won Kang 2013-07-25  82          if (ret == NET_RX_DROP) {
61e12104764512 Won Kang 2013-07-25  83                  nic->stats.rx_dropped++;
61e12104764512 Won Kang 2013-07-25  84          } else {
61e12104764512 Won Kang 2013-07-25  85                  nic->stats.rx_packets++;
61e12104764512 Won Kang 2013-07-25 @86                  nic->stats.rx_bytes += 
skb->len + ETH_HLEN;
61e12104764512 Won Kang 2013-07-25  87          }
61e12104764512 Won Kang 2013-07-25  88  
61e12104764512 Won Kang 2013-07-25  89          return 0;
61e12104764512 Won Kang 2013-07-25  90  }
61e12104764512 Won Kang 2013-07-25  91  

:::::: The code at line 86 was first introduced by commit
:::::: 61e121047645122c47714fcda684d0ee67f444af staging: gdm7240: adding LTE 
USB driver

:::::: TO: Won Kang <[email protected]>
:::::: CC: Greg Kroah-Hartman <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to