Skip to contentSkip to conversation

redis: upgrade 7.2.11 -> 7.2.12

PATCH In review [email protected] 2 participants 4 messages Nov 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 redis: upgrade 7.2.11 -> 7.2.12

From: Ankur Tyagi <[email protected]>

and refresh patches

Changelog:
https://github.com/redis/redis/releases/tag/7.2.12

---
 .../0001-hiredis-use-default-CC-if-it-is-set.patch     |  6 +++++-
 ...ate-Makefile-to-use-environment-build-setting.patch |  2 +-
 .../0003-hack-to-force-use-of-libc-malloc.patch        | 10 +++++-----
 .../0004-src-Do-not-reset-FINAL_LIBS.patch             | 10 +++++-----
 ...-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch |  2 +-
 .../0006-Define-correct-gregs-for-RISCV32.patch        |  2 +-
 .../{redis-7.2.11 => redis-7.2.12}/init-redis-server   |  0
 .../redis/{redis-7.2.11 => redis-7.2.12}/redis.conf    |  0
 .../redis/{redis-7.2.11 => redis-7.2.12}/redis.service |  0
 .../redis/{redis_7.2.11.bb => redis_7.2.12.bb}         |  2 +-
 10 files changed, 19 insertions(+), 15 deletions(-)
 rename meta-oe/recipes-extended/redis/{redis-7.2.11 => redis-7.2.12}/0001-hiredis-use-default-CC-if-it-is-set.patch (89%)
 rename meta-oe/recipes-extended/redis/{redis-7.2.11 => redis-7.2.12}/0002-lua-update-Makefile-to-use-environment-build-setting.patch (97%)
 rename meta-oe/recipes-extended/redis/{redis-7.2.11 => redis-7.2.12}/0003-hack-to-force-use-of-libc-malloc.patch (81%)
 rename meta-oe/recipes-extended/redis/{redis-7.2.11 => redis-7.2.12}/0004-src-Do-not-reset-FINAL_LIBS.patch (74%)
 rename meta-oe/recipes-extended/redis/{redis-7.2.11 => redis-7.2.12}/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch (92%)
 rename meta-oe/recipes-extended/redis/{redis-7.2.11 => redis-7.2.12}/0006-Define-correct-gregs-for-RISCV32.patch (97%)
 rename meta-oe/recipes-extended/redis/{redis-7.2.11 => redis-7.2.12}/init-redis-server (100%)
 rename meta-oe/recipes-extended/redis/{redis-7.2.11 => redis-7.2.12}/redis.conf (100%)
 rename meta-oe/recipes-extended/redis/{redis-7.2.11 => redis-7.2.12}/redis.service (100%)
 rename meta-oe/recipes-extended/redis/{redis_7.2.11.bb => redis_7.2.12.bb} (97%)
meta-oe/recipes-extended/redis/redis-7.2.12/0001-hiredis-use-default-CC-if-it-is-set.patch renamed from meta-oe/recipes-extended/redis/redis-7.2.11/0001-hiredis-use-default-CC-if-it-is-set.patch +5 -1
similarity index 89%
rename from meta-oe/recipes-extended/redis/redis-7.2.11/0001-hiredis-use-default-CC-if-it-is-set.patch
rename to meta-oe/recipes-extended/redis/redis-7.2.12/0001-hiredis-use-default-CC-if-it-is-set.patch
index 63bf403412..99783ce237 100644
@@ -1,4 +1,4 @@
-From af4fc632c03b2a68be4206b4896f27fc4bb865ae Mon Sep 17 00:00:00 2001
+From 2fec7733df9a6224875f3ecd3aaafc2857a546c0 Mon Sep 17 00:00:00 2001
 From: Venture Research <[email protected]>
 Date: Fri, 8 Feb 2013 17:39:52 -0600
 Subject: [PATCH] hiredis: use default CC if it is set
@@ -6,6 +6,10 @@ MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
 
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
 Instead of trying to automagically figure out CC, which breaks with OE
 as CC has spaces in it, just skip it if one was already passed in.
 
