Date
Feb. 5, 2025, 2:09 p.m.
Environment | |
---|---|
qemu-arm64 |
[ 177.459070] ================================================================== [ 177.461184] BUG: KASAN: slab-out-of-bounds in kmalloc_pagealloc_oob_right+0xac/0x1c0 [ 177.462865] Write of size 1 at addr ffff0000c601e00a by task kunit_try_catch/122 [ 177.464539] [ 177.466036] CPU: 0 PID: 122 Comm: kunit_try_catch Tainted: G B N 6.6.76-rc1 #1 [ 177.467584] Hardware name: linux,dummy-virt (DT) [ 177.468918] Call trace: [ 177.469647] dump_backtrace+0x9c/0x128 [ 177.470748] show_stack+0x20/0x38 [ 177.471781] dump_stack_lvl+0x60/0xb0 [ 177.472998] print_report+0xf8/0x5d8 [ 177.474300] kasan_report+0xc8/0x118 [ 177.476324] __asan_store1+0x60/0x70 [ 177.477445] kmalloc_pagealloc_oob_right+0xac/0x1c0 [ 177.478785] kunit_try_run_case+0xf8/0x260 [ 177.480001] kunit_generic_run_threadfn_adapter+0x38/0x60 [ 177.481716] kthread+0x18c/0x1a8 [ 177.483005] ret_from_fork+0x10/0x20 [ 177.484271] [ 177.485732] The buggy address belongs to the physical page: [ 177.487179] page:0000000071e8d051 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10601c [ 177.489177] head:0000000071e8d051 order:2 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 177.491075] flags: 0xbfffc0000000040(head|node=0|zone=2|lastcpupid=0xffff) [ 177.492373] page_type: 0xffffffff() [ 177.493515] raw: 0bfffc0000000040 0000000000000000 dead000000000122 0000000000000000 [ 177.495513] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 177.497343] page dumped because: kasan: bad access detected [ 177.499261] [ 177.499727] Memory state around the buggy address: [ 177.501123] ffff0000c601df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 177.502592] ffff0000c601df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 177.504241] >ffff0000c601e000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 177.506098] ^ [ 177.507363] ffff0000c601e080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 177.509290] ffff0000c601e100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 177.511291] ==================================================================