All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Tso" <tytso@mit.edu>
To: Jai Luthra <jai.luthra@ideasonboard.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Ihor Solodrai <ihor.solodrai@linux.dev>,
	Roman Gushchin <roman.gushchin@linux.dev>,
	Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	Derek Barbosa <debarbos@redhat.com>,
	Matthieu Baerts <matttbe@kernel.org>,
	Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
	Jason Gunthorpe <jgg@ziepe.ca>,
	Steven Rostedt <rostedt@goodmis.org>,
	users@kernel.org,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Stephen Finucane <stephenfin@redhat.com>,
	bpf <bpf@vger.kernel.org>, Chris Mason <clm@meta.com>,
	Christian Brauner <brauner@kernel.org>,
	Alexei Starovoitov <alexei.starovoitov@gmail.com>
Subject: Re: Linking Patchwork with Sashiko?
Date: Thu, 16 Jul 2026 08:32:14 -0400	[thread overview]
Message-ID: <aljMl2wAv3mlQHhz@mit.edu> (raw)
In-Reply-To: <178418302445.1426769.8816954031983102120@freya>

On Thu, Jul 16, 2026 at 11:53:44AM -0500, Jai Luthra wrote:
> IMO false positives are possible everywhere, but LLMs are unpredictable in 
> a very different way compared to static-analysis tools *especially* because 
> they can be quite good at finding some issues and are non-deterministic.

Syzbot reports (whether it is of a lockdep or WARN spat) are also
non-determinstic.  Even when it claims to have a reproducer, the
reproducer is not neecessarily reliable.  I think the difference is
that we know what to expect with syzbot, and LLM reviews are new.

And as others have recently pointed out, there is a combination of
very deep subtle, real bugs that humans would not or have not
discovered --- and at the same time, hallucinations that aren't real.
So it's been hard to calibrate whether or not a particular report from
Sashiko is valid or not.  But this is nothing new, and I would claim
that it's not necessarily unique to LLM's.

> I can understand the appeal of using them to find security bugs or as extra 
> "eye balls to make all bugs shallow". And I am not advocating AI as bad or 
> to ban it. But I do think usage of LLMs through Sashiko may give us free 
> reviews, but require brand new work of reviewing the reviews. And this new 
> work will be a burden on experienced folks, not newcomers, who will simply 
> believe the LLM output because it is (or sounds) smarter than them.

