-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[syzkaller] WARNING in dst_release #168
Comments
[c&p from IRC] 9b17fa5 mptcp: dispose initial struct socket when its subflow is closed (that is, the current export branch) @cpaasch: could you please have a spin on current export? |
Yes, I am running this branch. |
From the weekly meeting we just had:
|
jenkins-tessares
pushed a commit
that referenced
this issue
Sep 18, 2023
The test case creates 4 threads and then pins these 4 threads in CPU 0. These 4 threads will run different bpf program through bpf_prog_test_run_opts() and these bpf program will use bpf_obj_new() and bpf_obj_drop() to allocate and free local kptrs concurrently. Under preemptible kernel, bpf_obj_new() and bpf_obj_drop() may preempt each other, bpf_obj_new() may return NULL and the test will fail before applying these fixes as shown below: test_preempted_bpf_ma_op:PASS:open_and_load 0 nsec test_preempted_bpf_ma_op:PASS:attach 0 nsec test_preempted_bpf_ma_op:PASS:no test prog 0 nsec test_preempted_bpf_ma_op:PASS:no test prog 0 nsec test_preempted_bpf_ma_op:PASS:no test prog 0 nsec test_preempted_bpf_ma_op:PASS:no test prog 0 nsec test_preempted_bpf_ma_op:PASS:pthread_create 0 nsec test_preempted_bpf_ma_op:PASS:pthread_create 0 nsec test_preempted_bpf_ma_op:PASS:pthread_create 0 nsec test_preempted_bpf_ma_op:PASS:pthread_create 0 nsec test_preempted_bpf_ma_op:PASS:run prog err 0 nsec test_preempted_bpf_ma_op:PASS:run prog err 0 nsec test_preempted_bpf_ma_op:PASS:run prog err 0 nsec test_preempted_bpf_ma_op:PASS:run prog err 0 nsec test_preempted_bpf_ma_op:FAIL:ENOMEM unexpected ENOMEM: got TRUE #168 preempted_bpf_ma_op:FAIL Summary: 0/0 PASSED, 0 SKIPPED, 1 FAILED Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20230901111954.1804721-4-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HEAD is:
f374f2f1ba83 ("mptcp: fix memory accounting on allocation error") (HEAD) (5 days ago)
b118cc0 ("DO-NOT-MERGE: mptcp: enabled by default") (tag: export/20210218T061505, mptcp_net-next/export) (7 days ago)
afb3935 ("DO-NOT-MERGE: mptcp: add GitHub Actions") (7 days ago)
fb66148 ("DO-NOT-MERGE: mptcp: use kmalloc on kasan build") (7 days ago)
ab09cf3 ("selftests: mptcp: add testcases for removing addrs") (7 days ago)
26f4ca2 ("selftests: mptcp: set addr id for removing testcases") (7 days ago)
b16c8fa ("selftests: mptcp: add invert argument for chk_rm_nr") (7 days ago)
5fb7c01 ("mptcp: remove a list of addrs when flushing") (7 days ago)
84f5b28 ("mptcp: remove multi addresses and subflows in PM") (7 days ago)
1343f2e ("mptcp: remove multi subflows in PM") (7 days ago)
f78ff72 ("mptcp: remove multi addresses in PM") (7 days ago)
8be112e ("mptcp: add rm_list_rx in mptcp_pm_data") (7 days ago)
ad3cbae ("mptcp: add rm_list in mptcp_options_received") (7 days ago)
ad2399b ("mptcp: add rm_list_tx in mptcp_pm_data") (7 days ago)
783bf0f ("mptcp: add rm_list in mptcp_out_options") (7 days ago)
d66e083 ("mptcp: drop unused subflow in mptcp_pm_subflow_established") (7 days ago)
da0ff10 ("mptcp: fix DATA_FIN generation on early shutdown") (7 days ago)
1956a17 ("mptcp: clean-up the rtx path") (7 days ago)
3a90e26 ("mptcp: fix race in release_cb") (7 days ago)
08d4b36 ("mptcp: factor out __mptcp_retrans helper()") (7 days ago)
fb4bec1 ("mptcp: dispose initial struct socket when its subflow is closed") (7 days ago)
f5ddfd3 ("bpf:selftests: add bpf_mptcp_sock() verifier tests") (7 days ago)
c31680c ("bpf:selftests: add MPTCP test base") (7 days ago)
a03c346 ("bpf: add 'bpf_mptcp_sock' structure and helper") (7 days ago)
b183b48 ("bpf: expose is_mptcp flag to bpf_tcp_sock") (7 days ago)
849dea5 ("linux: handle MPTCP consistently with TCP") (7 days ago)
194cb4e ("x86/build: Disable CET instrumentation in the kernel for 32-bit too") (7 days ago)
3bec5cb ("mptcp: fix DATA_FIN processing for orphaned sockets") (7 days ago)
85b8c8d ("mptcp: provide subflow aware release function") (7 days ago)
c1e8864 ("mptcp: reset last_snd on subflow close") (7 days ago)
38b5133 ("octeontx2-pf: Fix otx2_get_fecparam()") (mptcp_net-next/net-next) (7 days ago)
CONFIG:
CONFIG.txt
No reproducer yet.
The text was updated successfully, but these errors were encountered: