All of
 help / color / mirror / Atom feed
From: Dan Carpenter <>
To: Christophe JAILLET <>
	"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 11:37:13 +0300	[thread overview]
Message-ID: <91d964c2-3d5a-4e96-a4db-e755455c5b5c@moroto.mountain> (raw)
In-Reply-To: <>

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.

dan carpenter

  reply	other threads:[~2024-02-19  8:37 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 [this message]
2024-02-19 17:59   ` Christophe JAILLET
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 \
    --in-reply-to=91d964c2-3d5a-4e96-a4db-e755455c5b5c@moroto.mountain \ \ \ \ \ \ \ \ \ \ \ \ \ \

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