==================================================================
BUG: KASAN: slab-out-of-bounds in md5_block+0x95/0x8d0 lib/crypto/md5.c:39
Read of size 64 at addr ffff888079f044e0 by task syz.1.2069/11904
CPU: 1 UID: 0 PID: 11904 Comm: syz.1.2069 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
check_region_inline mm/kasan/generic.c:186 [inline]
kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200
__asan_memcpy+0x23/0x60 mm/kasan/shadow.c:105
md5_block+0x95/0x8d0 lib/crypto/md5.c:39
md5_blocks lib/crypto/md5.c:125 [inline]
md5_update+0xf7/0x210 lib/crypto/md5.c:160
md5+0xc7/0x120 lib/crypto/md5.c:201
ecryptfs_write_tag_70_packet+0x880/0x1410 fs/ecryptfs/keystore.c:741
ecryptfs_encrypt_filename fs/ecryptfs/crypto.c:1378 [inline]
ecryptfs_encrypt_and_encode_filename+0x428/0xa60 fs/ecryptfs/crypto.c:1789
ecryptfs_lookup+0x1f7/0x830 fs/ecryptfs/inode.c:402
__lookup_slow+0x155/0x320 fs/namei.c:1925
lookup_slow+0x54/0x80 fs/namei.c:1942
walk_component fs/namei.c:2288 [inline]
lookup_last fs/namei.c:2795 [inline]
path_lookupat+0x5e8/0xc40 fs/namei.c:2819
do_o_path fs/namei.c:4987 [inline]
path_openat+0x16ed/0x23f0 fs/namei.c:5009
do_file_open+0x20e/0x430 fs/namei.c:5045
do_sys_openat2+0x163/0x1d0 fs/open.c:1443
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x12d/0x210 fs/open.c:1460
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27cc7a94d9
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:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f27cca25fa0 RCX: 00007f27cc7a94d9
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
RBP: 00007f27cc83804e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f27cca26038 R14: 00007f27cca25fa0 R15: 00007ffe8cd1d788
Allocated by task 6907:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5531 [inline]
__kmalloc_flags_noprof+0x370/0x8e0 mm/slub.c:5719
_kmalloc_flags_noprof mm/slab.h:55 [inline]
__alloc_empty_sheaf mm/slub.c:2854 [inline]
alloc_empty_sheaf mm/slub.c:2874 [inline]
__pcs_replace_empty_main+0x3fa/0x650 mm/slub.c:4806
alloc_from_pcs mm/slub.c:4887 [inline]
slab_alloc_node mm/slub.c:5021 [inline]
kmem_cache_alloc_noprof+0x4bf/0x6a0 mm/slub.c:5047
ecryptfs_init_fs_context+0x6b/0x200 fs/ecryptfs/main.c:617
alloc_fs_context+0x607/0xf40 fs/fs_context.c:295
do_new_mount fs/namespace.c:3966 [inline]
path_mount+0xf59/0x2850 fs/namespace.c:4337
do_mount fs/namespace.c:4350 [inline]
__do_sys_mount fs/namespace.c:4563 [inline]
__se_sys_mount fs/namespace.c:4540 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4540
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff888079f04400
which belongs to the cache kmalloc-256 of size 256
The buggy address is located 224 bytes inside of
allocated 256-byte region [ffff888079f04400, ffff888079f04500)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888079f04e00 pfn:0x79f04
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813ff0bb40 ffffea0000514590 ffffea0000deca10
raw: ffff888079f04e00 000000000010000e 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813ff0bb40 ffffea0000514590 ffffea0000deca10
head: ffff888079f04e00 000000000010000e 00000000f5000000 0000000000000000
head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5639, tgid 5639 (syz-executor), ts 101365106988
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3950
__alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5492
alloc_slab_page mm/slub.c:3384 [inline]
allocate_slab mm/slub.c:3499 [inline]
new_slab+0xb1/0x6d0 mm/slub.c:3550
refill_objects+0xe3/0x410 mm/slub.c:7539
refill_sheaf mm/slub.c:2917 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811
alloc_from_pcs mm/slub.c:4887 [inline]
slab_alloc_node mm/slub.c:5021 [inline]
__do_kmalloc_node mm/slub.c:5530 [inline]
__kmalloc_noprof+0x677/0x840 mm/slub.c:5556
_kmalloc_noprof include/linux/slab.h:995 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
fib_create_info+0x5bf/0x4640 net/ipv4/fib_semantics.c:1432
fib_table_insert+0x169/0x1c70 net/ipv4/fib_trie.c:1213
fib_magic+0x4d4/0x5c0 net/ipv4/fib_frontend.c:1147
fib_add_ifaddr+0x4ba/0x560 net/ipv4/fib_frontend.c:1191
fib_netdev_event+0x3d6/0x710 net/ipv4/fib_frontend.c:1529
notifier_call_chain+0x99/0x3f0 kernel/notifier.c:86
call_netdevice_notifiers_info+0xbe/0x110 net/core/dev.c:2313
call_netdevice_notifiers_extack net/core/dev.c:2351 [inline]
call_netdevice_notifiers net/core/dev.c:2365 [inline]
__dev_notify_flags+0x22c/0x4b0 net/core/dev.c:10063
netif_change_flags+0x108/0x160 net/core/dev.c:10092
page last free pid 5630 tgid 5630 ts 101361496562 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1402 [inline]
__free_frozen_pages+0x7b1/0x10f0 mm/page_alloc.c:2958
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:361
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__kmalloc_cache_noprof+0x278/0x6d0 mm/slub.c:5676
_kmalloc_noprof include/linux/slab.h:991 [inline]
netdevice_queue_work drivers/infiniband/core/roce_gid_mgmt.c:663 [inline]
netdevice_event+0x308/0x9a0 drivers/infiniband/core/roce_gid_mgmt.c:822
notifier_call_chain+0x99/0x3f0 kernel/notifier.c:86
call_netdevice_notifiers_info+0xbe/0x110 net/core/dev.c:2313
call_netdevice_notifiers_extack net/core/dev.c:2351 [inline]
call_netdevice_notifiers net/core/dev.c:2365 [inline]
__dev_notify_flags+0x22c/0x4b0 net/core/dev.c:10063
netif_change_flags+0x108/0x160 net/core/dev.c:10092
do_setlink.isra.0+0x1b9f/0x3f50 net/core/rtnetlink.c:3294
rtnl_changelink net/core/rtnetlink.c:3942 [inline]
__rtnl_newlink net/core/rtnetlink.c:4113 [inline]
rtnl_newlink+0x13c1/0x2620 net/core/rtnetlink.c:4252
rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:7169
netlink_rcv_skb+0x159/0x420 net/netlink/af_netlink.c:2585
netlink_unicast_kernel net/netlink/af_netlink.c:1336 [inline]
netlink_unicast+0x668/0x950 net/netlink/af_netlink.c:1362
netlink_sendmsg+0x9ac/0x10c0 net/netlink/af_netlink.c:1921
Memory state around the buggy address:
ffff888079f04400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff888079f04480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888079f04500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff888079f04580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888079f04600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
==================================================================
BUG: KASAN: slab-out-of-bounds in md5_block+0x95/0x8d0 lib/crypto/md5.c:39
Read of size 64 at addr ffff888079f04520 by task syz.1.2069/11904
CPU: 1 UID: 0 PID: 11904 Comm: syz.1.2069 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
check_region_inline mm/kasan/generic.c:186 [inline]
kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200
__asan_memcpy+0x23/0x60 mm/kasan/shadow.c:105
md5_block+0x95/0x8d0 lib/crypto/md5.c:39
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
netif_change_flags+0x108/0x160 net/core/dev.c:10092
head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3950
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:361
notifier_call_chain+0x99/0x3f0 kernel/notifier.c:86
call_netdevice_notifiers_info+0xbe/0x110 net/core/dev.c:2313
Read of size 64 at addr ffff888079f046e0 by task syz.1.2069/11904
md5_blocks lib/crypto/md5.c:125 [inline]
md5_update+0xf7/0x210 lib/crypto/md5.c:160
kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:361
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__kmalloc_cache_noprof+0x278/0x6d0 mm/slub.c:5676
_kmalloc_noprof include/linux/slab.h:991 [inline]
netdevice_queue_work drivers/infiniband/core/roce_gid_mgmt.c:663 [inline]
netdevice_event+0x308/0x9a0 drivers/infiniband/core/roce_gid_mgmt.c:822
md5_blocks lib/crypto/md5.c:125 [inline]
md5_update+0xf7/0x210 lib/crypto/md5.c:160
notifier_call_chain+0x99/0x3f0 kernel/notifier.c:86
do_setlink.isra.0+0x1b9f/0x3f50 net/core/rtnetlink.c:3294
netlink_unicast_kernel net/netlink/af_netlink.c:1336 [inline]
netlink_unicast+0x668/0x950 net/netlink/af_netlink.c:1362
netlink_sendmsg+0x9ac/0x10c0 net/netlink/af_netlink.c:1921
do_setlink.isra.0+0x1b9f/0x3f50 net/core/rtnetlink.c:3294
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
entry_SYSCALL_64_after_hwframe+0x77/0x7f
call_netdevice_notifiers_info+0xbe/0x110 net/core/dev.c:2313
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__kmalloc_cache_noprof+0x278/0x6d0 mm/slub.c:5676
_kmalloc_noprof include/linux/slab.h:991 [inline]
netdevice_queue_work drivers/infiniband/core/roce_gid_mgmt.c:663 [inline]
netdevice_event+0x308/0x9a0 drivers/infiniband/core/roce_gid_mgmt.c:822
call_netdevice_notifiers_extack net/core/dev.c:2351 [inline]
call_netdevice_notifiers net/core/dev.c:2365 [inline]
__dev_notify_flags+0x22c/0x4b0 net/core/dev.c:10063
netif_change_flags+0x108/0x160 net/core/dev.c:10092
do_setlink.isra.0+0x1b9f/0x3f50 net/core/rtnetlink.c:3294
rtnl_changelink net/core/rtnetlink.c:3942 [inline]
__rtnl_newlink net/core/rtnetlink.c:4113 [inline]
rtnl_newlink+0x13c1/0x2620 net/core/rtnetlink.c:4252
page_type: f5(slab)
notifier_call_chain+0x99/0x3f0 kernel/notifier.c:86
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__kmalloc_cache_noprof+0x278/0x6d0 mm/slub.c:5676
_kmalloc_noprof include/linux/slab.h:991 [inline]
netdevice_queue_work drivers/infiniband/core/roce_gid_mgmt.c:663 [inline]
netdevice_event+0x308/0x9a0 drivers/infiniband/core/roce_gid_mgmt.c:822
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:361
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:361
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
>ffff888079f04b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:361
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__kmalloc_cache_noprof+0x278/0x6d0 mm/slub.c:5676
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179
netlink_rcv_skb+0x159/0x420 net/netlink/af_netlink.c:2585
netlink_unicast_kernel net/netlink/af_netlink.c:1336 [inline]
netlink_unicast+0x668/0x950 net/netlink/af_netlink.c:1362
netlink_sendmsg+0x9ac/0x10c0 net/netlink/af_netlink.c:1921
==================================================================
Call Trace:
netif_change_flags+0x108/0x160 net/core/dev.c:10092
ecryptfs_write_tag_70_packet+0x880/0x1410 fs/ecryptfs/keystore.c:741
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__kmalloc_cache_noprof+0x278/0x6d0 mm/slub.c:5676
md5_blocks lib/crypto/md5.c:125 [inline]
md5_update+0xf7/0x210 lib/crypto/md5.c:160
md5+0xc7/0x120 lib/crypto/md5.c:201
==================================================================
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__kmalloc_cache_noprof+0x278/0x6d0 mm/slub.c:5676
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
netlink_unicast_kernel net/netlink/af_netlink.c:1336 [inline]
netlink_unicast+0x668/0x950 net/netlink/af_netlink.c:1362
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
==================================================================
page_type: f5(slab)
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RIP: 0033:0x7f27cc7a94d9
__lookup_slow+0x155/0x320 fs/namei.c:1925
kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
do_sys_openat2+0x163/0x1d0 fs/open.c:1443
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x12d/0x210 fs/open.c:1460
do_setlink.isra.0+0x1b9f/0x3f50 net/core/rtnetlink.c:3294
ecryptfs_lookup+0x1f7/0x830 fs/ecryptfs/inode.c:402
fib_table_insert+0x169/0x1c70 net/ipv4/fib_trie.c:1213
lookup_slow+0x54/0x80 fs/namei.c:1942
Memory state around the buggy address:
call_netdevice_notifiers_info+0xbe/0x110 net/core/dev.c:2313
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
Read of size 64 at addr ffff888079f054a0 by task syz.1.2069/11904
==================================================================
BUG: KASAN: slab-use-after-free in md5_block+0x95/0x8d0 lib/crypto/md5.c:39
ffff888079f05500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888079f05400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888079f05480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
page dumped because: kasan: bad access detected
_kmalloc_noprof include/linux/slab.h:991 [inline]
netdevice_queue_work drivers/infiniband/core/roce_gid_mgmt.c:663 [inline]
netdevice_event+0x308/0x9a0 drivers/infiniband/core/roce_gid_mgmt.c:822
md5_blocks lib/crypto/md5.c:125 [inline]
md5_update+0xf7/0x210 lib/crypto/md5.c:160
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1402 [inline]
__free_frozen_pages+0x7b1/0x10f0 mm/page_alloc.c:2958
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
netif_change_flags+0x108/0x160 net/core/dev.c:10092
call_netdevice_notifiers_extack net/core/dev.c:2351 [inline]
call_netdevice_notifiers net/core/dev.c:2365 [inline]
__dev_notify_flags+0x22c/0x4b0 net/core/dev.c:10063
fib_add_ifaddr+0x4ba/0x560 net/ipv4/fib_frontend.c:1191
fib_netdev_event+0x3d6/0x710 net/ipv4/fib_frontend.c:1529
alloc_from_pcs mm/slub.c:4887 [inline]
slab_alloc_node mm/slub.c:5021 [inline]
__do_kmalloc_node mm/slub.c:5530 [inline]
__kmalloc_noprof+0x677/0x840 mm/slub.c:5556
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
__alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5492
==================================================================
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3950
__alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5492
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
page dumped because: kasan: bad access detected
R13: 00007f27cca26038 R14: 00007f27cca25fa0 R15: 00007ffe8cd1d788
head: ffff888079f04e00 000000000010000e 00000000f5000000 0000000000000000
ecryptfs_encrypt_filename fs/ecryptfs/crypto.c:1378 [inline]
ecryptfs_encrypt_and_encode_filename+0x428/0xa60 fs/ecryptfs/crypto.c:1789
page_type: f5(slab)
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5531 [inline]
__kmalloc_noprof+0x32f/0x840 mm/slub.c:5556
The buggy address belongs to the physical page:
The buggy address is located 40 bytes to the right of
allocated 248-byte region [ffff888079f05a00, ffff888079f05af8)
head: ffff888079f04e00 000000000010000e 00000000f5000000 0000000000000000
netlink_rcv_skb+0x159/0x420 net/netlink/af_netlink.c:2585
netlink_unicast_kernel net/netlink/af_netlink.c:1336 [inline]
netlink_unicast+0x668/0x950 net/netlink/af_netlink.c:1362
netlink_sendmsg+0x9ac/0x10c0 net/netlink/af_netlink.c:1921
sock_sendmsg_nosec net/socket.c:800 [inline]
__sock_sendmsg net/socket.c:818 [inline]
__sys_sendto+0x492/0x4e0 net/socket.c:2283
__do_sys_sendto net/socket.c:2290 [inline]
__se_sys_sendto net/socket.c:2286 [inline]
__x64_sys_sendto+0xe0/0x1c0 net/socket.c:2286
fib_netdev_event+0x3d6/0x710 net/ipv4/fib_frontend.c:1529
do_setlink.isra.0+0x1b9f/0x3f50 net/core/rtnetlink.c:3294
fc_mount fs/namespace.c:1282 [inline]
do_new_mount_fc fs/namespace.c:3910 [inline]
do_new_mount fs/namespace.c:3986 [inline]
path_mount+0x7d0/0x2850 fs/namespace.c:4337
do_mount fs/namespace.c:4350 [inline]
__do_sys_mount fs/namespace.c:4563 [inline]
__se_sys_mount fs/namespace.c:4540 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4540
_kmalloc_noprof include/linux/slab.h:995 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
fib_create_info+0x5bf/0x4640 net/ipv4/fib_semantics.c:1432
The buggy address is located 32 bytes to the right of
allocated 256-byte region [ffff888079f05c00, ffff888079f05d00)
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888079f04e00 pfn:0x79f04
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179
page_type: f5(slab)
head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
The buggy address belongs to the physical page:
The buggy address is located 96 bytes to the right of
allocated 256-byte region [ffff888079f05e00, ffff888079f05f00)
ffff888079f05e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
call_netdevice_notifiers_extack net/core/dev.c:2351 [inline]
call_netdevice_notifiers net/core/dev.c:2365 [inline]
__dev_notify_flags+0x22c/0x4b0 net/core/dev.c:10063
netlink_rcv_skb+0x159/0x420 net/netlink/af_netlink.c:2585
netlink_unicast_kernel net/netlink/af_netlink.c:1336 [inline]
netlink_unicast+0x668/0x950 net/netlink/af_netlink.c:1362
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
Allocated by task 10443:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
RAX: ffffffffffffffda RBX: 00007f27cca25fa0 RCX: 00007f27cc7a94d9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
ecryptfs_lookup+0x1f7/0x830 fs/ecryptfs/inode.c:402
__lookup_slow+0x155/0x320 fs/namei.c:1925
lookup_slow+0x54/0x80 fs/namei.c:1942
walk_component fs/namei.c:2288 [inline]
lookup_last fs/namei.c:2795 [inline]
path_lookupat+0x5e8/0xc40 fs/namei.c:2819
do_o_path fs/namei.c:4987 [inline]
path_openat+0x16ed/0x23f0 fs/namei.c:5009
do_file_open+0x20e/0x430 fs/namei.c:5045
The buggy address is located 96 bytes to the right of
allocated 256-byte region [ffff888079f06000, ffff888079f06100)
ecryptfs_lookup+0x1f7/0x830 fs/ecryptfs/inode.c:402
__lookup_slow+0x155/0x320 fs/namei.c:1925
lookup_slow+0x54/0x80 fs/namei.c:1942
walk_component fs/namei.c:2288 [inline]
lookup_last fs/namei.c:2795 [inline]
path_lookupat+0x5e8/0xc40 fs/namei.c:2819
do_o_path fs/namei.c:4987 [inline]
path_openat+0x16ed/0x23f0 fs/namei.c:5009
do_file_open+0x20e/0x430 fs/namei.c:5045
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
ecryptfs_encrypt_filename fs/ecryptfs/crypto.c:1378 [inline]
ecryptfs_encrypt_and_encode_filename+0x428/0xa60 fs/ecryptfs/crypto.c:1789
ffff888079f06180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ecryptfs_encrypt_filename fs/ecryptfs/crypto.c:1378 [inline]
ecryptfs_encrypt_and_encode_filename+0x428/0xa60 fs/ecryptfs/crypto.c:1789
RBP: 00007f27cc83804e R08: 0000000000000000 R09: 0000000000000000
BUG: KASAN: slab-out-of-bounds in md5_block+0x95/0x8d0 lib/crypto/md5.c:39
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x12d/0x210 fs/open.c:1460
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
ecryptfs_write_tag_70_packet+0x880/0x1410 fs/ecryptfs/keystore.c:741
page_type: f5(slab)
md5_blocks lib/crypto/md5.c:125 [inline]
md5_update+0xf7/0x210 lib/crypto/md5.c:160
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
kmem_cache_alloc_noprof+0x269/0x6a0 mm/slub.c:5047
__asan_memcpy+0x23/0x60 mm/kasan/shadow.c:105
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
do_sys_openat2+0x163/0x1d0 fs/open.c:1443
md5_block+0x95/0x8d0 lib/crypto/md5.c:39
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
md5_block+0x95/0x8d0 lib/crypto/md5.c:39
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
md5_blocks lib/crypto/md5.c:125 [inline]
md5_update+0xf7/0x210 lib/crypto/md5.c:160
R13: 00007f27cca26038 R14: 00007f27cca25fa0 R15: 00007ffe8cd1d788
ecryptfs_encrypt_filename fs/ecryptfs/crypto.c:1378 [inline]
ecryptfs_encrypt_and_encode_filename+0x428/0xa60 fs/ecryptfs/crypto.c:1789
do_sys_openat2+0x163/0x1d0 fs/open.c:1443
__lookup_slow+0x155/0x320 fs/namei.c:1925
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
do_sys_openat2+0x163/0x1d0 fs/open.c:1443
mas_wr_store_entry+0xcea/0x1d50 lib/maple_tree.c:3575
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
head: 00fff00000000240 ffff88813ff15c80 ffffea0001536b90 ffffea0001db9290
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f27cca26038 R14: 00007f27cca25fa0 R15: 00007ffe8cd1d788
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f27cca26038 R14: 00007f27cca25fa0 R15: 00007ffe8cd1d788
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
kmem_cache_alloc_noprof+0x269/0x6a0 mm/slub.c:5047
ffff888079f06e00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
vma_iter_clear_gfp include/linux/mm.h:1839 [inline]
do_vmi_align_munmap+0x405/0x5f0 mm/vma.c:1696
__vm_munmap+0x196/0x3c0 mm/vma.c:3600
shmem_rename2+0xe4/0x3e0 mm/shmem.c:4256
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
Read of size 64 at addr ffff888079f06ee0 by task syz.1.2069/11904
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__do_kmalloc_node mm/slub.c:5530 [inline]
__kvmalloc_node_noprof+0x2f6/0x9b0 mm/slub.c:7136
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888079f06e00 pfn:0x79f06
smpboot_thread_fn+0x41f/0xb90 kernel/smpboot.c:162
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
The buggy address is located 224 bytes to the right of
allocated 256-byte region [ffff888079f06e00, ffff888079f06f00)
The buggy address is located 32 bytes inside of
freed 256-byte region [ffff888079f07000, ffff888079f07100)
The buggy address is located 96 bytes inside of
freed 256-byte region [ffff888079f07000, ffff888079f07100)
The buggy address belongs to the physical page:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
page_type: f5(slab)
raw: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813ff15c80 ffffea0001536b90 ffffea0001db9290
head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
Freed by task 24:
page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd2800(GFP_NOWAIT|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5363, tgid 5363 (udevd), ts 61403209145
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3950
alloc_slab_page mm/slub.c:3384 [inline]
allocate_slab mm/slub.c:3499 [inline]
new_slab+0xb1/0x6d0 mm/slub.c:3550
alloc_slab_page mm/slub.c:3384 [inline]
allocate_slab mm/slub.c:3499 [inline]
new_slab+0xb1/0x6d0 mm/slub.c:3550
refill_objects+0xe3/0x410 mm/slub.c:7539
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3950
__alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5492
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3950
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
BUG: KASAN: slab-out-of-bounds in md5_block+0x95/0x8d0 lib/crypto/md5.c:39
page_owner tracks the page as allocated
page dumped because: kasan: bad access detected
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
head: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
head: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
head: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
head: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
head: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
head: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
The buggy address is located 160 bytes to the right of
allocated 256-byte region [ffff888079f07600, ffff888079f07700)
head: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
head: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd2800(GFP_NOWAIT|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5363, tgid 5363 (udevd), ts 61403209145
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3950
__alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5492
alloc_slab_page mm/slub.c:3384 [inline]
allocate_slab mm/slub.c:3499 [inline]
new_slab+0xb1/0x6d0 mm/slub.c:3550
refill_objects+0xe3/0x410 mm/slub.c:7539
refill_sheaf mm/slub.c:2917 [inline]
__prefill_sheaf_pfmemalloc.part.0+0x5f/0xb0 mm/slub.c:5198
__prefill_sheaf_pfmemalloc mm/slub.c:5191 [inline]
kmem_cache_prefill_sheaf+0x1cc/0x460 mm/slub.c:5286
mt_get_sheaf lib/maple_tree.c:154 [inline]
mas_alloc_nodes lib/maple_tree.c:1079 [inline]
mas_wr_preallocate lib/maple_tree.c:3769 [inline]
mas_insert lib/maple_tree.c:3802 [inline]
mas_alloc_cyclic+0xb81/0x1080 lib/maple_tree.c:3862
simple_offset_add+0x10b/0x1e0 fs/libfs.c:305
shmem_rename2+0xe4/0x3e0 mm/shmem.c:4256
vfs_rename+0xca7/0x2130 fs/namei.c:6226
filename_renameat2+0x758/0xa90 fs/namei.c:6344
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
new_sync_read fs/read_write.c:473 [inline]
vfs_read+0x825/0xb30 fs/read_write.c:554
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1402 [inline]
__free_frozen_pages+0x7b1/0x10f0 mm/page_alloc.c:2958
The buggy address is located 96 bytes inside of
freed 256-byte region [ffff888079f07c00, ffff888079f07d00)
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
__asan_memcpy+0x23/0x60 mm/kasan/shadow.c:105
>ffff888079f07c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x12d/0x210 fs/open.c:1460
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
kmem_cache_alloc_noprof+0x269/0x6a0 mm/slub.c:5047
shmem_rename2+0xe4/0x3e0 mm/shmem.c:4256
run_ksoftirqd kernel/softirq.c:1133 [inline]
run_ksoftirqd+0x38/0x60 kernel/softirq.c:1125
smpboot_thread_fn+0x41f/0xb90 kernel/smpboot.c:162
do_vmi_align_munmap+0x287/0x5f0 mm/vma.c:1692
Call Trace:
raw: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
__alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5492
entry_SYSCALL_64_after_hwframe+0x77/0x7f
BUG: KASAN: slab-out-of-bounds in md5_block+0x95/0x8d0 lib/crypto/md5.c:39
RAX: ffffffffffffffda RBX: 00007f27cca25fa0 RCX: 00007f27cc7a94d9
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
kmem_cache_alloc_noprof+0x269/0x6a0 mm/slub.c:5047
>ffff888079f07f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
raw: ffff888079f06e00 000000020010000a 00000000f5000000 0000000000000000
RBP: 00007f27cc83804e R08: 0000000000000000 R09: 0000000000000000
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
ffff888079f0bf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
raw: ffff888079f0c000 0000000000000000 00000000f0000000 0000000000000000
==================================================================
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
page last free pid 11664 tgid 11664 ts 373620580370 stack trace:
ecryptfs_write_tag_70_packet+0x880/0x1410 fs/ecryptfs/keystore.c:741
check_region_inline mm/kasan/generic.c:186 [inline]
kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200
walk_component fs/namei.c:2288 [inline]
lookup_last fs/namei.c:2795 [inline]
path_lookupat+0x5e8/0xc40 fs/namei.c:2819
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
^
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
ffff888079f0c800: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
handle_softirqs+0x216/0xa20 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0x178/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
page dumped because: kasan: bad access detected
alloc_slab_page mm/slub.c:3384 [inline]
allocate_slab mm/slub.c:3499 [inline]
new_slab+0xb1/0x6d0 mm/slub.c:3550
refill_objects+0xe3/0x410 mm/slub.c:7539
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
Call Trace:
ecryptfs_lookup+0x1f7/0x830 fs/ecryptfs/inode.c:402
page_owner tracks the page as freed
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
ecryptfs_encrypt_filename fs/ecryptfs/crypto.c:1378 [inline]
ecryptfs_encrypt_and_encode_filename+0x428/0xa60 fs/ecryptfs/crypto.c:1789
RBP: 00007f27cc83804e R08: 0000000000000000 R09: 0000000000000000
__alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5492
page_owner tracks the page as freed
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
RAX: ffffffffffffffda RBX: 00007f27cca25fa0 RCX: 00007f27cc7a94d9
md5_blocks lib/crypto/md5.c:125 [inline]
md5_update+0xf7/0x210 lib/crypto/md5.c:160
raw: ffff888079f0c000 0000000000000000 00000000f0000000 0000000000000000
asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:681
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
ecryptfs_lookup+0x1f7/0x830 fs/ecryptfs/inode.c:402
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x12d/0x210 fs/open.c:1460
ffff888079f0ce80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
ffff888079f0d000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1137
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27cc7a94d9
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
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
The buggy address belongs to the object at ffff888079f0d140
which belongs to the cache skbuff_head_cache of size 240
page_owner tracks the page as allocated
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
fib6_add+0x60e/0x1eb0 net/ipv6/ip6_fib.c:1567
process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495
RAX: ffffffffffffffda RBX: 00007f27cca25fa0 RCX: 00007f27cc7a94d9
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495
raw: 0000000000000000 00000002000c000c 00000000f5000000 0000000000000000
lookup_slow+0x54/0x80 fs/namei.c:1942
^
walk_component fs/namei.c:2288 [inline]
lookup_last fs/namei.c:2795 [inline]
path_lookupat+0x5e8/0xc40 fs/namei.c:2819
RIP: 0033:0x7f27cc7a94d9
do_o_path fs/namei.c:4987 [inline]
path_openat+0x16ed/0x23f0 fs/namei.c:5009
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
do_sys_openat2+0x163/0x1d0 fs/open.c:1443
ecryptfs_write_tag_70_packet+0x880/0x1410 fs/ecryptfs/keystore.c:741
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
__alloc_skb+0x140/0x710 net/core/skbuff.c:705
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1137
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3950
alloc_slab_page mm/slub.c:3384 [inline]
allocate_slab mm/slub.c:3499 [inline]
new_slab+0xb1/0x6d0 mm/slub.c:3550
do_o_path fs/namei.c:4987 [inline]
path_openat+0x16ed/0x23f0 fs/namei.c:5009
The buggy address is located 224 bytes inside of
freed 240-byte region [ffff888079f0d640, ffff888079f0d730)
alloc_slab_page mm/slub.c:3384 [inline]
allocate_slab mm/slub.c:3499 [inline]
new_slab+0xb1/0x6d0 mm/slub.c:3550
md5_block+0x95/0x8d0 lib/crypto/md5.c:39
kernel_clone+0x176/0x9d0 kernel/fork.c:2798
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
mac80211_hwsim_beacon+0xe5/0x2a0 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2548
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
ecryptfs_encrypt_filename fs/ecryptfs/crypto.c:1378 [inline]
ecryptfs_encrypt_and_encode_filename+0x428/0xa60 fs/ecryptfs/crypto.c:1789
handle_softirqs+0x216/0xa20 kernel/softirq.c:669
md5_blocks lib/crypto/md5.c:125 [inline]
md5_update+0xf7/0x210 lib/crypto/md5.c:160
==================================================================
md5_block+0x95/0x8d0 lib/crypto/md5.c:39
alloc_from_pcs mm/slub.c:4887 [inline]
slab_alloc_node mm/slub.c:5021 [inline]
kmem_cache_alloc_node_noprof+0x4ed/0x6e0 mm/slub.c:5105
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
__device_attach_driver+0x1df/0x320 drivers/base/dd.c:1027
__bus_probe_device+0x60/0x160 drivers/base/bus.c:614
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
usb_generic_driver_probe+0xa1/0xe0 drivers/usb/core/generic.c:250
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495
ecryptfs_encrypt_filename fs/ecryptfs/crypto.c:1378 [inline]
ecryptfs_encrypt_and_encode_filename+0x428/0xa60 fs/ecryptfs/crypto.c:1789
do_file_open+0x20e/0x430 fs/namei.c:5045
handle_softirqs+0x216/0xa20 kernel/softirq.c:669
inet6_rtm_newaddr+0x147a/0x1bb0 net/ipv6/addrconf.c:5121
do_o_path fs/namei.c:4987 [inline]
path_openat+0x16ed/0x23f0 fs/namei.c:5009
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
__alloc_skb+0x140/0x710 net/core/skbuff.c:705
page dumped because: kasan: bad access detected
skb_copy+0x1c1/0x3b0 net/core/skbuff.c:2197
mac80211_hwsim_beacon+0xe5/0x2a0 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2548
__mac80211_hwsim_beacon_tx drivers/net/wireless/virtual/mac80211_hwsim_main.c:2453 [inline]
mac80211_hwsim_beacon_tx+0x56d/0xa00 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2516
cfg80211_wiphy_work+0x2b7/0x550 net/wireless/core.c:609
__iterate_interfaces+0x2e6/0x650 net/mac80211/util.c:775
>ffff888079f0de80: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc
__run_hrtimer kernel/time/hrtimer.c:2079 [inline]
__hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136
hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153
R13: 00007f27cca26038 R14: 00007f27cca25fa0 R15: 00007ffe8cd1d788
process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
alloc_from_pcs mm/slub.c:4887 [inline]
slab_alloc_node mm/slub.c:5021 [inline]
kmem_cache_alloc_noprof+0x4bf/0x6a0 mm/slub.c:5047
RAX: ffffffffffffffda RBX: 00007f27cca25fa0 RCX: 00007f27cc7a94d9
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x5f0/0x1220 kernel/rcu/tree.c:2919
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
memcg:ffff88802df79901
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556
head: ffff888079f0ec40 0000000200120002 00000000f5000000 ffff88802df79901
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
kthread+0x373/0x450 kernel/kthread.c:436
alloc_empty_file+0x5b/0x1c0 fs/file_table.c:262
run_ksoftirqd kernel/softirq.c:1133 [inline]
run_ksoftirqd+0x38/0x60 kernel/softirq.c:1125
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x5f0/0x1220 kernel/rcu/tree.c:2919
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
==================================================================
entry_SYSCALL_64_after_hwframe+0x77/0x7f
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Read of size 64 at addr ffff888079f0e420 by task syz.1.2069/11904
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5640:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
check_region_inline mm/kasan/generic.c:186 [inline]
kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200
entry_SYSCALL_64_after_hwframe+0x77/0x7f
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2780 [inline]
slab_free_after_rcu_debug+0xdf/0x170 mm/slub.c:6692
smpboot_thread_fn+0x41f/0xb90 kernel/smpboot.c:162
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
file_free fs/file_table.c:104 [inline]
__fput+0x68a/0xb50 fs/file_table.c:526
fput_close_sync+0x118/0x250 fs/file_table.c:618
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
R13: 00007f27cca26038 R14: 00007f27cca25fa0 R15: 00007ffe8cd1d788
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
__do_sys_close fs/open.c:1597 [inline]
__se_sys_close fs/open.c:1584 [inline]
__x64_sys_close+0x81/0x110 fs/open.c:1584
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1402 [inline]
free_pages_prepare+0x586/0xe00 mm/page_alloc.c:1447
__do_sys_close fs/open.c:1597 [inline]
__se_sys_close fs/open.c:1584 [inline]
__x64_sys_close+0x81/0x110 fs/open.c:1584
page_owner tracks the page as allocated
__do_sys_close fs/open.c:1597 [inline]
__se_sys_close fs/open.c:1584 [inline]
__x64_sys_close+0x81/0x110 fs/open.c:1584
BUG: KASAN: slab-use-after-free in md5_block+0x95/0x8d0 lib/crypto/md5.c:39
__do_sys_close fs/open.c:1597 [inline]
__se_sys_close fs/open.c:1584 [inline]
__x64_sys_close+0x81/0x110 fs/open.c:1584
__do_sys_close fs/open.c:1597 [inline]
__se_sys_close fs/open.c:1584 [inline]
__x64_sys_close+0x81/0x110 fs/open.c:1584
alloc_from_pcs mm/slub.c:4887 [inline]
slab_alloc_node mm/slub.c:5021 [inline]
kmem_cache_alloc_noprof+0x4bf/0x6a0 mm/slub.c:5047
__do_sys_close fs/open.c:1597 [inline]
__se_sys_close fs/open.c:1584 [inline]
__x64_sys_close+0x81/0x110 fs/open.c:1584
Read of size 64 at addr ffff888079f0e8a0 by task syz.1.2069/11904
check_region_inline mm/kasan/generic.c:186 [inline]
kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200
filp_close_sync+0x75/0xa0 fs/open.c:1574
__do_sys_close fs/open.c:1597 [inline]
__se_sys_close fs/open.c:1584 [inline]
__x64_sys_close+0x81/0x110 fs/open.c:1584
entry_SYSCALL_64_after_hwframe+0x77/0x7f
fput_close_sync+0x118/0x250 fs/file_table.c:618
filp_close_sync+0x75/0xa0 fs/open.c:1574
ecryptfs_encrypt_filename fs/ecryptfs/crypto.c:1378 [inline]
ecryptfs_encrypt_and_encode_filename+0x428/0xa60 fs/ecryptfs/crypto.c:1789
fput_close_sync+0x118/0x250 fs/file_table.c:618
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
fput_close_sync+0x118/0x250 fs/file_table.c:618
__do_sys_close fs/open.c:1597 [inline]
__se_sys_close fs/open.c:1584 [inline]
__x64_sys_close+0x81/0x110 fs/open.c:1584
Call Trace:
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff888079f0ea80
which belongs to the cache filp of size 352
The buggy address is located 96 bytes inside of
freed 352-byte region [ffff888079f0ea80, ffff888079f0ebe0)
The buggy address belongs to the physical page:
debug_vm_pgtable+0x1d69/0x3490 mm/debug_vm_pgtable.c:1368
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff88802df79901
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
Freed by task 4995:
memcg:ffff88802df79901
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
memcg:ffff88802df79901
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
R13: 00007f27cca26038 R14: 00007f27cca25fa0 R15: 00007ffe8cd1d788
Read of size 64 at addr ffff888079f0ece0 by task syz.1.2069/11904
The buggy address is located 160 bytes inside of
freed 352-byte region [ffff888079f0ec40, ffff888079f0eda0)
The buggy address belongs to the object at ffff888079f0ec40
which belongs to the cache filp of size 352
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
filp_close_sync+0x75/0xa0 fs/open.c:1574
slab_free_hook mm/slub.c:2741 [inline]
slab_free mm/slub.c:6630 [inline]
kmem_cache_free+0x424/0x6c0 mm/slub.c:6757
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
check_region_inline mm/kasan/generic.c:186 [inline]
kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200
kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556
R13: 00007f27cca26038 R14: 00007f27cca25fa0 R15: 00007ffe8cd1d788
debug_vm_pgtable_free_huge_page mm/debug_vm_pgtable.c:980 [inline]
destroy_args+0xa8/0x7a0 mm/debug_vm_pgtable.c:993
kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556
alloc_empty_file+0x5b/0x1c0 fs/file_table.c:262
kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556
slab_free_hook mm/slub.c:2741 [inline]
slab_free mm/slub.c:6630 [inline]
kmem_cache_free+0x424/0x6c0 mm/slub.c:6757
run_ksoftirqd kernel/softirq.c:1133 [inline]
run_ksoftirqd+0x38/0x60 kernel/softirq.c:1125
kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556
kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556
slab_free_hook mm/slub.c:2741 [inline]
slab_free mm/slub.c:6630 [inline]
kmem_cache_free+0x424/0x6c0 mm/slub.c:6757
raw: 00fff00000000240 ffff888140412500 ffffea0001536810 ffffea0000d69410
slab_free_hook mm/slub.c:2741 [inline]
slab_free mm/slub.c:6630 [inline]
kmem_cache_free+0x424/0x6c0 mm/slub.c:6757
file_free fs/file_table.c:104 [inline]
__fput+0x68a/0xb50 fs/file_table.c:526
fput_close_sync+0x118/0x250 fs/file_table.c:618
filp_close_sync+0x75/0xa0 fs/open.c:1574
raw: ffff888079f0ec40 0000000200120002 00000000f5000000 ffff88802df79901
file_free fs/file_table.c:104 [inline]
__fput+0x68a/0xb50 fs/file_table.c:526
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
fput_close_sync+0x118/0x250 fs/file_table.c:618
entry_SYSCALL_64_after_hwframe+0x77/0x7f
file_free fs/file_table.c:104 [inline]
__fput_deferred+0x3e9/0x4a0 fs/file_table.c:568
do_file_open+0x20e/0x430 fs/namei.c:5045
file_free fs/file_table.c:104 [inline]
__fput_deferred+0x3e9/0x4a0 fs/file_table.c:568
memcg:ffff88802df79901
kthread+0x373/0x450 kernel/kthread.c:436
RIP: 0033:0x7f27cc7a94d9
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x5f0/0x1220 kernel/rcu/tree.c:2919
head: ffff888079f0ec40 0000000200120002 00000000f5000000 ffff88802df79901
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
entry_SYSCALL_64_after_hwframe+0x77/0x7f
do_file_open+0x20e/0x430 fs/namei.c:5045
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888079f0ec40 pfn:0x79f0e
alloc_empty_file+0x5b/0x1c0 fs/file_table.c:262
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
kmem_cache_alloc_noprof+0x269/0x6a0 mm/slub.c:5047
head: 00fff00000000240 ffff888140412500 ffffea0001536810 ffffea0000d69410
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
>ffff888079f0f400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
alloc_empty_file+0x5b/0x1c0 fs/file_table.c:262
The buggy address is located 64 bytes to the right of
allocated 352-byte region [ffff888079f0f340, ffff888079f0f4a0)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
R10: 0000000000000041 R11: 0000000000000246 R12: 0000000000000000
RBP: 00007f27cc83804e R08: 0000000000000000 R09: 0000000000000000
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
RDX: 0000000000240000 RSI: 0000200000000140 RDI: ffffffffffffff9c
RAX: ffffffffffffffda RBX: 00007f27cca25fa0 RCX: 00007f27cc7a94d9
smpboot_thread_fn+0x41f/0xb90 kernel/smpboot.c:162
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
file_free fs/file_table.c:104 [inline]
__fput+0x68a/0xb50 fs/file_table.c:526
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
memcg:ffff88802df79901
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
RIP: 0033:0x7f27cc7a94d9
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x12d/0x210 fs/open.c:1460
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888079f0ec40 pfn:0x79f0e
ffff888079f0f900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
debug_vm_pgtable+0x1d69/0x3490 mm/debug_vm_pgtable.c:1368
page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4995, tgid 4995 (udevd), ts 34990179002
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888079f0ec40 pfn:0x79f0e
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
RBP: 00007f27cc83804e R08: 0000000000000000 R09: 0000000000000000
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x12d/0x210 fs/open.c:1460
ffff888079f0fb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ecryptfs_write_tag_70_packet+0x880/0x1410 fs/ecryptfs/keystore.c:741
>ffff888079f0fa00: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
path_openat+0xd6/0x23f0 fs/namei.c:5002
head: ffff888079f0ec40 0000000200120002 00000000f5000000 ffff88802df79901
head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
The buggy address belongs to the object at ffff888079f0fa40
which belongs to the cache filp of size 352
raw: 00fff00000000240 ffff888140412500 ffffea0001536810 ffffea0000d69410
RAX: ffffffffffffffda RBX: 00007f27cca25fa0 RCX: 00007f27cc7a94d9
Call Trace:
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
ffff888079f0fb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
refill_objects+0xe3/0x410 mm/slub.c:7539
refill_sheaf mm/slub.c:2917 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811
raw: ffff888079f0ec40 0000000200120002 00000000f5000000 ffff88802df79901
head: ffff888079f0ec40 0000000200120002 00000000f5000000 ffff88802df79901
fput_close_sync+0x118/0x250 fs/file_table.c:618
page last free pid 1 tgid 1 ts 25702709159 stack trace:
do_sys_openat2+0x163/0x1d0 fs/open.c:1443
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
ffff888079f0fc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
RSP: 002b:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
__alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5492
page_type: f5(slab)
raw: 00fff00000000240 ffff888140412500 ffffea0001536810 ffffea0000d69410
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
slab_free_hook mm/slub.c:2741 [inline]
slab_free mm/slub.c:6630 [inline]
kmem_cache_free+0x424/0x6c0 mm/slub.c:6757
path_openat+0xd6/0x23f0 fs/namei.c:5002
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:00007f27cd62b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
kmem_cache_alloc_node_noprof+0x282/0x6e0 mm/slub.c:5105
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x12d/0x210 fs/open.c:1460
page last free pid 62 tgid 62 ts 212342599943 stack trace:
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x12d/0x210 fs/open.c:1460
kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1137
page_type: f5(slab)
----------------
Code disassembly (best guess):
0: ff c3 inc %ebx
2: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
* 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 ret
33: 48 c7 c1 e8 ff ff ff mov $0xffffffffffffffe8,%rcx
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W