meta-oe/recipes-extended/redis/redis-7.2.12/0002-lua-update-Makefile-to-use-environment-build-setting.patch renamed from meta-oe/recipes-extended/redis/redis-7.2.11/0002-lua-update-Makefile-to-use-environment-build-setting.patch +1 -1
similarity index 97%
rename from meta-oe/recipes-extended/redis/redis-7.2.11/0002-lua-update-Makefile-to-use-environment-build-setting.patch
rename to meta-oe/recipes-extended/redis/redis-7.2.12/0002-lua-update-Makefile-to-use-environment-build-setting.patch
index 46330f5064..a3365043b5 100644
@@ -1,4 +1,4 @@
-From 45ae5eb5c3482054073e06ab1a78e0aa9b96447f Mon Sep 17 00:00:00 2001
+From 71d92a24da61eab1e3697cc83ebc387b57bb6c3b Mon Sep 17 00:00:00 2001
 From: Venture Research <[email protected]>
 Date: Fri, 8 Feb 2013 20:22:19 -0600
 Subject: [PATCH] lua: update Makefile to use environment build settings
meta-oe/recipes-extended/redis/redis-7.2.12/0003-hack-to-force-use-of-libc-malloc.patch renamed from meta-oe/recipes-extended/redis/redis-7.2.11/0003-hack-to-force-use-of-libc-malloc.patch +5 -5
similarity index 81%
rename from meta-oe/recipes-extended/redis/redis-7.2.11/0003-hack-to-force-use-of-libc-malloc.patch
rename to meta-oe/recipes-extended/redis/redis-7.2.12/0003-hack-to-force-use-of-libc-malloc.patch
index 8991d2d9bc..4ab1ca0ca8 100644
@@ -1,4 +1,4 @@
-From 7a98e3ac480413ce7db3a5edd5dc70458b921b29 Mon Sep 17 00:00:00 2001
+From 577335d0309c852d9f6099c255d5a80603fcbdb9 Mon Sep 17 00:00:00 2001
 From: Venture Research <[email protected]>
 Date: Wed, 6 Feb 2013 20:51:02 -0600
 Subject: [PATCH] hack to force use of libc malloc
@@ -19,10 +19,10 @@ Signed-off-by: Alistair Francis <[email protected]>
  src/Makefile | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
-Index: redis-7.2.10/src/Makefile
-===================================================================
---- redis-7.2.10.orig/src/Makefile
-+++ redis-7.2.10/src/Makefile
+diff --git a/src/Makefile b/src/Makefile
+index 6a87909..b8e0d44 100644
+--- a/src/Makefile
++++ b/src/Makefile
 @@ -13,7 +13,8 @@
  # Just use 'make dep', but this is only needed by developers.
  
meta-oe/recipes-extended/redis/redis-7.2.12/0004-src-Do-not-reset-FINAL_LIBS.patch renamed from meta-oe/recipes-extended/redis/redis-7.2.11/0004-src-Do-not-reset-FINAL_LIBS.patch +5 -5
similarity index 74%
rename from meta-oe/recipes-extended/redis/redis-7.2.11/0004-src-Do-not-reset-FINAL_LIBS.patch
rename to meta-oe/recipes-extended/redis/redis-7.2.12/0004-src-Do-not-reset-FINAL_LIBS.patch
index 0513138b4e..71044365af 100644
@@ -1,4 +1,4 @@
-From 50fc46a12f6cf97e7b927d3ea29eecc9ebdea34d Mon Sep 17 00:00:00 2001
+From 225f45d5fbeaa8998fac983fcb78d7912d6d6dd3 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Tue, 10 Sep 2019 20:04:26 -0700
 Subject: [PATCH] src: Do not reset FINAL_LIBS
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <[email protected]>
  src/Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: redis-7.2.10/src/Makefile
-===================================================================
---- redis-7.2.10.orig/src/Makefile
-+++ redis-7.2.10/src/Makefile
+diff --git a/src/Makefile b/src/Makefile
+index b8e0d44..3a68fa6 100644
+--- a/src/Makefile
++++ b/src/Makefile
 @@ -122,7 +122,7 @@ endif
  
  FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
meta-oe/recipes-extended/redis/redis-7.2.12/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch renamed from meta-oe/recipes-extended/redis/redis-7.2.11/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch +1 -1
similarity index 92%
rename from meta-oe/recipes-extended/redis/redis-7.2.11/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch
rename to meta-oe/recipes-extended/redis/redis-7.2.12/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch
index 8e5f30993b..a45de28e0e 100644
@@ -1,4 +1,4 @@
-From acd832d76002a1916b3128ac05bc0296425aea6d Mon Sep 17 00:00:00 2001
+From b636c748fb4047b1ef3a4062c675e1ee4584230b Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Sat, 21 Dec 2019 12:09:51 -0800
 Subject: [PATCH] Define _GNU_SOURCE to get PTHREAD_MUTEX_INITIALIZER
