Re: [GIT PULL] slab hotfix for 7.1

From: Vlastimil Babka (SUSE)

Date: Fri Apr 24 2026 - 06:10:34 EST


On 4/24/26 12:05, Vlastimil Babka (SUSE) wrote:
> Hi Linus,
>
> please pull the latest slab hotfix from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-7.0-rc3

Sorry, it's tags/slab-for-7.1-fix obviously (as in the unchanged git output
below).

>
> Thanks,
> Vlastimil
>
> ======================================
>
> - A stable fix for k(v)ealloc() where reallocating on a different node
> or shrinking the object can result in either losing the original data
> or a buffer overflow. (Marco Elver)
>
> ----------------------------------------------------------------
> The following changes since commit 43cfbdda5af60ffc6272a7b8c5c37d1d0a181ca9:
>
> Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd (2026-04-16 21:21:55 -0700)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-7.1-fix
>
> for you to fetch changes up to 082a6d03a2d685a83a332666b500ad3966349588:
>
> slub: fix data loss and overflow in krealloc() (2026-04-17 11:07:48 +0200)
>
> ----------------------------------------------------------------
> slab fix for 7.1
>
> ----------------------------------------------------------------
> Marco Elver (1):
> slub: fix data loss and overflow in krealloc()
>
> mm/slub.c | 24 ++++++++++++------------
> 1 file changed, 12 insertions(+), 12 deletions(-)