================================================================== BUG: KASAN: slab-out-of-bounds in cleancache_fs_enabled_mapping include/linux/cleancache.h:56 [inline] BUG: KASAN: slab-out-of-bounds in cleancache_invalidate_page include/linux/cleancache.h:110 [inline] BUG: KASAN: slab-out-of-bounds in unaccount_page_cache_page+0x6f2/0x760 mm/filemap.c:172 Read of size 4 at addr ffff888114415470 by task kswapd0/46 CPU: 0 PID: 46 Comm: kswapd0 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:427 [inline] kasan_report+0xf1/0x140 mm/kasan/report.c:444 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 cleancache_fs_enabled_mapping include/linux/cleancache.h:56 [inline] cleancache_invalidate_page include/linux/cleancache.h:110 [inline] unaccount_page_cache_page+0x6f2/0x760 mm/filemap.c:172 __delete_from_page_cache+0xbe/0x420 mm/filemap.c:240 __remove_mapping+0x60b/0x930 mm/vmscan.c:1216 shrink_page_list+0x2778/0x5040 mm/vmscan.c:1824 shrink_inactive_list mm/vmscan.c:2331 [inline] shrink_list mm/vmscan.c:2576 [inline] shrink_lruvec+0x10f3/0x36a0 mm/vmscan.c:5793 shrink_node_memcgs mm/vmscan.c:5985 [inline] shrink_node+0x11e9/0x2a70 mm/vmscan.c:6015 kswapd_shrink_node mm/vmscan.c:6766 [inline] balance_pgdat+0xfba/0x2150 mm/vmscan.c:6956 kswapd+0x649/0xcf0 mm/vmscan.c:7215 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Allocated by task 30452: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] ____kasan_kmalloc mm/kasan/common.c:512 [inline] __kasan_kmalloc+0xda/0x110 mm/kasan/common.c:521 kasan_kmalloc include/linux/kasan.h:227 [inline] __kmalloc+0x13d/0x2c0 mm/slub.c:4436 kmalloc include/linux/slab.h:624 [inline] kernfs_file_read_iter fs/kernfs/file.c:195 [inline] kernfs_fop_read_iter+0x15d/0x470 fs/kernfs/file.c:242 call_read_iter include/linux/fs.h:2206 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0x68b/0xbe0 fs/read_write.c:485 ksys_read+0x140/0x240 fs/read_write.c:623 __do_sys_read fs/read_write.c:633 [inline] __se_sys_read fs/read_write.c:631 [inline] __x64_sys_read+0x7b/0x90 fs/read_write.c:631 x64_sys_call+0x96d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:1 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff888114414000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 1136 bytes to the right of 4096-byte region [ffff888114414000, ffff888114415000) The buggy address belongs to the page: page:ffffea0004510400 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888114414000 pfn:0x114410 head:ffffea0004510400 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 ffffea00047c5e08 ffffea0005a25208 ffff888100043380 raw: ffff888114414000 0000000000040002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 23944, ts 953247258390, free_ts 953239564671 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x192/0x1b0 mm/page_alloc.c:2605 prep_new_page+0x1c/0x110 mm/page_alloc.c:2611 get_page_from_freelist+0x2cc5/0x2d50 mm/page_alloc.c:4485 __alloc_pages+0x18f/0x440 mm/page_alloc.c:5808 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1937 [inline] new_slab+0xa1/0x4d0 mm/slub.c:2000 ___slab_alloc+0x381/0x810 mm/slub.c:3033 __slab_alloc+0x49/0x90 mm/slub.c:3120 slab_alloc_node mm/slub.c:3211 [inline] slab_alloc mm/slub.c:3255 [inline] kmem_cache_alloc_trace+0x146/0x270 mm/slub.c:3272 kmalloc include/linux/slab.h:619 [inline] kzalloc include/linux/slab.h:750 [inline] snmp6_alloc_dev net/ipv6/addrconf.c:361 [inline] ipv6_add_dev+0x5e5/0x1150 net/ipv6/addrconf.c:411 addrconf_notify+0x582/0xde0 net/ipv6/addrconf.c:3600 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0x90/0x100 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2057 [inline] call_netdevice_notifiers_extack net/core/dev.c:2069 [inline] call_netdevice_notifiers+0x111/0x190 net/core/dev.c:2083 register_netdevice+0x1039/0x13a0 net/core/dev.c:10436 veth_newlink+0x8ed/0xda0 drivers/net/veth.c:1714 __rtnl_newlink net/core/rtnetlink.c:3524 [inline] rtnl_newlink+0x112d/0x17b0 net/core/rtnetlink.c:3572 rtnetlink_rcv_msg+0x9e4/0xb90 net/core/rtnetlink.c:5650 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1472 [inline] free_pcp_prepare mm/page_alloc.c:1544 [inline] free_unref_page_prepare+0x542/0x550 mm/page_alloc.c:3534 free_unref_page+0xa2/0x550 mm/page_alloc.c:3616 free_the_page mm/page_alloc.c:805 [inline] __free_pages+0x6c/0x100 mm/page_alloc.c:5884 __free_slab+0xe8/0x1e0 mm/slub.c:2025 free_slab mm/slub.c:2040 [inline] discard_slab mm/slub.c:2046 [inline] __unfreeze_partials+0x160/0x190 mm/slub.c:2532 put_cpu_partial+0xc6/0x120 mm/slub.c:2612 __slab_free+0x1d4/0x290 mm/slub.c:3395 do_slab_free mm/slub.c:3514 [inline] ___cache_free+0x104/0x120 mm/slub.c:3535 qlink_free+0x4d/0x90 mm/kasan/quarantine.c:157 qlist_free_all+0x5f/0xb0 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x14a/0x170 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xf0 mm/kasan/common.c:443 kasan_slab_alloc include/linux/kasan.h:217 [inline] slab_post_alloc_hook+0x4f/0x2b0 mm/slab.h:550 slab_alloc_node mm/slub.c:3245 [inline] slab_alloc mm/slub.c:3255 [inline] kmem_cache_alloc_trace+0xfb/0x270 mm/slub.c:3272 kmalloc include/linux/slab.h:619 [inline] netdev_name_node_alloc net/core/dev.c:245 [inline] netdev_name_node_head_alloc net/core/dev.c:259 [inline] register_netdevice+0x26a/0x13a0 net/core/dev.c:10329 veth_newlink+0x8ed/0xda0 drivers/net/veth.c:1714 Memory state around the buggy address: ffff888114415300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888114415380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888114415400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888114415480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888114415500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================