[v6.1] KASAN: slab-out-of-bounds Read in udf_get_fileshortad

1 view
Skip to first unread message

syzbot

unread,
Oct 30, 2025, 10:44:37 AM (4 days ago) Oct 30
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: f6e38ae624cf Linux 6.1.158
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1121be7c580000
kernel config: https://syzkaller.appspot.com/x/.config?x=7eb38bd5021fec61
dashboard link: https://syzkaller.appspot.com/bug?extid=4c60b7f9682fa6e32a40
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/2b7003e2661d/disk-f6e38ae6.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/0696cea8d016/vmlinux-f6e38ae6.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6b7a89e636d7/bzImage-f6e38ae6.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+4c60b7...@syzkaller.appspotmail.com

RDX: 0000000000000000 RSI: 000000404000f000 RDI: 0000200000000080
RBP: 00007f86cca11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f86ccbe6038 R14: 00007f86ccbe5fa0 R15: 00007ffe6beb7ff8
</TASK>
==================================================================
BUG: KASAN: slab-out-of-bounds in udf_get_fileshortad+0x152/0x1a0 fs/udf/directory.c:497
Read of size 4 at addr ffff88802382e738 by task syz.4.228/5208

CPU: 0 PID: 5208 Comm: syz.4.228 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
<TASK>
dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106
print_address_description mm/kasan/report.c:316 [inline]
print_report+0xa8/0x210 mm/kasan/report.c:420
kasan_report+0x10b/0x140 mm/kasan/report.c:524
udf_get_fileshortad+0x152/0x1a0 fs/udf/directory.c:497
udf_current_aext+0x43a/0xb00 fs/udf/inode.c:2122
udf_next_aext+0x101/0x450 fs/udf/inode.c:2057
udf_extend_file fs/udf/inode.c:549 [inline]
udf_setsize+0x9f7/0x1090 fs/udf/inode.c:1147
udf_setattr+0x404/0x560 fs/udf/file.c:279
notify_change+0xc74/0xf40 fs/attr.c:499
do_truncate+0x197/0x220 fs/open.c:65
vfs_truncate+0x262/0x2f0 fs/open.c:111
do_sys_truncate+0xdc/0x190 fs/open.c:134
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f86cc98efc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f86cabf6038 EFLAGS: 00000246 ORIG_RAX: 000000000000004c
RAX: ffffffffffffffda RBX: 00007f86ccbe5fa0 RCX: 00007f86cc98efc9
RDX: 0000000000000000 RSI: 000000404000f000 RDI: 0000200000000080
RBP: 00007f86cca11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f86ccbe6038 R14: 00007f86ccbe5fa0 R15: 00007ffe6beb7ff8
</TASK>

Allocated by task 4264:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
____kasan_kmalloc mm/kasan/common.c:374 [inline]
__kasan_kmalloc+0x8e/0xa0 mm/kasan/common.c:383
kasan_kmalloc include/linux/kasan.h:211 [inline]
__do_kmalloc_node mm/slab_common.c:936 [inline]
__kmalloc_node+0xb0/0x240 mm/slab_common.c:943
kmalloc_node include/linux/slab.h:589 [inline]
kzalloc_node include/linux/slab.h:710 [inline]
qdisc_alloc+0x95/0xa50 net/sched/sch_generic.c:948
qdisc_create_dflt+0x5f/0x4b0 net/sched/sch_generic.c:1009
attach_one_default_qdisc net/sched/sch_generic.c:1173 [inline]
netdev_for_each_tx_queue include/linux/netdevice.h:2465 [inline]
attach_default_qdiscs net/sched/sch_generic.c:1191 [inline]
dev_activate+0x393/0x11a0 net/sched/sch_generic.c:1250
__dev_open+0x334/0x420 net/core/dev.c:1497
__dev_change_flags+0x20a/0x6a0 net/core/dev.c:8638
dev_change_flags+0x82/0x1a0 net/core/dev.c:8709
do_setlink+0xc31/0x3c40 net/core/rtnetlink.c:2833
__rtnl_newlink net/core/rtnetlink.c:3608 [inline]
rtnl_newlink+0x17d6/0x1ff0 net/core/rtnetlink.c:3655
rtnetlink_rcv_msg+0x79b/0xed0 net/core/rtnetlink.c:6150
netlink_rcv_skb+0x1de/0x420 net/netlink/af_netlink.c:2511
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x74d/0x8d0 net/netlink/af_netlink.c:1344
netlink_sendmsg+0x89e/0xbc0 net/netlink/af_netlink.c:1872
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
__sys_sendto+0x44f/0x5c0 net/socket.c:2153
__do_sys_sendto net/socket.c:2165 [inline]
__se_sys_sendto net/socket.c:2161 [inline]
__x64_sys_sendto+0xda/0xf0 net/socket.c:2161
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2

