mirror of
https://git.yoctoproject.org/poky
synced 2026-10-21 18:58:20 +00:00
cups: fix CVE-2026-39316
Pick the upstream patch [1] as mentioned in [2]. [1] https://github.com/OpenPrinting/cups/commit/0142eeb58e0d718b7d2e1f0d5dd214bd2192cc7f [2] https://security-tracker.debian.org/tracker/CVE-2026-39316 (From OE-Core rev: f7e5b2536577573a9a9a280c1dda9c21140cfb21) Signed-off-by: Deepak Rathore <deeratho@cisco.com> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
1 parent
38a2761a99
commit
44fd9295ca
2 files changed
+41
No files matched your search
@@ -31,6 +31,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
|
||||
file://CVE-2026-34979.patch \
|
||||
file://CVE-2026-34990.patch \
|
||||
file://CVE-2026-39314.patch \
|
||||
file://CVE-2026-39316.patch \
|
||||
"
|
||||
|
||||
GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
From 7c4d7951d189e931563f21086196d5a55fb2fa15 Mon Sep 17 00:00:00 2001
|
||||
From: Michael R Sweet <msweet@msweet.org>
|
||||
Date: Sun, 5 Apr 2026 11:33:23 -0400
|
||||
Subject: [PATCH] Expire per-printer subscriptions before deleting.
|
||||
|
||||
CVE: CVE-2026-39316
|
||||
Upstream-Status: Backport [https://github.com/OpenPrinting/cups/commit/0142eeb58e0d718b7d2e1f0d5dd214bd2192cc7f]
|
||||
|
||||
Backport Changes:
|
||||
- Rebase scheduler/printers.c delete-printer context to the CUPS 2.4.11
|
||||
source carried by this recipe.
|
||||
- Omit the upstream CHANGES.md release-note hunk because Yocto patch metadata
|
||||
carries the CVE details and the target source release-note sections differ.
|
||||
|
||||
(cherry picked from commit 0142eeb58e0d718b7d2e1f0d5dd214bd2192cc7f)
|
||||
Signed-off-by: Deepak Rathore <deeratho@cisco.com>
|
||||
---
|
||||
scheduler/printers.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/scheduler/printers.c b/scheduler/printers.c
|
||||
index bf493a3..ca983f9 100644
|
||||
--- a/scheduler/printers.c
|
||||
+++ b/scheduler/printers.c
|
||||
@@ -641,6 +641,12 @@ cupsdDeletePrinter(
|
||||
update ? "Job stopped due to printer being deleted." :
|
||||
"Job stopped.");
|
||||
|
||||
+ /*
|
||||
+ * Expire subscriptions on the printer...
|
||||
+ */
|
||||
+
|
||||
+ cupsdExpireSubscriptions(p, /*job*/NULL);
|
||||
+
|
||||
/*
|
||||
* Remove the printer from the list...
|
||||
*/
|
||||
--
|
||||
2.43.7
|
||||
|
||||
Reference in new issue
Block a user