[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aQDOpeQIU1G4nA1F@hoboy.vegasvil.org>
Date: Tue, 28 Oct 2025 07:09:41 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Junjie Cao <junjie.cao@...el.com>
Cc: Andrew Lunn <andrew+netdev@...n.ch>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com,
syzbot+c8c0e7ccabd456541612@...kaller.appspotmail.com
Subject: Re: [PATCH] ptp: guard ptp_clock_gettime() if neither gettimex64 nor
On Tue, Oct 28, 2025 at 05:51:43PM +0800, Junjie Cao wrote:
> Syzbot reports a NULL function pointer call on arm64 when
> ptp_clock_gettime() falls back to ->gettime64() and the driver provides
> neither ->gettimex64() nor ->gettime64(). This leads to a crash in the
> posix clock gettime path.
Drivers must provide a gettime method.
If they do not, then that is a bug in the driver.
Thanks,
Richard
Powered by blists - more mailing lists