Skip to content

Commit b19721a

Browse files
Merge PR "[AUTO-CHERRYPICK] [AutoPR- Security] Patch cri-o for CVE-2026-40890 [HIGH] - branch main" #16858
Co-authored-by: Azure Linux Security Servicing Account <azurelinux-security@microsoft.com>
1 parent 8411408 commit b19721a

2 files changed

Lines changed: 35 additions & 1 deletion

File tree

SPECS/cri-o/CVE-2026-40890.patch

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
From 8b227d190f1d61c41105ca5cd6f8db0611f07064 Mon Sep 17 00:00:00 2001
2+
From: Jules Denardou <14008484+JulesDT@users.noreply.github.com>
3+
Date: Fri, 10 Apr 2026 17:25:10 -0400
4+
Subject: [PATCH] fix oob read when no > is found
5+
6+
Signed-off-by: Azure Linux Security Servicing Account <azurelinux-security@microsoft.com>
7+
Upstream-reference: https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778.patch
8+
---
9+
vendor/github.com/gomarkdown/markdown/html/smartypants.go | 5 ++++-
10+
1 file changed, 4 insertions(+), 1 deletion(-)
11+
12+
diff --git a/vendor/github.com/gomarkdown/markdown/html/smartypants.go b/vendor/github.com/gomarkdown/markdown/html/smartypants.go
13+
index a09866b..ee9890a 100644
14+
--- a/vendor/github.com/gomarkdown/markdown/html/smartypants.go
15+
+++ b/vendor/github.com/gomarkdown/markdown/html/smartypants.go
16+
@@ -363,7 +363,10 @@ func (r *SPRenderer) smartLeftAngle(out *bytes.Buffer, previousChar byte, text [
17+
i++
18+
}
19+
20+
- out.Write(text[:i+1])
21+
+ if i == len(text) { // No > found until the end of the text
22+
+ return i
23+
+ }
24+
+ out.Write(text[:i+1]) // include the '>'
25+
return i
26+
}
27+
28+
--
29+
2.45.4
30+

SPECS/cri-o/cri-o.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Summary: OCI-based implementation of Kubernetes Container Runtime Interfa
2626
# Define macros for further referenced sources
2727
Name: cri-o
2828
Version: 1.22.3
29-
Release: 20%{?dist}
29+
Release: 21%{?dist}
3030
License: ASL 2.0
3131
Vendor: Microsoft Corporation
3232
Distribution: Mariner
@@ -82,6 +82,7 @@ Patch26: CVE-2025-58183.patch
8282
Patch27: CVE-2025-65637.patch
8383
Patch28: CVE-2025-11065.patch
8484
Patch29: CVE-2025-47911.patch
85+
Patch30: CVE-2026-40890.patch
8586
BuildRequires: btrfs-progs-devel
8687
BuildRequires: device-mapper-devel
8788
BuildRequires: fdupes
@@ -232,6 +233,9 @@ mkdir -p /opt/cni/bin
232233
%{_fillupdir}/sysconfig.kubelet
233234

234235
%changelog
236+
* Wed Apr 22 2026 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 1.22.3-21
237+
- Patch for CVE-2026-40890
238+
235239
* Wed Feb 18 2026 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 1.22.3-20
236240
- Patch for CVE-2025-47911
237241

0 commit comments

Comments
 (0)