← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2023680] Re: test_verifier in ubuntu_bpf fails - Permission denied

 

This issue can be found on L-azure Standard_D2pds_v5 (ARM64)
 #192/p bpf_get_task_stack return R0 range is refined FAIL
 Failed to load prog 'Permission denied'!
 func 'bpf_iter_task' arg0 has btf_id 20383 type STRUCT 'bpf_iter_meta' 
 cannot access ptr member buf with moff 0 in struct seq_file with off 0 size 1
 R1 is of type seq_file but seq_file is expected
 verification time 1428 usec
 stack depth 8
 processed 27 insns (limit 1000000) max_states_per_insn 0 total_states 2 peak_states 2 mark_read 2

 #467/p d_path accept FAIL
 Failed to load prog 'Permission denied'!
 func 'dentry_open' arg0 has btf_id 198631 type STRUCT 'path'
 cannot access ptr member mnt with moff 0 in struct path with off 0 size 1
 R1 is of type path but path is expected
 verification time 1423 usec
 stack depth 8
 processed 7 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0

 #990/p reference tracking: bpf_sk_release(btf_tcp_sock) FAIL
 Failed to load prog 'Permission denied'!
 R1 is of type tcp_sock but sock_common is expected
 verification time 709 usec
 stack depth 48
 processed 24 insns (limit 1000000) max_states_per_insn 0 total_states 1 peak_states 1 mark_read 1

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2023680

Title:
  test_verifier in ubuntu_bpf fails - Permission denied on ARM64

Status in ubuntu-kernel-tests:
  New

Bug description:
  Some of the test_verifier tests from ubuntu_bpf fail:

  #192/p bpf_get_task_stack return R0 range is refined FAIL
  Failed to load prog 'Permission denied'!
  func 'bpf_iter_task' arg0 has btf_id 26598 type STRUCT 'bpf_iter_meta'
  cannot access ptr member buf with moff 0 in struct seq_file with off 0 size 1
  R1 is of type seq_file but seq_file is expected
  verification time 1202 usec
  stack depth 8
  processed 27 insns (limit 1000000) max_states_per_insn 0 total_states 2 peak_states 2 mark_read 2

  #467/p d_path accept FAIL
  Failed to load prog 'Permission denied'!
  func 'dentry_open' arg0 has btf_id 10498 type STRUCT 'path'
  cannot access ptr member mnt with moff 0 in struct path with off 0 size 1
  R1 is of type path but path is expected
  verification time 1198 usec
  stack depth 8
  processed 7 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0

  #990/p reference tracking: bpf_sk_release(btf_tcp_sock) FAIL
  Failed to load prog 'Permission denied'!
  R1 is of type tcp_sock but sock_common is expected
  verification time 965 usec
  stack depth 48
  processed 24 insns (limit 1000000) max_states_per_insn 0 total_states 1 peak_states 1 mark_read 1

  This was observed on an AWS instance while testing Lunar linux-aws
  (6.2.0-1005.5):

  SRU Cycle:	2023.05.15
  Series:	lunar
  Package:	linux-aws
  Version:	6.2.0-1005.5
  Cloud:	aws
  Instance:	c6g.8xlarge
  Region:	us-west-1
  Operation:	sru

  It only affects the c6g.8xlarge instance type from the instances
  picked up for the 2023.05.15 cycle.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2023680/+subscriptions



References