The buggy address belongs to the object at ffff88802382e000
which belongs to the cache kmalloc-1k of size 1024
The buggy address is located 824 bytes to the right of
1024-byte region [ffff88802382e000, ffff88802382e400)

The buggy address belongs to the physical page:
page:ffffea00008e0a00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x23828
head:ffffea00008e0a00 order:3 compound_mapcount:0 compound_pincount:0
flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000010200 0000000000000000 dead000000000001 ffff888017441dc0
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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4272, tgid 4272 (syz-executor), ts 78316352817, free_ts 78221450324
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2532
prep_new_page mm/page_alloc.c:2539 [inline]
get_page_from_freelist+0x1a26/0x1ac0 mm/page_alloc.c:4328
__alloc_pages+0x1df/0x4e0 mm/page_alloc.c:5614
alloc_slab_page+0x5d/0x160 mm/slub.c:1799
allocate_slab mm/slub.c:1944 [inline]
new_slab+0x87/0x2c0 mm/slub.c:1997
___slab_alloc+0xbc6/0x1230 mm/slub.c:3154
__slab_alloc mm/slub.c:3240 [inline]
slab_alloc_node mm/slub.c:3325 [inline]
__kmem_cache_alloc_node+0x1a0/0x260 mm/slub.c:3398
__do_kmalloc_node mm/slab_common.c:935 [inline]
__kmalloc_node_track_caller+0x9e/0x230 mm/slab_common.c:956
kmalloc_reserve net/core/skbuff.c:446 [inline]
__alloc_skb+0x22a/0x7e0 net/core/skbuff.c:515
alloc_skb include/linux/skbuff.h:1271 [inline]
nlmsg_new include/net/netlink.h:991 [inline]
rtmsg_fib+0xe7/0x4b0 net/ipv4/fib_semantics.c:522
fib_table_insert+0xd5d/0x1b50 net/ipv4/fib_trie.c:1385
fib_magic+0x2c1/0x390 net/ipv4/fib_frontend.c:1118
fib_add_ifaddr+0x3f7/0x5e0 net/ipv4/fib_frontend.c:1162
fib_netdev_event+0x361/0x470 net/ipv4/fib_frontend.c:1500
notifier_call_chain kernel/notifier.c:87 [inline]
raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:455
call_netdevice_notifiers_extack net/core/dev.c:2039 [inline]
call_netdevice_notifiers net/core/dev.c:2053 [inline]
__dev_notify_flags+0x178/0x2d0 net/core/dev.c:-1
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1459 [inline]
free_pcp_prepare mm/page_alloc.c:1509 [inline]
free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3384
free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3479
free_slab mm/slub.c:2036 [inline]
discard_slab mm/slub.c:2042 [inline]
__unfreeze_partials+0x1a5/0x200 mm/slub.c:2591
put_cpu_partial+0x17c/0x250 mm/slub.c:2667
qlink_free mm/kasan/quarantine.c:168 [inline]
qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:305
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737
slab_alloc_node mm/slub.c:3359 [inline]
slab_alloc mm/slub.c:3367 [inline]
__kmem_cache_alloc_lru mm/slub.c:3374 [inline]
kmem_cache_alloc+0x123/0x2f0 mm/slub.c:3383
getname_flags+0xb7/0x500 fs/namei.c:139
do_sys_openat2+0xcf/0x490 fs/open.c:1312
do_sys_open fs/open.c:1334 [inline]
__do_sys_openat fs/open.c:1350 [inline]
__se_sys_openat fs/open.c:1345 [inline]
__x64_sys_openat+0x135/0x160 fs/open.c:1345
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2

Memory state around the buggy address:
ffff88802382e600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88802382e680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88802382e700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff88802382e780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88802382e800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Oct 30, 2025, 11:25:36 AM (4 days ago) Oct 30
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: f6e38ae624cf Linux 6.1.158
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11dacfe2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=7eb38bd5021fec61
dashboard link: https://syzkaller.appspot.com/bug?extid=4c60b7f9682fa6e32a40
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14887c92580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11905258580000
mounted in repro: https://storage.googleapis.com/syzbot-assets/aeebc264e1e7/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+4c60b7...@syzkaller.appspotmail.com

