Your message dated Tue, 27 Jul 2021 18:33:32 +0000
with message-id <[email protected]>
and subject line Bug#986332: fixed in e2fsprogs 1.46.3-1
has caused the Debian Bug report #986332,
regarding lsattr on certiain files in /dev results in "stack smashing detected"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
986332: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986332
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: e2fsprogs
Version: 1.46.2-1
Severity: normal
File: /usr/bin/lsattr

Hi,

while debugging aide, I have stumbled upon a possible bug in lsattr or
one of the underlying libraries. Doing lsattr on /dev/dri/card0 results
in an abort with "stack smashing detected":

| root@testsid85:~# sudo lsattr /dev/dri/card0
| *** stack smashing detected ***: terminated
| Aborted

Similiar behavior is observed when aide is trying to read the ext2 attrs
of this file, so this is most probably a library issue.

I can provide a backtrace if it helps.

Greetings
Marc


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-5-amd64 (SMP w/2 CPU threads)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages e2fsprogs depends on:
ii  libblkid1    2.36.1-7
ii  libc6        2.31-11
ii  libcom-err2  1.46.2-1
ii  libext2fs2   1.46.2-1
ii  libss2       1.46.2-1
ii  libuuid1     2.36.1-7
ii  logsave      1.46.2-1

Versions of packages e2fsprogs recommends:
pn  e2fsprogs-l10n  <none>

Versions of packages e2fsprogs suggests:
pn  e2fsck-static  <none>
pn  fuse2fs        <none>
pn  gpart          <none>
ii  parted         3.4-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: e2fsprogs
Source-Version: 1.46.3-1
Done: Theodore Y. Ts'o <[email protected]>

