Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)" <dkelaiya@cisco.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-python][wrynose][PATCH 0/9] python3-filelock: Security fixes
Date: Wed, 02 Dec 2026 01:20:02 -0800	[thread overview]
Message-ID: <1457096.1796203202822489770@lists.openembedded.org> (raw)
In-Reply-To: <CA+s=J=ys1pt3CQpLgNL0yT5VOat_sniWQfY0kkwp+EyrxSGeAg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 6450 bytes --]

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 affected 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 carrying this entire six-CVE backport. Debian testing and unstable took newer releases, while Debian stable still tracks CVE-2026-112940 as vulnerable [2].

The backport is substantial, but its fixes, dependencies and regressions are identified in the individual patches. Given the upstream provenance and completed 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:

> 
> On Tue, Dec 1, 2026 at 8:00 PM Darsh Kelaiya -X (dkelaiya - E
> INFOCHIPS PRIVATE LIMITED at Cisco) via openembedded-devel
> <dkelaiya=cisco.com@lists.openembedded.org> wrote:
> 
>> 
>> 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.
> 
> 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?
> 
> I don't see any distro picking this up. Are there any examples?
> 
> 
>> For testing, I applied all ten current source patches to the recipe’s
>> 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.
>> 
>> 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 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 backporting
>> from.
>> 
>> Please share more about how all the backports here were tested.
>> 
>> On Wed, Nov 11, 2026 at 1:29 PM Darsh Kelaiya -X (dkelaiya - E
>> INFOCHIPS PRIVATE LIMITED at Cisco) via openembedded-devel
>> <dkelaiya=cisco.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-marker
>> takeover, UnixFileLock integrity, ReadWriteLock symlink handling,
>> bounded SQLite schema work, and private SQLite database and side-file
>> names in shared directories.
>> 
>> 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.
>> 
>> 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.
>> 
>> 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
>> 
>> .../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
>> 
>> create mode 100644
>> meta-python/recipes-devtools/python/python3-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-python/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/python/python3-filelock/CVE-2026-112939.patch
>> 
>> create mode 100644
>> meta-python/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
> 
>

[-- Attachment #2: Type: text/html, Size: 7148 bytes --]

      reply	other threads:[~2026-12-02  9:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11  5:29 [oe][meta-python][wrynose][PATCH 0/9] python3-filelock: Security fixes Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-11  5:29 ` [oe][meta-python][wrynose][PATCH 1/9] python3-filelock: fix CVE-2026-112939 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-11  5:29 ` [oe][meta-python][wrynose][PATCH 2/9] python3-filelock: fix CVE-2026-112935 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-30  3:28   ` Anuj Mittal
2026-11-11  5:29 ` [oe][meta-python][wrynose][PATCH 3/9] python3-filelock: fix CVE-2026-112909 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-11  5:29 ` [oe][meta-python][wrynose][PATCH 4/9] python3-filelock: fix CVE-2026-112936 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-11  5:29 ` [oe][meta-python][wrynose][PATCH 5/9] python3-filelock: fix CVE-2026-112915 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-11  5:29 ` [oe][meta-python][wrynose][PATCH 6/9] python3-filelock: fix CVE-2026-112940 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-11  5:29 ` [oe][meta-python][wrynose][PATCH 7/9] python3-filelock: ignore CVE-2026-112907 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-11  5:29 ` [oe][meta-python][wrynose][PATCH 8/9] python3-filelock: ignore CVE-2026-112910 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-11  5:29 ` [oe][meta-python][wrynose][PATCH 9/9] python3-filelock: ignore CVE-2026-112913 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-30  3:34 ` [oe][meta-python][wrynose][PATCH 0/9] python3-filelock: Security fixes Anuj Mittal
2026-12-01 12:00   ` [meta-python][wrynose][PATCH " Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-12-01 15:01     ` [oe] " Anuj Mittal
2026-12-02  9:20       ` Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457096.1796203202822489770@lists.openembedded.org \
    --to=dkelaiya@cisco.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox