From 74c660de318cdcb767dd6dd6010efd441c125c11 Mon Sep 17 00:00:00 2001 From: Free-Guy-IR Date: Tue, 1 Dec 2026 23:04:33 +0330 Subject: [PATCH] chore(drift): waive sing-box v1.14.7 and the 1.15 AnyTLS deadline fix The Upstream Drift check of PR #12 went red on 2026-12-01 (run 46716606767) on two sing-box items: - release v1.14.7 (36c518d82feb), held with the 1.14 move like v1.14.5 and v1.14.6: its go.mod requires the sing-quic pseudo-version v0.7.2-0.20261130061349-ffca1ff8aeb0, and the newest sing-quic release is still v0.7.1; - commit 24a6808cb102, a bump of github.com/sagernet/sing-anytls that only the pre-release v1.15.0-alpha.16 and the testing branch carry. The Free-Guy-IR build f92b2cdb67bc uses github.com/anytls/sing-anytls v0.0.11 instead, whose writeControlFrame sets and clears the write deadline outside connLock (read in the code, not reproduced), and backend/singbox manages no anytls inbound. Both are pending until 2026-12-10, aligned with the other 1.14 rows: the owner set sing-box aside on 2026-12-01 and the production sing-box nodes are disabled. --- .github/upstream-waivers.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/upstream-waivers.txt b/.github/upstream-waivers.txt index 472ff358..88463962 100644 --- a/.github/upstream-waivers.txt +++ b/.github/upstream-waivers.txt @@ -145,6 +145,8 @@ bb9fdd5cf158c61c30606970a4af11d4154d91fc pending: sing-box fix for the deprecate f1a71152bad4d7bdf80d88011cc1a852c89d76d4 pending: sing-box bump of sagernet/sing for the race between Read and Close in bufio.CachedConn (in v1.14.5); common/bufio/cache.go of sing v0.8.14, which the Free-Guy-IR build f92b2cdb67bc uses, is byte-identical to the file before the fix dcc5d99d7554: Read uses the cached buffer and Close releases it with no lock between them, so a Close racing a Read can hand the buffer back to the pool while the Read still copies from it (found by reading the code, not reproduced). In that build a CachedConn is made by the trojan inbound only on its fallback path, for a connection whose key matched no user (transport/trojan/service.go), and for mux streams with buffered bytes (transport/trojan/mux.go); by the tuic inbound for streams with buffered request bytes (third_party/sing-quic/tuic/service.go); and by the router only for buffers a sniff rule action read, which the hijack-dns branch also wraps (route/route.go). A hysteria2 inbound reaches it only through such a sniff rule. No tag of sagernet/sing contains dcc5d99d7554 on 2026-11-29, so a port means carrying sing itself. Held with the sing-box 1.14 move until:2026-12-10 a6844a780ba173e189a018d0ac62df67cd50b8e9 pending: sing-box v1.14.5 (2026-11-27), 1.14 line, held with the 1.14 move; it is also not a legal target under the release-only rule, because its go.mod requires sing-quic v0.7.2-0.20261126024618-6fa4bb84d0bd, an unreleased commit (the newest sing-quic release is v0.7.1). Its 15 security-looking commits are settled on their own rows. Of the rest, b384461e (shadowsocks connections attributed to other users after user updates) is already covered in the Free-Guy-IR build, whose shadowsocks users carry an inbounduser.Identity with the name instead of an index into a replaced slice; the Hysteria2 and QUIC changes 44e418a3, ff43da27, a5f1d8bb, 53440b35 and e4573eb1 only move sing-quic to 0.7.2 pseudo-versions and sagernet/quic-go to v0.61.0-sing-box-mod builds, which ride on the same move; and 9766191e changes only the client packet conns of sing-shadowsocks2, which only the shadowsocks outbound uses until:2026-12-10 a713aee3058f97f3facc98e85244a3e73c82dca1 pending: sing-box v1.14.6 (2026-11-27), held with the 1.14 move for the same two reasons as v1.14.5: the 1.14 line, and a go.mod that requires the same unreleased sing-quic commit v0.7.2-0.20261126024618-6fa4bb84d0bd. Over v1.14.5 it adds 5c03f548, which bounds the HTTP request header of the http and mixed inbounds: both are compiled into the Free-Guy-IR build, but backend/singbox manages neither and only panel-supplied config can add one, the ground of bea01fe8; the rest is a badtls record type fix on the kTLS path, oomprofile, tfo-go v2.4.2 and toolchain updates until:2026-12-10 +36c518d82febfc36a2ce65ab5557ab14948e9afa pending: sing-box v1.14.7 (2026-12-01), held with the 1.14 move for the same two reasons as v1.14.5 and v1.14.6: the 1.14 line, and a go.mod that requires sing-quic v0.7.2-0.20261130061349-ffca1ff8aeb0, an unreleased commit (the newest sing-quic release is still v0.7.1 in the drift run of 2026-12-01). On 2026-12-01 the owner also set sing-box aside, and the one sing-box core on the production panel serves three nodes that are all disabled, with no node running sing-box as an extra core, so the pin stays on v1.13.21. Its release notes say only "Fixes and improvements"; none of its 23 commits after v1.14.6 matches the drift check's security patterns, and it still requires github.com/anytls/sing-anytls v0.0.11, so it does not carry the AnyTLS fix of 24a6808c until:2026-12-10 +24a6808cb102fd8955fcda332660a3aaf866f842 pending: sing-box 1.15 AnyTLS fix, in the pre-release tag v1.15.0-alpha.16 and on testing only, and in no final release: v1.14.7, stable and oldstable do not contain it (GitHub compare on 2026-12-01). The commit only moves github.com/sagernet/sing-anytls to 3d7db6ab4eb1, whose session.go writeFrame now sets the control frame write deadline after it takes the write lock instead of before. The Free-Guy-IR build f92b2cdb67bc, like v1.13.21 and v1.14.7, uses another module, github.com/anytls/sing-anytls v0.0.11, so the commit cannot apply there; but its session/session.go writeControlFrame has the same kind of race: it sets the 5 second write deadline on the shared connection before writeConn takes connLock and clears it after the lock is released, so the deadline can hit a concurrent data write or be cleared under another control frame write (found by reading the code, not reproduced). The anytls inbound and outbound are compiled into that build, but backend/singbox manages no anytls inbound. Held because the owner set sing-box aside on 2026-12-01 and the three production nodes on the one sing-box core are all disabled; a port onto v0.0.11 is owed before a sing-box node with an anytls inbound is turned on until:2026-12-10 GHSA-r5hm-mp3j-285g not-applicable: SOCKS inbound authentication bug fixed in sing-box 1.4.5 and 1.5.0-rc.5 in 2023; the pinned v1.13.21 is long past the fix 4ab2eceaac81e073f53b22ec72ff56aaea89a3d1 pending: the sing-quic pin is not independently movable; the fork's sing-box requires github.com/sagernet/sing-quic v0.6.5 only as a label and replaces it with the in-tree third_party/sing-quic, so a move means re-vendoring a tree that already carries the fork's own Hysteria2 fixes, and v0.7.x cannot build inside the 1.13 module graph at all, which was measured on 2026-11-10 by requiring v0.7.1 in a copy of v1.13.21 and watching sing-tun v0.8.15 fail to compile. v0.7.0 does change the Hysteria2 server, so it is real work, and it rides on the sing-box 1.14 move until:2026-12-10 d2722ef5c80241704572e9f2b45d2123f8b7838c not-applicable: mtg PR #549 (merged upstream 9seconds/mtg master as 753d051), validate the fronting domain TLS certificate in the `mtg doctor` self-diagnostic; touches only internal/cli/doctor.go and its test. The node links the mtg library packages (mtglib, network/v2, antireplay, ipblocklist, mtglib/obfuscation) and never builds or runs the `mtg doctor` CLI, so the fronting-domain certificate probe is unreachable at the node's runtime. Matches the drift keywords expired/untrusted, hence this explicit waiver