RDX: 0000000000000000 RSI: 000000404000f000 RDI: 0000200000000080
RBP: 00007fe12e411f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe12e5e5fa0 R14: 00007fe12e5e5fa0 R15: 0000000000000002
</TASK>
==================================================================
BUG: KASAN: slab-out-of-bounds in udf_get_fileshortad+0x152/0x1a0 fs/udf/directory.c:497
Read of size 4 at addr ffff88807706f738 by task syz.0.17/4432

CPU: 0 PID: 4432 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
<TASK>
dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106
print_address_description mm/kasan/report.c:316 [inline]
print_report+0xa8/0x210 mm/kasan/report.c:420
kasan_report+0x10b/0x140 mm/kasan/report.c:524
udf_get_fileshortad+0x152/0x1a0 fs/udf/directory.c:497
udf_current_aext+0x43a/0xb00 fs/udf/inode.c:2122
udf_next_aext+0x101/0x450 fs/udf/inode.c:2057
udf_extend_file fs/udf/inode.c:549 [inline]
udf_setsize+0x9f7/0x1090 fs/udf/inode.c:1147
udf_setattr+0x404/0x560 fs/udf/file.c:279
notify_change+0xc74/0xf40 fs/attr.c:499
do_truncate+0x197/0x220 fs/open.c:65
vfs_truncate+0x262/0x2f0 fs/open.c:111
do_sys_truncate+0xdc/0x190 fs/open.c:134
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe12e38efc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd62883da8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c
RAX: ffffffffffffffda RBX: 00007fe12e5e5fa0 RCX: 00007fe12e38efc9
RDX: 0000000000000000 RSI: 000000404000f000 RDI: 0000200000000080
RBP: 00007fe12e411f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe12e5e5fa0 R14: 00007fe12e5e5fa0 R15: 0000000000000002
</TASK>

Allocated by task 7:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
____kasan_kmalloc mm/kasan/common.c:374 [inline]
__kasan_kmalloc+0x8e/0xa0 mm/kasan/common.c:383
kasan_kmalloc include/linux/kasan.h:211 [inline]
__do_kmalloc_node mm/slab_common.c:936 [inline]
__kmalloc_node_track_caller+0xae/0x230 mm/slab_common.c:956
kmalloc_reserve net/core/skbuff.c:446 [inline]
__alloc_skb+0x22a/0x7e0 net/core/skbuff.c:515
alloc_skb include/linux/skbuff.h:1271 [inline]
nlmsg_new include/net/netlink.h:991 [inline]
inet6_rt_notify+0xb0/0x240 net/ipv6/route.c:6239
fib6_add_rt2node net/ipv6/ip6_fib.c:1261 [inline]
fib6_add+0x1d88/0x3cc0 net/ipv6/ip6_fib.c:1490
__ip6_ins_rt net/ipv6/route.c:1345 [inline]
ip6_ins_rt+0xc5/0x110 net/ipv6/route.c:1355
__ipv6_ifa_notify+0x4c1/0xdb0 net/ipv6/addrconf.c:6214
ipv6_ifa_notify net/ipv6/addrconf.c:6253 [inline]
addrconf_dad_completed+0x17d/0xcf0 net/ipv6/addrconf.c:4257
addrconf_dad_work+0xc3e/0x14d0 net/ipv6/addrconf.c:-1
process_one_work+0x898/0x1160 kernel/workqueue.c:2292
worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

Freed by task 7:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x2d/0x50 mm/kasan/generic.c:516
____kasan_slab_free+0x126/0x1e0 mm/kasan/common.c:236
kasan_slab_free include/linux/kasan.h:177 [inline]
slab_free_hook mm/slub.c:1729 [inline]
slab_free_freelist_hook+0x131/0x1a0 mm/slub.c:1755
slab_free mm/slub.c:3687 [inline]
__kmem_cache_free+0xb6/0x1f0 mm/slub.c:3700
skb_free_head net/core/skbuff.c:762 [inline]
skb_release_data+0x5db/0x7c0 net/core/skbuff.c:791
skb_release_all net/core/skbuff.c:856 [inline]
__kfree_skb net/core/skbuff.c:870 [inline]
consume_skb+0xa2/0x100 net/core/skbuff.c:1035
netlink_broadcast+0xfd6/0x10d0 net/netlink/af_netlink.c:1521
nlmsg_multicast include/net/netlink.h:1071 [inline]
nlmsg_notify+0xe7/0x1a0 net/netlink/af_netlink.c:2554
fib6_add_rt2node net/ipv6/ip6_fib.c:1261 [inline]
fib6_add+0x1d88/0x3cc0 net/ipv6/ip6_fib.c:1490
__ip6_ins_rt net/ipv6/route.c:1345 [inline]
ip6_ins_rt+0xc5/0x110 net/ipv6/route.c:1355
__ipv6_ifa_notify+0x4c1/0xdb0 net/ipv6/addrconf.c:6214
ipv6_ifa_notify net/ipv6/addrconf.c:6253 [inline]
addrconf_dad_completed+0x17d/0xcf0 net/ipv6/addrconf.c:4257
addrconf_dad_work+0xc3e/0x14d0 net/ipv6/addrconf.c:-1
process_one_work+0x898/0x1160 kernel/workqueue.c:2292
worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

