False memory leak in iwlmvm

From: Larry Finger
Date: Sat Apr 21 2018 - 16:33:11 EST


Gentlemen,

I was checking a scan of /sys/kernel/debug/kmemleak with 4.17.0-rc1 and came across this leak message arising from iwlwifi. It is a false message as unloading iwlmvm has it disappearing from the scan.

Thanks,
Larry

unreferenced object 0xffff88021da6c580 (size 128):
comm "softirq", pid 0, jiffies 4298748784 (age 7844.956s)
hex dump (first 32 bytes):
00 c4 a6 1d 02 88 ff ff 00 00 00 00 00 00 00 00 ................
00 00 00 00 20 00 00 00 00 38 49 15 ca 55 00 00 .... ....8I..U..
backtrace:
[<00000000599c704b>] nf_ct_ext_add+0x9e/0x180 [nf_conntrack]
[<00000000e323b857>] init_conntrack+0x206/0x5b0 [nf_conntrack]
[<00000000639e3725>] nf_conntrack_in+0x3c8/0x4e0 [nf_conntrack]
[<00000000795b6382>] nf_hook_slow+0x43/0xc0
[<000000005e335478>] ip_rcv+0x2e3/0x3a0
[<0000000063a4cdd5>] __netif_receive_skb_core+0x3f5/0xb70
[<00000000cb885815>] netif_receive_skb_internal+0x2c/0xf0
[<00000000976d864f>] napi_gro_receive+0xd1/0xf0
[<00000000ea233b08>] ieee80211_deliver_skb+0xe7/0x250 [mac80211]
[<00000000b29f1d1e>] ieee80211_rx_handlers+0xd30/0x1e40 [mac80211]
[<000000004f15ea1a>] ieee80211_prepare_and_rx_handle+0x534/0x11c0 [mac80211]
[<0000000088d8e9fc>] ieee80211_rx_napi+0x328/0x9c0 [mac80211]
[<000000008360ee9e>] iwl_mvm_rx_rx_mpdu+0x501/0x960 [iwlmvm]
[<00000000b977d096>] iwl_pcie_rx_handle+0x21d/0x870 [iwlwifi]
[<000000005ccb7965>] iwl_pcie_irq_handler+0x6b5/0xa00 [iwlwifi]
[<0000000010a165b6>] irq_thread_fn+0x21/0x50