From: Eric Ren <renzhengeek@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: mcsontos@redhat.com
Subject: [linux-lvm] buffer overflow detected: lvcreate terminated
Date: Tue, 2 Apr 2019 20:22:45 +0800 [thread overview]
Message-ID: <CAKM4AewTByc_vAfEkcNzfsxj6BKaXKaS-R5mEchxAvY2-cRxMg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]
Hi Marian,
I have a lvm failure below when creating a lot of thin snapshot LVs for
containers as rootfs.
```
*** buffer overflow detected ***: lvcreate terminated\n======= Backtrace:
=========\n/lib64/libc.so.6(__fortify_*fail*
+0x37)[0x7f192c2389e7]\n/lib64/libc.so.6(+0x115b62)[0x7f192c236b62]\n/lib64/libc.so.6(+0x117947)[0x7f192c238947]\n/lib64/libdevmapper-event.so.1.02(+0x21db)[0x7f192cfd21db]\n/lib64/libdevmapper-event.so.1.02(daemon_talk+0xb5)[0x7f192cfd2a55]\n/lib64/libdevmapper-event.so.1.02(+0x331b)[0x7f192cfd331b]\n/lib64/libdevmapper-event.so.1.02(dm_event_get_registered_device+0x77)[0x7f192cfd3a47]\nlvcreate(monitor_dev_for_events+0x3cc)[0x556ec3b5d75c]\nlvcreate(monitor_dev_for_events+0x2ee)[0x556ec3b5d67e]\nlvcreate(lv_suspend_if_active+0x6cc)[0x556ec3b5f25c]\nlvcreate(+0x14196d)
```
My LVM version:
```
#lvm version
LVM version: 2.02.180(2)-RHEL7 (2018-07-20)
Library version: 1.02.149-RHEL7 (2018-07-20)
Driver version: 4.35.0
```
I see you recently pushed this patch, looks like a fix for such problem:
```
commit fdb6ef8a85e9adc4805202b3200b17bd3b351982
Author: Marian Csontos <mcsontos@redhat.com>
Date: Thu Jun 21 10:20:09 2018 +0200
libdm: fix buffer overflow
(cherry picked from commit 8a0af1bec882de66677e1a0cdceff841c39f92b0)
```
May I ask your help for some confirmation?
- how can we reproduce this problem?
- do you think this patch can fix my problem?
Thanks in advance!
Eric
[-- Attachment #2: Type: text/html, Size: 1998 bytes --]
next reply other threads:[~2019-04-02 12:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-02 12:22 Eric Ren [this message]
2019-04-03 9:36 ` [linux-lvm] buffer overflow detected: lvcreate terminated Eric Ren
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=CAKM4AewTByc_vAfEkcNzfsxj6BKaXKaS-R5mEchxAvY2-cRxMg@mail.gmail.com \
--to=renzhengeek@gmail.com \
--cc=linux-lvm@redhat.com \
--cc=mcsontos@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).