meta-oe/recipes-extended/redis/redis-7.2.12/0006-Define-correct-gregs-for-RISCV32.patch renamed from meta-oe/recipes-extended/redis/redis-7.2.11/0006-Define-correct-gregs-for-RISCV32.patch +1 -1
similarity index 97%
rename from meta-oe/recipes-extended/redis/redis-7.2.11/0006-Define-correct-gregs-for-RISCV32.patch
rename to meta-oe/recipes-extended/redis/redis-7.2.12/0006-Define-correct-gregs-for-RISCV32.patch
index 7009048171..bf44858d16 100644
@@ -1,4 +1,4 @@
-From dd3ecb07bbf80b986b8f2c656ea11d1346e212f6 Mon Sep 17 00:00:00 2001
+From 8984a5df54fc80de1c99b311f117d28c2a42d959 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Mon, 26 Oct 2020 21:32:22 -0700
 Subject: [PATCH] Define correct gregs for RISCV32
meta-oe/recipes-extended/redis/redis-7.2.12/init-redis-server renamed from meta-oe/recipes-extended/redis/redis-7.2.11/init-redis-server +0 -0
similarity index 100%
rename from meta-oe/recipes-extended/redis/redis-7.2.11/init-redis-server
rename to meta-oe/recipes-extended/redis/redis-7.2.12/init-redis-server
meta-oe/recipes-extended/redis/redis-7.2.12/redis.conf renamed from meta-oe/recipes-extended/redis/redis-7.2.11/redis.conf +0 -0
similarity index 100%
rename from meta-oe/recipes-extended/redis/redis-7.2.11/redis.conf
rename to meta-oe/recipes-extended/redis/redis-7.2.12/redis.conf
meta-oe/recipes-extended/redis/redis-7.2.12/redis.service renamed from meta-oe/recipes-extended/redis/redis-7.2.11/redis.service +0 -0
similarity index 100%
rename from meta-oe/recipes-extended/redis/redis-7.2.11/redis.service
rename to meta-oe/recipes-extended/redis/redis-7.2.12/redis.service
meta-oe/recipes-extended/redis/redis_7.2.12.bb renamed from meta-oe/recipes-extended/redis/redis_7.2.11.bb +1 -1
similarity index 97%
rename from meta-oe/recipes-extended/redis/redis_7.2.11.bb
rename to meta-oe/recipes-extended/redis/redis_7.2.12.bb
index 83cb4531d2..9016254731 100644
@@ -17,7 +17,7 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
            file://0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch \
            file://0006-Define-correct-gregs-for-RISCV32.patch \
           "
-SRC_URI[sha256sum] = "2f9886eca68d30114ad6a01da65631f8007d802fd3e6c9fac711251e6390323d"
+SRC_URI[sha256sum] = "97c60478a7c777ac914ca9d87a7e88ba265926456107e758c62d8f971d0196bc"
 
 RPROVIDES:${PN} = "virtual-redis"
 
#1 lore raw

PATCH 2/2 redis: ignore CVE-2025-46817, CVE-2025-46818, CVE-2025-46819

From: Ankur Tyagi <[email protected]>

Fixes for CVE 46817[1], 46818[2], 47819[3] are included in the used version
[1] https://github.com/redis/redis/commit/fc282edb61b56e7fe1e6bacf9400252145852fdc
[2] https://github.com/redis/redis/commit/dccb672d838f05c940f040c27b74fde6fb47b2a7
[3] https://github.com/redis/redis/commit/2802b52b554cb9f0f249a24474c9fba94e933dbb

---
 meta-oe/recipes-extended/redis/redis_7.2.12.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-extended/redis/redis_7.2.12.bb +3 -0
index 9016254731..6527fb6996 100644
@@ -23,6 +23,9 @@ RPROVIDES:${PN} = "virtual-redis"
 
 CVE_STATUS[CVE-2025-21605] = "cpe-incorrect: the used version already contains the fix"
 CVE_STATUS[CVE-2025-27151] = "cpe-incorrect: the used version already contains the fix"
+CVE_STATUS[CVE-2025-46817] = "cpe-incorrect: the used version already contains the fix"
+CVE_STATUS[CVE-2025-46818] = "cpe-incorrect: the used version already contains the fix"
+CVE_STATUS[CVE-2025-46819] = "cpe-incorrect: the used version already contains the fix"
 
 inherit pkgconfig update-rc.d systemd useradd
 
#2 lore raw

Re: [oe][meta-oe][PATCH 2/2] redis: ignore CVE-2025-46817, CVE-2025-46818, CVE-2025-46819

Quoted 17 lines · Ankur Tyagi via lists.openembedded.org

From: Ankur Tyagi <[email protected]>

