Date
Nov. 26, 2024, 6:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 32.392317] ================================================================== [ 32.393710] BUG: KASAN: slab-out-of-bounds in kmem_cache_oob+0x33c/0x428 [ 32.394539] Read of size 1 at addr fff00000c59220c8 by task kunit_try_catch/196 [ 32.395395] [ 32.395727] CPU: 0 UID: 0 PID: 196 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241126 #1 [ 32.397403] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.398358] Hardware name: linux,dummy-virt (DT) [ 32.399035] Call trace: [ 32.399473] show_stack+0x20/0x38 (C) [ 32.400045] dump_stack_lvl+0x8c/0xd0 [ 32.400919] print_report+0x118/0x5e0 [ 32.401463] kasan_report+0xc8/0x118 [ 32.402308] __asan_report_load1_noabort+0x20/0x30 [ 32.403023] kmem_cache_oob+0x33c/0x428 [ 32.403550] kunit_try_run_case+0x14c/0x3d0 [ 32.404253] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.405941] kthread+0x24c/0x2d0 [ 32.406616] ret_from_fork+0x10/0x20 [ 32.407181] [ 32.407539] Allocated by task 196: [ 32.408089] kasan_save_stack+0x3c/0x68 [ 32.409252] kasan_save_track+0x20/0x40 [ 32.409782] kasan_save_alloc_info+0x40/0x58 [ 32.410591] __kasan_slab_alloc+0xa8/0xb0 [ 32.411213] kmem_cache_alloc_noprof+0x108/0x3a0 [ 32.412137] kmem_cache_oob+0x12c/0x428 [ 32.412982] kunit_try_run_case+0x14c/0x3d0 [ 32.414161] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.415022] kthread+0x24c/0x2d0 [ 32.415682] ret_from_fork+0x10/0x20 [ 32.416446] [ 32.416929] The buggy address belongs to the object at fff00000c5922000 [ 32.416929] which belongs to the cache test_cache of size 200 [ 32.418148] The buggy address is located 0 bytes to the right of [ 32.418148] allocated 200-byte region [fff00000c5922000, fff00000c59220c8) [ 32.419514] [ 32.419943] The buggy address belongs to the physical page: [ 32.420583] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105922 [ 32.421932] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 32.423189] page_type: f5(slab) [ 32.423806] raw: 0bfffe0000000000 fff00000c56ba280 dead000000000122 0000000000000000 [ 32.424851] raw: 0000000000000000 00000000800f000f 00000001f5000000 0000000000000000 [ 32.426125] page dumped because: kasan: bad access detected [ 32.426798] [ 32.427215] Memory state around the buggy address: [ 32.427821] fff00000c5921f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.429432] fff00000c5922000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.430559] >fff00000c5922080: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc [ 32.431303] ^ [ 32.432019] fff00000c5922100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.433303] fff00000c5922180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.434105] ==================================================================
[ 32.381021] ================================================================== [ 32.382668] BUG: KASAN: slab-out-of-bounds in kmem_cache_oob+0x33c/0x428 [ 32.383370] Read of size 1 at addr fff00000c5e5a0c8 by task kunit_try_catch/196 [ 32.384313] [ 32.384772] CPU: 0 UID: 0 PID: 196 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241126 #1 [ 32.385925] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.386617] Hardware name: linux,dummy-virt (DT) [ 32.387366] Call trace: [ 32.387903] show_stack+0x20/0x38 (C) [ 32.388633] dump_stack_lvl+0x8c/0xd0 [ 32.389375] print_report+0x118/0x5e0 [ 32.390312] kasan_report+0xc8/0x118 [ 32.390909] __asan_report_load1_noabort+0x20/0x30 [ 32.391724] kmem_cache_oob+0x33c/0x428 [ 32.392454] kunit_try_run_case+0x14c/0x3d0 [ 32.393285] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.394388] kthread+0x24c/0x2d0 [ 32.394959] ret_from_fork+0x10/0x20 [ 32.395601] [ 32.395953] Allocated by task 196: [ 32.396512] kasan_save_stack+0x3c/0x68 [ 32.397203] kasan_save_track+0x20/0x40 [ 32.397858] kasan_save_alloc_info+0x40/0x58 [ 32.398555] __kasan_slab_alloc+0xa8/0xb0 [ 32.399977] kmem_cache_alloc_noprof+0x108/0x3a0 [ 32.400704] kmem_cache_oob+0x12c/0x428 [ 32.401284] kunit_try_run_case+0x14c/0x3d0 [ 32.402285] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.403018] kthread+0x24c/0x2d0 [ 32.403617] ret_from_fork+0x10/0x20 [ 32.404272] [ 32.404598] The buggy address belongs to the object at fff00000c5e5a000 [ 32.404598] which belongs to the cache test_cache of size 200 [ 32.406321] The buggy address is located 0 bytes to the right of [ 32.406321] allocated 200-byte region [fff00000c5e5a000, fff00000c5e5a0c8) [ 32.407739] [ 32.408115] The buggy address belongs to the physical page: [ 32.408760] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105e5a [ 32.409832] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 32.410953] page_type: f5(slab) [ 32.411483] raw: 0bfffe0000000000 fff00000c46cac80 dead000000000122 0000000000000000 [ 32.412446] raw: 0000000000000000 00000000800f000f 00000001f5000000 0000000000000000 [ 32.413383] page dumped because: kasan: bad access detected [ 32.414324] [ 32.414764] Memory state around the buggy address: [ 32.415364] fff00000c5e59f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.416248] fff00000c5e5a000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.417197] >fff00000c5e5a080: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc [ 32.418395] ^ [ 32.419046] fff00000c5e5a100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.420544] fff00000c5e5a180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.421360] ==================================================================
[ 26.562761] ================================================================== [ 26.563150] BUG: KASAN: slab-out-of-bounds in kmem_cache_oob+0x404/0x530 [ 26.563150] Read of size 1 at addr ffff8881028e80c8 by task kunit_try_catch/216 [ 26.563150] [ 26.563150] CPU: 0 UID: 0 PID: 216 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241126 #1 [ 26.563150] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.563150] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.563150] Call Trace: [ 26.563150] <TASK> [ 26.563150] dump_stack_lvl+0x73/0xb0 [ 26.563150] print_report+0xd1/0x640 [ 26.563150] ? __virt_addr_valid+0x1db/0x2d0 [ 26.563150] ? kasan_complete_mode_report_info+0x2a/0x200 [ 26.563150] kasan_report+0x102/0x140 [ 26.563150] ? kmem_cache_oob+0x404/0x530 [ 26.563150] ? kmem_cache_oob+0x404/0x530 [ 26.563150] __asan_report_load1_noabort+0x18/0x20 [ 26.563150] kmem_cache_oob+0x404/0x530 [ 26.563150] ? __pfx_kmem_cache_oob+0x10/0x10 [ 26.563150] ? __switch_to+0x5d9/0xf60 [ 26.563150] ? ktime_get_ts64+0x84/0x230 [ 26.563150] kunit_try_run_case+0x1b3/0x490 [ 26.563150] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.563150] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 26.563150] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.563150] ? __kthread_parkme+0x82/0x160 [ 26.563150] ? preempt_count_sub+0x50/0x80 [ 26.563150] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.563150] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.563150] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.563150] kthread+0x257/0x310 [ 26.563150] ? __pfx_kthread+0x10/0x10 [ 26.563150] ret_from_fork+0x41/0x80 [ 26.563150] ? __pfx_kthread+0x10/0x10 [ 26.563150] ret_from_fork_asm+0x1a/0x30 [ 26.563150] </TASK> [ 26.563150] [ 26.563150] Allocated by task 216: [ 26.563150] kasan_save_stack+0x3d/0x60 [ 26.563150] kasan_save_track+0x18/0x40 [ 26.563150] kasan_save_alloc_info+0x3b/0x50 [ 26.563150] __kasan_slab_alloc+0x91/0xa0 [ 26.563150] kmem_cache_alloc_noprof+0x11e/0x3f0 [ 26.563150] kmem_cache_oob+0x158/0x530 [ 26.563150] kunit_try_run_case+0x1b3/0x490 [ 26.563150] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.563150] kthread+0x257/0x310 [ 26.563150] ret_from_fork+0x41/0x80 [ 26.563150] ret_from_fork_asm+0x1a/0x30 [ 26.563150] [ 26.563150] The buggy address belongs to the object at ffff8881028e8000 [ 26.563150] which belongs to the cache test_cache of size 200 [ 26.563150] The buggy address is located 0 bytes to the right of [ 26.563150] allocated 200-byte region [ffff8881028e8000, ffff8881028e80c8) [ 26.563150] [ 26.563150] The buggy address belongs to the physical page: [ 26.563150] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1028e8 [ 26.563150] flags: 0x200000000000000(node=0|zone=2) [ 26.563150] page_type: f5(slab) [ 26.563150] raw: 0200000000000000 ffff888100a2b780 dead000000000122 0000000000000000 [ 26.563150] raw: 0000000000000000 00000000800f000f 00000001f5000000 0000000000000000 [ 26.563150] page dumped because: kasan: bad access detected [ 26.563150] [ 26.563150] Memory state around the buggy address: [ 26.563150] ffff8881028e7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.563150] ffff8881028e8000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.563150] >ffff8881028e8080: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc [ 26.563150] ^ [ 26.563150] ffff8881028e8100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.563150] ffff8881028e8180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.563150] ==================================================================
[ 21.533710] ================================================================== [ 21.534505] BUG: KASAN: slab-out-of-bounds in kmem_cache_oob+0x404/0x530 [ 21.535258] Read of size 1 at addr ffff888102af70c8 by task kunit_try_catch/214 [ 21.535796] [ 21.536054] CPU: 1 UID: 0 PID: 214 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241126 #1 [ 21.536816] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.537368] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 21.538467] Call Trace: [ 21.538851] <TASK> [ 21.539197] dump_stack_lvl+0x73/0xb0 [ 21.539607] print_report+0xd1/0x640 [ 21.540061] ? __virt_addr_valid+0x1db/0x2d0 [ 21.541093] ? kasan_complete_mode_report_info+0x2a/0x200 [ 21.542390] kasan_report+0x102/0x140 [ 21.542946] ? kmem_cache_oob+0x404/0x530 [ 21.543694] ? kmem_cache_oob+0x404/0x530 [ 21.544324] __asan_report_load1_noabort+0x18/0x20 [ 21.544832] kmem_cache_oob+0x404/0x530 [ 21.545393] ? trace_hardirqs_on+0x37/0xe0 [ 21.545784] ? __pfx_kmem_cache_oob+0x10/0x10 [ 21.546340] ? finish_task_switch.isra.0+0x153/0x700 [ 21.547592] ? __switch_to+0x5d9/0xf60 [ 21.548188] ? __pfx_read_tsc+0x10/0x10 [ 21.548858] ? ktime_get_ts64+0x84/0x230 [ 21.549197] kunit_try_run_case+0x1b3/0x490 [ 21.549770] ? __pfx_kunit_try_run_case+0x10/0x10 [ 21.550298] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 21.550897] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 21.551441] ? __kthread_parkme+0x82/0x160 [ 21.552050] ? preempt_count_sub+0x50/0x80 [ 21.552329] ? __pfx_kunit_try_run_case+0x10/0x10 [ 21.553139] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 21.553746] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 21.554434] kthread+0x257/0x310 [ 21.554941] ? __pfx_kthread+0x10/0x10 [ 21.555517] ret_from_fork+0x41/0x80 [ 21.556083] ? __pfx_kthread+0x10/0x10 [ 21.556542] ret_from_fork_asm+0x1a/0x30 [ 21.557180] </TASK> [ 21.557791] [ 21.557971] Allocated by task 214: [ 21.558570] kasan_save_stack+0x3d/0x60 [ 21.559296] kasan_save_track+0x18/0x40 [ 21.559838] kasan_save_alloc_info+0x3b/0x50 [ 21.560592] __kasan_slab_alloc+0x91/0xa0 [ 21.560955] kmem_cache_alloc_noprof+0x11e/0x3f0 [ 21.561810] kmem_cache_oob+0x158/0x530 [ 21.562343] kunit_try_run_case+0x1b3/0x490 [ 21.562916] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 21.563685] kthread+0x257/0x310 [ 21.564056] ret_from_fork+0x41/0x80 [ 21.565166] ret_from_fork_asm+0x1a/0x30 [ 21.565700] [ 21.565876] The buggy address belongs to the object at ffff888102af7000 [ 21.565876] which belongs to the cache test_cache of size 200 [ 21.567451] The buggy address is located 0 bytes to the right of [ 21.567451] allocated 200-byte region [ffff888102af7000, ffff888102af70c8) [ 21.568163] [ 21.568833] The buggy address belongs to the physical page: [ 21.569801] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102af7 [ 21.570410] flags: 0x200000000000000(node=0|zone=2) [ 21.570882] page_type: f5(slab) [ 21.571347] raw: 0200000000000000 ffff8881010f4b40 dead000000000122 0000000000000000 [ 21.572450] raw: 0000000000000000 00000000800f000f 00000001f5000000 0000000000000000 [ 21.573034] page dumped because: kasan: bad access detected [ 21.573883] [ 21.574089] Memory state around the buggy address: [ 21.574663] ffff888102af6f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.575406] ffff888102af7000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.576381] >ffff888102af7080: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc [ 21.577641] ^ [ 21.578511] ffff888102af7100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.579067] ffff888102af7180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.579724] ==================================================================