[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175652100575.2399666.16495764980082221988.git-patchwork-notify@kernel.org>
Date: Sat, 30 Aug 2025 02:30:05 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Miaoqian Lin <linmq006@...il.com>
Cc: isdn@...ux-pingi.de, labbott@...hat.com, davem@...emloft.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mISDN: Fix memory leak in dsp_hwec_enable()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 28 Aug 2025 16:14:57 +0800 you wrote:
> dsp_hwec_enable() allocates dup pointer by kstrdup(arg),
> but then it updates dup variable by strsep(&dup, ",").
> As a result when it calls kfree(dup), the dup variable may be
> a modified pointer that no longer points to the original allocated
> memory, causing a memory leak.
>
> The issue is the same pattern as fixed in commit c6a502c22999
> ("mISDN: Fix memory leak in dsp_pipeline_build()").
>
> [...]
Here is the summary with links:
- mISDN: Fix memory leak in dsp_hwec_enable()
https://git.kernel.org/netdev/net/c/0704a3da7ce5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists