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: Wed, 02 Dec 2026 01:20:02 -0800 References: <20261111052938.3691463-1-dkelaiya@cisco.com> <1457096.1796126405891301219@lists.openembedded.org> In-Reply-To: Message-ID: <1457096.1796203202822489770@lists.openembedded.org> Content-Type: multipart/alternative; boundary="7LiNV3z9GDUZFGBdpWUi" 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 ; Wed, 02 Dec 2026 09:20:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133825 --7LiNV3z9GDUZFGBdpWUi Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Anuj, I cannot claim that testing proves it has no regression risk. The decision = to submit it rests on verifiable evidence. Filelock 3.25.2 is within the af= fected ranges of the six upstream advisories. These include CVE-2026-112940= rated High (7.1) as per CVSS 3.1 [3]. My earlier CVE-2026-1129014 was a typo for CVE-2026-112914. There is a distribution backport example [1] which fixes CVE-2026-112909 in= its maintained 3.0.12 package. I have not found another distribution carry= ing this entire six-CVE backport. Debian testing and unstable took newer re= leases, while Debian stable still tracks CVE-2026-112940 as vulnerable [2]. The backport is substantial, but its fixes, dependencies and regressions ar= e identified in the individual patches. Given the upstream provenance and c= ompleted validation, I request that the series be considered as submitted. [1] https://www.suse.com/support/update/announcement/2026/suse-su-20265461-= 1/ [2] https://security-tracker.debian.org/tracker/CVE-2026-112940 [3] https://nvd.nist.gov/vuln/detail/cve-2026-112940 Regards, Darsh On Tue, Dec 1, 2026 at 08:31 PM, Anuj Mittal wrote: >=20 > On Tue, Dec 1, 2026 at 8:00=E2=80=AFPM Darsh Kelaiya -X (dkelaiya - E > INFOCHIPS PRIVATE LIMITED at Cisco) via openembedded-devel > wrote: >=20 >>=20 >> Hi Anuj, >>=20 >> 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-director= y >> cleanup checks the directory inode and uses descriptor-relative os.rmdir= , >> it does not use the vulnerable recursive deletion. >=20 > It's really hard for me to verify this without completely relying on > Claude. My point was that by doing this, how do we ensure that we are > not introducing more issues than we are solving, especially for non > critical CVEs? >=20 > I don't see any distro picking this up. Are there any examples? >=20 >=20 >> 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 >> Windows-only tests were skipped, and two async-marked tests were >> deselected. The async modules were excluded because the available older >> async test harness also times out on unpatched 3.25.2. >>=20 >> Please identify any additional CVE or affected function you believe this >> series introduces. I can then check that claim against the 3.25.2 baseli= ne >> and the submitted patches. >>=20 >> Regards, >> Darsh >>=20 >>=20 >> 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 > --7LiNV3z9GDUZFGBdpWUi Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi Anuj,

I cannot claim that testing proves it has no regression risk. The = decision to submit it rests on verifiable evidence. Filelock 3.25.2 is with= in the affected ranges of the six upstream advisories. These include CVE-20= 26-112940 rated High (7.1) as per CVSS 3.1 [3].

My earlier CVE-2026-1129014 was a typo for CVE-2026-= 112914.

There is a distribution backport example [1] which fi= xes CVE-2026-112909 in its maintained 3.0.12 package. I have not found anot= her distribution carrying this entire six-CVE backport. <= /span>Debian testing and unstable took newer releases, wh= ile Debian stable still tracks CVE-2026-112940 as vulnerable [2].

The backport is substantial, but its fixes, dependencies and regre= ssions are identified in the individual patches. Given the upstream provena= nce and completed validation, I request that the series be considered as su= bmitted.

 
On Tue, Dec 1, 2026 at 08:31 PM, Anuj Mittal wrote:
On Tue, Dec 1, 2026 at 8:00=E2=80=AFPM Darsh Kelaiya -X (dkelai= ya - E
INFOCHIPS PRIVATE LIMITED at Cisco) via openembedded-devel
<dkelaiya=3Dcisco.com@lists.openembedded.org> wrote:

Hi Anuj,

