[Bug 212586] New: mklost+found: *** buffer overflow detected ***
https://bugzilla.novell.com/show_bug.cgi?id=212586 Summary: mklost+found: *** buffer overflow detected *** Product: SUSE Linux 10.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de CC: koenig@science-computing.de trying to re-create directory lost+found on a ext3 fs breaks on 10.1+YOU AMD64: root@os2 fs2 # rpm -qf /usr/sbin/mklost+found e2fsprogs-1.38-25 root@os2 fs2 # df -T . Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/sdb1 ext3 141122196 98992444 34961152 74% /net/os2/fs2 root@os2 fs2 # mklost+found mklost+found 1.38 (30-Jun-2005) *** buffer overflow detected ***: mklost+found terminated ======= Backtrace: ========= /lib64/libc.so.6(__chk_fail+0x2f)[0x2ae0a47d4ebf] /lib64/libc.so.6[0x2ae0a47d43f9] /lib64/libc.so.6(_IO_default_xsputn+0x89)[0x2ae0a476dc59] /lib64/libc.so.6(_IO_vfprintf+0x1497)[0x2ae0a4746077] /lib64/libc.so.6(__vsprintf_chk+0x9d)[0x2ae0a47d449d] /lib64/libc.so.6(__sprintf_chk+0x80)[0x2ae0a47d43e0] mklost+found[0x400aac] /lib64/libc.so.6(__libc_start_main+0xf4)[0x2ae0a4721154] mklost+found[0x400949] ======= Memory map: ======== 00400000-00401000 r-xp 00000000 08:01 59743129 /usr/sbin/mklost+found 00501000-00502000 rw-p 00001000 08:01 59743129 /usr/sbin/mklost+found 00502000-00523000 rw-p 00502000 00:00 0 [heap] 2ae0a45e7000-2ae0a4602000 r-xp 00000000 08:01 6164717 /lib64/ld-2.4.so 2ae0a4602000-2ae0a4603000 rw-p 2ae0a4602000 00:00 0 2ae0a4623000-2ae0a4624000 rw-p 2ae0a4623000 00:00 0 2ae0a4624000-2ae0a4657000 r--p 00000000 08:01 42205643 /usr/lib/locale/de_DE/LC_CTYPE 2ae0a4702000-2ae0a4704000 rw-p 0001b000 08:01 6164717 /lib64/ld-2.4.so 2ae0a4704000-2ae0a482a000 r-xp 00000000 08:01 6164730 /lib64/libc-2.4.so 2ae0a482a000-2ae0a492a000 ---p 00126000 08:01 6164730 /lib64/libc-2.4.so 2ae0a492a000-2ae0a492d000 r--p 00126000 08:01 6164730 /lib64/libc-2.4.so 2ae0a492d000-2ae0a492f000 rw-p 00129000 08:01 6164730 /lib64/libc-2.4.so 2ae0a492f000-2ae0a4935000 rw-p 2ae0a492f000 00:00 0 2ae0a4935000-2ae0a4942000 r-xp 00000000 08:01 6177261 /lib64/libgcc_s.so.1 2ae0a4942000-2ae0a4a41000 ---p 0000d000 08:01 6177261 /lib64/libgcc_s.so.1 2ae0a4a41000-2ae0a4a42000 rw-p 0000c000 08:01 6177261 /lib64/libgcc_s.so.1 7fff064ad000-7fff064c3000 rw-p 7fff064ad000 00:00 0 [stack] ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] Aborted (core dumped) root@os2 fs2 # gdb /usr/sbin/mklost+found core Core was generated by `/usr/sbin/mklost+found'. Program terminated with signal 6, Aborted. Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libgcc_s.so.1 #0 0x00002b1b7a729aa5 in raise () from /lib64/libc.so.6 (gdb) where #0 0x00002b1b7a729aa5 in raise () from /lib64/libc.so.6 #1 0x00002b1b7a72ae60 in abort () from /lib64/libc.so.6 #2 0x00002b1b7a76036b in __libc_message () from /lib64/libc.so.6 #3 0x00002b1b7a7caebf in __chk_fail () from /lib64/libc.so.6 #4 0x00002b1b7a7ca3f9 in _IO_str_chk_overflow () from /lib64/libc.so.6 #5 0x00002b1b7a763c59 in _IO_default_xsputn_internal () from /lib64/libc.so.6 #6 0x00002b1b7a73c077 in vfprintf () from /lib64/libc.so.6 #7 0x00002b1b7a7ca49d in __vsprintf_chk () from /lib64/libc.so.6 #8 0x00002b1b7a7ca3e0 in __sprintf_chk () from /lib64/libc.so.6 #9 0x0000000000400aac in ?? () #10 0x00002b1b7a717154 in __libc_start_main () from /lib64/libc.so.6 #11 0x0000000000400949 in ?? () #12 0x00007fff304c9108 in ?? () #13 0x0000000000000000 in ?? () (gdb) q root@os2 fs2 # strace /usr/sbin/mklost+found .. stat("lost+found", {st_mode=S_IFDIR|0700, st_size=28672, ...}) = 0 creat("lost+found/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx97", 0644) = 3 close(3) = 0 stat("lost+found", {st_mode=S_IFDIR|0700, st_size=28672, ...}) = 0 creat("lost+found/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx98", 0644) = 3 close(3) = 0 stat("lost+found", {st_mode=S_IFDIR|0700, st_size=28672, ...}) = 0 creat("lost+found/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx99", 0644) = 3 close(3) = 0 stat("lost+found", {st_mode=S_IFDIR|0700, st_size=28672, ...}) = 0 open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = 3 writev(3, [{"*** buffer overflow detected ***"..., 34}, {"/usr/sbin/mklost+found", 22}, {" terminated\n", 12}], 3) = 68 open("/etc/ld.so.cache", O_RDONLY) = 4 .. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212586 judas_iscariote@shorewall.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |judas_iscariote@shorewall.net Severity|Normal |Major ------- Comment #1 from judas_iscariote@shorewall.net 2006-10-16 13:50 MST ------- Verified, it is completely broken :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212586 ------- Comment #6 from dbolt.abiryy@davjam.org 2006-10-17 14:01 MST ------- Also fails on 32bit 10.1 with a similar error after creating the lost+found directory and creating 100 files with names consisting of 253 'x' and 2 digits. transporter:/home # mklost+found mklost+found 1.38 (30-Jun-2005) *** buffer overflow detected ***: mklost+found terminated ======= Backtrace: ========= /lib/libc.so.6(__chk_fail+0x41)[0xb7f12b31] /lib/libc.so.6[0xb7f12308] /lib/libc.so.6(_IO_default_xsputn+0xa0)[0xb7ea5120] /lib/libc.so.6(_IO_vfprintf+0xa62)[0xb7e7e7c2] /lib/libc.so.6(__vsprintf_chk+0xad)[0xb7f123bd] /lib/libc.so.6(__sprintf_chk+0x30)[0xb7f122f0] mklost+found[0x8048847] /lib/libc.so.6(__libc_start_main+0xdc)[0xb7e5887c] mklost+found[0x80486b1] ======= Memory map: ======== 08048000-08049000 r-xp 00000000 03:05 126785 /usr/sbin/mklost+found 08049000-0804a000 rw-p 00000000 03:05 126785 /usr/sbin/mklost+found 0804a000-0806b000 rw-p 0804a000 00:00 0 [heap] b7de8000-b7df2000 r-xp 00000000 03:45 15856 /lib/libgcc_s.so.1 b7df2000-b7df3000 rw-p 00009000 03:45 15856 /lib/libgcc_s.so.1 b7e0f000-b7e42000 r--p 00000000 03:05 16669 /usr/lib/locale/en_GB.utf8/LC_CTYPE b7e42000-b7e43000 rw-p b7e42000 00:00 0 b7e43000-b7f5c000 r-xp 00000000 03:45 15813 /lib/libc-2.4.so b7f5c000-b7f5e000 r--p 00118000 03:45 15813 /lib/libc-2.4.so b7f5e000-b7f60000 rw-p 0011a000 03:45 15813 /lib/libc-2.4.so b7f60000-b7f64000 rw-p b7f60000 00:00 0 b7f79000-b7f80000 r--s 00000000 03:05 427800 /usr/lib/gconv/gconv-modules.cache b7f80000-b7f9a000 r-xp 00000000 03:45 15887 /lib/ld-2.4.so b7f9a000-b7f9c000 rw-p 00019000 03:45 15887 /lib/ld-2.4.so bfba7000-bfbbc000 rw-p bfba7000 00:00 0 [stack] ffffe000-fffff000 ---p 00000000 00:00 0 [vdso] Aborted -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212586 ------- Comment #7 from judas_iscariote@shorewall.net 2006-10-17 14:14 MST ------- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=157773 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212586 mkoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #8 from mkoenig@novell.com 2006-10-20 08:32 MST ------- This is fixed since 1.39. I rather use the patch from upstream. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212586 ast@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|ast@novell.com | ------- Comment #10 from ast@novell.com 2006-10-23 05:37 MST ------- Yes, please also fix sles9 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212586 mkoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #11 from mkoenig@novell.com 2006-10-23 06:57 MST ------- submitted -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212586 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #16 from meissner@novell.com 2006-10-31 10:11 MST ------- update released -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com