* Sanitizer flags an eBPF bug
@ 2025-11-03 14:02 syeda-mahnur.asif
2025-11-27 13:59 ` syeda-mahnur.asif
0 siblings, 1 reply; 3+ messages in thread
From: syeda-mahnur.asif @ 2025-11-03 14:02 UTC (permalink / raw)
To: bpf; +Cc: ast, daniel
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
Hi,
I've been playing around with eBPF and have sanitizers enabled, a "BUG:
Invalid wait context" is thrown in some specific instances:
1. The eBPF program is of Tracing type
2. Ringbuf helper functions are used.
3. The program is attached to perf_event related symbols in the kernel.
I'm attaching a folder with two instances of such programs and the info
dumped by the sanitizer. The attached files for each instance include:
1. bpf_prog(x).c
2. bpf_prog(x).o - object file that is compiled with "clang-16 -O2 -g
-target bpf -c bpf_progx.c -o bpf_progx.o" and loaded by libbpf (v1.6)
3. trig(x).c - File in C that is compiled as a binary and when executed
causes the bpf program to run
4. dump(x).txt - Sanitizer dump
5. vmlinux.h - Specific vmlinux file used in compiling the ebpf program
object files
Happy to provide any other additional info that might be relevant.
Best regards,
Mahnur
[-- Attachment #2: Bug_Report.zip --]
[-- Type: application/zip, Size: 695462 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Sanitizer flags an eBPF bug
2025-11-03 14:02 Sanitizer flags an eBPF bug syeda-mahnur.asif
@ 2025-11-27 13:59 ` syeda-mahnur.asif
2025-12-09 16:15 ` syeda-mahnur.asif
0 siblings, 1 reply; 3+ messages in thread
From: syeda-mahnur.asif @ 2025-11-27 13:59 UTC (permalink / raw)
To: bpf; +Cc: ast, daniel
Hi,
Just wondering if there is any update on this?
Best regards,
Mahnur
On 2025-11-03 15:02, syeda-mahnur.asif wrote:
> Hi,
>
> I've been playing around with eBPF and have sanitizers enabled, a "BUG:
> Invalid wait context" is thrown in some specific instances:
> 1. The eBPF program is of Tracing type
> 2. Ringbuf helper functions are used.
> 3. The program is attached to perf_event related symbols in the kernel.
>
> I'm attaching a folder with two instances of such programs and the info
> dumped by the sanitizer. The attached files for each instance include:
> 1. bpf_prog(x).c
> 2. bpf_prog(x).o - object file that is compiled with "clang-16 -O2 -g
> -target bpf -c bpf_progx.c -o bpf_progx.o" and loaded by libbpf (v1.6)
> 3. trig(x).c - File in C that is compiled as a binary and when executed
> causes the bpf program to run
> 4. dump(x).txt - Sanitizer dump
> 5. vmlinux.h - Specific vmlinux file used in compiling the ebpf program
> object files
>
> Happy to provide any other additional info that might be relevant.
>
> Best regards,
> Mahnur
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Sanitizer flags an eBPF bug
2025-11-27 13:59 ` syeda-mahnur.asif
@ 2025-12-09 16:15 ` syeda-mahnur.asif
0 siblings, 0 replies; 3+ messages in thread
From: syeda-mahnur.asif @ 2025-12-09 16:15 UTC (permalink / raw)
To: bpf; +Cc: ast, daniel
Hi,
I would like to disclose this at a conference in a few weeks, and it
would be great if there is any confirmation / update on this?
Best regards,
Mahnur
On 2025-11-27 14:59, syeda-mahnur.asif wrote:
> Hi,
>
> Just wondering if there is any update on this?
>
> Best regards,
> Mahnur
>
> On 2025-11-03 15:02, syeda-mahnur.asif wrote:
>> Hi,
>>
>> I've been playing around with eBPF and have sanitizers enabled, a
>> "BUG: Invalid wait context" is thrown in some specific instances:
>> 1. The eBPF program is of Tracing type
>> 2. Ringbuf helper functions are used.
>> 3. The program is attached to perf_event related symbols in the
>> kernel.
>>
>> I'm attaching a folder with two instances of such programs and the
>> info dumped by the sanitizer. The attached files for each instance
>> include:
>> 1. bpf_prog(x).c
>> 2. bpf_prog(x).o - object file that is compiled with "clang-16 -O2 -g
>> -target bpf -c bpf_progx.c -o bpf_progx.o" and loaded by libbpf (v1.6)
>> 3. trig(x).c - File in C that is compiled as a binary and when
>> executed causes the bpf program to run
>> 4. dump(x).txt - Sanitizer dump
>> 5. vmlinux.h - Specific vmlinux file used in compiling the ebpf
>> program object files
>>
>> Happy to provide any other additional info that might be relevant.
>>
>> Best regards,
>> Mahnur
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-09 16:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-03 14:02 Sanitizer flags an eBPF bug syeda-mahnur.asif
2025-11-27 13:59 ` syeda-mahnur.asif
2025-12-09 16:15 ` syeda-mahnur.asif
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).