X xingwei lee #
Message details and related content
Hello I found a bug in net/bpf in the lastest upstream linux and comfired in the lastest net tree and lastest net bpf titled BUG: unable to handle kernel paging request in bpf_probe_read_compat_str If you fix this issue, please add the following tag to the commit: Reported-by: xingwei Lee <redacted> kernel: net 9702817384aa4a3700643d0b26e71deac0172cfd / bpf 2f2fee2bf74a7e31d06fc6cb7ba2bd4dd7753c99 Kernel config: https://syzkaller.appspot.com/text?tag=KernelConfig&x=b50bd31249191be8 in the lastest bpf tree, the crash like: TITLE: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str CORRUPTED: false () MAINTAINERS (TO): [akpm@linux-foundation.org linux-mm@kvack.org] MAINTAINERS (CC): [linux-kernel@vger.kernel.org] BUG: unable to handle page fault for address: ff0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD cf7a067 P4D cf7a067 PUD cf7c067 PMD cf9f067 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8219 Comm: 9de Not tainted 6.7.0-rc41 Hardware name: QEMU Standard PC (i440FX + PIIX, 4 RIP: 0010:strncpy_from_kernel_nofault+0xc4/0x270 mm/maccess.c:91 Code: 83 85 6c 17 00 00 01 48 8b 2c 24 eb 18 e8 0 RSP: 0018:ffffc900114e7ac0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffc900114e7b30 RCX:2 RDX: ffff8880183abcc0 RSI: ffffffff81b8c9c4 RDI:c RBP: ffffffffff600000 R08: 0000000000000001 R09:0 R10: 0000000000000001 R11: 0000000000000001 R12:8 R13: ffffffffff600000 R14: 0000000000000008 R15:0 FS: 0000000000000000(0000) GS:ffff88823bc00000(0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600000 CR3: 000000000cf77000 CR4:0 PKRU: 55555554 Call Trace: <TASK> bpf_probe_read_kernel_str_common kernel/trace/bpf_trace.c:262 [inline]