Re: [PATCH] net: add missing ref_tracker_dir_exit() to alloc_netdev_mqs()
| Newsgroups | org.kernel.vger.netdev |
|---|---|
| Message-ID | <178707474055.2194892.15611955237323709521.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Sat, 15 Aug 2026 15:50:13 +0900 you wrote: > sashiko is reporting that trying to read /sys/kernel/debug/ref_tracker/* > causes use-afer-free crash when either alloc_percpu() or dev_addr_init() > in alloc_netdev_mqs() failed, for commit 4d92b95ff2f9 ("net: add net device > refcount tracker infrastructure") added ref_tracker_dir_exit() to only > free_netdev() path. > > Reported-by: sashiko.dev (no mail address) > Closes: https://sashiko.dev/#/patchset/56c707e7-1fb0-43ec-b8fb-cf6f451e513e%40I-love.SAKURA.ne.jp > Fixes: 4d92b95ff2f9 ("net: add net device refcount tracker infrastructure") > Signed-off-by: Tetsuo Handa <[email protected]> > > [...] Here is the summary with links: - net: add missing ref_tracker_dir_exit() to alloc_netdev_mqs() https://git.kernel.org/netdev/net/c/0b1c2af8a22c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html