https://bugzilla.kernel.org/show_bug.cgi?id=215197 Bug ID: 215197 Summary: Memory leaks show up a while after usung Edimax Wi-Fi N150 Bluetooth4.0 USB Adapter (rtl8723be) Product: Drivers Version: 2.5 Kernel Version: 5.16-rc3 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Bluetooth Assignee: linux-bluetooth@xxxxxxxxxxxxxxx Reporter: erhard_f@xxxxxxxxxxx CC: pkshih@xxxxxxxxxxx Regression: No Created attachment 299823 --> https://bugzilla.kernel.org/attachment.cgi?id=299823&action=edit kmemleak output (5.16-rc3, AMD FX-8370) The memleak seems to stem from rtl8723be driver: [...] unreferenced object 0xffff8881ecc01840 (size 216): comm "NetworkManager", pid 506, jiffies 4295033807 (age 10395.817s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffffbb2b8a54>] __alloc_skb+0xa6/0x2d8 [<ffffffffbb2b8f88>] __netdev_alloc_skb+0x15d/0x2db [<ffffffffc20a4639>] rtl8xxxu_submit_rx_urb+0xba/0x2eb [rtl8xxxu] [<ffffffffc20a2079>] rtl8xxxu_start+0x7aa/0xa08 [rtl8xxxu] [<ffffffffc277ffa6>] drv_start+0xa6/0x124 [mac80211] [<ffffffffc27c76c8>] ieee80211_do_open+0x221/0x16ac [mac80211] [<ffffffffc27cee04>] ieee80211_open+0x10f/0x1ab [mac80211] [<ffffffffbb2fe4a5>] __dev_open+0x1dd/0x2fa [<ffffffffbb315c36>] __dev_change_flags+0x136/0x581 [<ffffffffbb31634b>] dev_change_flags+0x73/0x172 [<ffffffffbb35ab15>] do_setlink+0x996/0x2d82 [<ffffffffbb34e302>] rtnl_newlink+0xf3e/0x133b [<ffffffffbb3595ec>] rtnetlink_rcv_msg+0x501/0xb11 [<ffffffffbb426285>] netlink_rcv_skb+0x154/0x319 [<ffffffffbb4218ec>] netlink_unicast+0x423/0x5c6 [<ffffffffbb42ae02>] netlink_sendmsg+0x725/0xa98 unreferenced object 0xffff8881ecdf1000 (size 4096): comm "NetworkManager", pid 506, jiffies 4295033807 (age 10395.817s) hex dump (first 32 bytes): 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk backtrace: [<ffffffffbb2b8dbd>] kmalloc_reserve+0x23/0x91 [<ffffffffbb2b8a82>] __alloc_skb+0xd4/0x2d8 [<ffffffffbb2b8f88>] __netdev_alloc_skb+0x15d/0x2db [<ffffffffc20a4639>] rtl8xxxu_submit_rx_urb+0xba/0x2eb [rtl8xxxu] [<ffffffffc20a2079>] rtl8xxxu_start+0x7aa/0xa08 [rtl8xxxu] [<ffffffffc277ffa6>] drv_start+0xa6/0x124 [mac80211] [<ffffffffc27c76c8>] ieee80211_do_open+0x221/0x16ac [mac80211] [<ffffffffc27cee04>] ieee80211_open+0x10f/0x1ab [mac80211] [<ffffffffbb2fe4a5>] __dev_open+0x1dd/0x2fa [<ffffffffbb315c36>] __dev_change_flags+0x136/0x581 [<ffffffffbb31634b>] dev_change_flags+0x73/0x172 [<ffffffffbb35ab15>] do_setlink+0x996/0x2d82 [<ffffffffbb34e302>] rtnl_newlink+0xf3e/0x133b [<ffffffffbb3595ec>] rtnetlink_rcv_msg+0x501/0xb11 [<ffffffffbb426285>] netlink_rcv_skb+0x154/0x319 [<ffffffffbb4218ec>] netlink_unicast+0x423/0x5c6 unreferenced object 0xffff8881ce5c9cc0 (size 216): comm "iwd", pid 875, jiffies 4295034039 (age 10395.047s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffffbb2b8a54>] __alloc_skb+0xa6/0x2d8 [<ffffffffbb2b8f88>] __netdev_alloc_skb+0x15d/0x2db [<ffffffffc20a4639>] rtl8xxxu_submit_rx_urb+0xba/0x2eb [rtl8xxxu] [<ffffffffc20a2079>] rtl8xxxu_start+0x7aa/0xa08 [rtl8xxxu] [<ffffffffc277ffa6>] drv_start+0xa6/0x124 [mac80211] [<ffffffffc27c76c8>] ieee80211_do_open+0x221/0x16ac [mac80211] [<ffffffffc27cee04>] ieee80211_open+0x10f/0x1ab [mac80211] [<ffffffffbb2fe4a5>] __dev_open+0x1dd/0x2fa [<ffffffffbb315c36>] __dev_change_flags+0x136/0x581 [<ffffffffbb31634b>] dev_change_flags+0x73/0x172 [<ffffffffbb35ab15>] do_setlink+0x996/0x2d82 [<ffffffffbb34d333>] rtnl_setlink+0x234/0x2c5 [<ffffffffbb3595ec>] rtnetlink_rcv_msg+0x501/0xb11 [<ffffffffbb426285>] netlink_rcv_skb+0x154/0x319 [<ffffffffbb4218ec>] netlink_unicast+0x423/0x5c6 [<ffffffffbb42ae02>] netlink_sendmsg+0x725/0xa98 unreferenced object 0xffff88820ddd4000 (size 4096): comm "iwd", pid 875, jiffies 4295034039 (age 10395.160s) hex dump (first 32 bytes): 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk backtrace: [<ffffffffbb2b8dbd>] kmalloc_reserve+0x23/0x91 [<ffffffffbb2b8a82>] __alloc_skb+0xd4/0x2d8 [<ffffffffbb2b8f88>] __netdev_alloc_skb+0x15d/0x2db [<ffffffffc20a4639>] rtl8xxxu_submit_rx_urb+0xba/0x2eb [rtl8xxxu] [<ffffffffc20a2079>] rtl8xxxu_start+0x7aa/0xa08 [rtl8xxxu] [<ffffffffc277ffa6>] drv_start+0xa6/0x124 [mac80211] [<ffffffffc27c76c8>] ieee80211_do_open+0x221/0x16ac [mac80211] [<ffffffffc27cee04>] ieee80211_open+0x10f/0x1ab [mac80211] [<ffffffffbb2fe4a5>] __dev_open+0x1dd/0x2fa [<ffffffffbb315c36>] __dev_change_flags+0x136/0x581 [<ffffffffbb31634b>] dev_change_flags+0x73/0x172 [<ffffffffbb35ab15>] do_setlink+0x996/0x2d82 [<ffffffffbb34d333>] rtnl_setlink+0x234/0x2c5 [<ffffffffbb3595ec>] rtnetlink_rcv_msg+0x501/0xb11 [<ffffffffbb426285>] netlink_rcv_skb+0x154/0x319 [<ffffffffbb4218ec>] netlink_unicast+0x423/0x5c6 unreferenced object 0xffff8881ce5c90c0 (size 216): comm "iwd", pid 875, jiffies 4295034039 (age 10395.160s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffffbb2b8a54>] __alloc_skb+0xa6/0x2d8 [<ffffffffbb2b8f88>] __netdev_alloc_skb+0x15d/0x2db [<ffffffffc20a4639>] rtl8xxxu_submit_rx_urb+0xba/0x2eb [rtl8xxxu] [<ffffffffc20a2079>] rtl8xxxu_start+0x7aa/0xa08 [rtl8xxxu] [<ffffffffc277ffa6>] drv_start+0xa6/0x124 [mac80211] [<ffffffffc27c76c8>] ieee80211_do_open+0x221/0x16ac [mac80211] [<ffffffffc27cee04>] ieee80211_open+0x10f/0x1ab [mac80211] [<ffffffffbb2fe4a5>] __dev_open+0x1dd/0x2fa [<ffffffffbb315c36>] __dev_change_flags+0x136/0x581 [<ffffffffbb31634b>] dev_change_flags+0x73/0x172 [<ffffffffbb35ab15>] do_setlink+0x996/0x2d82 [<ffffffffbb34d333>] rtnl_setlink+0x234/0x2c5 [<ffffffffbb3595ec>] rtnetlink_rcv_msg+0x501/0xb11 [<ffffffffbb426285>] netlink_rcv_skb+0x154/0x319 [<ffffffffbb4218ec>] netlink_unicast+0x423/0x5c6 [<ffffffffbb42ae02>] netlink_sendmsg+0x725/0xa98 unreferenced object 0xffff88825a144000 (size 4096): comm "iwd", pid 875, jiffies 4295034039 (age 10395.160s) hex dump (first 32 bytes): 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk backtrace: [<ffffffffbb2b8dbd>] kmalloc_reserve+0x23/0x91 [<ffffffffbb2b8a82>] __alloc_skb+0xd4/0x2d8 [<ffffffffbb2b8f88>] __netdev_alloc_skb+0x15d/0x2db [<ffffffffc20a4639>] rtl8xxxu_submit_rx_urb+0xba/0x2eb [rtl8xxxu] [<ffffffffc20a2079>] rtl8xxxu_start+0x7aa/0xa08 [rtl8xxxu] [<ffffffffc277ffa6>] drv_start+0xa6/0x124 [mac80211] [<ffffffffc27c76c8>] ieee80211_do_open+0x221/0x16ac [mac80211] [<ffffffffc27cee04>] ieee80211_open+0x10f/0x1ab [mac80211] [<ffffffffbb2fe4a5>] __dev_open+0x1dd/0x2fa [<ffffffffbb315c36>] __dev_change_flags+0x136/0x581 [<ffffffffbb31634b>] dev_change_flags+0x73/0x172 [<ffffffffbb35ab15>] do_setlink+0x996/0x2d82 [<ffffffffbb34d333>] rtnl_setlink+0x234/0x2c5 [<ffffffffbb3595ec>] rtnetlink_rcv_msg+0x501/0xb11 [<ffffffffbb426285>] netlink_rcv_skb+0x154/0x319 [<ffffffffbb4218ec>] netlink_unicast+0x423/0x5c6 -- You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.