test_verifier in ubuntu_bpf fails (192, 467, 990) - Permission denied on ARM64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Some of the test_verifier tests (192, 467, 990) 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_
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.
summary: |
- test_verifier in ubuntu_bpf fails - Permission denied on ARM64 + test_verifier in ubuntu_bpf fails (192, 467, 990) - Permission denied + on ARM64 |
tags: | added: sru-20230612 |
The same bug was seen on a1.medium (it wasn't initially, as the instance was timing out before).
SRU Cycle: 2023.05.15
Series: lunar
Package: linux-aws
Version: 6.2.0-1005.5
Cloud: aws
Instance: a1.medium
Region: us-west-2
Operation: sru