From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from outbound24.service-now.com (outbound24.service-now.com [149.96.6.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC7921A38CD; Fri, 15 Mar 2024 02:15:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=149.96.6.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710468916; cv=none; b=MFdmUt5qYXxX+x2SdiRZzG6r7m9ZTrVRNRByY1ZTZlEo0YiW619/VNcTlxLYVEVahHOKHOr4MuVqhQzu+tiRPy1t/h+expWw5ZTjz/yHQWuvDjHPbx2n3woTvy37igQqv73B1wM9GhAhdihEwHf99yEfmAxZ5xge24zmAtdM2H8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710468916; c=relaxed/simple; bh=uREuCvA2ZwkvR0x+FuEV8a7hjdww08RBXCd0/Pgn4HA=; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type; b=GmlgR4R7R0+3Ho6Q5fIet4NMQmPxKXGHtK8pUgOOZ+noAe5ziaIn7evQlt7SBWBdOtgYt8PMFiXx+5C9DedLtdRRWGfbBQa74D7CtbjaQhcZca+CzQzunb0LsSbPYYryw5bM24iWnuwsV8z3q9qn39w/xToi4KeRFogIN6ptTgc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; arc=none smtp.client-ip=149.96.6.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Received: from app142018.ycg3.service-now.com (unknown [10.248.3.236]) by outbound24.service-now.com (Postfix) with ESMTP id 240FC401621B; Thu, 14 Mar 2024 19:15:13 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 outbound24.service-now.com 240FC401621B Date: Thu, 14 Mar 2024 19:15:13 -0700 (PDT) From: Red Hat Product Security Reply-To: Red Hat Product Security To: richardcochran@gmail.com, syzkaller@googlegroups.com, liujingfeng@qianxin.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <5524723.20003.1710468913133@app142018.ycg3.service-now.com> Subject: Re: memory leak in posix_clock_open Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_20001_18246630.1710468913133" X-ServiceNow-Source: Notification-ec04d32213ede300196f7e276144b04e X-ServiceNow-SysEmail-Version: 2 Precedence: bulk Auto-Submitted: auto-generated X-ServiceNow-Generated: true ------=_Part_20001_18246630.1710468913133 Content-Type: multipart/alternative; boundary="----=_Part_20002_27205147.1710468913133" ------=_Part_20002_27205147.1710468913133 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 Hello! INC2889741 (memory leak in posix_clock_open) has been updated. Opened for: liujingfeng@qianxin.com Followers: richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller@googlegroups.com A Guest updated your request with the following comments: Reply from: qiang.zhang1211@gmail.com [mailto:qiang.zhang1211@gmail.com] > > On Mon, Mar 11 2024 at 17:46, Z qiang wrote: > > > > diff --git a/kernel/time/posix-clock.c b/kernel/time/posix-clock.c > > index 9de66bbbb3d1..71d9d8c394fa 100644 > > --- a/kernel/time/posix-clock.c > > +++ b/kernel/time/posix-clock.c > > @@ -137,6 +137,8 @@ static int posix_clock_open(struct inode *inode, > > struct file *fp) > > > > if (!err) { > > get_device(clk->dev); > > + } else { > > + kfree(pccontext); > > } > > out: > > up_read(&clk->rwsem); > > Looks about right. Can you please send a proper patch? I will send a patch. Thanks, Zqiang How can I track and update my request? To respond, reply to this email. You may also create a new email and include the request number (INC2889741) in the subject. Thank you, Product Security Ref:MSG86727590 ------=_Part_20002_27205147.1710468913133 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Hello!

INC2889741 (memory= leak in posix_clock_open) has been updated.

Opened for: liujingfeng@qianxin.com
Followers:&n= bsp;richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.ker= nel.org, syzkaller@googlegroups.com

A Guest updated your re= quest with the following comments:

&= nbsp;
>
> On Mon, Mar 11 2024 at 17:46, Z qiang w= rote:
> >
> > diff --git a/kernel/time/posi= x-clock.c b/kernel/time/posix-clock.c
> > index 9de66bbbb3d= 1..71d9d8c394fa 100644
> > --- a/kernel/time/posix-clock.c<= /div>
> > +++ b/kernel/time/posix-clock.c
> > @@ = -137,6 +137,8 @@ static int posix_clock_open(struct inode *inode,
> > struct file *fp)
> >
> > = if (!err) {
> > get_device(clk->dev);
> > + } else {
> > + kfr= ee(pccontext);
> > }
> > out:
> > up_read(&clk->rwsem);
>
> Looks about right. Can you please send a proper patch?
&n= bsp;
I will send a patch.
 
Thanks,
Zqiang

How can I tra= ck and update my request?

To respond, reply to this email. You may also create a new email a= nd include the request number (INC2889741) in the subject.

Thank you,
Product Secu= rity

 
Ref:MSG86727590 ------=_Part_20002_27205147.1710468913133-- ------=_Part_20001_18246630.1710468913133--