All of
 help / color / mirror / Atom feed
From: Christophe JAILLET <>
To: Dan Carpenter <>
	"Gerd Hoffmann" <>,
	"Sumit Semwal" <>,
	"Christian König" <>,
	"Daniel Vetter" <>,,,,,
Subject: Re: [PATCH v2] udmabuf: Fix a potential (and unlikely) access to unallocated memory
Date: Mon, 19 Feb 2024 18:59:02 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <91d964c2-3d5a-4e96-a4db-e755455c5b5c@moroto.mountain>

Le 19/02/2024 à 09:37, Dan Carpenter a écrit :
> On Sun, Feb 18, 2024 at 06:46:44PM +0100, Christophe JAILLET wrote:
>> If 'list_limit' is set to a very high value, 'lsize' computation could
>> overflow if 'head.count' is big enough.
> The "list_limit" is set via module parameter so if you set that high
> enough to lead to an integer overflow then you kind of deserve what
> you get.
> This patch is nice for kernel hardening and making the code easier to
> read/audit but the real world security impact is negligible.


That is what I meant by "and unlikely".
Maybe the commit message could be more explicit if needed.

Let me know if ok as-is or if I should try to re-word the description.


> regards,
> dan carpenter

  reply	other threads:[~2024-02-19 18:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-18 17:46 [PATCH v2] udmabuf: Fix a potential (and unlikely) access to unallocated memory Christophe JAILLET
2024-02-19  8:37 ` Dan Carpenter
2024-02-19 17:59   ` Christophe JAILLET [this message]
2024-02-20  5:11     ` Dan Carpenter
2024-02-19 18:47 ` Gustavo A. R. Silva

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:

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

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \ \

* 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.