Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package busybox for openSUSE:Factory checked 
in at 2026-11-21 21:44:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/busybox (Old)
 and      /work/SRC/openSUSE:Factory/.busybox.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "busybox"

Sat Nov 21 21:44:45 2026 rev:102 rq:1398652 version:1.38.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/busybox/busybox.changes  2026-11-01 
22:23:14.731567036 +0100
+++ /work/SRC/openSUSE:Factory/.busybox.new.1340718/busybox.changes     
2026-11-21 21:44:54.958361944 +0100
@@ -1,0 +2,7 @@
+Wed Nov 18 15:15:20 UTC 2026 - Radoslav Kolev <[email protected]>
+
+- CVE-2026-124737: BusyBox TFTP client heap buffer overflow
+  on fallback to default block size (bsc#1285578)
+  * 0001-tftp-don-t-overflow-the-receive-buffer-after-blocksi.patch
+
+-------------------------------------------------------------------

New:
----
  0001-tftp-don-t-overflow-the-receive-buffer-after-blocksi.patch

----------(New B)----------
  New:  on fallback to default block size (bsc#1285578)
  * 0001-tftp-don-t-overflow-the-receive-buffer-after-blocksi.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ busybox.spec ++++++
--- /var/tmp/diff_new_pack.K5Msu2/_old  2026-11-21 21:44:56.122410951 +0100
+++ /var/tmp/diff_new_pack.K5Msu2/_new  2026-11-21 21:44:56.124411035 +0100
@@ -89,6 +89,8 @@
 Patch25:        0001-httpd-do-not-try-to-use-obviously-bogus-password-fro.patch
 # PATCH-FIX-UPSTREAM - Fix bsc#1286932 (CVE-2026-92205), libarchive path 
traversal via ".." filename (upstream commit 5da20102b)
 Patch26:        0001-tar-.-is-also-an-unsafe-filename-treat-as-such.patch
+# PATCH-FIX-UPSTREAM 
0001-tftp-don-t-overflow-the-receive-buffer-after-blocksi.patch bsc#1285578 -- 
tftp heap buffer overflow on fallback to default block size (submitted upstream)
+Patch27:        0001-tftp-don-t-overflow-the-receive-buffer-after-blocksi.patch
 
 # other patches
 Patch100:       busybox.install.patch
@@ -149,6 +151,7 @@
 #SLE12 needs an empty line after autosetup for it to expand properly 
(bsc#1205420)
 %autosetup -p1
 
+
 find "(" -name CVS -o -name .cvsignore -o -name .svn -o -name .gitignore ")" \
        -exec rm -Rf {} +
 

++++++ 0001-tftp-don-t-overflow-the-receive-buffer-after-blocksi.patch ++++++
From: Yehyeong Lee <[email protected]>
Date: Sat, 19 Sep 2026 15:01:43 +0000
Subject: [PATCH] tftp: don't overflow the receive buffer after blocksize 
fallback

When a client requests a blksize smaller than 512 with -b, the receive
buffer is allocated at blksize + 4. If the server ignores the "blksize"
option (no OACK), the client falls back to a 512-byte blocksize and sets
io_bufsize = TFTP_BLKSIZE_DEFAULT + 4 without reallocating the buffer.

Buffer must be large enough for the fallback blocksize too.
---
 networking/tftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/tftp.c b/networking/tftp.c
index 920f26937..3506cd640 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -320,7 +320,7 @@ static int tftp_protocol(
        uint16_t recv_blk;
        int local_fd = -1;
        int retries, waittime_ms;
-       int io_bufsize = blksize + 4;
+       int io_bufsize = (blksize < TFTP_BLKSIZE_DEFAULT ? TFTP_BLKSIZE_DEFAULT 
: blksize) + 4;
        char *cp;
        /* Can't use RESERVE_CONFIG_BUFFER here since the allocation
         * size varies meaning BUFFERS_GO_ON_STACK would fail.

Reply via email to