Date
Nov. 27, 2024, 3:37 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 51.699999] ================================================================== [ 51.700594] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x1d8/0xbc8 [ 51.701110] Write of size 8 at addr fff00000c5f55328 by task kunit_try_catch/250 [ 51.702385] [ 51.702855] CPU: 0 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 51.704346] Tainted: [B]=BAD_PAGE, [N]=TEST [ 51.704924] Hardware name: linux,dummy-virt (DT) [ 51.705515] Call trace: [ 51.705967] show_stack+0x20/0x38 (C) [ 51.706564] dump_stack_lvl+0x8c/0xd0 [ 51.707347] print_report+0x118/0x5e0 [ 51.708098] kasan_report+0xc8/0x118 [ 51.708886] kasan_check_range+0x100/0x1a8 [ 51.709640] __kasan_check_write+0x20/0x30 [ 51.710487] kasan_bitops_test_and_modify.constprop.0+0x1d8/0xbc8 [ 51.711518] kasan_bitops_generic+0x11c/0x1c8 [ 51.712262] kunit_try_run_case+0x14c/0x3d0 [ 51.712907] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.713635] kthread+0x24c/0x2d0 [ 51.714321] ret_from_fork+0x10/0x20 [ 51.714856] [ 51.715219] Allocated by task 250: [ 51.715805] kasan_save_stack+0x3c/0x68 [ 51.716374] kasan_save_track+0x20/0x40 [ 51.716858] kasan_save_alloc_info+0x40/0x58 [ 51.717596] __kasan_kmalloc+0xd4/0xd8 [ 51.718099] __kmalloc_cache_noprof+0x15c/0x3c0 [ 51.718857] kasan_bitops_generic+0xa0/0x1c8 [ 51.719462] kunit_try_run_case+0x14c/0x3d0 [ 51.720020] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.720847] kthread+0x24c/0x2d0 [ 51.721399] ret_from_fork+0x10/0x20 [ 51.721910] [ 51.722334] The buggy address belongs to the object at fff00000c5f55320 [ 51.722334] which belongs to the cache kmalloc-16 of size 16 [ 51.723738] The buggy address is located 8 bytes inside of [ 51.723738] allocated 9-byte region [fff00000c5f55320, fff00000c5f55329) [ 51.725046] [ 51.725374] The buggy address belongs to the physical page: [ 51.726195] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f55 [ 51.727264] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.728148] page_type: f5(slab) [ 51.728721] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 51.729733] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 51.730674] page dumped because: kasan: bad access detected [ 51.731430] [ 51.731741] Memory state around the buggy address: [ 51.732420] fff00000c5f55200: 00 05 fc fc fa fb fc fc 00 02 fc fc fa fb fc fc [ 51.733357] fff00000c5f55280: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 51.734408] >fff00000c5f55300: fa fb fc fc 00 01 fc fc fc fc fc fc fc fc fc fc [ 51.735339] ^ [ 51.735994] fff00000c5f55380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.737054] fff00000c5f55400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.738006] ================================================================== [ 51.739776] ================================================================== [ 51.741310] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0xa50/0xbc8 [ 51.742206] Read of size 8 at addr fff00000c5f55328 by task kunit_try_catch/250 [ 51.742985] [ 51.743369] CPU: 0 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 51.744549] Tainted: [B]=BAD_PAGE, [N]=TEST [ 51.745259] Hardware name: linux,dummy-virt (DT) [ 51.745957] Call trace: [ 51.746417] show_stack+0x20/0x38 (C) [ 51.746998] dump_stack_lvl+0x8c/0xd0 [ 51.747538] print_report+0x118/0x5e0 [ 51.748008] kasan_report+0xc8/0x118 [ 51.748836] __asan_report_load8_noabort+0x20/0x30 [ 51.749700] kasan_bitops_test_and_modify.constprop.0+0xa50/0xbc8 [ 51.750555] kasan_bitops_generic+0x11c/0x1c8 [ 51.751263] kunit_try_run_case+0x14c/0x3d0 [ 51.752142] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.752823] kthread+0x24c/0x2d0 [ 51.753368] ret_from_fork+0x10/0x20 [ 51.753865] [ 51.754177] Allocated by task 250: [ 51.754910] kasan_save_stack+0x3c/0x68 [ 51.755647] kasan_save_track+0x20/0x40 [ 51.756090] kasan_save_alloc_info+0x40/0x58 [ 51.756715] __kasan_kmalloc+0xd4/0xd8 [ 51.757320] __kmalloc_cache_noprof+0x15c/0x3c0 [ 51.757910] kasan_bitops_generic+0xa0/0x1c8 [ 51.758590] kunit_try_run_case+0x14c/0x3d0 [ 51.759177] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.759968] kthread+0x24c/0x2d0 [ 51.760565] ret_from_fork+0x10/0x20 [ 51.761110] [ 51.761406] The buggy address belongs to the object at fff00000c5f55320 [ 51.761406] which belongs to the cache kmalloc-16 of size 16 [ 51.762805] The buggy address is located 8 bytes inside of [ 51.762805] allocated 9-byte region [fff00000c5f55320, fff00000c5f55329) [ 51.764001] [ 51.764379] The buggy address belongs to the physical page: [ 51.765120] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f55 [ 51.765967] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.766698] page_type: f5(slab) [ 51.767260] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 51.768206] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 51.769138] page dumped because: kasan: bad access detected [ 51.769814] [ 51.770136] Memory state around the buggy address: [ 51.770691] fff00000c5f55200: 00 05 fc fc fa fb fc fc 00 02 fc fc fa fb fc fc [ 51.771630] fff00000c5f55280: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 51.772504] >fff00000c5f55300: fa fb fc fc 00 01 fc fc fc fc fc fc fc fc fc fc [ 51.773342] ^ [ 51.773913] fff00000c5f55380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.774783] fff00000c5f55400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.775649] ================================================================== [ 51.860713] ================================================================== [ 51.861521] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x334/0xbc8 [ 51.862601] Write of size 8 at addr fff00000c5f55328 by task kunit_try_catch/250 [ 51.863567] [ 51.864005] CPU: 0 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 51.865360] Tainted: [B]=BAD_PAGE, [N]=TEST [ 51.865998] Hardware name: linux,dummy-virt (DT) [ 51.866763] Call trace: [ 51.867210] show_stack+0x20/0x38 (C) [ 51.867913] dump_stack_lvl+0x8c/0xd0 [ 51.868512] print_report+0x118/0x5e0 [ 51.869206] kasan_report+0xc8/0x118 [ 51.869874] kasan_check_range+0x100/0x1a8 [ 51.870592] __kasan_check_write+0x20/0x30 [ 51.871352] kasan_bitops_test_and_modify.constprop.0+0x334/0xbc8 [ 51.872247] kasan_bitops_generic+0x11c/0x1c8 [ 51.872949] kunit_try_run_case+0x14c/0x3d0 [ 51.873716] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.874586] kthread+0x24c/0x2d0 [ 51.875199] ret_from_fork+0x10/0x20 [ 51.875832] [ 51.876172] Allocated by task 250: [ 51.876785] kasan_save_stack+0x3c/0x68 [ 51.877409] kasan_save_track+0x20/0x40 [ 51.877924] kasan_save_alloc_info+0x40/0x58 [ 51.878671] __kasan_kmalloc+0xd4/0xd8 [ 51.879358] __kmalloc_cache_noprof+0x15c/0x3c0 [ 51.880006] kasan_bitops_generic+0xa0/0x1c8 [ 51.880725] kunit_try_run_case+0x14c/0x3d0 [ 51.881594] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.882407] kthread+0x24c/0x2d0 [ 51.882949] ret_from_fork+0x10/0x20 [ 51.883541] [ 51.883937] The buggy address belongs to the object at fff00000c5f55320 [ 51.883937] which belongs to the cache kmalloc-16 of size 16 [ 51.885308] The buggy address is located 8 bytes inside of [ 51.885308] allocated 9-byte region [fff00000c5f55320, fff00000c5f55329) [ 51.886637] [ 51.886979] The buggy address belongs to the physical page: [ 51.887713] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f55 [ 51.888684] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.889553] page_type: f5(slab) [ 51.890024] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 51.890948] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 51.891797] page dumped because: kasan: bad access detected [ 51.892540] [ 51.892890] Memory state around the buggy address: [ 51.893447] fff00000c5f55200: 00 05 fc fc fa fb fc fc 00 02 fc fc fa fb fc fc [ 51.894397] fff00000c5f55280: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 51.895230] >fff00000c5f55300: fa fb fc fc 00 01 fc fc fc fc fc fc fc fc fc fc [ 51.895996] ^ [ 51.896691] fff00000c5f55380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.897560] fff00000c5f55400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.898481] ================================================================== [ 51.900114] ================================================================== [ 51.900836] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0xa44/0xbc8 [ 51.902185] Read of size 8 at addr fff00000c5f55328 by task kunit_try_catch/250 [ 51.903144] [ 51.903475] CPU: 0 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 51.904599] Tainted: [B]=BAD_PAGE, [N]=TEST [ 51.905230] Hardware name: linux,dummy-virt (DT) [ 51.905814] Call trace: [ 51.906308] show_stack+0x20/0x38 (C) [ 51.906836] dump_stack_lvl+0x8c/0xd0 [ 51.907429] print_report+0x118/0x5e0 [ 51.907960] kasan_report+0xc8/0x118 [ 51.908658] __asan_report_load8_noabort+0x20/0x30 [ 51.909353] kasan_bitops_test_and_modify.constprop.0+0xa44/0xbc8 [ 51.910109] kasan_bitops_generic+0x11c/0x1c8 [ 51.910669] kunit_try_run_case+0x14c/0x3d0 [ 51.911334] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.912080] kthread+0x24c/0x2d0 [ 51.912821] ret_from_fork+0x10/0x20 [ 51.913488] [ 51.913900] Allocated by task 250: [ 51.914424] kasan_save_stack+0x3c/0x68 [ 51.915178] kasan_save_track+0x20/0x40 [ 51.915832] kasan_save_alloc_info+0x40/0x58 [ 51.916529] __kasan_kmalloc+0xd4/0xd8 [ 51.917263] __kmalloc_cache_noprof+0x15c/0x3c0 [ 51.918014] kasan_bitops_generic+0xa0/0x1c8 [ 51.918703] kunit_try_run_case+0x14c/0x3d0 [ 51.919529] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.920312] kthread+0x24c/0x2d0 [ 51.920985] ret_from_fork+0x10/0x20 [ 51.921615] [ 51.921956] The buggy address belongs to the object at fff00000c5f55320 [ 51.921956] which belongs to the cache kmalloc-16 of size 16 [ 51.923507] The buggy address is located 8 bytes inside of [ 51.923507] allocated 9-byte region [fff00000c5f55320, fff00000c5f55329) [ 51.924897] [ 51.925348] The buggy address belongs to the physical page: [ 51.926051] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f55 [ 51.927125] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.927999] page_type: f5(slab) [ 51.928624] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 51.929608] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 51.930565] page dumped because: kasan: bad access detected [ 51.931357] [ 51.931689] Memory state around the buggy address: [ 51.932342] fff00000c5f55200: 00 05 fc fc fa fb fc fc 00 02 fc fc fa fb fc fc [ 51.933259] fff00000c5f55280: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 51.934347] >fff00000c5f55300: fa fb fc fc 00 01 fc fc fc fc fc fc fc fc fc fc [ 51.935244] ^ [ 51.935923] fff00000c5f55380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.936884] fff00000c5f55400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.937772] ================================================================== [ 51.662730] ================================================================== [ 51.663508] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0xa08/0xbc8 [ 51.664694] Read of size 8 at addr fff00000c5f55328 by task kunit_try_catch/250 [ 51.665820] [ 51.666175] CPU: 0 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 51.667437] Tainted: [B]=BAD_PAGE, [N]=TEST [ 51.668000] Hardware name: linux,dummy-virt (DT) [ 51.668777] Call trace: [ 51.669164] show_stack+0x20/0x38 (C) [ 51.669783] dump_stack_lvl+0x8c/0xd0 [ 51.670428] print_report+0x118/0x5e0 [ 51.671002] kasan_report+0xc8/0x118 [ 51.671666] __asan_report_load8_noabort+0x20/0x30 [ 51.672320] kasan_bitops_test_and_modify.constprop.0+0xa08/0xbc8 [ 51.673206] kasan_bitops_generic+0x11c/0x1c8 [ 51.673761] kunit_try_run_case+0x14c/0x3d0 [ 51.674503] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.675181] kthread+0x24c/0x2d0 [ 51.675775] ret_from_fork+0x10/0x20 [ 51.676404] [ 51.676704] Allocated by task 250: [ 51.677318] kasan_save_stack+0x3c/0x68 [ 51.677920] kasan_save_track+0x20/0x40 [ 51.678475] kasan_save_alloc_info+0x40/0x58 [ 51.679006] __kasan_kmalloc+0xd4/0xd8 [ 51.679589] __kmalloc_cache_noprof+0x15c/0x3c0 [ 51.680378] kasan_bitops_generic+0xa0/0x1c8 [ 51.680976] kunit_try_run_case+0x14c/0x3d0 [ 51.681674] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.682353] kthread+0x24c/0x2d0 [ 51.682979] ret_from_fork+0x10/0x20 [ 51.683500] [ 51.683853] The buggy address belongs to the object at fff00000c5f55320 [ 51.683853] which belongs to the cache kmalloc-16 of size 16 [ 51.685212] The buggy address is located 8 bytes inside of [ 51.685212] allocated 9-byte region [fff00000c5f55320, fff00000c5f55329) [ 51.686484] [ 51.686874] The buggy address belongs to the physical page: [ 51.687449] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f55 [ 51.688396] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.688944] page_type: f5(slab) [ 51.689429] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 51.690130] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 51.690980] page dumped because: kasan: bad access detected [ 51.691483] [ 51.691860] Memory state around the buggy address: [ 51.692357] fff00000c5f55200: 00 05 fc fc fa fb fc fc 00 02 fc fc fa fb fc fc [ 51.692931] fff00000c5f55280: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 51.693738] >fff00000c5f55300: fa fb fc fc 00 01 fc fc fc fc fc fc fc fc fc fc [ 51.694626] ^ [ 51.695240] fff00000c5f55380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.696600] fff00000c5f55400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.697371] ================================================================== [ 51.778564] ================================================================== [ 51.779348] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x25c/0xbc8 [ 51.780227] Write of size 8 at addr fff00000c5f55328 by task kunit_try_catch/250 [ 51.780938] [ 51.781516] CPU: 0 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 51.782918] Tainted: [B]=BAD_PAGE, [N]=TEST [ 51.783549] Hardware name: linux,dummy-virt (DT) [ 51.784211] Call trace: [ 51.784674] show_stack+0x20/0x38 (C) [ 51.785325] dump_stack_lvl+0x8c/0xd0 [ 51.785954] print_report+0x118/0x5e0 [ 51.786539] kasan_report+0xc8/0x118 [ 51.787105] kasan_check_range+0x100/0x1a8 [ 51.787833] __kasan_check_write+0x20/0x30 [ 51.788551] kasan_bitops_test_and_modify.constprop.0+0x25c/0xbc8 [ 51.789439] kasan_bitops_generic+0x11c/0x1c8 [ 51.790238] kunit_try_run_case+0x14c/0x3d0 [ 51.791021] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.791939] kthread+0x24c/0x2d0 [ 51.792572] ret_from_fork+0x10/0x20 [ 51.793077] [ 51.793439] Allocated by task 250: [ 51.794152] kasan_save_stack+0x3c/0x68 [ 51.794799] kasan_save_track+0x20/0x40 [ 51.795536] kasan_save_alloc_info+0x40/0x58 [ 51.796134] __kasan_kmalloc+0xd4/0xd8 [ 51.796764] __kmalloc_cache_noprof+0x15c/0x3c0 [ 51.797542] kasan_bitops_generic+0xa0/0x1c8 [ 51.798220] kunit_try_run_case+0x14c/0x3d0 [ 51.798897] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.799681] kthread+0x24c/0x2d0 [ 51.800356] ret_from_fork+0x10/0x20 [ 51.800945] [ 51.801324] The buggy address belongs to the object at fff00000c5f55320 [ 51.801324] which belongs to the cache kmalloc-16 of size 16 [ 51.802799] The buggy address is located 8 bytes inside of [ 51.802799] allocated 9-byte region [fff00000c5f55320, fff00000c5f55329) [ 51.804375] [ 51.804795] The buggy address belongs to the physical page: [ 51.805503] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f55 [ 51.806632] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.807471] page_type: f5(slab) [ 51.808071] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 51.809055] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 51.809997] page dumped because: kasan: bad access detected [ 51.810772] [ 51.811085] Memory state around the buggy address: [ 51.811703] fff00000c5f55200: 00 05 fc fc fa fb fc fc 00 02 fc fc fa fb fc fc [ 51.812732] fff00000c5f55280: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 51.813614] >fff00000c5f55300: fa fb fc fc 00 01 fc fc fc fc fc fc fc fc fc fc [ 51.814523] ^ [ 51.815331] fff00000c5f55380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.816384] fff00000c5f55400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.817406] ================================================================== [ 51.819787] ================================================================== [ 51.820844] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0xad4/0xbc8 [ 51.822342] Read of size 8 at addr fff00000c5f55328 by task kunit_try_catch/250 [ 51.823258] [ 51.823640] CPU: 0 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 51.824934] Tainted: [B]=BAD_PAGE, [N]=TEST [ 51.825551] Hardware name: linux,dummy-virt (DT) [ 51.826192] Call trace: [ 51.826761] show_stack+0x20/0x38 (C) [ 51.827391] dump_stack_lvl+0x8c/0xd0 [ 51.828066] print_report+0x118/0x5e0 [ 51.828734] kasan_report+0xc8/0x118 [ 51.829354] __asan_report_load8_noabort+0x20/0x30 [ 51.830163] kasan_bitops_test_and_modify.constprop.0+0xad4/0xbc8 [ 51.831018] kasan_bitops_generic+0x11c/0x1c8 [ 51.831720] kunit_try_run_case+0x14c/0x3d0 [ 51.832449] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.833231] kthread+0x24c/0x2d0 [ 51.833824] ret_from_fork+0x10/0x20 [ 51.834545] [ 51.834925] Allocated by task 250: [ 51.835565] kasan_save_stack+0x3c/0x68 [ 51.836108] kasan_save_track+0x20/0x40 [ 51.836847] kasan_save_alloc_info+0x40/0x58 [ 51.837600] __kasan_kmalloc+0xd4/0xd8 [ 51.838240] __kmalloc_cache_noprof+0x15c/0x3c0 [ 51.839052] kasan_bitops_generic+0xa0/0x1c8 [ 51.839856] kunit_try_run_case+0x14c/0x3d0 [ 51.840586] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.841413] kthread+0x24c/0x2d0 [ 51.842079] ret_from_fork+0x10/0x20 [ 51.842693] [ 51.843056] The buggy address belongs to the object at fff00000c5f55320 [ 51.843056] which belongs to the cache kmalloc-16 of size 16 [ 51.844498] The buggy address is located 8 bytes inside of [ 51.844498] allocated 9-byte region [fff00000c5f55320, fff00000c5f55329) [ 51.845960] [ 51.846403] The buggy address belongs to the physical page: [ 51.847169] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f55 [ 51.848156] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.848983] page_type: f5(slab) [ 51.849521] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 51.850543] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 51.851537] page dumped because: kasan: bad access detected [ 51.852408] [ 51.852940] Memory state around the buggy address: [ 51.853591] fff00000c5f55200: 00 05 fc fc fa fb fc fc 00 02 fc fc fa fb fc fc [ 51.854492] fff00000c5f55280: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 51.855427] >fff00000c5f55300: fa fb fc fc 00 01 fc fc fc fc fc fc fc fc fc fc [ 51.856267] ^ [ 51.856954] fff00000c5f55380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.857913] fff00000c5f55400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.858892] ================================================================== [ 51.624061] ================================================================== [ 51.624875] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0xfc/0xbc8 [ 51.626132] Write of size 8 at addr fff00000c5f55328 by task kunit_try_catch/250 [ 51.627244] [ 51.627624] CPU: 0 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 51.629023] Tainted: [B]=BAD_PAGE, [N]=TEST [ 51.629626] Hardware name: linux,dummy-virt (DT) [ 51.630364] Call trace: [ 51.630861] show_stack+0x20/0x38 (C) [ 51.631421] dump_stack_lvl+0x8c/0xd0 [ 51.632041] print_report+0x118/0x5e0 [ 51.632662] kasan_report+0xc8/0x118 [ 51.633280] kasan_check_range+0x100/0x1a8 [ 51.634206] __kasan_check_write+0x20/0x30 [ 51.634800] kasan_bitops_test_and_modify.constprop.0+0xfc/0xbc8 [ 51.635533] kasan_bitops_generic+0x11c/0x1c8 [ 51.636184] kunit_try_run_case+0x14c/0x3d0 [ 51.636905] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.637662] kthread+0x24c/0x2d0 [ 51.638247] ret_from_fork+0x10/0x20 [ 51.638870] [ 51.639230] Allocated by task 250: [ 51.639712] kasan_save_stack+0x3c/0x68 [ 51.640434] kasan_save_track+0x20/0x40 [ 51.641006] kasan_save_alloc_info+0x40/0x58 [ 51.641605] __kasan_kmalloc+0xd4/0xd8 [ 51.642093] __kmalloc_cache_noprof+0x15c/0x3c0 [ 51.642858] kasan_bitops_generic+0xa0/0x1c8 [ 51.643441] kunit_try_run_case+0x14c/0x3d0 [ 51.644095] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.644801] kthread+0x24c/0x2d0 [ 51.645341] ret_from_fork+0x10/0x20 [ 51.645876] [ 51.646161] The buggy address belongs to the object at fff00000c5f55320 [ 51.646161] which belongs to the cache kmalloc-16 of size 16 [ 51.647642] The buggy address is located 8 bytes inside of [ 51.647642] allocated 9-byte region [fff00000c5f55320, fff00000c5f55329) [ 51.648948] [ 51.649247] The buggy address belongs to the physical page: [ 51.650024] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f55 [ 51.650938] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.651858] page_type: f5(slab) [ 51.652288] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 51.653273] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 51.654213] page dumped because: kasan: bad access detected [ 51.654895] [ 51.655189] Memory state around the buggy address: [ 51.655782] fff00000c5f55200: 00 05 fc fc fa fb fc fc 00 02 fc fc fa fb fc fc [ 51.656584] fff00000c5f55280: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 51.657465] >fff00000c5f55300: fa fb fc fc 00 01 fc fc fc fc fc fc fc fc fc fc [ 51.658430] ^ [ 51.658959] fff00000c5f55380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.659878] fff00000c5f55400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.660839] ================================================================== [ 51.940036] ================================================================== [ 51.940698] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0xa8c/0xbc8 [ 51.942068] Read of size 8 at addr fff00000c5f55328 by task kunit_try_catch/250 [ 51.942990] [ 51.943421] CPU: 0 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 51.944728] Tainted: [B]=BAD_PAGE, [N]=TEST [ 51.945012] Hardware name: linux,dummy-virt (DT) [ 51.945781] Call trace: [ 51.946214] show_stack+0x20/0x38 (C) [ 51.946954] dump_stack_lvl+0x8c/0xd0 [ 51.947681] print_report+0x118/0x5e0 [ 51.948323] kasan_report+0xc8/0x118 [ 51.949009] __asan_report_load8_noabort+0x20/0x30 [ 51.949783] kasan_bitops_test_and_modify.constprop.0+0xa8c/0xbc8 [ 51.950711] kasan_bitops_generic+0x11c/0x1c8 [ 51.951461] kunit_try_run_case+0x14c/0x3d0 [ 51.952148] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.952920] kthread+0x24c/0x2d0 [ 51.953594] ret_from_fork+0x10/0x20 [ 51.954275] [ 51.954646] Allocated by task 250: [ 51.955222] kasan_save_stack+0x3c/0x68 [ 51.955927] kasan_save_track+0x20/0x40 [ 51.956482] kasan_save_alloc_info+0x40/0x58 [ 51.956887] __kasan_kmalloc+0xd4/0xd8 [ 51.957279] __kmalloc_cache_noprof+0x15c/0x3c0 [ 51.957940] kasan_bitops_generic+0xa0/0x1c8 [ 51.958381] kunit_try_run_case+0x14c/0x3d0 [ 51.958798] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.959267] kthread+0x24c/0x2d0 [ 51.960430] ret_from_fork+0x10/0x20 [ 51.961159] [ 51.961714] The buggy address belongs to the object at fff00000c5f55320 [ 51.961714] which belongs to the cache kmalloc-16 of size 16 [ 51.963353] The buggy address is located 8 bytes inside of [ 51.963353] allocated 9-byte region [fff00000c5f55320, fff00000c5f55329) [ 51.964926] [ 51.965348] The buggy address belongs to the physical page: [ 51.966178] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f55 [ 51.967341] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.968272] page_type: f5(slab) [ 51.968811] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 51.969794] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 51.970749] page dumped because: kasan: bad access detected [ 51.971514] [ 51.971839] Memory state around the buggy address: [ 51.972497] fff00000c5f55200: 00 05 fc fc fa fb fc fc 00 02 fc fc fa fb fc fc [ 51.973557] fff00000c5f55280: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 51.974563] >fff00000c5f55300: fa fb fc fc 00 01 fc fc fc fc fc fc fc fc fc fc [ 51.975507] ^ [ 51.976196] fff00000c5f55380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.977087] fff00000c5f55400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.977972] ==================================================================
[ 29.387549] ================================================================== [ 29.388267] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x4ba/0xd90 [ 29.390171] Write of size 8 at addr ffff888102699d88 by task kunit_try_catch/269 [ 29.391064] [ 29.391234] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 29.392752] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.393203] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.394766] Call Trace: [ 29.395730] <TASK> [ 29.396031] dump_stack_lvl+0x73/0xb0 [ 29.396770] print_report+0xd1/0x640 [ 29.397384] ? __virt_addr_valid+0x1db/0x2d0 [ 29.398216] ? kasan_complete_mode_report_info+0x2a/0x200 [ 29.399115] kasan_report+0x102/0x140 [ 29.399655] ? kasan_bitops_test_and_modify.constprop.0+0x4ba/0xd90 [ 29.400737] ? kasan_bitops_test_and_modify.constprop.0+0x4ba/0xd90 [ 29.401571] kasan_check_range+0x10c/0x1c0 [ 29.402019] __kasan_check_write+0x18/0x20 [ 29.402957] kasan_bitops_test_and_modify.constprop.0+0x4ba/0xd90 [ 29.403914] ? __pfx_kasan_bitops_test_and_modify.constprop.0+0x10/0x10 [ 29.404919] ? __kmalloc_cache_noprof+0x184/0x410 [ 29.405593] ? kasan_bitops_generic+0x93/0x1c0 [ 29.406448] kasan_bitops_generic+0x122/0x1c0 [ 29.406870] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.408076] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.408825] kunit_try_run_case+0x1b3/0x490 [ 29.409601] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.410480] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 29.411585] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.412445] ? __kthread_parkme+0x82/0x160 [ 29.412724] ? preempt_count_sub+0x50/0x80 [ 29.413213] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.413605] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.414275] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.415247] kthread+0x257/0x310 [ 29.415640] ? __pfx_kthread+0x10/0x10 [ 29.416202] ret_from_fork+0x41/0x80 [ 29.416506] ? __pfx_kthread+0x10/0x10 [ 29.417051] ret_from_fork_asm+0x1a/0x30 [ 29.417556] </TASK> [ 29.417813] [ 29.418164] Allocated by task 269: [ 29.418479] kasan_save_stack+0x3d/0x60 [ 29.418863] kasan_save_track+0x18/0x40 [ 29.419221] kasan_save_alloc_info+0x3b/0x50 [ 29.419824] __kasan_kmalloc+0xb7/0xc0 [ 29.420454] __kmalloc_cache_noprof+0x184/0x410 [ 29.420905] kasan_bitops_generic+0x93/0x1c0 [ 29.421362] kunit_try_run_case+0x1b3/0x490 [ 29.421819] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.422387] kthread+0x257/0x310 [ 29.423060] ret_from_fork+0x41/0x80 [ 29.423332] ret_from_fork_asm+0x1a/0x30 [ 29.424164] [ 29.424368] The buggy address belongs to the object at ffff888102699d80 [ 29.424368] which belongs to the cache kmalloc-16 of size 16 [ 29.425290] The buggy address is located 8 bytes inside of [ 29.425290] allocated 9-byte region [ffff888102699d80, ffff888102699d89) [ 29.426289] [ 29.426661] The buggy address belongs to the physical page: [ 29.427065] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102699 [ 29.428095] flags: 0x200000000000000(node=0|zone=2) [ 29.428439] page_type: f5(slab) [ 29.429115] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 29.429547] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 29.430799] page dumped because: kasan: bad access detected [ 29.431375] [ 29.431607] Memory state around the buggy address: [ 29.431910] ffff888102699c80: fa fb fc fc fa fb fc fc 00 05 fc fc 00 04 fc fc [ 29.433098] ffff888102699d00: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 29.433543] >ffff888102699d80: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.434168] ^ [ 29.434559] ffff888102699e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.435316] ffff888102699e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.436407] ================================================================== [ 29.488404] ================================================================== [ 29.489443] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0xd08/0xd90 [ 29.491099] Read of size 8 at addr ffff888102699d88 by task kunit_try_catch/269 [ 29.491834] [ 29.492114] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 29.493498] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.493945] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.495336] Call Trace: [ 29.495560] <TASK> [ 29.495756] dump_stack_lvl+0x73/0xb0 [ 29.496593] print_report+0xd1/0x640 [ 29.497097] ? __virt_addr_valid+0x1db/0x2d0 [ 29.497518] ? kasan_complete_mode_report_info+0x2a/0x200 [ 29.498747] kasan_report+0x102/0x140 [ 29.499637] ? kasan_bitops_test_and_modify.constprop.0+0xd08/0xd90 [ 29.500759] ? kasan_bitops_test_and_modify.constprop.0+0xd08/0xd90 [ 29.501656] __asan_report_load8_noabort+0x18/0x20 [ 29.502382] kasan_bitops_test_and_modify.constprop.0+0xd08/0xd90 [ 29.503105] ? __pfx_kasan_bitops_test_and_modify.constprop.0+0x10/0x10 [ 29.503790] ? __kmalloc_cache_noprof+0x184/0x410 [ 29.504280] ? kasan_bitops_generic+0x93/0x1c0 [ 29.505095] kasan_bitops_generic+0x122/0x1c0 [ 29.505590] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.506244] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.507173] kunit_try_run_case+0x1b3/0x490 [ 29.507639] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.508371] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 29.508860] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.509548] ? __kthread_parkme+0x82/0x160 [ 29.509966] ? preempt_count_sub+0x50/0x80 [ 29.510926] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.511680] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.512393] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.513270] kthread+0x257/0x310 [ 29.513686] ? __pfx_kthread+0x10/0x10 [ 29.514057] ret_from_fork+0x41/0x80 [ 29.515004] ? __pfx_kthread+0x10/0x10 [ 29.515298] ret_from_fork_asm+0x1a/0x30 [ 29.516195] </TASK> [ 29.516419] [ 29.516743] Allocated by task 269: [ 29.517087] kasan_save_stack+0x3d/0x60 [ 29.517822] kasan_save_track+0x18/0x40 [ 29.518477] kasan_save_alloc_info+0x3b/0x50 [ 29.519437] __kasan_kmalloc+0xb7/0xc0 [ 29.519852] __kmalloc_cache_noprof+0x184/0x410 [ 29.520434] kasan_bitops_generic+0x93/0x1c0 [ 29.520778] kunit_try_run_case+0x1b3/0x490 [ 29.521350] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.522172] kthread+0x257/0x310 [ 29.522891] ret_from_fork+0x41/0x80 [ 29.523498] ret_from_fork_asm+0x1a/0x30 [ 29.523949] [ 29.524123] The buggy address belongs to the object at ffff888102699d80 [ 29.524123] which belongs to the cache kmalloc-16 of size 16 [ 29.525464] The buggy address is located 8 bytes inside of [ 29.525464] allocated 9-byte region [ffff888102699d80, ffff888102699d89) [ 29.527465] [ 29.527773] The buggy address belongs to the physical page: [ 29.528328] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102699 [ 29.529411] flags: 0x200000000000000(node=0|zone=2) [ 29.529971] page_type: f5(slab) [ 29.530324] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 29.531278] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 29.532634] page dumped because: kasan: bad access detected [ 29.533056] [ 29.533516] Memory state around the buggy address: [ 29.534080] ffff888102699c80: fa fb fc fc fa fb fc fc 00 05 fc fc 00 04 fc fc [ 29.534873] ffff888102699d00: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 29.535638] >ffff888102699d80: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.536572] ^ [ 29.536870] ffff888102699e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.538018] ffff888102699e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.539132] ================================================================== [ 29.114111] ================================================================== [ 29.114838] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x1a1/0xd90 [ 29.115894] Write of size 8 at addr ffff888102699d88 by task kunit_try_catch/269 [ 29.116655] [ 29.116905] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 29.118393] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.118820] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.119651] Call Trace: [ 29.120307] <TASK> [ 29.120772] dump_stack_lvl+0x73/0xb0 [ 29.121502] print_report+0xd1/0x640 [ 29.121852] ? __virt_addr_valid+0x1db/0x2d0 [ 29.122427] ? kasan_complete_mode_report_info+0x2a/0x200 [ 29.123043] kasan_report+0x102/0x140 [ 29.123329] ? kasan_bitops_test_and_modify.constprop.0+0x1a1/0xd90 [ 29.124226] ? kasan_bitops_test_and_modify.constprop.0+0x1a1/0xd90 [ 29.125400] kasan_check_range+0x10c/0x1c0 [ 29.125916] __kasan_check_write+0x18/0x20 [ 29.126336] kasan_bitops_test_and_modify.constprop.0+0x1a1/0xd90 [ 29.127314] ? __pfx_kasan_bitops_test_and_modify.constprop.0+0x10/0x10 [ 29.128263] ? __kmalloc_cache_noprof+0x184/0x410 [ 29.128733] ? kasan_bitops_generic+0x93/0x1c0 [ 29.129271] kasan_bitops_generic+0x122/0x1c0 [ 29.129818] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.130516] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.131025] kunit_try_run_case+0x1b3/0x490 [ 29.131481] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.132033] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 29.132810] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.133420] ? __kthread_parkme+0x82/0x160 [ 29.133894] ? preempt_count_sub+0x50/0x80 [ 29.134454] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.135187] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.135639] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.136573] kthread+0x257/0x310 [ 29.136893] ? __pfx_kthread+0x10/0x10 [ 29.137201] ret_from_fork+0x41/0x80 [ 29.137853] ? __pfx_kthread+0x10/0x10 [ 29.138593] ret_from_fork_asm+0x1a/0x30 [ 29.139026] </TASK> [ 29.139403] [ 29.139627] Allocated by task 269: [ 29.140251] kasan_save_stack+0x3d/0x60 [ 29.140764] kasan_save_track+0x18/0x40 [ 29.141215] kasan_save_alloc_info+0x3b/0x50 [ 29.141717] __kasan_kmalloc+0xb7/0xc0 [ 29.142460] __kmalloc_cache_noprof+0x184/0x410 [ 29.142898] kasan_bitops_generic+0x93/0x1c0 [ 29.143560] kunit_try_run_case+0x1b3/0x490 [ 29.144188] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.145128] kthread+0x257/0x310 [ 29.145613] ret_from_fork+0x41/0x80 [ 29.145920] ret_from_fork_asm+0x1a/0x30 [ 29.146814] [ 29.147044] The buggy address belongs to the object at ffff888102699d80 [ 29.147044] which belongs to the cache kmalloc-16 of size 16 [ 29.148216] The buggy address is located 8 bytes inside of [ 29.148216] allocated 9-byte region [ffff888102699d80, ffff888102699d89) [ 29.150005] [ 29.150525] The buggy address belongs to the physical page: [ 29.150903] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102699 [ 29.151741] flags: 0x200000000000000(node=0|zone=2) [ 29.152725] page_type: f5(slab) [ 29.153222] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 29.154384] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 29.155238] page dumped because: kasan: bad access detected [ 29.155637] [ 29.155789] Memory state around the buggy address: [ 29.156404] ffff888102699c80: fa fb fc fc fa fb fc fc 00 05 fc fc 00 04 fc fc [ 29.157546] ffff888102699d00: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 29.158216] >ffff888102699d80: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.158638] ^ [ 29.159606] ffff888102699e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.160353] ffff888102699e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.161429] ================================================================== [ 29.218589] ================================================================== [ 29.219105] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x2de/0xd90 [ 29.219750] Write of size 8 at addr ffff888102699d88 by task kunit_try_catch/269 [ 29.221242] [ 29.221408] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 29.222759] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.223271] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.224090] Call Trace: [ 29.224324] <TASK> [ 29.224625] dump_stack_lvl+0x73/0xb0 [ 29.225105] print_report+0xd1/0x640 [ 29.226317] ? __virt_addr_valid+0x1db/0x2d0 [ 29.227500] ? kasan_complete_mode_report_info+0x2a/0x200 [ 29.228375] kasan_report+0x102/0x140 [ 29.229349] ? kasan_bitops_test_and_modify.constprop.0+0x2de/0xd90 [ 29.230030] ? kasan_bitops_test_and_modify.constprop.0+0x2de/0xd90 [ 29.230786] kasan_check_range+0x10c/0x1c0 [ 29.231526] __kasan_check_write+0x18/0x20 [ 29.232267] kasan_bitops_test_and_modify.constprop.0+0x2de/0xd90 [ 29.233027] ? __pfx_kasan_bitops_test_and_modify.constprop.0+0x10/0x10 [ 29.233843] ? __kmalloc_cache_noprof+0x184/0x410 [ 29.234852] ? kasan_bitops_generic+0x93/0x1c0 [ 29.235801] kasan_bitops_generic+0x122/0x1c0 [ 29.236403] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.236895] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.238084] kunit_try_run_case+0x1b3/0x490 [ 29.238618] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.239437] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 29.239929] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.240698] ? __kthread_parkme+0x82/0x160 [ 29.241375] ? preempt_count_sub+0x50/0x80 [ 29.241927] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.242842] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.243751] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.244484] kthread+0x257/0x310 [ 29.245060] ? __pfx_kthread+0x10/0x10 [ 29.245515] ret_from_fork+0x41/0x80 [ 29.246024] ? __pfx_kthread+0x10/0x10 [ 29.246501] ret_from_fork_asm+0x1a/0x30 [ 29.246891] </TASK> [ 29.247179] [ 29.247914] Allocated by task 269: [ 29.248181] kasan_save_stack+0x3d/0x60 [ 29.248845] kasan_save_track+0x18/0x40 [ 29.249795] kasan_save_alloc_info+0x3b/0x50 [ 29.250201] __kasan_kmalloc+0xb7/0xc0 [ 29.251131] __kmalloc_cache_noprof+0x184/0x410 [ 29.251485] kasan_bitops_generic+0x93/0x1c0 [ 29.252940] kunit_try_run_case+0x1b3/0x490 [ 29.253738] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.254593] kthread+0x257/0x310 [ 29.255029] ret_from_fork+0x41/0x80 [ 29.255669] ret_from_fork_asm+0x1a/0x30 [ 29.256053] [ 29.256418] The buggy address belongs to the object at ffff888102699d80 [ 29.256418] which belongs to the cache kmalloc-16 of size 16 [ 29.257790] The buggy address is located 8 bytes inside of [ 29.257790] allocated 9-byte region [ffff888102699d80, ffff888102699d89) [ 29.260063] [ 29.260516] The buggy address belongs to the physical page: [ 29.260865] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102699 [ 29.262678] flags: 0x200000000000000(node=0|zone=2) [ 29.263402] page_type: f5(slab) [ 29.263777] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 29.264543] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 29.265538] page dumped because: kasan: bad access detected [ 29.265904] [ 29.266206] Memory state around the buggy address: [ 29.267324] ffff888102699c80: fa fb fc fc fa fb fc fc 00 05 fc fc 00 04 fc fc [ 29.268037] ffff888102699d00: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 29.269379] >ffff888102699d80: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.270069] ^ [ 29.270895] ffff888102699e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.271468] ffff888102699e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.272865] ================================================================== [ 29.162101] ================================================================== [ 29.163654] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x23f/0xd90 [ 29.165135] Write of size 8 at addr ffff888102699d88 by task kunit_try_catch/269 [ 29.166279] [ 29.166508] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 29.168346] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.168592] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.169340] Call Trace: [ 29.169777] <TASK> [ 29.170437] dump_stack_lvl+0x73/0xb0 [ 29.171311] print_report+0xd1/0x640 [ 29.171739] ? __virt_addr_valid+0x1db/0x2d0 [ 29.172686] ? kasan_complete_mode_report_info+0x2a/0x200 [ 29.173589] kasan_report+0x102/0x140 [ 29.173915] ? kasan_bitops_test_and_modify.constprop.0+0x23f/0xd90 [ 29.175251] ? kasan_bitops_test_and_modify.constprop.0+0x23f/0xd90 [ 29.175856] kasan_check_range+0x10c/0x1c0 [ 29.176902] __kasan_check_write+0x18/0x20 [ 29.177506] kasan_bitops_test_and_modify.constprop.0+0x23f/0xd90 [ 29.178469] ? __pfx_kasan_bitops_test_and_modify.constprop.0+0x10/0x10 [ 29.179274] ? __kmalloc_cache_noprof+0x184/0x410 [ 29.179931] ? kasan_bitops_generic+0x93/0x1c0 [ 29.180558] kasan_bitops_generic+0x122/0x1c0 [ 29.181695] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.182476] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.182945] kunit_try_run_case+0x1b3/0x490 [ 29.183912] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.184554] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 29.185774] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.186700] ? __kthread_parkme+0x82/0x160 [ 29.187151] ? preempt_count_sub+0x50/0x80 [ 29.187608] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.188511] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.189000] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.189881] kthread+0x257/0x310 [ 29.190655] ? __pfx_kthread+0x10/0x10 [ 29.190919] ret_from_fork+0x41/0x80 [ 29.191765] ? __pfx_kthread+0x10/0x10 [ 29.192481] ret_from_fork_asm+0x1a/0x30 [ 29.193291] </TASK> [ 29.193421] [ 29.193514] Allocated by task 269: [ 29.193667] kasan_save_stack+0x3d/0x60 [ 29.193847] kasan_save_track+0x18/0x40 [ 29.194197] kasan_save_alloc_info+0x3b/0x50 [ 29.194871] __kasan_kmalloc+0xb7/0xc0 [ 29.195588] __kmalloc_cache_noprof+0x184/0x410 [ 29.196606] kasan_bitops_generic+0x93/0x1c0 [ 29.197356] kunit_try_run_case+0x1b3/0x490 [ 29.197867] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.198641] kthread+0x257/0x310 [ 29.199569] ret_from_fork+0x41/0x80 [ 29.200185] ret_from_fork_asm+0x1a/0x30 [ 29.200681] [ 29.200872] The buggy address belongs to the object at ffff888102699d80 [ 29.200872] which belongs to the cache kmalloc-16 of size 16 [ 29.202848] The buggy address is located 8 bytes inside of [ 29.202848] allocated 9-byte region [ffff888102699d80, ffff888102699d89) [ 29.204732] [ 29.205291] The buggy address belongs to the physical page: [ 29.206421] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102699 [ 29.207420] flags: 0x200000000000000(node=0|zone=2) [ 29.208362] page_type: f5(slab) [ 29.208687] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 29.209769] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 29.210870] page dumped because: kasan: bad access detected [ 29.211381] [ 29.211578] Memory state around the buggy address: [ 29.212016] ffff888102699c80: fa fb fc fc fa fb fc fc 00 05 fc fc 00 04 fc fc [ 29.212665] ffff888102699d00: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 29.213926] >ffff888102699d80: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.214652] ^ [ 29.214814] ffff888102699e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.215707] ffff888102699e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.216975] ================================================================== [ 29.330097] ================================================================== [ 29.330892] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x41b/0xd90 [ 29.333254] Write of size 8 at addr ffff888102699d88 by task kunit_try_catch/269 [ 29.333826] [ 29.334045] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 29.334857] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.335727] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.337205] Call Trace: [ 29.337490] <TASK> [ 29.337738] dump_stack_lvl+0x73/0xb0 [ 29.339038] print_report+0xd1/0x640 [ 29.339710] ? __virt_addr_valid+0x1db/0x2d0 [ 29.340666] ? kasan_complete_mode_report_info+0x2a/0x200 [ 29.341329] kasan_report+0x102/0x140 [ 29.342312] ? kasan_bitops_test_and_modify.constprop.0+0x41b/0xd90 [ 29.343545] ? kasan_bitops_test_and_modify.constprop.0+0x41b/0xd90 [ 29.344196] kasan_check_range+0x10c/0x1c0 [ 29.345434] __kasan_check_write+0x18/0x20 [ 29.345861] kasan_bitops_test_and_modify.constprop.0+0x41b/0xd90 [ 29.346863] ? __pfx_kasan_bitops_test_and_modify.constprop.0+0x10/0x10 [ 29.347545] ? __kmalloc_cache_noprof+0x184/0x410 [ 29.348466] ? kasan_bitops_generic+0x93/0x1c0 [ 29.349223] kasan_bitops_generic+0x122/0x1c0 [ 29.349807] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.350547] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.351059] kunit_try_run_case+0x1b3/0x490 [ 29.351464] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.351919] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 29.353069] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.353967] ? __kthread_parkme+0x82/0x160 [ 29.354822] ? preempt_count_sub+0x50/0x80 [ 29.355277] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.356111] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.357100] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.357824] kthread+0x257/0x310 [ 29.358214] ? __pfx_kthread+0x10/0x10 [ 29.359337] ret_from_fork+0x41/0x80 [ 29.360027] ? __pfx_kthread+0x10/0x10 [ 29.360388] ret_from_fork_asm+0x1a/0x30 [ 29.361058] </TASK> [ 29.361400] [ 29.362164] Allocated by task 269: [ 29.362597] kasan_save_stack+0x3d/0x60 [ 29.363442] kasan_save_track+0x18/0x40 [ 29.364377] kasan_save_alloc_info+0x3b/0x50 [ 29.364588] __kasan_kmalloc+0xb7/0xc0 [ 29.364762] __kmalloc_cache_noprof+0x184/0x410 [ 29.365130] kasan_bitops_generic+0x93/0x1c0 [ 29.366111] kunit_try_run_case+0x1b3/0x490 [ 29.367062] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.367880] kthread+0x257/0x310 [ 29.368846] ret_from_fork+0x41/0x80 [ 29.369332] ret_from_fork_asm+0x1a/0x30 [ 29.370125] [ 29.370390] The buggy address belongs to the object at ffff888102699d80 [ 29.370390] which belongs to the cache kmalloc-16 of size 16 [ 29.371251] The buggy address is located 8 bytes inside of [ 29.371251] allocated 9-byte region [ffff888102699d80, ffff888102699d89) [ 29.373106] [ 29.373606] The buggy address belongs to the physical page: [ 29.374020] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102699 [ 29.375239] flags: 0x200000000000000(node=0|zone=2) [ 29.375896] page_type: f5(slab) [ 29.376859] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 29.378198] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 29.379038] page dumped because: kasan: bad access detected [ 29.379822] [ 29.380287] Memory state around the buggy address: [ 29.380764] ffff888102699c80: fa fb fc fc fa fb fc fc 00 05 fc fc 00 04 fc fc [ 29.382274] ffff888102699d00: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 29.382784] >ffff888102699d80: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.384087] ^ [ 29.384656] ffff888102699e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.386041] ffff888102699e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.386805] ================================================================== [ 29.062179] ================================================================== [ 29.062602] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x102/0xd90 [ 29.065270] Write of size 8 at addr ffff888102699d88 by task kunit_try_catch/269 [ 29.066072] [ 29.066440] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 29.067637] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.068237] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.069310] Call Trace: [ 29.069621] <TASK> [ 29.070258] dump_stack_lvl+0x73/0xb0 [ 29.070558] print_report+0xd1/0x640 [ 29.071007] ? __virt_addr_valid+0x1db/0x2d0 [ 29.071877] ? kasan_complete_mode_report_info+0x2a/0x200 [ 29.073224] kasan_report+0x102/0x140 [ 29.073580] ? kasan_bitops_test_and_modify.constprop.0+0x102/0xd90 [ 29.074465] ? kasan_bitops_test_and_modify.constprop.0+0x102/0xd90 [ 29.075025] kasan_check_range+0x10c/0x1c0 [ 29.075777] __kasan_check_write+0x18/0x20 [ 29.076664] kasan_bitops_test_and_modify.constprop.0+0x102/0xd90 [ 29.077487] ? __pfx_kasan_bitops_test_and_modify.constprop.0+0x10/0x10 [ 29.078333] ? __kmalloc_cache_noprof+0x184/0x410 [ 29.078793] ? kasan_bitops_generic+0x93/0x1c0 [ 29.079641] kasan_bitops_generic+0x122/0x1c0 [ 29.080738] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.081303] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.081775] kunit_try_run_case+0x1b3/0x490 [ 29.082809] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.083456] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 29.084313] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.085093] ? __kthread_parkme+0x82/0x160 [ 29.085639] ? preempt_count_sub+0x50/0x80 [ 29.086479] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.087019] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.087481] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.088139] kthread+0x257/0x310 [ 29.088494] ? __pfx_kthread+0x10/0x10 [ 29.088786] ret_from_fork+0x41/0x80 [ 29.089641] ? __pfx_kthread+0x10/0x10 [ 29.090389] ret_from_fork_asm+0x1a/0x30 [ 29.091150] </TASK> [ 29.091568] [ 29.091838] Allocated by task 269: [ 29.092687] kasan_save_stack+0x3d/0x60 [ 29.093362] kasan_save_track+0x18/0x40 [ 29.093810] kasan_save_alloc_info+0x3b/0x50 [ 29.094540] __kasan_kmalloc+0xb7/0xc0 [ 29.095261] __kmalloc_cache_noprof+0x184/0x410 [ 29.095755] kasan_bitops_generic+0x93/0x1c0 [ 29.096488] kunit_try_run_case+0x1b3/0x490 [ 29.096969] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.097748] kthread+0x257/0x310 [ 29.098503] ret_from_fork+0x41/0x80 [ 29.099183] ret_from_fork_asm+0x1a/0x30 [ 29.099642] [ 29.099835] The buggy address belongs to the object at ffff888102699d80 [ 29.099835] which belongs to the cache kmalloc-16 of size 16 [ 29.101181] The buggy address is located 8 bytes inside of [ 29.101181] allocated 9-byte region [ffff888102699d80, ffff888102699d89) [ 29.101953] [ 29.102218] The buggy address belongs to the physical page: [ 29.103209] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102699 [ 29.103758] flags: 0x200000000000000(node=0|zone=2) [ 29.104259] page_type: f5(slab) [ 29.104948] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 29.106078] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 29.106890] page dumped because: kasan: bad access detected [ 29.107601] [ 29.107881] Memory state around the buggy address: [ 29.108337] ffff888102699c80: fa fb fc fc fa fb fc fc 00 05 fc fc 00 04 fc fc [ 29.109335] ffff888102699d00: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 29.110546] >ffff888102699d80: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.111283] ^ [ 29.111593] ffff888102699e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.112500] ffff888102699e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.113344] ================================================================== [ 29.437105] ================================================================== [ 29.437889] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x558/0xd90 [ 29.438559] Read of size 8 at addr ffff888102699d88 by task kunit_try_catch/269 [ 29.439666] [ 29.439865] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 29.441572] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.443532] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.444405] Call Trace: [ 29.444609] <TASK> [ 29.445545] dump_stack_lvl+0x73/0xb0 [ 29.445957] print_report+0xd1/0x640 [ 29.446435] ? __virt_addr_valid+0x1db/0x2d0 [ 29.446844] ? kasan_complete_mode_report_info+0x2a/0x200 [ 29.447525] kasan_report+0x102/0x140 [ 29.447899] ? kasan_bitops_test_and_modify.constprop.0+0x558/0xd90 [ 29.448598] ? kasan_bitops_test_and_modify.constprop.0+0x558/0xd90 [ 29.449121] kasan_check_range+0x10c/0x1c0 [ 29.449932] __kasan_check_read+0x15/0x20 [ 29.450371] kasan_bitops_test_and_modify.constprop.0+0x558/0xd90 [ 29.451034] ? __pfx_kasan_bitops_test_and_modify.constprop.0+0x10/0x10 [ 29.451575] ? __kmalloc_cache_noprof+0x184/0x410 [ 29.452318] ? kasan_bitops_generic+0x93/0x1c0 [ 29.452701] kasan_bitops_generic+0x122/0x1c0 [ 29.453300] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.453941] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.454655] kunit_try_run_case+0x1b3/0x490 [ 29.455270] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.455607] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 29.456236] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.456751] ? __kthread_parkme+0x82/0x160 [ 29.457304] ? preempt_count_sub+0x50/0x80 [ 29.457609] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.458171] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.458609] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.459789] kthread+0x257/0x310 [ 29.460098] ? __pfx_kthread+0x10/0x10 [ 29.460782] ret_from_fork+0x41/0x80 [ 29.461230] ? __pfx_kthread+0x10/0x10 [ 29.461583] ret_from_fork_asm+0x1a/0x30 [ 29.461930] </TASK> [ 29.462262] [ 29.462773] Allocated by task 269: [ 29.463308] kasan_save_stack+0x3d/0x60 [ 29.463734] kasan_save_track+0x18/0x40 [ 29.464288] kasan_save_alloc_info+0x3b/0x50 [ 29.464735] __kasan_kmalloc+0xb7/0xc0 [ 29.465061] __kmalloc_cache_noprof+0x184/0x410 [ 29.465364] kasan_bitops_generic+0x93/0x1c0 [ 29.465913] kunit_try_run_case+0x1b3/0x490 [ 29.467074] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.467528] kthread+0x257/0x310 [ 29.467777] ret_from_fork+0x41/0x80 [ 29.468429] ret_from_fork_asm+0x1a/0x30 [ 29.468900] [ 29.469190] The buggy address belongs to the object at ffff888102699d80 [ 29.469190] which belongs to the cache kmalloc-16 of size 16 [ 29.469961] The buggy address is located 8 bytes inside of [ 29.469961] allocated 9-byte region [ffff888102699d80, ffff888102699d89) [ 29.471603] [ 29.471784] The buggy address belongs to the physical page: [ 29.472283] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102699 [ 29.473477] flags: 0x200000000000000(node=0|zone=2) [ 29.474113] page_type: f5(slab) [ 29.474570] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 29.476844] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 29.478747] page dumped because: kasan: bad access detected [ 29.479421] [ 29.479660] Memory state around the buggy address: [ 29.481125] ffff888102699c80: fa fb fc fc fa fb fc fc 00 05 fc fc 00 04 fc fc [ 29.481687] ffff888102699d00: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 29.482737] >ffff888102699d80: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.484430] ^ [ 29.484673] ffff888102699e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.485972] ffff888102699e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.487597] ================================================================== [ 29.274577] ================================================================== [ 29.275650] BUG: KASAN: slab-out-of-bounds in kasan_bitops_test_and_modify.constprop.0+0x37d/0xd90 [ 29.276585] Write of size 8 at addr ffff888102699d88 by task kunit_try_catch/269 [ 29.277911] [ 29.278224] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241127 #1 [ 29.280498] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.280860] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.281792] Call Trace: [ 29.282243] <TASK> [ 29.282488] dump_stack_lvl+0x73/0xb0 [ 29.283342] print_report+0xd1/0x640 [ 29.283861] ? __virt_addr_valid+0x1db/0x2d0 [ 29.284469] ? kasan_complete_mode_report_info+0x2a/0x200 [ 29.284958] kasan_report+0x102/0x140 [ 29.285834] ? kasan_bitops_test_and_modify.constprop.0+0x37d/0xd90 [ 29.287077] ? kasan_bitops_test_and_modify.constprop.0+0x37d/0xd90 [ 29.287832] kasan_check_range+0x10c/0x1c0 [ 29.288642] __kasan_check_write+0x18/0x20 [ 29.289613] kasan_bitops_test_and_modify.constprop.0+0x37d/0xd90 [ 29.290499] ? __pfx_kasan_bitops_test_and_modify.constprop.0+0x10/0x10 [ 29.290966] ? __kmalloc_cache_noprof+0x184/0x410 [ 29.291457] ? kasan_bitops_generic+0x93/0x1c0 [ 29.291916] kasan_bitops_generic+0x122/0x1c0 [ 29.292363] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.292847] ? __pfx_kasan_bitops_generic+0x10/0x10 [ 29.293672] kunit_try_run_case+0x1b3/0x490 [ 29.294412] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.295276] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 29.295882] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.296449] ? __kthread_parkme+0x82/0x160 [ 29.296867] ? preempt_count_sub+0x50/0x80 [ 29.297670] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.298291] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.299125] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.299861] kthread+0x257/0x310 [ 29.300527] ? __pfx_kthread+0x10/0x10 [ 29.300976] ret_from_fork+0x41/0x80 [ 29.301345] ? __pfx_kthread+0x10/0x10 [ 29.301773] ret_from_fork_asm+0x1a/0x30 [ 29.302742] </TASK> [ 29.303340] [ 29.303698] Allocated by task 269: [ 29.304313] kasan_save_stack+0x3d/0x60 [ 29.305077] kasan_save_track+0x18/0x40 [ 29.305558] kasan_save_alloc_info+0x3b/0x50 [ 29.306374] __kasan_kmalloc+0xb7/0xc0 [ 29.307053] __kmalloc_cache_noprof+0x184/0x410 [ 29.307639] kasan_bitops_generic+0x93/0x1c0 [ 29.308422] kunit_try_run_case+0x1b3/0x490 [ 29.308851] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.309684] kthread+0x257/0x310 [ 29.310388] ret_from_fork+0x41/0x80 [ 29.310963] ret_from_fork_asm+0x1a/0x30 [ 29.311682] [ 29.311864] The buggy address belongs to the object at ffff888102699d80 [ 29.311864] which belongs to the cache kmalloc-16 of size 16 [ 29.313464] The buggy address is located 8 bytes inside of [ 29.313464] allocated 9-byte region [ffff888102699d80, ffff888102699d89) [ 29.313918] [ 29.314785] The buggy address belongs to the physical page: [ 29.316039] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102699 [ 29.317257] flags: 0x200000000000000(node=0|zone=2) [ 29.317855] page_type: f5(slab) [ 29.319001] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 29.319907] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 29.320955] page dumped because: kasan: bad access detected [ 29.321906] [ 29.322081] Memory state around the buggy address: [ 29.323184] ffff888102699c80: fa fb fc fc fa fb fc fc 00 05 fc fc 00 04 fc fc [ 29.324003] ffff888102699d00: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 29.325073] >ffff888102699d80: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.325829] ^ [ 29.326385] ffff888102699e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.327440] ffff888102699e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.328726] ==================================================================