CC: [email protected]
BCC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Sebastian Andrzej Siewior <[email protected]>
CC: Eric Dumazet <[email protected]>
CC: "Toke Høiland-Jørgensen" <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   d4a0ae62a277377de396850ed4b709b6bd9b7326
commit: baebdf48c360080710f80699eea3affbb13d6c65 [5017/7915] net: dev: Makes 
sure netif_rx() can be invoked in any context.
:::::: branch date: 22 hours ago
:::::: commit date: 10 days ago
config: ia64-randconfig-m031-20220224 
(https://download.01.org/0day-ci/archive/20220225/[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