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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 03 Feb 2021 02:00:10 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Marco Elver <elver@...gle.com>
Cc:     linux-kernel@...r.kernel.org, kasan-dev@...glegroups.com,
        davem@...emloft.net, kuba@...nel.org, jonathan.lemon@...il.com,
        willemb@...gle.com, linmiaohe@...wei.com, gnault@...hat.com,
        dseok.yi@...sung.com, kyk.segfault@...il.com,
        viro@...iv.linux.org.uk, netdev@...r.kernel.org, glider@...gle.com,
        syzbot+7b99aafdcc2eedea6178@...kaller.appspotmail.com,
        edumazet@...gle.com
Subject: Re: [PATCH net-next] net: fix up truesize of cloned skb in
 skb_prepare_for_shift()

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon,  1 Feb 2021 17:04:20 +0100 you wrote:
> Avoid the assumption that ksize(kmalloc(S)) == ksize(kmalloc(S)): when
> cloning an skb, save and restore truesize after pskb_expand_head(). This
> can occur if the allocator decides to service an allocation of the same
> size differently (e.g. use a different size class, or pass the
> allocation on to KFENCE).
> 
> Because truesize is used for bookkeeping (such as sk_wmem_queued), a
> modified truesize of a cloned skb may result in corrupt bookkeeping and
> relevant warnings (such as in sk_stream_kill_queues()).
> 
> [...]

Here is the summary with links:
  - [net-next] net: fix up truesize of cloned skb in skb_prepare_for_shift()
    https://git.kernel.org/netdev/net-next/c/097b9146c0e2

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