Skip to contentSkip to conversation

valkey: upgrade 9.0.4 -> 9.1.0

PATCH Superseded Tim Orling 2 participants 3 messages Jun 30

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 valkey: upgrade 9.0.4 -> 9.1.0

* Refresh lua-update-Makefile-to-use-environment-build-setting.patch

Valkey 9.1.0 GA - Released Tue May 19 2026
---------------------

Upgrade urgency LOW: This is the first stable release of Valkey 9.1.

* Security fixes
- (CVE-2026-23479) Use-After-Free in unblock client flow
- (CVE-2026-25243) Invalid Memory Access in RESTORE command
- (CVE-2026-23631) Use-after-free when full sync occurs during a yielding Lua/function execution

* New Features and enhanced behavior
- Add cluster bus network traffic usage metric in bytes by @hpatro

    (#3396)
  - Reduce latency spikes during rehashing via incremental page release
    by @chzhoo (#3481)

* Bug Fixes
- Fix(syncio): Set errno on EOF in syncRead and propagate to

    conn->last by @abmathur-ie (#3580)
  - Fix GEOSEARCH BYPOLYGON leak on invalid COUNT by @bandalgomsu (#3568)
  - Handle NULL pointer in streamTrim listpack delta calculation by
    @smkher (#3591)
  - Fixes server crash when RDMA benchmark clients disconnect by
    @quanyeyang (#3448)

- Fix the memory leak in valkey-benchmark by @nmvk (#3643)

Release announcment:
https://valkey.io/blog/valkey-9-1-delivers-improvements-in-security-performance-and-more/

For full comparison of changes, see:
https://github.com/valkey-io/valkey/compare/9.0.4...9.1.0

---
 ...akefile-to-use-environment-build-setting.patch | 15 +++++++++------
 .../valkey/{valkey_9.0.4.bb => valkey_9.1.0.bb}   |  4 ++--
 2 files changed, 11 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-extended/valkey/{valkey_9.0.4.bb => valkey_9.1.0.bb} (95%)
meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch +9 -6
index b91684afd6..7e5a6bb570 100644
@@ -19,6 +19,9 @@ Signed-off-by: Leon Anavi <[email protected]>
 Updated to work with 8.1.x
 Signed-off-by: Randy MacLeod <[email protected]>
 
+Refreshed for 9.1.x
+Signed-off-by: Tim Orling <[email protected]>
+
 Upstream-Status: Inappropriate [OE-specific]
 
 ---
@@ -28,10 +31,10 @@ Upstream-Status: Inappropriate [OE-specific]
  3 files changed, 6 insertions(+), 12 deletions(-)
 
 diff --git a/deps/Makefile b/deps/Makefile
-index 72389def9..5d3ade528 100644
+index 94d9385..5d49559 100644
 --- a/deps/Makefile
 +++ b/deps/Makefile
-@@ -95,7 +95,6 @@ endif
+@@ -102,7 +102,6 @@ endif
  # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
  # challenging to cross-compile lua (and redis).  These defines make it easier
  # to fit redis into cross-compilation environments, which typically set AR.
@@ -40,7 +43,7 @@ index 72389def9..5d3ade528 100644
  
  lua: .make-prerequisites
 diff --git a/deps/lua/Makefile b/deps/lua/Makefile
-index 209a13244..72f4b2bf2 100644
+index 209a132..72f4b2b 100644
 --- a/deps/lua/Makefile
 +++ b/deps/lua/Makefile
 @@ -33,7 +33,6 @@ INSTALL_DATA= $(INSTALL) -m 0644
@@ -52,7 +55,7 @@ index 209a13244..72f4b2bf2 100644
  # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
  
 diff --git a/deps/lua/src/Makefile b/deps/lua/src/Makefile
-index f3bba2f81..1555ec028 100644
+index d38b2d8..e6b3540 100644
 --- a/deps/lua/src/Makefile
 +++ b/deps/lua/src/Makefile
 @@ -5,18 +5,14 @@
@@ -78,5 +81,5 @@ index f3bba2f81..1555ec028 100644
 +CFLAGS += $(MYCFLAGS)
 +LIBS += -lm $(MYLIBS)
  
- # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
- 
+ # Pretty-printing setup
+ CC_COLOR="\033[32m"
meta-oe/recipes-extended/valkey/valkey_9.1.0.bb renamed from meta-oe/recipes-extended/valkey/valkey_9.0.4.bb +2 -2
similarity index 95%
rename from meta-oe/recipes-extended/valkey/valkey_9.0.4.bb
rename to meta-oe/recipes-extended/valkey/valkey_9.1.0.bb
index 93e37a922a..8790854ff6 100644
@@ -6,7 +6,7 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=08b9159809d809e8aaa340a8387e693e"
 DEPENDS = "readline lua ncurses"
 
-SRC_URI = "git://github.com/valkey-io/valkey.git;branch=9.0;protocol=https;tag=${PV} \
+SRC_URI = "git://github.com/valkey-io/valkey.git;branch=9.1;protocol=https;tag=${PV} \
            file://valkey.conf \
            file://init-valkey-server \
            file://valkey.service \
@@ -15,7 +15,7 @@ SRC_URI = "git://github.com/valkey-io/valkey.git;branch=9.0;protocol=https;tag=$
            file://0001-src-Do-not-reset-FINAL_LIBS.patch \
            file://GNU_SOURCE-7.patch \
            "
-SRCREV = "1cbee84ba69b54c3510597965fc4320ce716a6f4"
+SRCREV = "c9e8005e9d0ec817e26c7db318861cb821409249"
 
 RPROVIDES:${PN} = "virtual-redis"
 
Signature · 1 line
2.54.0
#1 lore raw
Quoted 119 lines · Tim Orling via lists.openembedded.org

* Refresh lua-update-Makefile-to-use-environment-build-setting.patch

Valkey 9.1.0 GA - Released Tue May 19 2026
---------------------

Upgrade urgency LOW: This is the first stable release of Valkey 9.1.

* Security fixes
- (CVE-2026-23479) Use-After-Free in unblock client flow
- (CVE-2026-25243) Invalid Memory Access in RESTORE command
- (CVE-2026-23631) Use-after-free when full sync occurs during a yielding Lua/function execution

* New Features and enhanced behavior
- Add cluster bus network traffic usage metric in bytes by @hpatro

    (#3396)
  - Reduce latency spikes during rehashing via incremental page release
    by @chzhoo (#3481)

* Bug Fixes
- Fix(syncio): Set errno on EOF in syncRead and propagate to

    conn->last by @abmathur-ie (#3580)
  - Fix GEOSEARCH BYPOLYGON leak on invalid COUNT by @bandalgomsu (#3568)
  - Handle NULL pointer in streamTrim listpack delta calculation by
    @smkher (#3591)
  - Fixes server crash when RDMA benchmark clients disconnect by
    @quanyeyang (#3448)

- Fix the memory leak in valkey-benchmark by @nmvk (#3643)

Release announcment:

https://valkey.io/blog/valkey-9-1-delivers-improvements-in-security-performance-and-more/

For full comparison of changes, see:
https://github.com/valkey-io/valkey/compare/9.0.4...9.1.0

---
 ...akefile-to-use-environment-build-setting.patch | 15 +++++++++------
 .../valkey/{valkey_9.0.4.bb => valkey_9.1.0.bb}   |  4 ++--
 2 files changed, 11 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-extended/valkey/{valkey_9.0.4.bb =>

valkey_9.1.0.bb} (95%)

diff --git a/meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch b/meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch index b91684afd6..7e5a6bb570 100644
---
a/meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch
+++
b/meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch

meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch +5 -2
@@ -19,6 +19,9 @@ Signed-off-by: Leon Anavi <[email protected]>
 Updated to work with 8.1.x
 Signed-off-by: Randy MacLeod <[email protected]>
 
+Refreshed for 9.1.x
+Signed-off-by: Tim Orling <[email protected]>
+
 Upstream-Status: Inappropriate [OE-specific]
 
 ---
@@ -28,10 +31,10 @@ Upstream-Status: Inappropriate [OE-specific]
  3 files changed, 6 insertions(+), 12 deletions(-)
 
 diff --git a/deps/Makefile b/deps/Makefile
-index 72389def9..5d3ade528 100644
+index 94d9385..5d49559 100644
 --- a/deps/Makefile
 +++ b/deps/Makefile
-@@ -95,7 +95,6 @@ endif
+@@ -102,7 +102,6 @@ endif
  # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
  # challenging to cross-compile lua (and redis).  These defines make it

easier

  # to fit redis into cross-compilation environments, which typically set
AR.
meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch +1 -1
@@ -40,7 +43,7 @@ index 72389def9..5d3ade528 100644
 
  lua: .make-prerequisites
 diff --git a/deps/lua/Makefile b/deps/lua/Makefile
-index 209a13244..72f4b2bf2 100644
+index 209a132..72f4b2b 100644
 --- a/deps/lua/Makefile
 +++ b/deps/lua/Makefile
 @@ -33,7 +33,6 @@ INSTALL_DATA= $(INSTALL) -m 0644
@@ -52,7 +55,7 @@ index 209a13244..72f4b2bf2 100644
  # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE

=========

diff --git a/deps/lua/src/Makefile b/deps/lua/src/Makefile

meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch +1 -2
-index f3bba2f81..1555ec028 100644
+index d38b2d8..e6b3540 100644
 --- a/deps/lua/src/Makefile
 +++ b/deps/lua/src/Makefile
 @@ -5,18 +5,14 @@
@@ -78,5 +81,5 @@ index f3bba2f81..1555ec028 100644
 +CFLAGS += $(MYCFLAGS)
 +LIBS += -lm $(MYLIBS)
 
- # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE

=========

meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch +2 -1
-
+ # Pretty-printing setup
+ CC_COLOR="\033[32m"
meta-oe/recipes-extended/valkey/valkey_9.1.0.bb renamed from meta-oe/recipes-extended/valkey/valkey_9.0.4.bb +0 -1
similarity index 95%
rename from meta-oe/recipes-extended/valkey/valkey_9.0.4.bb
rename to meta-oe/recipes-extended/valkey/valkey_9.1.0.bb
index 93e37a922a..8790854ff6 100644
@@ -6,7 +6,7 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=08b9159809d809e8aaa340a8387e693e"
 DEPENDS = "readline lua ncurses"
 
-SRC_URI = "git://
 github.com/valkey-io/valkey.git;branch=9.0;protocol=https;tag=${PV}
Quoted 7 lines

<http://github.com/valkey-io/valkey.git;branch=9.0;protocol=https;tag=$%7BPV%7D>
\
+SRC_URI = "git:// github.com/valkey-io/valkey.git;branch=9.1;protocol=https;tag=${PV}
<http://github.com/valkey-io/valkey.git;branch=9.1;protocol=https;tag=$%7BPV%7D>
\

while here, you can turn this into something like

SRC_URI = "git:// github.com/valkey-io/valkey.git;branch=${@oe.utils.trim_version(d.getVar('PV'), 2)};protocol=https;tag=${PV}"

so it does not need changing on every version bump

Quoted 28 lines
            file://valkey.conf \
            file://init-valkey-server \
            file://valkey.service \
meta-oe/recipes-extended/valkey/valkey_9.1.0.bb renamed from meta-oe/recipes-extended/valkey/valkey_9.0.4.bb +0 -0
@@ -15,7 +15,7 @@ SRC_URI = "git://

github.com/valkey-io/valkey.git;branch=9.0;protocol=https;tag=$

            file://0001-src-Do-not-reset-FINAL_LIBS.patch \
            file://GNU_SOURCE-7.patch \
            "
meta-oe/recipes-extended/valkey/valkey_9.1.0.bb renamed from meta-oe/recipes-extended/valkey/valkey_9.0.4.bb +1 -2
-SRCREV = "1cbee84ba69b54c3510597965fc4320ce716a6f4"
+SRCREV = "c9e8005e9d0ec817e26c7db318861cb821409249"
 
 RPROVIDES:${PN} = "virtual-redis"
 
--

2.54.0

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

author
#2 lore raw

PATCH v2 1/1 valkey: upgrade 9.0.4 -> 9.1.0

In reply to Tim Orling

* Refresh lua-update-Makefile-to-use-environment-build-setting.patch
* Use ${@oe.utils.trim_version(d.getVar('PV'), 2)} to dynamically determine branch= in SRC_URI

Valkey 9.1.0 GA - Released Tue May 19 2026
---------------------

Upgrade urgency LOW: This is the first stable release of Valkey 9.1.

* Security fixes
- (CVE-2026-23479) Use-After-Free in unblock client flow
- (CVE-2026-25243) Invalid Memory Access in RESTORE command
- (CVE-2026-23631) Use-after-free when full sync occurs during a yielding Lua/function execution

* New Features and enhanced behavior
- Add cluster bus network traffic usage metric in bytes by @hpatro

    (#3396)
  - Reduce latency spikes during rehashing via incremental page release
    by @chzhoo (#3481)

* Bug Fixes
- Fix(syncio): Set errno on EOF in syncRead and propagate to

    conn->last by @abmathur-ie (#3580)
  - Fix GEOSEARCH BYPOLYGON leak on invalid COUNT by @bandalgomsu (#3568)
  - Handle NULL pointer in streamTrim listpack delta calculation by
    @smkher (#3591)
  - Fixes server crash when RDMA benchmark clients disconnect by
    @quanyeyang (#3448)

- Fix the memory leak in valkey-benchmark by @nmvk (#3643)

Release announcment:
https://valkey.io/blog/valkey-9-1-delivers-improvements-in-security-performance-and-more/

For full comparison of changes, see:
https://github.com/valkey-io/valkey/compare/9.0.4...9.1.0

---
Changes in v2:
* Use ${@oe.utils.trim_version(d.getVar('PV'), 2)} to dynamically determine branch= in SRC_URI

 ...akefile-to-use-environment-build-setting.patch | 15 +++++++++------
 .../valkey/{valkey_9.0.4.bb => valkey_9.1.0.bb}   |  4 ++--
 2 files changed, 11 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-extended/valkey/{valkey_9.0.4.bb => valkey_9.1.0.bb} (93%)
meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch +9 -6
index b91684afd6..7e5a6bb570 100644
@@ -19,6 +19,9 @@ Signed-off-by: Leon Anavi <[email protected]>
 Updated to work with 8.1.x
 Signed-off-by: Randy MacLeod <[email protected]>
 
+Refreshed for 9.1.x
+Signed-off-by: Tim Orling <[email protected]>
+
 Upstream-Status: Inappropriate [OE-specific]
 
 ---
@@ -28,10 +31,10 @@ Upstream-Status: Inappropriate [OE-specific]
  3 files changed, 6 insertions(+), 12 deletions(-)
 
 diff --git a/deps/Makefile b/deps/Makefile
-index 72389def9..5d3ade528 100644
+index 94d9385..5d49559 100644
 --- a/deps/Makefile
 +++ b/deps/Makefile
-@@ -95,7 +95,6 @@ endif
+@@ -102,7 +102,6 @@ endif
  # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
  # challenging to cross-compile lua (and redis).  These defines make it easier
  # to fit redis into cross-compilation environments, which typically set AR.
@@ -40,7 +43,7 @@ index 72389def9..5d3ade528 100644
  
  lua: .make-prerequisites
 diff --git a/deps/lua/Makefile b/deps/lua/Makefile
-index 209a13244..72f4b2bf2 100644
+index 209a132..72f4b2b 100644
 --- a/deps/lua/Makefile
 +++ b/deps/lua/Makefile
 @@ -33,7 +33,6 @@ INSTALL_DATA= $(INSTALL) -m 0644
@@ -52,7 +55,7 @@ index 209a13244..72f4b2bf2 100644
  # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
  
 diff --git a/deps/lua/src/Makefile b/deps/lua/src/Makefile
-index f3bba2f81..1555ec028 100644
+index d38b2d8..e6b3540 100644
 --- a/deps/lua/src/Makefile
 +++ b/deps/lua/src/Makefile
 @@ -5,18 +5,14 @@
@@ -78,5 +81,5 @@ index f3bba2f81..1555ec028 100644
 +CFLAGS += $(MYCFLAGS)
 +LIBS += -lm $(MYLIBS)
  
- # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
- 
+ # Pretty-printing setup
+ CC_COLOR="\033[32m"
meta-oe/recipes-extended/valkey/valkey_9.1.0.bb renamed from meta-oe/recipes-extended/valkey/valkey_9.0.4.bb +2 -2
similarity index 93%
rename from meta-oe/recipes-extended/valkey/valkey_9.0.4.bb
rename to meta-oe/recipes-extended/valkey/valkey_9.1.0.bb
index 93e37a922a..de1f413d4f 100644
@@ -6,7 +6,7 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=08b9159809d809e8aaa340a8387e693e"
 DEPENDS = "readline lua ncurses"
 
-SRC_URI = "git://github.com/valkey-io/valkey.git;branch=9.0;protocol=https;tag=${PV} \
+SRC_URI = "git://github.com/valkey-io/valkey.git;branch=${@oe.utils.trim_version(d.getVar('PV'), 2)};protocol=https;tag=${PV} \
            file://valkey.conf \
            file://init-valkey-server \
            file://valkey.service \
@@ -15,7 +15,7 @@ SRC_URI = "git://github.com/valkey-io/valkey.git;branch=9.0;protocol=https;tag=$
            file://0001-src-Do-not-reset-FINAL_LIBS.patch \
            file://GNU_SOURCE-7.patch \
            "
-SRCREV = "1cbee84ba69b54c3510597965fc4320ce716a6f4"
+SRCREV = "c9e8005e9d0ec817e26c7db318861cb821409249"
 
 RPROVIDES:${PN} = "virtual-redis"
 
Signature · 1 line
2.54.0