[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174743583051.4084431.1945181110828030946.git-patchwork-notify@kernel.org>
Date: Fri, 16 May 2025 22:50:30 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Sagi Maimon <maimon.sagi@...il.com>
Cc: jonathan.lemon@...il.com, vadim.fedorenko@...ux.dev,
richardcochran@...il.com, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v5] ptp: ocp: Limit signal/freq counts in summary output
functions
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 14 May 2025 10:35:41 +0300 you wrote:
> The debugfs summary output could access uninitialized elements in
> the freq_in[] and signal_out[] arrays, causing NULL pointer
> dereferences and triggering a kernel Oops (page_fault_oops).
> This patch adds u8 fields (nr_freq_in, nr_signal_out) to track the
> number of initialized elements, with a maximum of 4 per array.
> The summary output functions are updated to respect these limits,
> preventing out-of-bounds access and ensuring safe array handling.
>
> [...]
Here is the summary with links:
- [v5] ptp: ocp: Limit signal/freq counts in summary output functions
https://git.kernel.org/netdev/net/c/c9e455581e2b
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