The buggy address belongs to the object at ffff88807706f000
which belongs to the cache kmalloc-1k of size 1024
The buggy address is located 824 bytes to the right of
1024-byte region [ffff88807706f000, ffff88807706f400)

The buggy address belongs to the physical page:
page:ffffea0001dc1a00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x77068
head:ffffea0001dc1a00 order:3 compound_mapcount:0 compound_pincount:0
flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000010200 dead000000000100 dead000000000122 ffff888017441dc0
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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4117, tgid 4117 (sshd-session), ts 48668511464, free_ts 48662109353
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2532
prep_new_page mm/page_alloc.c:2539 [inline]
get_page_from_freelist+0x1a26/0x1ac0 mm/page_alloc.c:4328
__alloc_pages+0x1df/0x4e0 mm/page_alloc.c:5614
alloc_slab_page+0x5d/0x160 mm/slub.c:1799
allocate_slab mm/slub.c:1944 [inline]
new_slab+0x87/0x2c0 mm/slub.c:1997
___slab_alloc+0xbc6/0x1230 mm/slub.c:3154
__slab_alloc mm/slub.c:3240 [inline]
slab_alloc_node mm/slub.c:3325 [inline]
__kmem_cache_alloc_node+0x1a0/0x260 mm/slub.c:3398
__do_kmalloc_node mm/slab_common.c:935 [inline]
__kmalloc_node_track_caller+0x9e/0x230 mm/slab_common.c:956
kmalloc_reserve net/core/skbuff.c:446 [inline]
__alloc_skb+0x22a/0x7e0 net/core/skbuff.c:515
alloc_skb_fclone include/linux/skbuff.h:1321 [inline]
tcp_stream_alloc_skb+0x3e/0x330 net/ipv4/tcp.c:869
tcp_sendmsg_locked+0xd1c/0x3f10 net/ipv4/tcp.c:1332
tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1490
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
sock_write_iter+0x2b5/0x3a0 net/socket.c:1143
call_write_iter include/linux/fs.h:2265 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x44c/0x960 fs/read_write.c:584
ksys_write+0x143/0x240 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1459 [inline]
free_pcp_prepare mm/page_alloc.c:1509 [inline]
free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3384
free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3479
__skb_frag_unref include/linux/skbuff.h:3459 [inline]
skb_release_data+0x499/0x7c0 net/core/skbuff.c:785
skb_release_all net/core/skbuff.c:856 [inline]
__kfree_skb net/core/skbuff.c:870 [inline]
skb_attempt_defer_free+0x107/0x410 net/core/skbuff.c:6676
tcp_eat_recv_skb net/ipv4/tcp.c:1661 [inline]
tcp_recvmsg_locked+0x1190/0x22f0 net/ipv4/tcp.c:2674
tcp_recvmsg+0x212/0x810 net/ipv4/tcp.c:2720
inet_recvmsg+0x12c/0x1e0 net/ipv4/af_inet.c:890
sock_recvmsg_nosec net/socket.c:1022 [inline]
sock_recvmsg net/socket.c:1040 [inline]
sock_read_iter+0x2bf/0x370 net/socket.c:1121
call_read_iter include/linux/fs.h:2259 [inline]
new_sync_read fs/read_write.c:389 [inline]
vfs_read+0x434/0x920 fs/read_write.c:470
ksys_read+0x143/0x240 fs/read_write.c:613
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2

Memory state around the buggy address:
ffff88807706f600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88807706f680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88807706f700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff88807706f780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88807706f800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
Reply all
Reply to author
Forward
0 new messages