[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164518200987.19952.16423799122287139298.git-patchwork-notify@kernel.org>
Date: Fri, 18 Feb 2022 11:00:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: 周多明 <duoming@....edu.cn>@ci.codeaurora.org
Cc: linux-hams@...r.kernel.org, kuba@...nel.org,
ajk@...nets.uni-bremen.de, davem@...emloft.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linma@....edu.cn
Subject: Re: [PATCH V3] drivers: hamradio: 6pack: fix UAF bug caused by
mod_timer()
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 17 Feb 2022 09:43:03 +0800 you wrote:
> When a 6pack device is detaching, the sixpack_close() will act to cleanup
> necessary resources. Although del_timer_sync() in sixpack_close()
> won't return if there is an active timer, one could use mod_timer() in
> sp_xmit_on_air() to wake up timer again by calling userspace syscall such
> as ax25_sendmsg(), ax25_connect() and ax25_ioctl().
>
> This unexpected waked handler, sp_xmit_on_air(), realizes nothing about
> the undergoing cleanup and may still call pty_write() to use driver layer
> resources that have already been released.
>
> [...]
Here is the summary with links:
- [V3] drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
https://git.kernel.org/netdev/net/c/efe4186e6a1b
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