From: "Bryn M. Reeves" <bmr@redhat.com>
To: Mikulas Patocka <mpatocka@redhat.com>
Cc: dm-devel@lists.linux.dev, Tony Asleson <tasleson@redhat.com>,
Alasdair Kergon <agk@redhat.com>,
Zdenek Kabelac <zkabelac@redhat.com>,
Benjamin Marzinski <bmarzins@redhat.com>
Subject: Re: [PATCH] dm: fix a buffer overflow in ioctl processing
Date: Thu, 9 Apr 2026 17:42:48 +0100 [thread overview]
Message-ID: <adfXCEMPDWBh_Bi0@redhat.com> (raw)
In-Reply-To: <510b5754-3944-6b4e-03b8-f3a7dc137944@redhat.com>
On Thu, Apr 09, 2026 at 05:49:58PM +0200, Mikulas Patocka wrote:
> Luckily, this bug has no security implications because:
> 1. Only root can issue device mapper ioctls
> 2. The commonly used libraries that communicate with device mapper
> (libdevmapper and devicemapper-rs) use buffer size that is aligned to
> 8 bytes - thus, "outptr = align_ptr(outptr)" can't overshoot the input
> buffer and the bug can't happen accidentally
>
> Reported-by: Tony Asleson <tasleson@redhat.com>
> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Bryn M. Reeves <bmr@redhat.com>
prev parent reply other threads:[~2026-04-09 16:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-09 15:49 [PATCH] dm: fix a buffer overflow in ioctl processing Mikulas Patocka
2026-04-09 16:42 ` Bryn M. Reeves [this message]
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=adfXCEMPDWBh_Bi0@redhat.com \
--to=bmr@redhat.com \
--cc=agk@redhat.com \
--cc=bmarzins@redhat.com \
--cc=dm-devel@lists.linux.dev \
--cc=mpatocka@redhat.com \
--cc=tasleson@redhat.com \
--cc=zkabelac@redhat.com \
/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.