So, test_bpf is not doing either conversion and any other use on the
kernel should either be using something like sk_attach*,
bpf_prog_create*, or just using a fd that was created from
BPF_PROG_LOAD. Any user that accepts BPF programs without those checks
are up to cause issues worse than a simple div-by-zero.

So far, I could not find any such user by code inspection.

I also tested that a SO_ATTACH_FILTER (classic BPF) that does a div-by-
zero behaves the same way on 4.15.0-145, 4.15.0-147 and 4.15.0-149, that
is, the program will have an "exception", which means it returns 0. With
sockets, this means the packet is dropped. That is expected behavior.

Marking this bug priority as low as a result.
Cascardo.

** Changed in: linux (Ubuntu Bionic)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1934414

Title:
  test_bpf.sh from ubuntu_kernel_selftests.net from linux ADT test
  failure with linux/4.15.0-149.153

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1934414/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to