Fixes for CVE 46817[1], 46818[2], 47819[3] are included in the used version
[1] https://github.com/redis/redis/commit/fc282edb61b56e7fe1e6bacf9400252145852fdc
[2] https://github.com/redis/redis/commit/dccb672d838f05c940f040c27b74fde6fb47b2a7
[3] https://github.com/redis/redis/commit/2802b52b554cb9f0f249a24474c9fba94e933dbb

---
 meta-oe/recipes-extended/redis/redis_7.2.12.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-extended/redis/redis_7.2.12.bb +0 -0
index 9016254731..6527fb6996 100644

meta-oe/recipes-extended/redis/redis_7.2.12.bb RPROVIDES:${PN} = "virtual-redis" · line 28

Quoted 6 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +3 -0
@@ -23,6 +23,9 @@ RPROVIDES:${PN} = "virtual-redis"
 
 CVE_STATUS[CVE-2025-21605] = "cpe-incorrect: the used version already contains the fix"
 CVE_STATUS[CVE-2025-27151] = "cpe-incorrect: the used version already contains the fix"
+CVE_STATUS[CVE-2025-46817] = "cpe-incorrect: the used version already contains the fix"
+CVE_STATUS[CVE-2025-46818] = "cpe-incorrect: the used version already contains the fix"
+CVE_STATUS[CVE-2025-46819] = "cpe-incorrect: the used version already contains the fix"

I have submitted this yesterday, but why I'm writing this is because "cpe-incorrect" is not appropriate status for this - cpe-incorrect is for cases when the actual CVE is for a completely different software than the one built by the recipe:
https://git.openembedded.org/openembedded-core/tree/meta/conf/cve-check-map.conf
- this also determines how it shows up in the final CVE report when someone runs the cve checker. "cpe-incorrect" is marked as "ignored", instead of the the more appropriate "patched" status.

Quoted 12 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +0 -1
 inherit pkgconfig update-rc.d systemd useradd
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#121304): https://lists.openembedded.org/g/openembedded-devel/message/121304
Mute This Topic: https://lists.openembedded.org/mt/116123103/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Re: [oe][meta-oe][PATCH 2/2] redis: ignore CVE-2025-46817, CVE-2025-46818, CVE-2025-46819

Quoted 20 lines · Gyorgy Sarvari
Quoted 18 lines · Ankur Tyagi via lists.openembedded.org

From: Ankur Tyagi <[email protected]>

Fixes for CVE 46817[1], 46818[2], 47819[3] are included in the used version
[1] https://github.com/redis/redis/commit/fc282edb61b56e7fe1e6bacf9400252145852fdc
[2] https://github.com/redis/redis/commit/dccb672d838f05c940f040c27b74fde6fb47b2a7
[3] https://github.com/redis/redis/commit/2802b52b554cb9f0f249a24474c9fba94e933dbb

---
 meta-oe/recipes-extended/redis/redis_7.2.12.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-extended/redis/redis_7.2.12.bb +0 -0
index 9016254731..6527fb6996 100644
@@ -23,6 +23,9 @@ RPROVIDES:${PN} = "virtual-redis"
 
Quoted 14 lines

meta-oe/recipes-extended/redis/redis_7.2.12.bb RPROVIDES:${PN} = "virtual-redis" · line 28

Quoted 5 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +3 -0
 CVE_STATUS[CVE-2025-21605] = "cpe-incorrect: the used version already contains the fix"
 CVE_STATUS[CVE-2025-27151] = "cpe-incorrect: the used version already contains the fix"
+CVE_STATUS[CVE-2025-46817] = "cpe-incorrect: the used version already contains the fix"
+CVE_STATUS[CVE-2025-46818] = "cpe-incorrect: the used version already contains the fix"
+CVE_STATUS[CVE-2025-46819] = "cpe-incorrect: the used version already contains the fix"

I have submitted this yesterday, but why I'm writing this is because "cpe-incorrect" is not appropriate status for this - cpe-incorrect is for cases when the actual CVE is for a completely different software than the one built by the recipe:
https://git.openembedded.org/openembedded-core/tree/meta/conf/cve-check-map.conf
- this also determines how it shows up in the final CVE report when someone runs the cve checker. "cpe-incorrect" is marked as "ignored", instead of the the more appropriate "patched" status.

Got it, thanks for the explanation.

Quoted 14 lines
Quoted 13 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +0 -1
 inherit pkgconfig update-rc.d systemd useradd
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#121304): https://lists.openembedded.org/g/openembedded-devel/message/121304
Mute This Topic: https://lists.openembedded.org/mt/116123103/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-