From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [meta-python][wrynose][PATCH 0/9] python3-filelock: Security fixes To: openembedded-devel@lists.openembedded.org From: "Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)" X-Originating-Location: Mumbai, Maharashtra, IN (151.186.177.21) X-Originating-Platform: Windows Edge 158 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 01 Dec 2026 04:00:05 -0800 References: <20261111052938.3691463-1-dkelaiya@cisco.com> In-Reply-To: Message-ID: <1457096.1796126405891301219@lists.openembedded.org> Content-Type: multipart/alternative; boundary="JplfrtYlTXSvgLRBWmnT" List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Tue, 01 Dec 2026 12:00:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133749 --JplfrtYlTXSvgLRBWmnT Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Anuj, I checked the later vulnerabilities against the code actually imported. The= backport avoids the arbitrary malformed-marker aging involved in CVE-2026-= 112906 and the symlink-following restoration involved in CVE-2026-1129014. = For CVE-2026-112937 , the imported SQLite link-directory cleanup checks the= directory inode and uses descriptor-relative os.rmdir, it does not use the= vulnerable recursive deletion. For testing, I applied all ten current source patches to the recipe=E2=80= =99s checksum-matched tarball in SRC_URI order without fuzz or rejects. On = native Python 3.14 with SQLite 3.51, 314 synchronous tests passed , 20 Wind= ows-only tests were skipped, and two async-marked tests were deselected. Th= e async modules were excluded because the available older async test harnes= s also times out on unpatched 3.25.2. Please identify any additional CVE or affected function you believe this se= ries introduces. I can then check that claim against the 3.25.2 baseline an= d the submitted patches. Regards, Darsh On Mon, Nov 30, 2026 at 09:04 AM, Anuj Mittal wrote: >=20 > This is a pretty complex backport, changes internal design and from > what I can see, introduces CVEs from the version we're backporting > from. >=20 > Please share more about how all the backports here were tested. >=20 > On Wed, Nov 11, 2026 at 1:29=E2=80=AFPM Darsh Kelaiya -X (dkelaiya - E > INFOCHIPS PRIVATE LIMITED at Cisco) via openembedded-devel > wrote: >=20 >>=20 >> From: Darsh Kelaiya >>=20 >> Backport six filelock security fixes to the 3.25.2 recipe on Wrynose. >> Record three Windows-only CVEs as not applicable to the Linux target. >>=20 >> The fixes cover soft-lock marker permissions, atomic stale-marker >> takeover, UnixFileLock integrity, ReadWriteLock symlink handling, >> bounded SQLite schema work, and private SQLite database and side-file >> names in shared directories. >>=20 >> Include the upstream recovery-PID, raced-restoration, ENOSYS ownership, >> descriptor-test, WAL-header and inherited-ACL corrections with their >> corresponding fixes. Retain the 3.25.2 public API and persistent >> ReadWriteLock connections. >>=20 >> The final three patches set CVE_STATUS for CVE-2026-112907, >> CVE-2026-112910 and CVE-2026-112913, which affect Windows oplock, >> permission and SQLite side-file handling. >>=20 >> Darsh Kelaiya (9): >> python3-filelock: fix CVE-2026-112939 >> python3-filelock: fix CVE-2026-112935 >> python3-filelock: fix CVE-2026-112909 >> python3-filelock: fix CVE-2026-112936 >> python3-filelock: fix CVE-2026-112915 >> python3-filelock: fix CVE-2026-112940 >> python3-filelock: ignore CVE-2026-112907 >> python3-filelock: ignore CVE-2026-112910 >> python3-filelock: ignore CVE-2026-112913 >>=20 >> .../python3-filelock/CVE-2026-112909_p1.patch | 312 +++++++ >> .../python3-filelock/CVE-2026-112909_p2.patch | 53 ++ >> .../python/python3-filelock/CVE-2026-112915.patch | 280 ++++++ >> .../python3-filelock/CVE-2026-112935_p1.patch | 945 ++++++++++++++++++++= + >> .../python3-filelock/CVE-2026-112935_p2.patch | 90 ++ >> .../python3-filelock/CVE-2026-112935_p3.patch | 425 +++++++++ >> .../python/python3-filelock/CVE-2026-112936.patch | 382 +++++++++ >> .../python/python3-filelock/CVE-2026-112939.patch | 107 +++ >> .../python3-filelock/CVE-2026-112940_p1.patch | 699 +++++++++++++++ >> .../python3-filelock/CVE-2026-112940_p2.patch | 104 +++ >> .../python/python3-filelock_3.25.2.bb | 20 +- >> 11 files changed, 3416 insertions(+), 1 deletion(-) >> create mode 100644 >> meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112909_p1.= patch >>=20 >> create mode 100644 >> meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112909_p2.= patch >>=20 >> create mode 100644 >> meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112915.pat= ch >>=20 >> create mode 100644 >> meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112935_p1.= patch >>=20 >> create mode 100644 >> meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112935_p2.= patch >>=20 >> create mode 100644 >> meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112935_p3.= patch >>=20 >> create mode 100644 >> meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112936.pat= ch >>=20 >> create mode 100644 >> meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112939.pat= ch >>=20 >> create mode 100644 >> meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112940_p1.= patch >>=20 >> create mode 100644 >> meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112940_p2.= patch >>=20 >>=20 >> -- >> 2.35.6 >>=20 >>=20 >>=20 >=20 > --JplfrtYlTXSvgLRBWmnT Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi Anuj,

