[<prev] [next>] [day] [month] [year] [list]
Message-ID: <0000000000009fffb7060b750f4f@google.com>
Date: Fri, 01 Dec 2023 08:14:21 -0800
From: syzbot <syzbot+989b6c53cd6d6ec47ab2@...kaller.appspotmail.com>
To: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org, pabeni@...hat.com,
syzkaller-bugs@...glegroups.com
Subject: [syzbot] [net?] memory leak in copy_net_ns (2)
Hello,
syzbot found the following issue on:
HEAD commit: e017769f4ce2 Merge tag 'for-6.6-rc7-tag' of git://git.kern..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10277593680000
kernel config: https://syzkaller.appspot.com/x/.config?x=8c4e4700f1727d30
dashboard link: https://syzkaller.appspot.com/bug?extid=989b6c53cd6d6ec47ab2
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=174e61ed680000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/52a9cd027b72/disk-e017769f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/646078695995/vmlinux-e017769f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/a78855f93880/bzImage-e017769f.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+989b6c53cd6d6ec47ab2@...kaller.appspotmail.com
BUG: memory leak
unreferenced object 0xffff88810e8d3660 (size 32):
comm "syz-executor.3", pid 5088, jiffies 4294979538 (age 423.340s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff81574aa5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1117
[<ffffffff83eb94f0>] kmalloc include/linux/slab.h:599 [inline]
[<ffffffff83eb94f0>] kzalloc include/linux/slab.h:720 [inline]
[<ffffffff83eb94f0>] net_alloc net/core/net_namespace.c:422 [inline]
[<ffffffff83eb94f0>] copy_net_ns+0xc0/0x3d0 net/core/net_namespace.c:476
[<ffffffff812db5d7>] create_new_namespaces+0x197/0x500 kernel/nsproxy.c:110
[<ffffffff812dc012>] unshare_nsproxy_namespaces+0xa2/0x120 kernel/nsproxy.c:228
[<ffffffff81293f84>] ksys_unshare+0x314/0x610 kernel/fork.c:3435
[<ffffffff81294296>] __do_sys_unshare kernel/fork.c:3506 [inline]
[<ffffffff81294296>] __se_sys_unshare kernel/fork.c:3504 [inline]
[<ffffffff81294296>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:3504
[<ffffffff84b2b548>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
[<ffffffff84b2b548>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
[<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
BUG: memory leak
unreferenced object 0xffff88810e8d3fa0 (size 32):
comm "syz-executor.4", pid 5078, jiffies 4294979546 (age 423.260s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff81574aa5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1117
[<ffffffff83eb94f0>] kmalloc include/linux/slab.h:599 [inline]
[<ffffffff83eb94f0>] kzalloc include/linux/slab.h:720 [inline]
[<ffffffff83eb94f0>] net_alloc net/core/net_namespace.c:422 [inline]
[<ffffffff83eb94f0>] copy_net_ns+0xc0/0x3d0 net/core/net_namespace.c:476
[<ffffffff812db5d7>] create_new_namespaces+0x197/0x500 kernel/nsproxy.c:110
[<ffffffff812dc012>] unshare_nsproxy_namespaces+0xa2/0x120 kernel/nsproxy.c:228
[<ffffffff81293f84>] ksys_unshare+0x314/0x610 kernel/fork.c:3435
[<ffffffff81294296>] __do_sys_unshare kernel/fork.c:3506 [inline]
[<ffffffff81294296>] __se_sys_unshare kernel/fork.c:3504 [inline]
[<ffffffff81294296>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:3504
[<ffffffff84b2b548>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
[<ffffffff84b2b548>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
[<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
BUG: memory leak
unreferenced object 0xffff888111239400 (size 32):
comm "syz-executor.1", pid 5075, jiffies 4294979553 (age 423.190s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff81574aa5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1117
[<ffffffff83eb94f0>] kmalloc include/linux/slab.h:599 [inline]
[<ffffffff83eb94f0>] kzalloc include/linux/slab.h:720 [inline]
[<ffffffff83eb94f0>] net_alloc net/core/net_namespace.c:422 [inline]
[<ffffffff83eb94f0>] copy_net_ns+0xc0/0x3d0 net/core/net_namespace.c:476
[<ffffffff812db5d7>] create_new_namespaces+0x197/0x500 kernel/nsproxy.c:110
[<ffffffff812dc012>] unshare_nsproxy_namespaces+0xa2/0x120 kernel/nsproxy.c:228
[<ffffffff81293f84>] ksys_unshare+0x314/0x610 kernel/fork.c:3435
[<ffffffff81294296>] __do_sys_unshare kernel/fork.c:3506 [inline]
[<ffffffff81294296>] __se_sys_unshare kernel/fork.c:3504 [inline]
[<ffffffff81294296>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:3504
[<ffffffff84b2b548>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
[<ffffffff84b2b548>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
[<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
BUG: memory leak
unreferenced object 0xffff888111239840 (size 32):
comm "syz-executor.7", pid 5076, jiffies 4294979555 (age 423.170s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff81574aa5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1117
[<ffffffff83eb94f0>] kmalloc include/linux/slab.h:599 [inline]
[<ffffffff83eb94f0>] kzalloc include/linux/slab.h:720 [inline]
[<ffffffff83eb94f0>] net_alloc net/core/net_namespace.c:422 [inline]
[<ffffffff83eb94f0>] copy_net_ns+0xc0/0x3d0 net/core/net_namespace.c:476
[<ffffffff812db5d7>] create_new_namespaces+0x197/0x500 kernel/nsproxy.c:110
[<ffffffff812dc012>] unshare_nsproxy_namespaces+0xa2/0x120 kernel/nsproxy.c:228
[<ffffffff81293f84>] ksys_unshare+0x314/0x610 kernel/fork.c:3435
[<ffffffff81294296>] __do_sys_unshare kernel/fork.c:3506 [inline]
[<ffffffff81294296>] __se_sys_unshare kernel/fork.c:3504 [inline]
[<ffffffff81294296>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:3504
[<ffffffff84b2b548>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
[<ffffffff84b2b548>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
[<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
BUG: memory leak
unreferenced object 0xffff888143eae6c0 (size 32):
comm "syz-executor.6", pid 5077, jiffies 4294979559 (age 423.180s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff81574aa5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1117
[<ffffffff83eb94f0>] kmalloc include/linux/slab.h:599 [inline]
[<ffffffff83eb94f0>] kzalloc include/linux/slab.h:720 [inline]
[<ffffffff83eb94f0>] net_alloc net/core/net_namespace.c:422 [inline]
[<ffffffff83eb94f0>] copy_net_ns+0xc0/0x3d0 net/core/net_namespace.c:476
[<ffffffff812db5d7>] create_new_namespaces+0x197/0x500 kernel/nsproxy.c:110
[<ffffffff812dc012>] unshare_nsproxy_namespaces+0xa2/0x120 kernel/nsproxy.c:228
[<ffffffff81293f84>] ksys_unshare+0x314/0x610 kernel/fork.c:3435
[<ffffffff81294296>] __do_sys_unshare kernel/fork.c:3506 [inline]
[<ffffffff81294296>] __se_sys_unshare kernel/fork.c:3504 [inline]
[<ffffffff81294296>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:3504
[<ffffffff84b2b548>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
[<ffffffff84b2b548>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
[<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 846.
---
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@...glegroups.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
Powered by blists - more mailing lists