Re: [PATCH bpf] bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers

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

 



Hello:

This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Wed, 18 Jan 2023 12:48:15 -0800 you wrote:
> In current bpf_send_signal() and bpf_send_signal_thread() helper
> implementation, irq_work is used to handle nmi context. Hao Sun
> reported in [1] that the current task at the entry of the helper
> might be gone during irq_work callback processing. To fix the issue,
> a reference is acquired for the current task before enqueuing into
> the irq_work so that the queued task is still available during
> irq_work callback processing.
> 
> [...]

Here is the summary with links:
  - [bpf] bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers
    https://git.kernel.org/bpf/bpf/c/bdb7fdb0aca8

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