================================================================== 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+0x9dc/0xac0 mm/filemap.c:175 Read of size 4 at addr ffff8881073b5470 by task syz.4.5472/11987 CPU: 0 PID: 11987 Comm: syz.4.5472 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:77 dump_stack_lvl+0x1a7/0x208 lib/dump_stack.c:118 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report+0x100/0x140 mm/kasan/report.c:452 __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+0x9dc/0xac0 mm/filemap.c:175 __delete_from_page_cache+0xc3/0x470 mm/filemap.c:243 __remove_mapping+0x581/0x6b0 mm/vmscan.c:985 shrink_page_list+0x21ee/0x4160 mm/vmscan.c:1498 shrink_inactive_list+0x90c/0xef0 mm/vmscan.c:2075 shrink_list mm/vmscan.c:2294 [inline] shrink_lruvec+0x2806/0x2d70 mm/vmscan.c:5473 shrink_node_memcgs mm/vmscan.c:5660 [inline] shrink_node+0xee0/0x2690 mm/vmscan.c:5690 shrink_zones mm/vmscan.c:5896 [inline] do_try_to_free_pages+0x602/0x1590 mm/vmscan.c:5954 try_to_free_mem_cgroup_pages+0x261/0x610 mm/vmscan.c:6272 mem_cgroup_resize_max+0x309/0x3e0 mm/memcontrol.c:3383 mem_cgroup_write+0x1ed/0x230 mm/memcontrol.c:-1 cgroup_file_write+0x294/0x560 kernel/cgroup/cgroup.c:3902 kernfs_fop_write_iter+0x2bd/0x400 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:2066 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x770/0xd70 fs/read_write.c:605 ksys_write+0x14a/0x260 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write fs/read_write.c:667 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:667 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f7ff371ee99 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7ff2178028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7ff39a6fa0 RCX: 00007f7ff371ee99 RDX: 0000000000000004 RSI: 0000200000000080 RDI: 0000000000000003 RBP: 00007f7ff37b4eaf R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7ff39a7038 R14: 00007f7ff39a6fa0 R15: 00007ffe243b2db8 Allocated by task 0: (stack is not available) The buggy address belongs to the object at ffff8881073b5000 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 112 bytes to the right of 1024-byte region [ffff8881073b5000, ffff8881073b5400) The buggy address belongs to the page: page:ffffea00041cec00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1073b0 head:ffffea00041cec00 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head) raw: 4000000000010200 0000000000000000 0000000100000001 ffff888100042f00 raw: 0000000000000000 0000000000100010 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 95, ts 203099347156, free_ts 203090476926 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x176/0x190 mm/page_alloc.c:2462 get_page_from_freelist+0x225f/0x23f0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x29a/0x640 mm/page_alloc.c:5384 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1813 [inline] new_slab+0x84/0x3f0 mm/slub.c:1874 new_slab_objects mm/slub.c:2632 [inline] ___slab_alloc+0x2f8/0x4c0 mm/slub.c:2796 __slab_alloc+0x63/0xa0 mm/slub.c:2836 slab_alloc_node mm/slub.c:2918 [inline] slab_alloc mm/slub.c:2960 [inline] __kmalloc_track_caller+0x1e4/0x310 mm/slub.c:4541 __kmalloc_reserve net/core/skbuff.c:144 [inline] __alloc_skb+0xdc/0x520 net/core/skbuff.c:212 alloc_skb include/linux/skbuff.h:1126 [inline] alloc_uevent_skb+0x85/0x240 lib/kobject_uevent.c:290 uevent_net_broadcast_untagged lib/kobject_uevent.c:326 [inline] kobject_uevent_net_broadcast+0x335/0x5a0 lib/kobject_uevent.c:409 kobject_uevent_env+0x52b/0x700 lib/kobject_uevent.c:608 kobject_synth_uevent+0x452/0x940 lib/kobject_uevent.c:208 uevent_store+0x25/0x60 drivers/base/core.c:2320 dev_attr_store+0x5e/0x80 drivers/base/core.c:2018 sysfs_kf_write+0x129/0x150 fs/sysfs/file.c:139 kernfs_fop_write_iter+0x2bd/0x400 fs/kernfs/file.c:296 page last free stack trace: reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1349 [inline] __free_pages_ok+0x80b/0x830 mm/page_alloc.c:1629 free_the_page mm/page_alloc.c:5445 [inline] __free_pages+0xd8/0x390 mm/page_alloc.c:5454 __free_slab+0xcf/0x190 mm/slub.c:1899 free_slab mm/slub.c:1914 [inline] discard_slab+0x29/0x40 mm/slub.c:1920 __slab_free+0x313/0x3a0 mm/slub.c:3136 do_slab_free mm/slub.c:3196 [inline] ___cache_free+0x10e/0x130 mm/slub.c:3215 qlink_free+0x50/0x90 mm/kasan/quarantine.c:157 qlist_free_all+0x5f/0xb0 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x14a/0x160 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xe0 mm/kasan/common.c:440 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook+0x5d/0x2f0 mm/slab.h:580 slab_alloc_node mm/slub.c:2952 [inline] slab_alloc mm/slub.c:2960 [inline] __kmalloc+0x17b/0x330 mm/slub.c:4034 __kmalloc_node include/linux/slab.h:421 [inline] kmalloc_node include/linux/slab.h:578 [inline] kvmalloc_node+0x88/0x130 mm/util.c:612 kvmalloc include/linux/mm.h:833 [inline] seq_buf_alloc fs/seq_file.c:38 [inline] seq_read_iter+0x1f1/0xce0 fs/seq_file.c:210 kernfs_fop_read_iter+0x146/0x460 fs/kernfs/file.c:241 call_read_iter include/linux/fs.h:2060 [inline] new_sync_read fs/read_write.c:415 [inline] vfs_read+0x62a/0xa50 fs/read_write.c:496 Memory state around the buggy address: ffff8881073b5300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881073b5380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881073b5400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8881073b5480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8881073b5500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================