[Bug 2071891] Re: tcpdump segv if -Z and -w is specified

Matthew Ruffell 2071891 at bugs.launchpad.net
Thu Sep 11 23:19:16 UTC 2025


Hi Ghadi,

This is missing a SRU template, please write one, and replace the description with it.
https://documentation.ubuntu.com/sru/en/latest/reference/bug-template/

Your versions are slightly incorrect, this would technically be sufficient, but ideally following
https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update_the_packaging
is best. This would be the case:
2.0-2ubuntu1 in two releases          2.0-2ubuntu1.11.10.1 and 2.0-2ubuntu1.12.04.1
so the new versions would be 4.99.4-3ubuntu4.24.04.1 and 4.99.4-3ubuntu4.25.04.1 ideally.

The patch itself is good, well done.

The debian changelog entry... this is a nitpick, but I would like to see
the format:


* Fixes segfault when running as the root user. (LP: #2071891)
  - d/p/check-username-validity-to-avoid-segfault.patch

instead.

Thanks,
Matthew

-- 
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/2071891

Title:
  tcpdump segv if -Z and -w is specified

Status in tcpdump package in Ubuntu:
  Fix Released
Status in tcpdump source package in Noble:
  Confirmed
Status in tcpdump source package in Oracular:
  Won't Fix
Status in tcpdump source package in Plucky:
  Confirmed
Status in tcpdump source package in Questing:
  Fix Released
Status in tcpdump package in Debian:
  Fix Released

Bug description:
  Reproduce:

  As root (sudo sh) do:

  # tcpdump -Z root -ni lo -w /tmp/lo.pcap
  Segmentation fault (core dumped)

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: tcpdump 4.99.4-3ubuntu4
  ProcVersionSignature: Ubuntu 6.8.0-36.36-generic 6.8.4
  Uname: Linux 6.8.0-36-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: XFCE
  Date: Thu Jul  4 08:47:14 2024
  InstallationDate: Installed on 2024-04-25 (69 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm
   XDG_RUNTIME_DIR=<set>
  SourcePackage: tcpdump
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the Ubuntu-sponsors mailing list