Re: bpf_ringbuf_reserve deadlock on rt kernels

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

 



On 2024-06-10 17:17:35 [+0200], Dmitry Dolgov wrote:
> Hi,
Hi,

…
> The BPF program in question is attached to sched_switch. The issue seems
> to be similar to a couple of syzkaller reports [1], [2], although the
> latter one is about nested progs, which seems to be not the case here.
> Talking about nested progs, applying a similar approach as in [3]
> reworked for bpf_ringbuf, elliminates the issue.
> 
> Do I miss anything, is it a known issue? Any ideas how to address that?

I haven't attached bpf program to trace-events so this new to me. But if
you BPF attach programs to trace-events then there might be more things
that can go wrong…
Let me add this to the bpf-list-to-look-at.
Do you get more splats with CONFIG_DEBUG_ATOMIC_SLEEP=y?

Sebastian





[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