From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f72.google.com (mail-oo1-f72.google.com [209.85.161.72]) (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 2E15C30E0C5 for ; Tue, 16 Dec 2025 23:37:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765928254; cv=none; b=aAVc5lfTaQzoCNjwKiKf9vAwXIDJikOy6rv5OoT2wsAWgWo+NKwSNjLINBpr75G5xlvTRXdbhoZptFAtnrCaThS95pALua1PAsPzgrJlZq57PsZ9ckpsu/DDTvMij8e+CyzlW7UXcwFio5+xt+eABgNpjf12f/JTQYFpriF1FYk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765928254; c=relaxed/simple; bh=grYny2ia4hvQkpttvoUQmRTBpiSu80ReuHOKcHNa460=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To:Cc: Content-Type; b=r3BjawKX/GIzDC0TqY2lh7rLs2uZL7a0r/IjnkVMvFeqOoqO76JqvHEAMTYf33plXRHwHwdFH0/odyk1zl1gdjlC7V+Rbrmjar2SZOoFLeg46tapwVnjyEdbAhdrCOTWg2YUWPzooziqaYRY2zZB+LO/sgtNV/PqMCoCyQqmUyE= 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.72 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-f72.google.com with SMTP id 006d021491bc7-656b2edce07so8079864eaf.0 for ; Tue, 16 Dec 2025 15:37:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765928251; x=1766533051; h=cc:to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wZrl+MCmkXOmbLnnGi2peytpLSfubDgXP6idgTB7/Rg=; b=mz/6nI6HaXfeoEEibSDaryms/ociKnUp/HoSJ55QQjUXnonyMeAi/QgqcD2yrQlJ1G 79ZjdaB/Y1Ua1E70jbuAdb+x2pyNVOJb2ZZpXa2UMY93VJfPtOlsLMvmYbEeYoRwwf04 dzE5DiIkIijY2z/Zfrag9/ACqaEBqE3jkagpxH+qFPWBPv9piHCNugjNKeL6yOcPRS5q tPmIxsvCP2Sh2DV6cbf+FTd+8c+N3oHNcjU/so6HxrnflgxB2ineou0haYAwsoaU0Chm O2Sn0/5zTvpLV89rzH57+wuYW79EyZbHmdX5jLk9nvnbmCvkc0AjwNxwjTjnw3CTiONL aTWQ== X-Forwarded-Encrypted: i=1; AJvYcCVRAf5gXe6BktNu4BWuLKmW+gIK/6qxdbAqoaHcONgs/nzf+jyULf3goyHOKmQFXgn09J+nkqn9ufpSBcY=@vger.kernel.org X-Gm-Message-State: AOJu0Ywx6zUIcJULlUOTbpmO5tHxogxUbdwt265kaAy7Ga/0n6EhgSOa s6V9lCVYsxcAEN1B+XnVi9HC1zXPCYmjcPcgYnY7j0Xyl/MhPlta5LpJERN+B3i02xxe2wk2nIN UEVlwWfmFVixyfNq/N/AQUaMgX1Ve54KzsAXQ0nfMWFDALNIwzyFak6+w2GU= X-Google-Smtp-Source: AGHT+IFEo9CUOmwyijdIRd9ruZvJljXYYalnXQ4dhCj6xE7nMEfRaFFnbKJNPoq10FF1SgUH0wcC0hoXSqUZlUMpiDDn4kNyoVxx 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:238a:b0:659:9a49:8f30 with SMTP id 006d021491bc7-65b4522562fmr6719790eaf.65.1765928251179; Tue, 16 Dec 2025 15:37:31 -0800 (PST) Date: Tue, 16 Dec 2025 15:37:31 -0800 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6941ed3b.a70a0220.207337.001f.GAE@google.com> Subject: Re: [syzbot] [net?] [usb?] memory leak in rtl8150_set_multicast From: syzbot To: rakagunarto@gmail.com Cc: rakagunarto@gmail.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" > #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git I've failed to parse your command. Did you perhaps forget to provide the branch name, or added an extra ':'? Please use one of the two supported formats: 1. #syz test 2. #syz test: repo branch-or-commit-hash Note the lack of ':' in option 1. > master > > async_set_registers() does not free the urb and req on the > usb_submit_urb() call fail path. Fix by freeing both objects. > > Reported-by: syzbot+8dd915c7cb0490fc8c52@syzkaller.appspotmail.com > Signed-off-by: Raka Gunarto > --- > drivers/net/usb/rtl8150.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c > index 278e6cb6f4..0f6c700a85 100644 > --- a/drivers/net/usb/rtl8150.c > +++ b/drivers/net/usb/rtl8150.c > @@ -211,6 +211,8 @@ static int async_set_registers(rtl8150_t *dev, u16 > indx, u16 size, u16 reg) > if (res == -ENODEV) > netif_device_detach(dev->netdev); > dev_err(&dev->udev->dev, "%s failed with %d\n", __func__, res); > + usb_free_urb(async_urb); > + kfree(req); > } > return res; > } > --