I checked the later vulnerabilities against the code actually impo= rted. The backport avoids the arbitrary malformed-marker aging involved in = CVE-2026-112906 and the symlink-following restoration involved= in CVE-2026-1129014. For CVE-2026-112937, the im= ported SQLite link-directory cleanup checks the directory inode and uses de= scriptor-relative os.rmdir, it does not use the vulnerable rec= ursive deletion.

For testing, I applied all ten current source patches to the recip= e’s checksum-matched tarball in SRC_URI order without fu= zz or rejects. On native Python 3.14 with SQLite 3.51, 314 synchrono= us tests passed, 20 Windows-only tests were skipped, and two async-ma= rked tests were deselected. The async modules were excluded because the ava= ilable older async test harness also times out on unpatched 3.25.2.<= /p>

Please identify any additional CVE or affected function you believ= e this series introduces. I can then check that claim against the 3.25.2 ba= seline and the submitted patches.

Regards,
Darsh

 
On Mon, Nov 30, 2026 at 09:04 AM, Anuj Mittal wrote:
This is a pretty complex backport, changes internal design and = from
what I can see, introduces CVEs from the version we're backportin= g
from.

Please share more about how all the backports here = were tested.

On Wed, Nov 11, 2026 at 1:29=E2=80=AFPM Darsh Kelai= ya -X (dkelaiya - E
INFOCHIPS PRIVATE LIMITED at Cisco) via openembedd= ed-devel
<dkelaiya=3Dcisco.com@lists.openembedded.org> wrote:

From: Darsh Kelaiya <dkelaiya@cisco.com>

Backport six filelock security fixes to the 3.25.2 recipe on Wrynose.
Record three Windows-only CVEs as not applicable to the Linux target.

The fixes cover soft-lock marker permissions, atomic stale-markertakeover, UnixFileLock integrity, ReadWriteLock symlink handling,
b= ounded SQLite schema work, and private SQLite database and side-file
n= ames in shared directories.

Include the upstream recovery-PID, r= aced-restoration, ENOSYS ownership,
descriptor-test, WAL-header and in= herited-ACL corrections with their
corresponding fixes. Retain the 3.2= 5.2 public API and persistent
ReadWriteLock connections.

Th= e final three patches set CVE_STATUS for CVE-2026-112907,
CVE-2026-112= 910 and CVE-2026-112913, which affect Windows oplock,
permission and S= QLite side-file handling.

Darsh Kelaiya (9):
python3-filelo= ck: fix CVE-2026-112939
python3-filelock: fix CVE-2026-112935
pyt= hon3-filelock: fix CVE-2026-112909
python3-filelock: fix CVE-2026-1129= 36
python3-filelock: fix CVE-2026-112915
python3-filelock: fix CV= E-2026-112940
python3-filelock: ignore CVE-2026-112907
python3-fi= lelock: ignore CVE-2026-112910
python3-filelock: ignore CVE-2026-11291= 3

.../python3-filelock/CVE-2026-112909_p1.patch | 312 +++++++.../python3-filelock/CVE-2026-112909_p2.patch | 53 ++
.../python/py= thon3-filelock/CVE-2026-112915.patch | 280 ++++++
.../python3-filelock= /CVE-2026-112935_p1.patch | 945 +++++++++++++++++++++
.../python3-file= lock/CVE-2026-112935_p2.patch | 90 ++
.../python3-filelock/CVE-2026-11= 2935_p3.patch | 425 +++++++++
.../python/python3-filelock/CVE-2026-112= 936.patch | 382 +++++++++
.../python/python3-filelock/CVE-2026-112939.= patch | 107 +++
.../python3-filelock/CVE-2026-112940_p1.patch | 699 ++= +++++++++++++
.../python3-filelock/CVE-2026-112940_p2.patch | 104 +++<= br />.../python/python3-filelock_3.25.2.bb | 20 +-
11 files changed, 3= 416 insertions(+), 1 deletion(-)
create mode 100644 meta-python/recipe= s-devtools/python/python3-filelock/CVE-2026-112909_p1.patch
create mod= e 100644 meta-python/recipes-devtools/python/python3-filelock/CVE-2026-1129= 09_p2.patch
create mode 100644 meta-python/recipes-devtools/python/pyt= hon3-filelock/CVE-2026-112915.patch
create mode 100644 meta-python/rec= ipes-devtools/python/python3-filelock/CVE-2026-112935_p1.patch
create = mode 100644 meta-python/recipes-devtools/python/python3-filelock/CVE-2026-1= 12935_p2.patch
create mode 100644 meta-python/recipes-devtools/python/= python3-filelock/CVE-2026-112935_p3.patch
create mode 100644 meta-pyth= on/recipes-devtools/python/python3-filelock/CVE-2026-112936.patch
crea= te mode 100644 meta-python/recipes-devtools/python/python3-filelock/CVE-202= 6-112939.patch
create mode 100644 meta-python/recipes-devtools/python/= python3-filelock/CVE-2026-112940_p1.patch
create mode 100644 meta-pyth= on/recipes-devtools/python/python3-filelock/CVE-2026-112940_p2.patch
<= br />--
2.35.6


--JplfrtYlTXSvgLRBWmnT--