From: "MaxF (Code Review)"
Date: Sun, 22 Feb 2026 22:14:40 +0000
In-Reply-To:
References:
Reply-To: max@...2606..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, steffan@...1856...
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="+ZyEn/szXCA="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: Avoid unbounded
allocations in pkcs11_mbedtls.c
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: syzzer , plaisthos , openvpn-devel
--+ZyEn/szXCA=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: plaisthos, syzzer.
MaxF has posted comments on this change by MaxF. ( http://gerrit.openvpn.ne=
t/c/openvpn/+/1549?usp=3Demail )
Change subject: Avoid unbounded allocations in pkcs11_mbedtls.c
......................................................................
Patch Set 1:
(2 comments)
Patchset:
PS1:
I don't understand why the tests are failing. Some of them don't even use m=
bedtls. Can someone else take a look?
PS1:
> The change itself looks good. And might even be good practice. [=E2=80=A6]
You're right, that's why this is not a CVE. I discussed it with Gert in the=
private-issues repo and we agreed to label it as "minibug". We can't prote=
ct against a malicious pkcs11 provider, but maybe we can be more robust aga=
inst a buggy one.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1549?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings?usp=3Demail
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I53d47e4a0d33c380ee95e0e33aecad3db3197940
Gerrit-Change-Number: 1549
Gerrit-PatchSet: 1
Gerrit-Owner: MaxF
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-CC: syzzer
Gerrit-Attention: syzzer
Gerrit-Attention: plaisthos
Gerrit-Comment-Date: Sun, 22 Feb 2026 22:14:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: syzzer
--+ZyEn/szXCA=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: plaisthos, syzzer.
View =
Change
2 comments:
You're right, that's why this is not=
a CVE. I discussed it with Gert in the private-issues repo and we agreed t=
o label it as "minibug". We can't protect against a malicious=
pkcs11 provider, but maybe we can be more robust against a buggy one.
<=
/li>To view, visit change 1549. To unsubscribe, or for help w=
riting mail filters, visit settings.
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I53d47e4a0d33c380ee95e0e33ae=
cad3db3197940
Gerrit-Change-Number: 1549
Gerrit-PatchSet: 1
Gerrit-Owner: MaxF <max@...2606...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-CC: syzzer <steffan@...1856...> <=
/div>
Gerrit-Attention: syzzer <steffan@...2115...=
.>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Comment-Date: Sun, 22 Feb 2026 22:14:40=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: syzzer <steffan@...1852...=
6...>
=
--+ZyEn/szXCA=--