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:   Tue, 08 Feb 2022 02:40:09 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Stanislav Fomichev <sdf@...gle.com>
Cc:     netdev@...r.kernel.org, bpf@...r.kernel.org, ast@...nel.org,
        daniel@...earbox.net, andrii@...nel.org, lorenzo@...nel.org,
        syzkaller@...glegroups.com
Subject: Re: [PATCH bpf-next 1/2] bpf: test_run: fix overflow in xdp frags parsing

Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@...nel.org>:

On Fri,  4 Feb 2022 15:58:48 -0800 you wrote:
> When kattr->test.data_size_in > INT_MAX, signed min_t will assign
> negative value to data_len. This negative value then gets passed
> over to copy_from_user where it is converted to (big) unsigned.
> 
> Use unsigned min_t to avoid this overflow.
> 
> usercopy: Kernel memory overwrite attempt detected to wrapped address
> (offset 0, size 18446612140539162846)!
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/2] bpf: test_run: fix overflow in xdp frags parsing
    https://git.kernel.org/bpf/bpf-next/c/9d63b59d1e9d
  - [bpf-next,2/2] bpf: test_run: fix overflow in bpf_test_finish frags parsing
    https://git.kernel.org/bpf/bpf-next/c/5d1e9f437df5

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