This bug was fixed in the package net-snmp - 5.9.1+dfsg-1ubuntu2.7
---
net-snmp (5.9.1+dfsg-1ubuntu2.7) jammy; urgency=medium
* d/patches: apply patch set to fix segfault caused by use after free.
(LP: #720638)
- d/p/pass-nw-if.patch: pass network interface index to
ne
Hm. This doesn't have the normal SRU autocomments, which has made it a
bit more troublesome to process, but it looks like everything's done
here. Releasing.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad
Hi Jo,
This is now waiting for the SRU team (I cannot give you an ETA since I
am not part of the team).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfau
Am I wrong to expect this fix to make it to the jammy-updates repository?
Any idea when?
Tia.
Jo.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (li
Thanks, Sascha! Let's (finally) ship it then.
Hi SRU team,
I believe we forgot to add the verification-needed and verification-
needed-jammy tags to this bug? I am adding the verification-done ones to
it since we already tested the package in proposed. Thanks!
** Tags added: verification-done v
Dear Athos,
The service is running without issues since last week.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnetsnmpmibs.so.15.1.2)
To man
Hi Sascha,
How is testing going so far? If no breakage has been spotted so far, I
will go ahead and mark this as verified!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd
The proposed package has been installed. I'll report back if there are
any issues.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnetsnmpmibs.so.
Also, the regressions reported above were due to flakiness and are no
longer blockers.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnetsnmpmibs
Hi Sascha,
Can you test the version which is in the jammy-proposed pocket now?
You will find directions to fetch packages from the proposed pocket in
https://wiki.ubuntu.com/Testing/EnableProposed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
** Changed in: net-snmp (Ubuntu Jammy)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnetsnmpmibs.so.
** Changed in: net-snmp (Ubuntu Jammy)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnetsnmpmibs.so.15.1.2
** Merge proposal linked:
https://code.launchpad.net/~athos-ribeiro/ubuntu/+source/net-snmp/+git/net-snmp/+merge/474768
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd
The version from ppa5 is up and running for 2 weeks without any issue
now. Looking good.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnetsnmpmi
Hi Sascha,
any news on the resuls for this one?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnetsnmpmibs.so.15.1.2)
To manage notifications a
** Description changed:
+ [ Impact ]
+
+ snmpd crashes irregularly with segfaults when running an internal
+ _check_interface_entry_for_updates function.
+
+ [ Test Plan ]
+
+ As shown in the upstream bug at https://github.com/net-snmp/net-
+ snmp/issues/107, this has no clear/trivial reproduce
@Athos Thank you for your efforts. ppa5 has been deployed. I'll report
back with the results.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnets
Well, This is interesting now... A different issue may completely hinder
our bisecting approach (i.e., is that other bug fixed at this point or
not?).
After putting some thought on this one, I think the bisecting approach
is no longer feasible here. Re-reading the whole bug history, I realized
tha
Installed the new version this morning. snmpd died a few hours later
with:
Sep 13 09:12:37 gitlab-tools systemd[1]: Starting Simple Network Management
Protocol (SNMP) Daemon
Sep 13 09:12:37 gitlab-tools systemd[1]: Started Simple Network Management
Protocol (SNMP) Daemon..
Sep 13 13:03:54 gi
Thanks, Sascha.
I will mark that one as "old" in the bisecting and proceed to the next
step, which is commit "a137fe6bd3".
For this, I needed to backport https://salsa.debian.org/debian/net-
snmp/-/blob/master/debian/patches/makefile_trap_needs_agent as a fix for
https://github.com/net-snmp/net-s
** Also affects: net-snmp (Ubuntu Jammy)
Importance: Undecided
Status: New
** Changed in: net-snmp (Ubuntu Jammy)
Assignee: (unassigned) => Athos Ribeiro (athos-ribeiro)
** Changed in: net-snmp (Ubuntu Jammy)
Importance: Undecided => Medium
** Changed in: net-snmp (Ubuntu Jammy
I installed version 5.9.1+dfsg-1ubuntu2.7~ppa3 on 2024-09-04 20:59:42.
After almost 6 days, the service crashed today:
{{{#!bash
$ systemctl status snmpd.service
× snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
Loaded: loaded (/lib/systemd/system/snmpd.service; enabled; ven
Thanks for testing!
I will mark that one as "new" in the bisecting and proceed to the next
step, which is commit "500d763".
For this, I needed to include
https://github.com/net-snmp/net-snmp/commit/d30d63523bfd9ccc85175e484fea821815273237
to fix a FTBFS issue; and
Backport
https://salsa.debian
Dear Athos,
Just wanted to report, that 5.9.1+dfsg-1ubuntu2.7~ppa2 is running
without problems for more than a week now. I'll keep you posted if
anything changes.
Best regards,
Sascha
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug r
Thanks for testing! Let's start a bisect then. I am bisecting using tag
v5.9.3 as the "new" version and tag v5.9.2 as the "old" version in the
upstream project git repository.
The first commit to test is 2cd0e7d72a.
For this, I needed to include
https://github.com/net-snmp/net-snmp/commit/d30d63
Dear Athos,
I installed the version you provided (net-
snmp_5.9.1+dfsg-1ubuntu2.7~ppa1) almost immediately (just had to wait
for the builds to complete).
Sadly snmpd crashed a few hours ago:
> Aug 26 10:35:57 gitlab-tools snmpd[3740395]: error on subcontainer 'ifTable
> container' remove (-1)
>
Although there is a 5.9.2 version, it has no meaningful changes for our
search here. As Bryce already mentioned, there are too many commits in
between 5.9.1 and 5.9.2 (ideally, we should bisect there).
Since Bryce already did some digging into those commits, I will start
checking them. The most pr
Hi Bloodyiron,
We usually do not update versions in stable releases in Ubuntu. What we
are doing here is trying to isolate the exact version where the fix was
introduced so we can find the actual patch set which fix the issue.
Next, I am going to provide a fix with some cherry-picks, as suggested
So when are we going to see SNMPD v5.9.3 pushed out to currently-active
LTS editions of Ubuntu? I have kubernetes nodes on 22.04 that have SNMPD
crashing but not seeing v5.9.3 available, only v5.9.1 on the main repos.
Seems like the fix is already available with a newer version... is there
somethin
Thanks WBTMagnum.
So it sounds like the bisect has narrowed to 5.9.1 showing the issue,
and 5.9.3 showing the fix. From the CHANGES file, it sounds like there
was no 5.9.2 release:
https://github.com/net-snmp/net-snmp/blob/master/CHANGES
Presumably, then, the fix would be one of the ones in thi
Dear Bryce,
NET-SNMP version 5.9.3 is up and running without incident for almost a week now.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnetsn
Hi nemecek, how has the PPA version being running so far?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnetsnmpmibs.so.15.1.2)
To manage notifi
Dear Athos,
I downgraded the system to the version provided in your PPA. I'll report
back any issues.
JFTR: Up until now, v5.9.4.pre2 was still running without segfaulting.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
http
Hi, nemecek!
As suggested by Paride, I backported 5.9.3+dfsg-1 to jammy in the following PPA:
https://launchpad.net/~athos-ribeiro/+archive/ubuntu/net-snmp
Would you mind testing it so we can start working on Paride's bisecting
idea? Once we find the last bad version we can start searching for th
** Changed in: net-snmp (Ubuntu)
Assignee: (unassigned) => Athos Ribeiro (athos-ribeiro)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnets
** Tags added: server-todo
** Changed in: net-snmp (Ubuntu)
Status: Incomplete => Triaged
** Changed in: net-snmp (Ubuntu)
Importance: High => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.laun
Update: snmpd service is running for 12 days without segfaulting.
And yes, if it helps I can test further snmpd versions. It might also
make sense to revert to the faulty snmpd version at some time to verify
if the segfaults still happen.
--
You received this bug notification because you are a m
Great, however it is probably worth waiting a bit longer before drawing
a conclusion, please keep us posted.
Should we conclude that 5.9.4+dfsg-1 is fixed, I think we should try
(sort of) bisecting, e.g. by backporting 5.9.3+dfsg-1 to Jammy and
having you test it. Given that it takes several days
@paride I applied the PPA you provided on an affected system shortly
after you released it. Usually snmpd would crash within a day or two on
that system. The longest reported period for snmpd to work was a bit
more than 5 days. With the patched version snmpd is now running for 6
days without segfau
Hello, I backported net-snmp net-snmp_5.9.4+dfsg-1 to Jammy, it will be
shortly available in this PPA:
https://launchpad.net/~paride/+archive/ubuntu/net-snmp
Can you please check if the crash still happens with this version? This
will be an important data point to understand how to move the
inv
@mitchdz I gave your PPA a spin on one of our systems running Ubuntu
22.04. Unfortunately snmpd segfaulted again after a few hours.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
Thanks for the crash report! Looking into the crash report I do think
this is related to https://github.com/net-snmp/net-snmp/issues/107. I
tried applying the patch to our Jammy version and unfortunately it does
not apply completely due to differences in the codebase.
I did apply the lines I could
I'm having the same problem seemingly only on my k8s nodes (running on
docker, not containerd), Ubuntu 22.04, and erratic for frequency
snmpd/jammy-updates,now 5.9.1+dfsg-1ubuntu2.6 amd64 [installed]
Can't find a solution anywhere on the internet, so I guess this is me
subscribing to this thread
Sure, attached the crash file from /var/crash.
** Attachment added: "snmpd crash"
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/720638/+attachment/5747268/+files/_usr_sbin_snmpd.0.crash
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscrib
Hi,
Could you please share the core dump with us? That would help us
investigate better this issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (
Same problem here in three production servers
sudo journalctl -u snmpd.service -n 50
Feb 12 16:15:14 accadb001 systemd[1]: Starting Simple Network Management
Protocol (SNMP) Daemon
Feb 12 16:15:14 accadb001 systemd[1]: Started Simple Network Management
Protocol (SNMP) Daemon..
Feb 12 16:25:
Same on Debian bullseye and running docker. But just sometimes and even
not on every instance. Strange!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfaul
Hey there,
Running ubuntu 22.04, also seeing this issue.
SNMPD version : snmpd/jammy-updates,now 5.9.1+dfsg-1ubuntu2.6 amd64
[installed]
I've got docker containers running on those servers, and I'm using
librenms to monitor them.
I've installed systemd-coredump and will follow through when I ge
Thank you for the update.
Would you be able to provide a coredump, a backtrace and/or a
reproducer? I did some research and found upstream's
https://github.com/net-snmp/net-snmp/issues/107 which seems to be
related, but the patch that fixes their issue doesn't make sense on
Jammy's net-snmp, so I
We're seeing this as well on Ubuntu 22.04:
snmpd[2271493]: error on subcontainer 'ifTable container' remove (-1)
kernel: show_signal_msg: 22 callbacks suppressed
kernel: snmpd[2271493]: segfault at 60 ip 7f4c9c168423 sp 7fffa460cdd0
error 4 in libnetsnmpmibs.so.40.1.0[7f4c9c0cc000+d300>Se
One of our server's ran into the same issue, snmpd frequently failing
with:
snmpd[766]: error on subcontainer 'ifTable container' remove (-1)
kernel: [367589.916607] snmpd[766]: segfault at 91 ip 7f2af4a20845 sp
7ffcbd99d3e0 error 4 in libnetsnmpmibs.so.35.0.0[7f2af4986000+d3000]
systemd[
Hi Paride,
Thank you very much for making the package, unfortunately the server in
question is customer production server and have no test server where I
can reproduce this issue, I'm not able to test anymore, I had a limited
time to solve this, so I did some ugly workaround to prevent daemon from
Hi Branko,
I prepared a PPA with the new upstream release (amd64 only):
https://launchpad.net/~paride/+archive/ubuntu/net-snmp/
Please let us know if you can reproduce the issue with this one.
Note: some d/patches didn't apply cleanly, so I just removed them from
d/p/series. They looked safe to
Hi Lucas,
I'm not able to build latest code from source at the moment, I tried to
look for snmpd from backports ..., but no luck. If there are any more
details I can get from the coredump I could try to provide them.
Regarding the upstream issue it is really confusing, some people
reported using
Thanks for the investigation Branko.
Checking the upstream issue you mentioned, it seems that the bug was
introduced and fixed after the release of the version we have even in
the Ubuntu development release, so I am not sure if this is the reason
of your failure. Could you please try the upstream
Hi I'm seeing these on one of the servers running docker. 20.04 running
snmpd-5.8+dfsg-2ubuntu2.3:
kernel: snmpd[1866629]: segfault at 6f ip 7fa535732775 sp
7fffaf58c470 error 4 in libnetsnmpmibs.so.35.0.0[7fa535698000+d3000]
I was able to get some details, probably not enough from the cr
@Christoph could you please try to provide a backtrace to us? Also if
you have any settings in your config file different from the default,
could you share it with us? You are using a newer version than the one
originally reported in this bug, so that would be great to determine if
this is a simila
Crashes on ubuntu 20.04 too:
---
...
Aug 19 18:30:07 server snmpd[1308748]: Cannot statfs
/run/docker/netns/cf01dc8e9bbc: Permission denied
Aug 19 18:30:16 server snmpd[1308748]: error on subcontainer 'ifTable
container' remove (-1)
Aug 19 18:30:19 server kernel: snmpd[1308748]: segfault at 91 i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2011-03-07 15:01, Chuck Short wrote:
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. Please try to obtain a backtrace following the
> instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload
I
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Please try to obtain a backtrace following the
instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload
the backtrace (as an attachment) to the bug report. This will greatly
help us in tracking down y
I am seeing the same segfault on my lucid boxes, config file attached
with sensitive information removed. None of the extended checks are
actually being done on the machines that are crashing, as the first
hosts we upgraded to lucid do not do anything that complex -- run
lighttpd and that is all. T
** Visibility changed to: Public
** Changed in: net-snmp (Ubuntu)
Assignee: Clint Byrum (clint-fewbar) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes
Hi Clint,
Thanks for your concern about the snmp community name. In the original uploaded
config the community name was a fake one already (zwaargeheim = verysecret).
Now I have changed the IP-address too.
It is no problem to me to change the visibility back to public.
Good to see the the bug is
** Attachment added: "etc.snmp.snmpd.conf"
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/720638/+attachment/1864013/+files/etc.snmp.snmpd.conf
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
https://bugs.launchpad.net/bugs
** Attachment added: "etc.default.snmpd.txt"
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/720638/+attachment/1864012/+files/etc.default.snmpd.txt
** Attachment removed: "modified.conffile..etc.snmp.snmpd.conf.txt"
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/720638/+a
** Attachment removed: "modified.conffile..etc.default.snmpd.txt"
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/720638/+attachment/1855929/+files/modified.conffile..etc.default.snmpd.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct
rhhoek I've marked this bug private, as it includes your snmpd community
name, which you may not have wanted to be publicly available. If not,
then I suggest uploading new versions and redacting the community name
before marking the report public again.
I'm also marking this as Confirmed. I've jus
** Attachment removed: "SyslogSnmpd.txt"
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/720638/+attachment/1855928/+files/SyslogSnmpd.txt
** Attachment added: "SyslogSnmpd.txt"
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/720638/+attachment/1855937/+files/SyslogSnmpd.t
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/720638
Title:
snmpd crashes with segfault (libnetsnmpmibs.so.15.1.2)
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.co
69 matches
Mail list logo