Details

[Home]

Issue of the Implementation # L0015

Brief

drivers/net/hamradio/bpqether.c: Null dereference

Detailed Description

Null dereference in driver drivers/net/hamradio/bpqether.c in function bpq_xmit: Path:

  • 1. if in line 288 after calling function bpq_get_ether_dev variable dev = NULL, then we goto line 289
  • 2. In line 289: null dereference of dev - "dev->stats.tx_dropped++"
  •  288        if ((dev = bpq_get_ether_dev(dev)) == NULL) {
     289                dev->stats.tx_dropped++;
     290                kfree_skb(skb);
     291                return NETDEV_TX_OK;
     292        }
    

    Component

    linux-kernel 2.6.32

    Accepted

    http://kerneltrap.org/mailarchive/linux-netdev/2009/12/15/6264106
    commit

    Status

    Fixed in kernel 2.6.33-rc4

    [Home]