lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 27 Oct 2022 14:00:15 +0000 From: patchwork-bot+netdevbpf@...nel.org To: Kees Cook <keescook@...omium.org> Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org, gregkh@...uxfoundation.org, ndesaulniers@...gle.com, rientjes@...gle.com, vbabka@...e.cz, asml.silence@...il.com, imagedong@...cent.com, linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org Subject: Re: [PATCH net-next v5] skbuff: Proactively round up to kmalloc bucket size Hello: This patch was applied to netdev/net-next.git (master) by Paolo Abeni <pabeni@...hat.com>: On Tue, 25 Oct 2022 15:39:35 -0700 you wrote: > Instead of discovering the kmalloc bucket size _after_ allocation, round > up proactively so the allocation is explicitly made for the full size, > allowing the compiler to correctly reason about the resulting size of > the buffer through the existing __alloc_size() hint. > > This will allow for kernels built with CONFIG_UBSAN_BOUNDS or the > coming dynamic bounds checking under CONFIG_FORTIFY_SOURCE to gain > back the __alloc_size() hints that were temporarily reverted in commit > 93dd04ab0b2b ("slab: remove __alloc_size attribute from __kmalloc_track_caller") > > [...] Here is the summary with links: - [net-next,v5] skbuff: Proactively round up to kmalloc bucket size https://git.kernel.org/netdev/net-next/c/12d6c1d3a2ad 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