Syzbot and oss-fuzz has been an extra burden on us as well.  I suspect
how much each tool impacts each subsystem varies, but I've had *way*
more syzbot false positives (e.g., reports that don't conform to our
threat models, such as reproducers using root privileges to modify the
loop device out from under a file system being reported as a "security
bug") than with Sashiko.  But it seems pretty clear that each
subsystem's experience has had different experiences with differnt
tools.

> My point isn't that static-analysis tools can't make the same mistake, but 
> that they're open source and fixable in a way that current architecture of 
> LLM models isn't in general, other than giving it an ever-increasing prompt 
> and hoping the random-number generator gods bless me when I need them to.

Sashiko is open source as well, and there are a number of ways of
fixing this, including adding annotations to the source code, etc.

Sure, figuring out prompts is tricky, but I'd argue so is making
changes to Clang for its context analysis.  Fortunately, there are
people who are smarter than me in terms of their Clang-fu who have
been improving Clang.  Similarly, Roman and his team are working on
improving Sashiko.  I don't think anyone has said that kernel
developers are responsible for changing the prompts (or changing
syzbot, Coverity, etc.)

Cheers,

						- Ted

  reply	other threads:[~2026-07-16 12:32 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260528144627.1ae09ff2@foz.lan>
     [not found] ` <1372F826-5513-4EB2-AE27-1DC0D2DE0AEB@linux.dev>
     [not found]   ` <20260529083100.6710b6cd@foz.lan>
     [not found]     ` <20260529083801.2c7e8990@foz.lan>
     [not found]       ` <ahmwUk0uXTkdwohf@debarbos-thinkpadt14gen5.rmtusma.csb>
2026-05-30  8:30         ` Linking Patchwork with Sashiko? Mauro Carvalho Chehab
2026-05-30 15:57           ` Roman Gushchin
2026-05-30 18:00             ` Mauro Carvalho Chehab
2026-05-30 18:49               ` Mauro Carvalho Chehab
2026-05-30 18:53                 ` Mauro Carvalho Chehab
2026-06-02 15:51                   ` Derek Barbosa
2026-06-02 16:51                     ` Mauro Carvalho Chehab
2026-06-02 18:39                       ` Jason Gunthorpe
2026-06-02 20:29                         ` Mauro Carvalho Chehab
2026-06-02 20:13                     ` Roman Gushchin
2026-06-02 20:39                       ` Mauro Carvalho Chehab
2026-06-02 20:44                         ` Roman Gushchin
2026-06-02 23:50                         ` Matthieu Baerts
2026-06-03  3:35                           ` Mauro Carvalho Chehab
2026-06-03  3:49                             ` Roman Gushchin
2026-06-04  6:52                           ` Mauro Carvalho Chehab
2026-06-07 17:56                             ` Mauro Carvalho Chehab
2026-06-30 20:32                               ` Derek Barbosa
2026-07-10  5:45                                 ` Mauro Carvalho Chehab
2026-07-10  6:39                                   ` Mauro Carvalho Chehab
2026-07-11  1:01                                     ` Roman Gushchin
2026-07-13  7:55                                       ` Mauro Carvalho Chehab
2026-07-13  9:41                                         ` Laurent Pinchart
2026-07-13 20:04                                           ` Mauro Carvalho Chehab
2026-07-14 22:55                                             ` Roman Gushchin
2026-07-15  0:59                                               ` Laurent Pinchart
2026-07-15  2:00                                                 ` Roman Gushchin
2026-07-15  3:06                                                   ` Linus Torvalds
2026-07-15 12:21                                                     ` Jori Koolstra
2026-07-15 16:50                                                       ` Steven Rostedt
2026-07-15 18:13                                                       ` Nicolas Dufresne
2026-07-15 19:12                                                         ` Laurent Pinchart
2026-07-15 19:27                                                           ` Nicolas Dufresne
2026-07-15 20:03                                                             ` Laurent Pinchart
2026-07-16 15:04                                                       ` August Zeller
2026-07-15 16:43                                                     ` Laurent Pinchart
2026-07-15 23:28                                                     ` lyude
2026-07-15  7:59                                                   ` Jacopo Mondi
2026-07-15  8:40                                                     ` Mauro Carvalho Chehab
2026-07-15 17:31                                                     ` Theodore Tso
2026-07-16  8:07                                                       ` Jacopo Mondi
2026-07-15 12:38                                                   ` Mark Brown
2026-07-15 16:28                                                   ` Laurent Pinchart
2026-07-15 21:08                                                     ` Roman Gushchin
2026-07-15 23:20                                                       ` Steven Rostedt
2026-07-16  0:09                                                         ` Roman Gushchin
2026-07-15  3:54                                                 ` Theodore Tso
2026-07-15  7:13                                                   ` Mauro Carvalho Chehab
2026-07-15 12:42                                                     ` James Bottomley
2026-07-15 16:18                                                       ` Laurent Pinchart
2026-07-15 16:53                                                         ` James Bottomley
2026-07-15 17:09                                                           ` Laurent Pinchart
2026-07-15 16:11                                                   ` Laurent Pinchart
2026-07-15 17:00                                                     ` Jan Kara
2026-07-15 20:28                                                       ` Laurent Pinchart
2026-07-15 20:36                                                         ` James Bottomley
2026-07-15 20:42                                                           ` Laurent Pinchart
2026-07-16  0:14                                                             ` Roman Gushchin
2026-07-16  7:04                                                           ` Mauro Carvalho Chehab
2026-07-15 23:32                                                         ` Steven Rostedt
2026-07-16  0:03                                                           ` Roman Gushchin
2026-07-16  7:21                                                         ` Mauro Carvalho Chehab
2026-07-16 13:33                                                         ` Jan Kara
2026-07-15 17:14                                                     ` Theodore Tso
2026-07-15 17:35                                                       ` Miguel Ojeda
2026-07-15 17:41                                                       ` Laurent Pinchart
2026-07-15 18:18                                                         ` Linus Torvalds
2026-07-15 18:51                                                           ` Laurent Pinchart
2026-07-15 19:14                                                             ` Linus Torvalds
2026-07-15 20:13                                                               ` Laurent Pinchart
2026-07-16  9:20                                                                 ` Giacomo Tesio
2026-07-16 15:10                                                                 ` August Zeller
2026-07-15 16:28                                                 ` Ihor Solodrai
2026-07-15 16:39                                                   ` Laurent Pinchart
2026-07-15 17:12                                                     ` Ihor Solodrai
2026-07-15 17:35                                                       ` Mark Brown
2026-07-15 18:39                                                         ` Ihor Solodrai
2026-07-15 20:32                                                           ` Mark Brown
2026-07-15 19:06                                                       ` Laurent Pinchart
2026-07-15 21:13                                                         ` Theodore Tso
2026-07-16  3:00                                                           ` Nicolas Dufresne
2026-07-16  3:53                                                             ` Theodore Tso
2026-07-16  7:55                                                               ` Mauro Carvalho Chehab
2026-07-16  6:23                                                           ` Jai Luthra
2026-07-16 12:32                                                             ` Theodore Tso [this message]
2026-07-15 17:41                                                     ` Jason Gunthorpe
2026-07-15 19:10                                                       ` Laurent Pinchart
2026-07-15 19:55                                                         ` Mark Brown
2026-07-15 19:38                                                       ` Dmitry Torokhov
2026-07-15 21:27 voste62ocr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aljMl2wAv3mlQHhz@mit.edu \
    --to=tytso@mit.edu \
    --cc=alexei.starovoitov@gmail.com \
    --cc=bpf@vger.kernel.org \
    --cc=brauner@kernel.org \
    --cc=clm@meta.com \
    --cc=debarbos@redhat.com \
    --cc=ihor.solodrai@linux.dev \
    --cc=jai.luthra@ideasonboard.com \
    --cc=jgg@ziepe.ca \
    --cc=konstantin@linuxfoundation.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=matttbe@kernel.org \
    --cc=mchehab+huawei@kernel.org \
    --cc=roman.gushchin@linux.dev \
    --cc=rostedt@goodmis.org \
    --cc=stephenfin@redhat.com \
    --cc=users@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.