From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8295D2B2D7 for ; Mon, 6 Jul 2026 13:55:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783346103; cv=none; b=mN9aVkZAADKaAy6g0DnJmpTCdLwXDmuR55xQLOPX9Qyu4n20LqMALiDK52PuG0V5YZpdqAaUxCFAaA4kswPyZqdvPqsSCqRa2jQUV3E3v0zyySliIyldYUDA3bKYiH2bVvyQUEF0AjfRYHIXvY4i27Kic4HBflDiFhMB5Ff2U2w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783346103; c=relaxed/simple; bh=epdmZeYWXxqUlfY4eqIucLpWHKILJ5d7ib+NrbAEYEE=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=edw07uToTM2Pij7Ej1I9lWrJYgeZE8s05/HJOyChK5/DfZavBnluqyFTQCcq1/kAHRPRpjAvCcXknYW39bsSMigwPj8YV4kw8+TqLRB567oEn7owoLfNn/ueXX/V66h519zFd+rn4Fhuw5UAbMtEdC85rklwX71r08jsnht+BiE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.161.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oo1-f70.google.com with SMTP id 006d021491bc7-6a17bd28f4bso4722868eaf.1 for ; Mon, 06 Jul 2026 06:55:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783346101; x=1783950901; h=content-type:to:from:subject:message-id:in-reply-to:date :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=4NcaQvaIxMLpzuFWGQCR7ZzQVsPhKCL+ci8OeWhc1es=; b=V16wgJVRkcUKjgkAEFrvI/pxWZHmx+Zo8/ZhszHbp+pkHxxbzX2YKO2g6JLHi2C63X 2DBPkSQ6VpN0J/Q6HZzY5gmafcp34cleJYYk6XvYdeM/pS4ksZ/4Apu41j/z173/xeFd sFUrsGFALVfZ2PBIVpzK+QE8Q1OW2we3Ll8oy5N/SAZviaCzEiW1b3fcJHEC2mIN3CO1 0TYcf4VpKQ1etSU5VDqUJONaYUtCTglhAOJk6JBBrI7qMRLsFCMjjSjv8jKj9ShG3M6c 1BU8FXBJ4v62/LwaGw5hG/gFUpa5sEakfQd4gopRBbpGg728z88gwm5TzD3ACYa3/lAu uJgw== X-Forwarded-Encrypted: i=1; AFNElJ9BGwr2w5U/QefkirrNveixsr9a3dmg3jCe5yTiu3Qfqu8rZkaVUv9gqDGNo6IfJLDqmLJWF/VvmL23ZBI=@vger.kernel.org X-Gm-Message-State: AOJu0YzgMqrS0vVBjlwk7TJS57VAmSxJkD4ij5tpMC+Q9SW4dH589XZJ pqAneGP+ELuT84j5d24Fx50iEz+j4PmZxbPJoMK3li6Vdn9bCxdl+tqK0q6EJvuMrOiFgwwmTWp e38amtanEtIjrhh7su17zsjk91+c1fVSuqHRlndEFPuH7iLdCEpgfdX/6UYw= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:1c94:b0:6a1:7953:38ed with SMTP id 006d021491bc7-6a3556e68b5mr307907eaf.67.1783346101420; Mon, 06 Jul 2026 06:55:01 -0700 (PDT) Date: Mon, 06 Jul 2026 06:55:01 -0700 In-Reply-To: <275ed678-5216-4d1c-bcff-22b63e689587@yandex.ru> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a4bb3b5.b42ede87.8bd1.0028.GAE@google.com> Subject: Re: [syzbot] [serial?] memory leak in gsm_activate_mux From: syzbot To: dmantipov@yandex.ru, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: memory leak in gsm_activate_mux BUG: memory leak unreferenced object 0xffff8881035efc00 (size 1024): comm "syz-executor.0", pid 5304, jiffies 4294943119 hex dump (first 32 bytes): 00 0c 9c 08 81 88 ff ff 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc c142557c): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4625 [inline] slab_alloc_node mm/slub.c:4945 [inline] __kmalloc_cache_noprof+0x356/0x440 mm/slub.c:5511 _kmalloc_noprof include/linux/slab.h:969 [inline] _kzalloc_noprof include/linux/slab.h:1290 [inline] gsm_dlci_alloc+0x29/0x1b0 drivers/tty/n_gsm.c:2648 gsm_activate_mux+0x1a/0x1a0 drivers/tty/n_gsm.c:3189 gsm_config_ext drivers/tty/n_gsm.c:3494 [inline] gsmld_ioctl+0x1b8/0x9e0 drivers/tty/n_gsm.c:3858 tty_ioctl+0xabc/0xd50 drivers/tty/tty_io.c:2801 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0xf4/0x140 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x5f/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x76/0x7e BUG: memory leak unreferenced object 0xffff888109829c00 (size 1024): comm "syz-executor.0", pid 5396, jiffies 4294943679 hex dump (first 32 bytes): 00 ec 2f 03 81 88 ff ff 00 00 00 00 00 00 00 00 ../............. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 2f81146e): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4625 [inline] slab_alloc_node mm/slub.c:4945 [inline] __kmalloc_cache_noprof+0x356/0x440 mm/slub.c:5511 _kmalloc_noprof include/linux/slab.h:969 [inline] _kzalloc_noprof include/linux/slab.h:1290 [inline] gsm_dlci_alloc+0x29/0x1b0 drivers/tty/n_gsm.c:2648 gsm_activate_mux+0x1a/0x1a0 drivers/tty/n_gsm.c:3189 gsm_config_ext drivers/tty/n_gsm.c:3494 [inline] gsmld_ioctl+0x1b8/0x9e0 drivers/tty/n_gsm.c:3858 tty_ioctl+0xabc/0xd50 drivers/tty/tty_io.c:2801 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0xf4/0x140 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x5f/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x76/0x7e Tested on: commit: 8cdeaa50 Linux 7.2-rc2 git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git console output: https://syzkaller.appspot.com/x/log.txt?x=16c82b39580000 kernel config: https://syzkaller.appspot.com/x/.config?x=83d5b4d9fb5a5039 dashboard link: https://syzkaller.appspot.com/bug?extid=b5d1f455d385b2c7da3c compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 Note: no patches were applied.