[PATCH net v3 0/4] net: Fix some callers of copy_from_sockptr()
patchwork-bot+bluetooth at kernel.org
patchwork-bot+bluetooth at kernel.org
Mon Dec 2 13:40:30 PST 2024
Hello:
This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz at intel.com>:
On Tue, 19 Nov 2024 14:31:39 +0100 you wrote:
> Some callers misinterpret copy_from_sockptr()'s return value. The function
> follows copy_from_user(), i.e. returns 0 for success, or the number of
> bytes not copied on error. Simply returning the result in a non-zero case
> isn't usually what was intended.
>
> Compile tested with CONFIG_LLC, CONFIG_AF_RXRPC, CONFIG_BT enabled.
>
> [...]
Here is the summary with links:
- [net,v3,1/4] Bluetooth: Improve setsockopt() handling of malformed user input
https://git.kernel.org/bluetooth/bluetooth-next/c/389eeaf59809
- [net,v3,2/4] llc: Improve setsockopt() handling of malformed user input
(no matching commit)
- [net,v3,3/4] rxrpc: Improve setsockopt() handling of malformed user input
(no matching commit)
- [net,v3,4/4] net: Comment copy_from_sockptr() explaining its behaviour
(no matching commit)
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-afs
mailing list