Date
July 1, 2025, 3:08 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 18.832443] ================================================================== [ 18.832519] BUG: KASAN: slab-out-of-bounds in mempool_oob_right_helper+0x2ac/0x2f0 [ 18.832607] Read of size 1 at addr fff00000c669f673 by task kunit_try_catch/222 [ 18.832659] [ 18.832700] CPU: 0 UID: 0 PID: 222 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 18.832790] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.832818] Hardware name: linux,dummy-virt (DT) [ 18.832853] Call trace: [ 18.832877] show_stack+0x20/0x38 (C) [ 18.832929] dump_stack_lvl+0x8c/0xd0 [ 18.832980] print_report+0x118/0x608 [ 18.833027] kasan_report+0xdc/0x128 [ 18.833073] __asan_report_load1_noabort+0x20/0x30 [ 18.833124] mempool_oob_right_helper+0x2ac/0x2f0 [ 18.833172] mempool_kmalloc_oob_right+0xc4/0x120 [ 18.833221] kunit_try_run_case+0x170/0x3f0 [ 18.833275] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.833513] kthread+0x328/0x630 [ 18.833579] ret_from_fork+0x10/0x20 [ 18.833631] [ 18.833653] Allocated by task 222: [ 18.833686] kasan_save_stack+0x3c/0x68 [ 18.833729] kasan_save_track+0x20/0x40 [ 18.833769] kasan_save_alloc_info+0x40/0x58 [ 18.833808] __kasan_mempool_unpoison_object+0x11c/0x180 [ 18.833854] remove_element+0x130/0x1f8 [ 18.833895] mempool_alloc_preallocated+0x58/0xc0 [ 18.833933] mempool_oob_right_helper+0x98/0x2f0 [ 18.833972] mempool_kmalloc_oob_right+0xc4/0x120 [ 18.834011] kunit_try_run_case+0x170/0x3f0 [ 18.834049] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.834094] kthread+0x328/0x630 [ 18.834125] ret_from_fork+0x10/0x20 [ 18.834161] [ 18.834181] The buggy address belongs to the object at fff00000c669f600 [ 18.834181] which belongs to the cache kmalloc-128 of size 128 [ 18.834242] The buggy address is located 0 bytes to the right of [ 18.834242] allocated 115-byte region [fff00000c669f600, fff00000c669f673) [ 18.834307] [ 18.834328] The buggy address belongs to the physical page: [ 18.834362] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10669f [ 18.834419] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.834475] page_type: f5(slab) [ 18.834518] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 18.834578] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 18.834621] page dumped because: kasan: bad access detected [ 18.834653] [ 18.834671] Memory state around the buggy address: [ 18.834706] fff00000c669f500: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 18.834750] fff00000c669f580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.834795] >fff00000c669f600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 fc [ 18.834834] ^ [ 18.834874] fff00000c669f680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.834916] fff00000c669f700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 fc [ 18.834955] ================================================================== [ 18.844322] ================================================================== [ 18.844396] BUG: KASAN: slab-out-of-bounds in mempool_oob_right_helper+0x2ac/0x2f0 [ 18.844637] Read of size 1 at addr fff00000c7bc2001 by task kunit_try_catch/224 [ 18.844789] [ 18.844828] CPU: 0 UID: 0 PID: 224 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 18.845421] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.845456] Hardware name: linux,dummy-virt (DT) [ 18.845489] Call trace: [ 18.845513] show_stack+0x20/0x38 (C) [ 18.845574] dump_stack_lvl+0x8c/0xd0 [ 18.845624] print_report+0x118/0x608 [ 18.845674] kasan_report+0xdc/0x128 [ 18.846153] __asan_report_load1_noabort+0x20/0x30 [ 18.846219] mempool_oob_right_helper+0x2ac/0x2f0 [ 18.846509] mempool_kmalloc_large_oob_right+0xc4/0x120 [ 18.846632] kunit_try_run_case+0x170/0x3f0 [ 18.846730] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.846823] kthread+0x328/0x630 [ 18.846978] ret_from_fork+0x10/0x20 [ 18.847026] [ 18.847050] The buggy address belongs to the physical page: [ 18.847085] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107bc0 [ 18.847143] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 18.847233] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 18.847348] page_type: f8(unknown) [ 18.847500] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 18.847911] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 18.848079] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 18.848132] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 18.848182] head: 0bfffe0000000002 ffffc1ffc31ef001 00000000ffffffff 00000000ffffffff [ 18.848578] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 18.848633] page dumped because: kasan: bad access detected [ 18.848666] [ 18.848684] Memory state around the buggy address: [ 18.848995] fff00000c7bc1f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.849092] fff00000c7bc1f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.849430] >fff00000c7bc2000: 01 fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 18.849646] ^ [ 18.849680] fff00000c7bc2080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 18.849747] fff00000c7bc2100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 18.849791] ================================================================== [ 18.864199] ================================================================== [ 18.864320] BUG: KASAN: slab-out-of-bounds in mempool_oob_right_helper+0x2ac/0x2f0 [ 18.864380] Read of size 1 at addr fff00000c57af2bb by task kunit_try_catch/226 [ 18.864431] [ 18.864467] CPU: 0 UID: 0 PID: 226 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 18.864552] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.864601] Hardware name: linux,dummy-virt (DT) [ 18.864635] Call trace: [ 18.864658] show_stack+0x20/0x38 (C) [ 18.865052] dump_stack_lvl+0x8c/0xd0 [ 18.865106] print_report+0x118/0x608 [ 18.865153] kasan_report+0xdc/0x128 [ 18.865196] __asan_report_load1_noabort+0x20/0x30 [ 18.865266] mempool_oob_right_helper+0x2ac/0x2f0 [ 18.865597] mempool_slab_oob_right+0xc0/0x118 [ 18.865720] kunit_try_run_case+0x170/0x3f0 [ 18.865886] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.865985] kthread+0x328/0x630 [ 18.866028] ret_from_fork+0x10/0x20 [ 18.866094] [ 18.866114] Allocated by task 226: [ 18.866164] kasan_save_stack+0x3c/0x68 [ 18.866208] kasan_save_track+0x20/0x40 [ 18.866360] kasan_save_alloc_info+0x40/0x58 [ 18.866410] __kasan_mempool_unpoison_object+0xbc/0x180 [ 18.866454] remove_element+0x16c/0x1f8 [ 18.866492] mempool_alloc_preallocated+0x58/0xc0 [ 18.866531] mempool_oob_right_helper+0x98/0x2f0 [ 18.866595] mempool_slab_oob_right+0xc0/0x118 [ 18.866720] kunit_try_run_case+0x170/0x3f0 [ 18.866787] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.866838] kthread+0x328/0x630 [ 18.866978] ret_from_fork+0x10/0x20 [ 18.867015] [ 18.867069] The buggy address belongs to the object at fff00000c57af240 [ 18.867069] which belongs to the cache test_cache of size 123 [ 18.867171] The buggy address is located 0 bytes to the right of [ 18.867171] allocated 123-byte region [fff00000c57af240, fff00000c57af2bb) [ 18.867292] [ 18.867320] The buggy address belongs to the physical page: [ 18.867468] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1057af [ 18.867614] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.867724] page_type: f5(slab) [ 18.867764] raw: 0bfffe0000000000 fff00000c5b9bc80 dead000000000122 0000000000000000 [ 18.867910] raw: 0000000000000000 0000000080150015 00000000f5000000 0000000000000000 [ 18.867953] page dumped because: kasan: bad access detected [ 18.868021] [ 18.868124] Memory state around the buggy address: [ 18.868158] fff00000c57af180: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 18.868201] fff00000c57af200: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 18.868246] >fff00000c57af280: 00 00 00 00 00 00 00 03 fc fc fc fc fc fc fc fc [ 18.868288] ^ [ 18.868322] fff00000c57af300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.868365] fff00000c57af380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.868431] ==================================================================
[ 13.085480] ================================================================== [ 13.086112] BUG: KASAN: slab-out-of-bounds in mempool_oob_right_helper+0x318/0x380 [ 13.086410] Read of size 1 at addr ffff888102a8a001 by task kunit_try_catch/240 [ 13.086725] [ 13.086872] CPU: 1 UID: 0 PID: 240 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.086928] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.086943] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.086972] Call Trace: [ 13.086987] <TASK> [ 13.087009] dump_stack_lvl+0x73/0xb0 [ 13.087050] print_report+0xd1/0x650 [ 13.087074] ? __virt_addr_valid+0x1db/0x2d0 [ 13.087101] ? mempool_oob_right_helper+0x318/0x380 [ 13.087125] ? kasan_addr_to_slab+0x11/0xa0 [ 13.087147] ? mempool_oob_right_helper+0x318/0x380 [ 13.087171] kasan_report+0x141/0x180 [ 13.087193] ? mempool_oob_right_helper+0x318/0x380 [ 13.087223] __asan_report_load1_noabort+0x18/0x20 [ 13.087250] mempool_oob_right_helper+0x318/0x380 [ 13.087276] ? __pfx_mempool_oob_right_helper+0x10/0x10 [ 13.087317] ? __kasan_check_write+0x18/0x20 [ 13.087357] ? __pfx_sched_clock_cpu+0x10/0x10 [ 13.087394] ? finish_task_switch.isra.0+0x153/0x700 [ 13.087422] mempool_kmalloc_large_oob_right+0xf2/0x150 [ 13.087448] ? __pfx_mempool_kmalloc_large_oob_right+0x10/0x10 [ 13.087477] ? __pfx_mempool_kmalloc+0x10/0x10 [ 13.087501] ? __pfx_mempool_kfree+0x10/0x10 [ 13.087526] ? __pfx_read_tsc+0x10/0x10 [ 13.087548] ? ktime_get_ts64+0x86/0x230 [ 13.087574] kunit_try_run_case+0x1a5/0x480 [ 13.087601] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.087624] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.087674] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.087699] ? __kthread_parkme+0x82/0x180 [ 13.087734] ? preempt_count_sub+0x50/0x80 [ 13.087756] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.087781] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.087806] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.087860] kthread+0x337/0x6f0 [ 13.087885] ? trace_preempt_on+0x20/0xc0 [ 13.087909] ? __pfx_kthread+0x10/0x10 [ 13.087930] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.087951] ? calculate_sigpending+0x7b/0xa0 [ 13.087975] ? __pfx_kthread+0x10/0x10 [ 13.087997] ret_from_fork+0x116/0x1d0 [ 13.088016] ? __pfx_kthread+0x10/0x10 [ 13.088047] ret_from_fork_asm+0x1a/0x30 [ 13.088078] </TASK> [ 13.088091] [ 13.096438] The buggy address belongs to the physical page: [ 13.096736] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102a88 [ 13.097060] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 13.097379] flags: 0x200000000000040(head|node=0|zone=2) [ 13.097584] page_type: f8(unknown) [ 13.097848] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 13.098158] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 13.098397] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 13.098952] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 13.099325] head: 0200000000000002 ffffea00040aa201 00000000ffffffff 00000000ffffffff [ 13.099769] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 13.100054] page dumped because: kasan: bad access detected [ 13.100260] [ 13.100353] Memory state around the buggy address: [ 13.100594] ffff888102a89f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.100965] ffff888102a89f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.101206] >ffff888102a8a000: 01 fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 13.101528] ^ [ 13.101770] ffff888102a8a080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 13.102055] ffff888102a8a100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 13.102356] ================================================================== [ 13.054893] ================================================================== [ 13.055342] BUG: KASAN: slab-out-of-bounds in mempool_oob_right_helper+0x318/0x380 [ 13.055737] Read of size 1 at addr ffff8881027c2d73 by task kunit_try_catch/238 [ 13.056054] [ 13.056160] CPU: 1 UID: 0 PID: 238 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.056210] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.056222] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.056245] Call Trace: [ 13.056258] <TASK> [ 13.056283] dump_stack_lvl+0x73/0xb0 [ 13.056758] print_report+0xd1/0x650 [ 13.056787] ? __virt_addr_valid+0x1db/0x2d0 [ 13.056816] ? mempool_oob_right_helper+0x318/0x380 [ 13.056839] ? kasan_complete_mode_report_info+0x2a/0x200 [ 13.056861] ? mempool_oob_right_helper+0x318/0x380 [ 13.056884] kasan_report+0x141/0x180 [ 13.056905] ? mempool_oob_right_helper+0x318/0x380 [ 13.056932] __asan_report_load1_noabort+0x18/0x20 [ 13.056955] mempool_oob_right_helper+0x318/0x380 [ 13.056979] ? __pfx_mempool_oob_right_helper+0x10/0x10 [ 13.057002] ? __kasan_check_write+0x18/0x20 [ 13.057031] ? __pfx_sched_clock_cpu+0x10/0x10 [ 13.057055] ? finish_task_switch.isra.0+0x153/0x700 [ 13.057080] mempool_kmalloc_oob_right+0xf2/0x150 [ 13.057103] ? __pfx_mempool_kmalloc_oob_right+0x10/0x10 [ 13.057128] ? __pfx_mempool_kmalloc+0x10/0x10 [ 13.057152] ? __pfx_mempool_kfree+0x10/0x10 [ 13.057176] ? __pfx_read_tsc+0x10/0x10 [ 13.057198] ? ktime_get_ts64+0x86/0x230 [ 13.057223] kunit_try_run_case+0x1a5/0x480 [ 13.057250] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.057270] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.057294] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.057316] ? __kthread_parkme+0x82/0x180 [ 13.057338] ? preempt_count_sub+0x50/0x80 [ 13.057361] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.057386] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.057408] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.057430] kthread+0x337/0x6f0 [ 13.057448] ? trace_preempt_on+0x20/0xc0 [ 13.057472] ? __pfx_kthread+0x10/0x10 [ 13.057491] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.057512] ? calculate_sigpending+0x7b/0xa0 [ 13.057535] ? __pfx_kthread+0x10/0x10 [ 13.057556] ret_from_fork+0x116/0x1d0 [ 13.057573] ? __pfx_kthread+0x10/0x10 [ 13.057593] ret_from_fork_asm+0x1a/0x30 [ 13.057625] </TASK> [ 13.057812] [ 13.069492] Allocated by task 238: [ 13.069970] kasan_save_stack+0x45/0x70 [ 13.070192] kasan_save_track+0x18/0x40 [ 13.070465] kasan_save_alloc_info+0x3b/0x50 [ 13.070804] __kasan_mempool_unpoison_object+0x1a9/0x200 [ 13.071066] remove_element+0x11e/0x190 [ 13.071425] mempool_alloc_preallocated+0x4d/0x90 [ 13.071844] mempool_oob_right_helper+0x8a/0x380 [ 13.072065] mempool_kmalloc_oob_right+0xf2/0x150 [ 13.072422] kunit_try_run_case+0x1a5/0x480 [ 13.072628] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.073001] kthread+0x337/0x6f0 [ 13.073153] ret_from_fork+0x116/0x1d0 [ 13.073345] ret_from_fork_asm+0x1a/0x30 [ 13.073552] [ 13.073647] The buggy address belongs to the object at ffff8881027c2d00 [ 13.073647] which belongs to the cache kmalloc-128 of size 128 [ 13.074217] The buggy address is located 0 bytes to the right of [ 13.074217] allocated 115-byte region [ffff8881027c2d00, ffff8881027c2d73) [ 13.075118] [ 13.075247] The buggy address belongs to the physical page: [ 13.075616] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1027c2 [ 13.076000] flags: 0x200000000000000(node=0|zone=2) [ 13.076415] page_type: f5(slab) [ 13.076951] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 13.077254] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 13.077608] page dumped because: kasan: bad access detected [ 13.078057] [ 13.078137] Memory state around the buggy address: [ 13.078396] ffff8881027c2c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 13.078985] ffff8881027c2c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 13.079292] >ffff8881027c2d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 fc [ 13.079873] ^ [ 13.080270] ffff8881027c2d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 13.080678] ffff8881027c2e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 fc [ 13.081152] ================================================================== [ 13.107863] ================================================================== [ 13.108375] BUG: KASAN: slab-out-of-bounds in mempool_oob_right_helper+0x318/0x380 [ 13.108746] Read of size 1 at addr ffff8881033c02bb by task kunit_try_catch/242 [ 13.109068] [ 13.109165] CPU: 0 UID: 0 PID: 242 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.109216] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.109227] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.109251] Call Trace: [ 13.109264] <TASK> [ 13.109284] dump_stack_lvl+0x73/0xb0 [ 13.109315] print_report+0xd1/0x650 [ 13.109338] ? __virt_addr_valid+0x1db/0x2d0 [ 13.109364] ? mempool_oob_right_helper+0x318/0x380 [ 13.109386] ? kasan_complete_mode_report_info+0x2a/0x200 [ 13.109408] ? mempool_oob_right_helper+0x318/0x380 [ 13.109430] kasan_report+0x141/0x180 [ 13.109451] ? mempool_oob_right_helper+0x318/0x380 [ 13.109478] __asan_report_load1_noabort+0x18/0x20 [ 13.109502] mempool_oob_right_helper+0x318/0x380 [ 13.109525] ? __pfx_mempool_oob_right_helper+0x10/0x10 [ 13.109551] ? __pfx_sched_clock_cpu+0x10/0x10 [ 13.109574] ? finish_task_switch.isra.0+0x153/0x700 [ 13.109600] mempool_slab_oob_right+0xed/0x140 [ 13.109623] ? __pfx_mempool_slab_oob_right+0x10/0x10 [ 13.109649] ? __pfx_mempool_alloc_slab+0x10/0x10 [ 13.109670] ? __pfx_mempool_free_slab+0x10/0x10 [ 13.109689] ? __pfx_read_tsc+0x10/0x10 [ 13.109711] ? ktime_get_ts64+0x86/0x230 [ 13.109736] kunit_try_run_case+0x1a5/0x480 [ 13.109761] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.109783] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.109806] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.109828] ? __kthread_parkme+0x82/0x180 [ 13.109850] ? preempt_count_sub+0x50/0x80 [ 13.109871] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.109916] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.109939] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.109961] kthread+0x337/0x6f0 [ 13.109979] ? trace_preempt_on+0x20/0xc0 [ 13.110003] ? __pfx_kthread+0x10/0x10 [ 13.110032] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.110052] ? calculate_sigpending+0x7b/0xa0 [ 13.110076] ? __pfx_kthread+0x10/0x10 [ 13.110096] ret_from_fork+0x116/0x1d0 [ 13.110114] ? __pfx_kthread+0x10/0x10 [ 13.110133] ret_from_fork_asm+0x1a/0x30 [ 13.110164] </TASK> [ 13.110176] [ 13.120271] Allocated by task 242: [ 13.120569] kasan_save_stack+0x45/0x70 [ 13.120953] kasan_save_track+0x18/0x40 [ 13.121159] kasan_save_alloc_info+0x3b/0x50 [ 13.121469] __kasan_mempool_unpoison_object+0x1bb/0x200 [ 13.121800] remove_element+0x11e/0x190 [ 13.121944] mempool_alloc_preallocated+0x4d/0x90 [ 13.122185] mempool_oob_right_helper+0x8a/0x380 [ 13.122376] mempool_slab_oob_right+0xed/0x140 [ 13.122578] kunit_try_run_case+0x1a5/0x480 [ 13.123130] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.123434] kthread+0x337/0x6f0 [ 13.123563] ret_from_fork+0x116/0x1d0 [ 13.123876] ret_from_fork_asm+0x1a/0x30 [ 13.124069] [ 13.124176] The buggy address belongs to the object at ffff8881033c0240 [ 13.124176] which belongs to the cache test_cache of size 123 [ 13.124829] The buggy address is located 0 bytes to the right of [ 13.124829] allocated 123-byte region [ffff8881033c0240, ffff8881033c02bb) [ 13.125352] [ 13.125432] The buggy address belongs to the physical page: [ 13.125649] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1033c0 [ 13.126343] flags: 0x200000000000000(node=0|zone=2) [ 13.126776] page_type: f5(slab) [ 13.126966] raw: 0200000000000000 ffff8881033b63c0 dead000000000122 0000000000000000 [ 13.127330] raw: 0000000000000000 0000000080150015 00000000f5000000 0000000000000000 [ 13.127781] page dumped because: kasan: bad access detected [ 13.128117] [ 13.128347] Memory state around the buggy address: [ 13.128516] ffff8881033c0180: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 13.129083] ffff8881033c0200: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 13.129510] >ffff8881033c0280: 00 00 00 00 00 00 00 03 fc fc fc fc fc fc fc fc [ 13.129920] ^ [ 13.130249] ffff8881033c0300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 13.130504] ffff8881033c0380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 13.131150] ==================================================================