[Bug 2069401] Re: mtr crashes when using -r option

Andreas Hasenack 2069401 at bugs.launchpad.net
Tue Oct 8 17:58:57 UTC 2024


Sponsored, it's in the SRU noble unapproved queue now.

** Changed in: mtr (Ubuntu Noble)
       Status: Confirmed => In Progress

** Changed in: mtr (Ubuntu Noble)
     Assignee: (unassigned) => Haw Loeung (hloeung)

** Changed in: mtr (Ubuntu Oracular)
     Assignee: (unassigned) => Haw Loeung (hloeung)

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2069401

Title:
  mtr crashes when using -r option

Status in mtr package in Ubuntu:
  Fix Released
Status in mtr source package in Noble:
  In Progress
Status in mtr source package in Oracular:
  Fix Released

Bug description:
  [ Impact ]

   * mtr crashes with `*** buffer overflow detected ***: terminated`
  when using any report mode option: `-r`, `--report`, or `--report-
  wide`

  [ Test Plan ]

   * `mtr --report archive.ubuntu.com`

  [ Where problems could occur ]

   * Continue to crash when running with any of the report mode options
  with either buffer overflow or segmentation fault due to
  miscalculation of the size of the buffer required.

  [ Other Info ]

   * The attached patch was cherry picked from upstream fix per
  https://github.com/traviscross/mtr/pull/468 and
  https://github.com/traviscross/mtr/commit/5908af4c19188cb17b62f23368b6ef462831a0cb

  ================================================================================

  Have tried on 3 servers

  root at orbit:/root#mtr -r 8.8.8.8
  Start: 2024-06-14T07:49:44+0000
  *** buffer overflow detected ***: terminated
  Aborted

  #cat /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=24.04
  DISTRIB_CODENAME=noble
  DISTRIB_DESCRIPTION="Ubuntu 24.04 LTS"

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: mtr 0.95-1.1build2
  ProcVersionSignature: Ubuntu 6.8.0-1008.9-gcp 6.8.4
  Uname: Linux 6.8.0-1008-gcp x86_64
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Fri Jun 14 07:48:00 2024
  ProcEnviron:
   LANG=C.UTF-8
   LC_TIME=en_GB.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm
  SourcePackage: mtr
  UpgradeStatus: Upgraded to noble on 2024-06-05 (8 days ago)
  mtime.conffile..etc.logrotate.d.apport: 2023-08-16T06:34:12.497648

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mtr/+bug/2069401/+subscriptions




More information about the Ubuntu-sponsors mailing list