We believe that the bug you reported is fixed in the latest version of
e2fsprogs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Theodore Y. Ts'o <[email protected]> (supplier of updated e2fsprogs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 27 Jul 2021 11:04:05 -0400
Source: e2fsprogs
Architecture: source
Version: 1.46.3-1
Distribution: experimental
Urgency: medium
Maintainer: Theodore Y. Ts'o <[email protected]>
Changed-By: Theodore Y. Ts'o <[email protected]>
Closes: 984472 986332 987641 989612 989630
Changes:
 e2fsprogs (1.46.3-1) experimental; urgency=medium
 .
   * New upstream release
   * Fix resize2fs bug when performing an off-line file system expansion
     with MMP and there isn't sufficient reserved block group descriptor
     blocks could lead to file system corruption.  (Closes: #984472)
   * Teach the filefrag program the -V option, which will print the version
     of the tool, or if -V option is specified twice, will print the list
     of supported FIEMAP flags.
   * Fix fast_commit portability problems on sparc64 and arm64
     architectures (the latter when running e2fsprogs compiled for arm32).
     (Closes: #987641)
   * Fix missing mutex unlock in an error path in the Unix I/O manager.
   * Fix Direct I/O support in the Unix I/O manager (this was a regression
     introduced in v1.46.2).
   * Fix mke2fs to avoid discarding blocks beyond the end of the file
     system to be created when creating a file system which is smaller than
     16MB and the file system size was explicitly specified and smaller
     than the size of the block device.  (Closes: #989630)
   * Teach mke2fs to avoid giving a spurious warning about a pre-existing
     partition table and it is creating a file system at a non-zero offset
     (so the partition table wouldn't be overwritten in any case).
     (Closes: #989612)
   * Fix e2image -Q to prevent a multiplcation overflow could corrupt
     the generated QCOW2 output file for very large file systems.
   * When e2fsck repairs '.' and '..' entries in corrupted directories, set
     the file type in the directory entry to be EXT2_FT_DIR and do not
     leave the file type as EXT2_FT_UNKNOWN.
   * Fix e2fsck so that the if the s_interval is zero, and the last mount
     or write time is in the future, it will fix invalid last mount/write
     timestamps in the superblock.  (This was a regression introduced in
     v1.45.5.)
   * Fix lsattr and chattr to avoid opening or calling EXT2_IOC_[GS]ETFLAGS
     on devices, since this can cause some devices to react badly as a
     result.  (Thix fixes a regression introduced in v1.46.2.)
     (Closes: #986332)
   * Fix potential memory leaks and seg faults when memory allocations fail.
   * Fix various compiler and valgrind warnings
   * Updated and clarified the e2image and filefrag man pages.
   * Update Dutch, Malay, and Serbian translations.
Checksums-Sha1:
 a01cb92606f69c7e1304c6e9f7e5ace4f2be3c25 2726 e2fsprogs_1.46.3-1.dsc
 4eaeaa0dd3fe8e5d915ff241903a78f8b28c6b20 9510751 e2fsprogs_1.46.3.orig.tar.gz
 c56729152124d5427f8cfc8269ebc65fcc56d81a 488 e2fsprogs_1.46.3.orig.tar.gz.asc
 f484ae7d6b9118a47ffb8a9a498ad3ba5c7a8f4b 82728 e2fsprogs_1.46.3-1.debian.tar.xz
 9c2e256da9a87e8a4dfcd492cf4c31addc326bee 11518 
e2fsprogs_1.46.3-1_amd64.buildinfo
Checksums-Sha256:
 da6f49d3a4858cb472b55c5181051d9f9047e1da5cb562ea971b5a2434d9cce6 2726 
e2fsprogs_1.46.3-1.dsc
 277d37d3d92ba823754e3e9706e8b70d19ee4e1c46512bdad5f55a99c6752c37 9510751 
e2fsprogs_1.46.3.orig.tar.gz
 ad64cbb929b7a8bff73b033db4a10073b7f4f1935d085e09d939763ca3202e9d 488 
e2fsprogs_1.46.3.orig.tar.gz.asc
 3c5c82962af8382c4f8eda42aa745cba1a1096a2325f010563c856b6df5a21f4 82728 
e2fsprogs_1.46.3-1.debian.tar.xz
 b33ad13f83848a8b871d87146254d48eab47e1d5ece3e9d6c4f5c880790e4b33 11518 
e2fsprogs_1.46.3-1_amd64.buildinfo
Files:
 c37e4cabb2cab511a41e9d0bea9b5e08 2726 admin required e2fsprogs_1.46.3-1.dsc
 0edcffc4b601a4191bfa152f61b406b2 9510751 admin required 
e2fsprogs_1.46.3.orig.tar.gz
 65755a580a9034e8e40bdf5ae95d208c 488 admin required 
e2fsprogs_1.46.3.orig.tar.gz.asc
 c221c280a08be4111bf31197f2141949 82728 admin required 
e2fsprogs_1.46.3-1.debian.tar.xz
 f030cd409bccb8bc39d8410dea5a9982 11518 admin required 
e2fsprogs_1.46.3-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEK2m5VNv+CHkogTfJ8vlZVpUNgaMFAmEATNYACgkQ8vlZVpUN
gaPfPwf/a7Rf0yCABggKb/XVCHADnidMrZtqYwasMX/b9beCV3J/IQ7xqBV4l9Rj
pmwb3C11l0qcxqYLK3yOk7+v1Fh/1+GIxW4OMkaLXvzvsVdlU2d1BERND6HbnJnY
qrESfdD4EzhbEB6akCIIpaJde47AhArF7hT+5GAWhfQoHTaqxyI9kbPsRWv2EXDS
ZWeNJ+l1RX05eKxV0emeN9CyQsZli/9N6iInwUzybQ7U11j+1QAG20G4vC8RHHre
4ftmgT71a3V/0sXppH1Ef/HS+YQguaku+UX8mIoqgQbkkqnXHAMPiIo395/dOsDV
aDyomFfw4XCgug09/mYhJweFy+N3vw==
=IdqQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to