* [syzbot] [ocfs2?] memory leak in ocfs2_new_path_from_path
@ 2025-11-07 17:11 syzbot
2025-12-02 19:51 ` syzbot
2025-12-04 16:11 ` Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 559e608c46553c107dbba19dae0854af7b219400 syzbot
0 siblings, 2 replies; 4+ messages in thread
From: syzbot @ 2025-11-07 17:11 UTC (permalink / raw)
To: jlbec, joseph.qi, linux-kernel, mark, ocfs2-devel, syzkaller-bugs
Hello,
syzbot found the following issue on:
HEAD commit: 4a0c9b339199 Merge tag 'probes-fixes-v6.18-rc4' of git://g..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15fbca92580000
kernel config: https://syzkaller.appspot.com/x/.config?x=cb128cd5cb439809
dashboard link: https://syzkaller.appspot.com/bug?extid=cfc7cab3bb6eaa7c4de2
compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=114be17c580000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/bfd02a09ef4d/disk-4a0c9b33.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ed9a1334f973/vmlinux-4a0c9b33.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e503329437ee/bzImage-4a0c9b33.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/275c7c156b9c/mount_0.gz
fsck result: OK (log: https://syzkaller.appspot.com/x/fsck.log?x=11545084580000)
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+cfc7cab3bb6eaa7c4de2@syzkaller.appspotmail.com
BUG: memory leak
unreferenced object 0xffff8881286c42a0 (size 96):
comm "syz.3.46", pid 6293, jiffies 4294945738
hex dump (first 32 bytes):
01 00 00 00 00 00 00 00 a0 0e 30 82 ff ff ff ff ..........0.....
88 b8 5b 2d 81 88 ff ff c0 f4 c3 2f 81 88 ff ff ..[-......./....
backtrace (crc f97a0cdc):
kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
slab_post_alloc_hook mm/slub.c:4975 [inline]
slab_alloc_node mm/slub.c:5280 [inline]
__kmalloc_cache_noprof+0x3a6/0x5b0 mm/slub.c:5758
kmalloc_noprof include/linux/slab.h:957 [inline]
kzalloc_noprof include/linux/slab.h:1094 [inline]
ocfs2_new_path fs/ocfs2/alloc.c:688 [inline]
ocfs2_new_path_from_path+0x4f/0x90 fs/ocfs2/alloc.c:702
ocfs2_get_left_path.constprop.0+0x182/0x390 fs/ocfs2/alloc.c:3491
ocfs2_merge_rec_left+0x426/0xe60 fs/ocfs2/alloc.c:3543
ocfs2_try_to_merge_extent+0x3cb/0xe90 fs/ocfs2/alloc.c:3794
ocfs2_split_extent+0xd2e/0x1330 fs/ocfs2/alloc.c:5139
ocfs2_change_extent_flag+0x2ed/0x720 fs/ocfs2/alloc.c:5230
ocfs2_mark_extent_written+0x1e3/0x2c0 fs/ocfs2/alloc.c:5276
ocfs2_dio_end_io_write+0x5bc/0xaa0 fs/ocfs2/aops.c:2350
ocfs2_dio_end_io+0x8c/0x180 fs/ocfs2/aops.c:2404
dio_complete+0x12e/0x4b0 fs/direct-io.c:281
__blockdev_direct_IO+0x1782/0x1b40 fs/direct-io.c:1303
ocfs2_direct_IO+0xf6/0x100 fs/ocfs2/aops.c:2441
generic_file_direct_write+0xb4/0x180 mm/filemap.c:4176
__generic_file_write_iter+0xa1/0x130 mm/filemap.c:4345
ocfs2_file_write_iter+0x68a/0x15a0 fs/ocfs2/file.c:2469
connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF
---
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 syzkaller@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 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.
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [syzbot] [ocfs2?] memory leak in ocfs2_new_path_from_path
2025-11-07 17:11 [syzbot] [ocfs2?] memory leak in ocfs2_new_path_from_path syzbot
@ 2025-12-02 19:51 ` syzbot
2025-12-04 16:11 ` Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 559e608c46553c107dbba19dae0854af7b219400 syzbot
1 sibling, 0 replies; 4+ messages in thread
From: syzbot @ 2025-12-02 19:51 UTC (permalink / raw)
To: akpm, david.hunter.linux, david, dsterba, jfs-discussion, jlbec,
joseph.qi, khalid, linux-kernel-mentees, linux-kernel, mark,
ocfs2-devel, penguin-kernel, shaggy, shivankg, skhan, ssrane_b23,
syzkaller-bugs
syzbot has found a reproducer for the following issue on:
HEAD commit: 4a26e7032d7d Merge tag 'core-bugs-2025-12-01' of git://git..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=111c14c2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=cbf343972ee89096
dashboard link: https://syzkaller.appspot.com/bug?extid=cfc7cab3bb6eaa7c4de2
compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16833512580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=151c14c2580000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/3f4ff8b7d65f/disk-4a26e703.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/2fbb585ef1ac/vmlinux-4a26e703.xz
kernel image: https://storage.googleapis.com/syzbot-assets/dfdc58db78d3/bzImage-4a26e703.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/ef2db83daf44/mount_0.gz
fsck result: OK (log: https://syzkaller.appspot.com/x/fsck.log?x=14cae192580000)
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+cfc7cab3bb6eaa7c4de2@syzkaller.appspotmail.com
BUG: memory leak
unreferenced object 0xffff8881292668a0 (size 96):
comm "syz.1.52", pid 6365, jiffies 4294945684
hex dump (first 32 bytes):
01 00 00 00 00 00 00 00 80 0e 31 82 ff ff ff ff ..........1.....
50 e7 58 27 81 88 ff ff c0 54 eb 33 81 88 ff ff P.X'.....T.3....
backtrace (crc d3d62878):
kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
slab_post_alloc_hook mm/slub.c:4983 [inline]
slab_alloc_node mm/slub.c:5288 [inline]
__kmalloc_cache_noprof+0x3a6/0x5b0 mm/slub.c:5766
kmalloc_noprof include/linux/slab.h:957 [inline]
kzalloc_noprof include/linux/slab.h:1094 [inline]
ocfs2_new_path fs/ocfs2/alloc.c:688 [inline]
ocfs2_new_path_from_path+0x4f/0x90 fs/ocfs2/alloc.c:702
ocfs2_get_left_path.constprop.0+0x182/0x390 fs/ocfs2/alloc.c:3491
ocfs2_merge_rec_left+0x426/0xe60 fs/ocfs2/alloc.c:3543
ocfs2_try_to_merge_extent+0x3cb/0xe90 fs/ocfs2/alloc.c:3794
ocfs2_split_extent+0xd2e/0x1330 fs/ocfs2/alloc.c:5139
ocfs2_change_extent_flag+0x2ed/0x720 fs/ocfs2/alloc.c:5230
ocfs2_mark_extent_written+0x1e3/0x2c0 fs/ocfs2/alloc.c:5276
ocfs2_dio_end_io_write+0x5bc/0xaa0 fs/ocfs2/aops.c:2350
ocfs2_dio_end_io+0x8c/0x180 fs/ocfs2/aops.c:2404
dio_complete+0x12e/0x4b0 fs/direct-io.c:281
__blockdev_direct_IO+0x1782/0x1b40 fs/direct-io.c:1303
ocfs2_direct_IO+0xf6/0x100 fs/ocfs2/aops.c:2441
generic_file_direct_write+0xb4/0x180 mm/filemap.c:4234
__generic_file_write_iter+0xa1/0x130 mm/filemap.c:4403
ocfs2_file_write_iter+0x68a/0x15a0 fs/ocfs2/file.c:2469
connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF
---
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.
^ permalink raw reply [flat|nested] 4+ messages in thread* Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 559e608c46553c107dbba19dae0854af7b219400
2025-11-07 17:11 [syzbot] [ocfs2?] memory leak in ocfs2_new_path_from_path syzbot
2025-12-02 19:51 ` syzbot
@ 2025-12-04 16:11 ` syzbot
1 sibling, 0 replies; 4+ messages in thread
From: syzbot @ 2025-12-04 16:11 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 559e608c46553c107dbba19dae0854af7b219400
Author: dmantipov@yandex.ru
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 559e608c46553c107dbba19dae0854af7b219400
^ permalink raw reply [flat|nested] 4+ messages in thread
* [syzbot] [wireless?] KASAN: slab-out-of-bounds Read in ieee80211_add_virtual_monitor
@ 2025-11-16 7:50 syzbot
2025-12-04 12:41 ` Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 559e608c46553c107dbba19dae0854af7b219400 syzbot
0 siblings, 1 reply; 4+ messages in thread
From: syzbot @ 2025-11-16 7:50 UTC (permalink / raw)
To: johannes, linux-kernel, linux-wireless, netdev, syzkaller-bugs
Hello,
syzbot found the following issue on:
HEAD commit: 04ca7a69a35b net: bnx2x: convert to use get_rx_ring_count
git tree: net-next
console output: https://syzkaller.appspot.com/x/log.txt?x=1330a914580000
kernel config: https://syzkaller.appspot.com/x/.config?x=4dda49799a90cd0f
dashboard link: https://syzkaller.appspot.com/bug?extid=bc1aabf52d0a31e91f96
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/fe2c1ac0be7e/disk-04ca7a69.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/b6c6a173a173/vmlinux-04ca7a69.xz
kernel image: https://storage.googleapis.com/syzbot-assets/8a163d4feba0/bzImage-04ca7a69.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+bc1aabf52d0a31e91f96@syzkaller.appspotmail.com
tipc: Resetting bearer <eth:syzkaller0>
==================================================================
BUG: KASAN: slab-out-of-bounds in ieee80211_add_virtual_monitor+0xa52/0xd00 net/mac80211/iface.c:1255
Read of size 1 at addr ffff888047b63d50 by task syz.3.4250/20835
CPU: 0 UID: 0 PID: 20835 Comm: syz.3.4250 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
<TASK>
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xca/0x240 mm/kasan/report.c:482
kasan_report+0x118/0x150 mm/kasan/report.c:595
ieee80211_add_virtual_monitor+0xa52/0xd00 net/mac80211/iface.c:1255
ieee80211_do_stop+0x1786/0x1f60 net/mac80211/iface.c:746
ieee80211_stop+0x1b1/0x240 net/mac80211/iface.c:828
__dev_close_many+0x364/0x6f0 net/core/dev.c:1756
netif_close_many+0x225/0x410 net/core/dev.c:1781
netif_close+0x158/0x210 net/core/dev.c:1798
dev_close+0x10a/0x220 net/core/dev_api.c:220
cfg80211_shutdown_all_interfaces+0xd4/0x220 net/wireless/core.c:280
cfg80211_rfkill_set_block+0x2d/0x50 net/wireless/core.c:310
rfkill_set_block+0x1d2/0x440 net/rfkill/core.c:346
rfkill_fop_write+0x44b/0x570 net/rfkill/core.c:1301
vfs_write+0x27e/0xb30 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbbceb8f6c9
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:00007fbbcfa30038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fbbcede5fa0 RCX: 00007fbbceb8f6c9
RDX: 0000000000000008 RSI: 0000200000000080 RDI: 0000000000000008
RBP: 00007fbbcec11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbbcede6038 R14: 00007fbbcede5fa0 R15: 00007ffd05a68698
</TASK>
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888047b63a80 pfn:0x47b60
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f8(unknown)
raw: 00fff00000000040 0000000000000000 dead000000000122 0000000000000000
raw: ffff888047b63a80 0000000000000000 00000000f8000000 0000000000000000
head: 00fff00000000040 0000000000000000 dead000000000122 0000000000000000
head: ffff888047b63a80 0000000000000000 00000000f8000000 0000000000000000
head: 00fff00000000002 ffffea00011ed801 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0x446dc0(GFP_KERNEL_ACCOUNT|__GFP_ZERO|__GFP_NOWARN|__GFP_RETRY_MAYFAIL|__GFP_COMP), pid 12532, tgid 12532 (syz-executor), ts 337218700996, free_ts 297447370395
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850
prep_new_page mm/page_alloc.c:1858 [inline]
get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183
alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2416
___kmalloc_large_node+0x5f/0x1b0 mm/slub.c:5591
__kmalloc_large_node_noprof+0x18/0x90 mm/slub.c:5622
__do_kmalloc_node mm/slub.c:5638 [inline]
__kvmalloc_node_noprof+0x6e/0x910 mm/slub.c:7108
alloc_netdev_mqs+0xa6/0x11b0 net/core/dev.c:11989
ieee80211_if_add+0x46c/0x1390 net/mac80211/iface.c:2227
ieee80211_register_hw+0x35a5/0x40d0 net/mac80211/main.c:1607
mac80211_hwsim_new_radio+0x2f9a/0x5260 drivers/net/wireless/virtual/mac80211_hwsim.c:5810
hwsim_new_radio_nl+0xf5b/0x1bd0 drivers/net/wireless/virtual/mac80211_hwsim.c:6504
genl_family_rcv_msg_doit+0x215/0x300 net/netlink/genetlink.c:1115
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0x60e/0x790 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2550
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
page last free pid 5833 tgid 5833 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1394 [inline]
__free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906
discard_slab mm/slub.c:3330 [inline]
__put_partials+0x146/0x170 mm/slub.c:3876
put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3951
__slab_free+0x2b9/0x390 mm/slub.c:5929
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352
kasan_slab_alloc include/linux/kasan.h:252 [inline]
slab_post_alloc_hook mm/slub.c:4978 [inline]
slab_alloc_node mm/slub.c:5288 [inline]
__do_kmalloc_node mm/slub.c:5649 [inline]
__kvmalloc_node_noprof+0x577/0x910 mm/slub.c:7108
xt_jumpstack_alloc net/netfilter/x_tables.c:1356 [inline]
xt_replace_table+0x18a/0x790 net/netfilter/x_tables.c:1395
__do_replace+0x163/0xaa0 net/ipv4/netfilter/arp_tables.c:912
do_replace net/ipv4/netfilter/arp_tables.c:989 [inline]
do_arpt_set_ctl+0xa2a/0xf10 net/ipv4/netfilter/arp_tables.c:1429
nf_setsockopt+0x26f/0x290 net/netfilter/nf_sockopt.c:101
do_sock_setsockopt+0x17c/0x1b0 net/socket.c:2360
__sys_setsockopt net/socket.c:2385 [inline]
__do_sys_setsockopt net/socket.c:2391 [inline]
__se_sys_setsockopt net/socket.c:2388 [inline]
__x64_sys_setsockopt+0x13f/0x1b0 net/socket.c:2388
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff888047b63c00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
ffff888047b63c80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
>ffff888047b63d00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
^
ffff888047b63d80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
ffff888047b63e00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
==================================================================
---
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 syzkaller@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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-12-04 16:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-07 17:11 [syzbot] [ocfs2?] memory leak in ocfs2_new_path_from_path syzbot
2025-12-02 19:51 ` syzbot
2025-12-04 16:11 ` Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 559e608c46553c107dbba19dae0854af7b219400 syzbot
-- strict thread matches above, loose matches on Subject: below --
2025-11-16 7:50 [syzbot] [wireless?] KASAN: slab-out-of-bounds Read in ieee80211_add_virtual_monitor syzbot
2025-12-04 12:41 ` Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 559e608c46553c107dbba19dae0854af7b219400 syzbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox