Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 7 Apr 2021 22:57:22 +0530 you wrote:
Multiple ttys try to claim the same the minor number causing a double
unregistration of the same device. The first unregistration succeeds
but the next one results in a null-ptr-deref.
The get_free_serial_index() function returns an available minor number
but doesn't assign it immediately. The assignment is done by the caller
later. But before this assignment, calls to get_free_serial_index()
would return the same minor number.
[...]
Here is the summary with links:
- [v2] net: hso: fix null-ptr-deref during tty device unregistration
https://git.kernel.org/netdev/net/c/8a12f8836145
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html