I checked the later vulnerabilities a= gainst the code actually imported. The backport avoids the arbitrary malfor= med-marker aging involved in CVE-2026-112906 and the symlink-following rest= oration involved in CVE-2026-1129014. For CVE-2026-112937, the imported SQL= ite link-directory cleanup checks the directory inode and uses descriptor-r= elative os.rmdir, it does not use the vulnerable recursive deletion. It's really hard for me to verify this without completely relying on
C= laude. My point was that by doing this, how do we ensure that we are
n= ot introducing more issues than we are solving, especially for non
cri= tical CVEs?

I don't see any distro picking this up. Are there an= y examples?

For testing, I applied all ten current source patches to the re= cipe’s checksum-matched tarball in SRC_URI order without fuzz or reje= cts. On native Python 3.14 with SQLite 3.51, 314 synchronous tests passed, = 20 Windows-only tests were skipped, and two async-marked tests were deselec= ted. The async modules were excluded because the available older async test= harness also times out on unpatched 3.25.2.

Please identify any= additional CVE or affected function you believe this series introduces. I = can then check that claim against the 3.25.2 baseline and the submitted pat= ches.

Regards,
Darsh


On Mon, Nov 30, 2026 = at 09:04 AM, Anuj Mittal wrote:

This is a pretty complex backpor= t, changes internal design and from
what I can see, introduces CVEs fr= om the version we're backporting
from.

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

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


From: Darsh Kelaiya <dkela= iya@cisco.com>

Backport six filelock security fixes to the 3.= 25.2 recipe on Wrynose.
Record three Windows-only CVEs as not applicab= le to the Linux target.

The fixes cover soft-lock marker permiss= ions, atomic stale-marker
takeover, UnixFileLock integrity, ReadWriteL= ock symlink handling,
bounded SQLite schema work, and private SQLite d= atabase and side-file
names in shared directories.

Include = the upstream recovery-PID, raced-restoration, ENOSYS ownership,
descri= ptor-test, WAL-header and inherited-ACL corrections with their
corresp= onding fixes. Retain the 3.25.2 public API and persistent
ReadWriteLoc= k connections.

The final three patches set CVE_STATUS for CVE-20= 26-112907,
CVE-2026-112910 and CVE-2026-112913, which affect Windows o= plock,
permission and SQLite side-file handling.

Darsh Kela= iya (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-112915python3-filelock: fix CVE-2026-112940
python3-filelock: ignore CVE= -2026-112907
python3-filelock: ignore CVE-2026-112910
python3-fil= elock: ignore CVE-2026-112913

.../python3-filelock/CVE-2026-1129= 09_p1.patch | 312 +++++++
.../python3-filelock/CVE-2026-112909_p2.patc= h | 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/p= ython3-filelock/CVE-2026-112936.patch | 382 +++++++++
.../python/pytho= n3-filelock/CVE-2026-112939.patch | 107 +++
.../python3-filelock/CVE-2= 026-112940_p1.patch | 699 +++++++++++++++
.../python3-filelock/CVE-202= 6-112940_p2.patch | 104 +++
.../python/python3-filelock_3.25.2.bb | 20= +-
11 files changed, 3416 insertions(+), 1 deletion(-)
create mo= de 100644 meta-python/recipes-devtools/python/python3-filelock/CVE-2026-112= 909_p1.patch
create mode 100644 meta-python/recipes-devtools/python/py= thon3-filelock/CVE-2026-112909_p2.patch
create mode 100644 meta-python= /recipes-devtools/python/python3-filelock/CVE-2026-112915.patch
create= mode 100644 meta-python/recipes-devtools/python/python3-filelock/CVE-2026-= 112935_p1.patch
create mode 100644 meta-python/recipes-devtools/python= /python3-filelock/CVE-2026-112935_p2.patch
create mode 100644 meta-pyt= hon/recipes-devtools/python/python3-filelock/CVE-2026-112935_p3.patch
= create mode 100644 meta-python/recipes-devtools/python/python3-filelock/CVE= -2026-112936.patch
create mode 100644 meta-python/recipes-devtools/pyt= hon/python3-filelock/CVE-2026-112939.patch
create mode 100644 meta-pyt= hon/recipes-devtools/python/python3-filelock/CVE-2026-112940_p1.patch
= create mode 100644 meta-python/recipes-devtools/python/python3-filelock/CVE= -2026-112940_p2.patch

--
2.35.6
--7LiNV3z9GDUZFGBdpWUi--