Skip to contentSkip to conversation

package/samba4: security bump version to 4.22.10

PATCH In review Thomas Perale via buildroot 1 participant 2 messages May 28 – May 29

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/samba4: security bump version to 4.22.10

Release notes:
- https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.22
- https://www.samba.org/samba/history/samba-4.22.10.html
- https://www.samba.org/samba/history/samba-4.22.9.html
- https://www.samba.org/samba/history/samba-4.22.8.html
- https://www.samba.org/samba/history/samba-4.22.7.html
- https://www.samba.org/samba/history/samba-4.22.6.html
- https://www.samba.org/samba/history/samba-4.22.5.html
- https://www.samba.org/samba/history/samba-4.22.4.html
- https://www.samba.org/samba/history/samba-4.22.3.html
- https://www.samba.org/samba/history/samba-4.22.2.html
- https://www.samba.org/samba/history/samba-4.22.1.html
- https://www.samba.org/samba/history/samba-4.22.0.html

Samba 4.21 is EOL [1] and thus moving to 4.22.
Cherry picked [2] and bumped to latest release for this version.

Fixes the following vulnerabilities:

- CVE-2026-1933 (Missing access checks on reparse point operations.)
- CVE-2026-2340 (WORM vfs module does not block overwrites.)
- CVE-2026-3012 (auto-enrolment GPO installing CA certificate over http without verification.)
- CVE-2026-3238 (Denial of service against AD DC WINS server.)
- CVE-2026-4408 (Unauthenticated Remote Code Execution in Samba DCE/RPC SAMR server.)
- CVE-2026-4480 (Unauthenticated Remote Code Execution in Samba printing subsystem.)

[1] https://wiki.samba.org/index.php/Samba_Release_Planning
[2] 286d85d7c4 package/samba4: bump version to 4.22.2

---
 ...d-find-pre-built-heimdal-build-tools-in-case-of-.patch | 8 ++++----
 package/samba4/Config.in                                  | 2 ++
 package/samba4/samba4.hash                                | 4 ++--
 package/samba4/samba4.mk                                  | 2 +-
 4 files changed, 9 insertions(+), 7 deletions(-)
package/samba4/0001-build-find-pre-built-heimdal-build-tools-in-case-of-.patch +4 -4
index eb0ea099b7..8d223e38a0 100644
@@ -33,7 +33,7 @@ BUG: https://bugzilla.samba.org/show_bug.cgi?id=14164
 
 Signed-off-by: Uri Simchoni <[email protected]>
 Signed-off-by: Bernd Kuhls <[email protected]>
-[Bernd: rebased for version 4.11.13, 4.17.7 & 4.20.3]
+[Bernd: rebased for version 4.11.13, 4.17.7, 4.20.3 & 4.22.1]
 ---
  wscript_configure_embedded_heimdal | 11 +++++++++++
  wscript_configure_system_heimdal   | 11 -----------
@@ -43,10 +43,10 @@ diff --git a/wscript_configure_embedded_heimdal b/wscript_configure_embedded_hei
 index 8c55ae2..4fdae80 100644
 --- a/wscript_configure_embedded_heimdal
 +++ b/wscript_configure_embedded_heimdal
-@@ -13,3 +13,14 @@
- # when this will be available also in
- # system libraries...
+@@ -15,3 +15,14 @@
  conf.define('HAVE_CLIENT_GSS_C_CHANNEL_BOUND_FLAG', 1)
+ 
+ conf.define('HAVE_KRB5_INIT_CREDS_STEP', 1)
 +
 +def check_system_heimdal_binary(name):
 +    if conf.LIB_MAY_BE_BUNDLED(name):
package/samba4/Config.in +2 -0
index 6aff82bb3d..e1d3dd9bf7 100644
@@ -15,6 +15,8 @@ config BR2_PACKAGE_SAMBA4
 	select BR2_PACKAGE_CMOCKA
 	select BR2_PACKAGE_E2FSPROGS
 	select BR2_PACKAGE_GNUTLS
+	select BR2_PACKAGE_HOST_PYTHON3
+	select BR2_PACKAGE_HOST_PYTHON3_SSL
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
package/samba4/samba4.hash +2 -2
index ae37e497cc..1875343d11 100644
@@ -1,4 +1,4 @@
 # Locally calculated after checking pgp signature
-# https://download.samba.org/pub/samba/stable/samba-4.21.9.tar.asc
-sha256  9d60206efb450c08700a85504ec2b63257be7c6e1c393627da54e047b4e9ea75  samba-4.21.9.tar.gz
+# https://download.samba.org/pub/samba/stable/samba-4.22.10.tar.asc
+sha256  e601437cde4845a42e7818379cd0ad5fc4fa518a7cf5284cc0a2657e79b30c34  samba-4.22.10.tar.gz
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  COPYING
package/samba4/samba4.mk +1 -1
index c2886d9ea7..e96e86b5f3 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SAMBA4_VERSION = 4.21.9
+SAMBA4_VERSION = 4.22.10
 SAMBA4_SITE = https://download.samba.org/pub/samba/stable
 SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz
 SAMBA4_INSTALL_STAGING = YES
Signature · 6 lines
2.54.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
author Tested-by Titouan  Christophe on v1 1/1
#1 lore raw

Hello Thomas and all,

On 28/05/26 10:35, Thomas Perale via buildroot wrote:

[-- snip --]

There is currently a build failure with Heimdall (which is a prerequisite for samba4). In order for the build to succeed, you will also need to pick commits on LTS:

    git cherry-pick \
        d2d5014a8e10e82debc5f9222ab931a21edbf0c8 \
        573ecbd44cd16b2ca4ce71b40459bcecf8c8e98c

With the above:

Quoted 1 line
Quoted 1 line

---

Kind regards,
Titouan
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot