T8135: backport the fix for CVE-2025-68615 (DoS in snmptrapd) - #1105
Merged
Conversation
|
👍 |
sever-sever
approved these changes
Jan 21, 2026
sever-sever
left a comment
Member
There was a problem hiding this comment.
Clean fails, but this was and before, the binaries exist after build:
libtool: clean: rmdir .libs >/dev/null 2>&1
libtool: clean: rmdir transports/.libs >/dev/null 2>&1
make[2]: Leaving directory '/vyos/work/tmp/T8135-snmptrapd-dos/vyos-build/scripts/package-build/net-snmp/net-snmp/snmplib'
making clean in /vyos/work/tmp/T8135-snmptrapd-dos/vyos-build/scripts/package-build/net-snmp/net-snmp/agent
make[2]: Entering directory '/vyos/work/tmp/T8135-snmptrapd-dos/vyos-build/scripts/package-build/net-snmp/net-snmp/agent'
make[2]: *** No rule to make target 'clean'. Stop.
make[2]: Leaving directory '/vyos/work/tmp/T8135-snmptrapd-dos/vyos-build/scripts/package-build/net-snmp/net-snmp/agent'
make[1]: *** [Makefile:1020: cleansubdirs] Error 1
make[1]: Leaving directory '/vyos/work/tmp/T8135-snmptrapd-dos/vyos-build/scripts/package-build/net-snmp/net-snmp'
dh_auto_clean: error: make -j4 distclean returned exit code 2
make: *** [debian/rules:36: clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
I: Cleaned up build dependency packages
vyos_bld@04e6bd29d3dc:/vyos/work/tmp/T8135-snmptrapd-dos/vyos-build/scripts/package-build/net-snmp$
vyos_bld@04e6bd29d3dc:/vyos/work/tmp/T8135-snmptrapd-dos/vyos-build/scripts/package-build/net-snmp$
vyos_bld@04e6bd29d3dc:/vyos/work/tmp/T8135-snmptrapd-dos/vyos-build/scripts/package-build/net-snmp$
vyos_bld@04e6bd29d3dc:/vyos/work/tmp/T8135-snmptrapd-dos/vyos-build/scripts/package-build/net-snmp$ ls -l *.deb
-rw-r--r-- 1 vyos_bld vyos_bld 21512 Jan 21 10:43 libnetsnmptrapd40_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 58696 Jan 21 10:43 libnetsnmptrapd40-dbgsym_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 2489000 Jan 21 10:43 libsnmp40_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 2157968 Jan 21 10:43 libsnmp40-dbgsym_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 1769588 Jan 21 10:43 libsnmp-base_5.9.4+dfsg-1_all.deb
-rw-r--r-- 1 vyos_bld vyos_bld 201316 Jan 21 10:43 libsnmp-dev_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 1744064 Jan 21 10:43 libsnmp-perl_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 227056 Jan 21 10:43 libsnmp-perl-dbgsym_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 173572 Jan 21 10:43 snmp_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 57068 Jan 21 10:43 snmpd_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 278292 Jan 21 10:43 snmp-dbgsym_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 21428 Jan 21 10:43 snmpd-dbgsym_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 24280 Jan 21 10:43 snmptrapd_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 24580 Jan 21 10:43 snmptrapd-dbgsym_5.9.4+dfsg-1_arm64.deb
-rw-r--r-- 1 vyos_bld vyos_bld 1668872 Jan 21 10:43 tkmib_5.9.4+dfsg-1_all.deb
Member
Author
|
@sever-sever Yes, I've seen that. I'm not sure what's going on with the clean step. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change summary
This is a manual backport of the fix to net-snmp 5.9.4.
The history of that fix is:
>=to avoid handling zero-length OIDs.The relevant section in net-snmp's master branch is: https://github.com/net-snmp/net-snmp/blob/master/apps/snmptrapd_handlers.c#L1118-L1131
This PR includes a recreation of 4a201ac that applies to the older net-snmp version we use.
Types of changes
Related Task(s)
Related PR(s)
Checklist: