summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql/files
diff options
context:
space:
mode:
authorGuocai He <guocai.he.cn@windriver.com>2026-05-25 15:42:06 +0800
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-05-31 03:08:46 -0700
commit1289a88977b3c3279d0ce4e70d0783e25786510d (patch)
treea9056f5daf133f86b58846aa7d0ff700b8f0e5e0 /meta-oe/recipes-dbs/postgresql/files
parentd802e1d79b3ee2016ff023dbe66c672e8c0ef7c6 (diff)
downloadmeta-openembedded-1289a88977b3c3279d0ce4e70d0783e25786510d.tar.gz
postgresql: fix CVE-2026-6479
CVE-2026-6479 was partially fixed by the 17.8 -> 17.10 version upgrade, but an additional patch is needed to completely fix the issue. Add missing include of IO::Socket::INET in Cluster.pm test module. The postmaster test 004_negotiate.pl could fail due to IO::Socket::INET gone missing, in environments that cannot use Unix sockets. Reference: https://security-tracker.debian.org/tracker/CVE-2026-6479 https://github.com/postgres/postgres/commit/eb5559b7df98581bd9a5142433122d1ba076d568 Signed-off-by: Guocai He <guocai.he.cn@windriver.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/files')
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0001-Add-missing-include-in-Cluster.pm.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-Add-missing-include-in-Cluster.pm.patch b/meta-oe/recipes-dbs/postgresql/files/0001-Add-missing-include-in-Cluster.pm.patch
new file mode 100644
index 0000000000..d4e6273e6d
--- /dev/null
+++ b/meta-oe/recipes-dbs/postgresql/files/0001-Add-missing-include-in-Cluster.pm.patch
@@ -0,0 +1,38 @@
1From eb5559b7df98581bd9a5142433122d1ba076d568 Mon Sep 17 00:00:00 2001
2From: Michael Paquier <michael@paquier.xyz>
3Date: Tue, 12 May 2026 16:44:28 +0900
4Subject: [PATCH] Add missing include in Cluster.pm
5
6The postmaster test 004_negotiate.pl could fail due to IO::Socket::INET
7gone missing, in environments that cannot use Unix sockets.
8
9Oversight in the backport done in 6dffaeb8e54c, so like the other commit
10this is applied across the v14~17 range. Per buildfarm member drongo.
11
12Security: CVE-2026-6479
13Backpatch-through: 14
14
15CVE: CVE-2026-6479
16
17Upstream-Status: Backport [https://github.com/postgres/postgres/commit/eb5559b7df]
18
19Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
20---
21 src/test/perl/PostgreSQL/Test/Cluster.pm | 1 +
22 1 file changed, 1 insertion(+)
23
24diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm
25index a8635f4e6ad..4c2428a9247 100644
26--- a/src/test/perl/PostgreSQL/Test/Cluster.pm
27+++ b/src/test/perl/PostgreSQL/Test/Cluster.pm
28@@ -104,6 +104,7 @@ use File::Path qw(rmtree mkpath);
29 use File::Spec;
30 use File::stat qw(stat);
31 use File::Temp ();
32+use IO::Socket::INET;
33 use IPC::Run;
34 use PostgreSQL::Version;
35 use PostgreSQL::Test::RecursiveCopy;
36--
372.34.1
38