Re: [PATCH bpf-next] libbpf: Fix out-of-bound read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Sat, 22 Feb 2025 02:31:11 +0530 you wrote:
> In `set_kcfg_value_str`, an untrusted string is accessed with the assumption
> that it will be at least two characters long due to the presence of checks for
> opening and closing quotes. But the check for the closing quote
> (value[len - 1] != '"') misses the fact that it could be checking the opening
> quote itself in case of an invalid input that consists of just the opening
> quote.
> 
> [...]

Here is the summary with links:
  - [bpf-next] libbpf: Fix out-of-bound read
    https://git.kernel.org/bpf/bpf-next/c/236d3910117e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux