public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: "Barry K. Nathan" <barryn@pobox.com>
Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org,
	gregkh@linuxfoundation.org, patches@lists.linux.dev,
	torvalds@linux-foundation.org, akpm@linux-foundation.org,
	linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org,
	lkft-triage@lists.linaro.org, pavel@nabladev.com,
	jonathanh@nvidia.com, f.fainelli@gmail.com,
	sudipm.mukherjee@gmail.com, rwarsow@gmx.de, conor@kernel.org,
	hargar@microsoft.com, broonie@kernel.org, achill@achill.org,
	sr@sladewatkins.com
Subject: Re: [PATCH 6.12 000/385] 6.12.75-rc1 review
Date: Mon, 2 Mar 2026 08:52:19 -0500	[thread overview]
Message-ID: <aaWWE5uQqz_eG69i@laps> (raw)
In-Reply-To: <41b35d0e-bd7e-4bcd-a22c-cd96ee6c43d8@pobox.com>

On Sun, Mar 01, 2026 at 10:05:02PM -0800, Barry K. Nathan wrote:
>On 2/28/26 10:00, Sasha Levin wrote:
>>This is the start of the stable review cycle for the 6.12.75 release.
>>There are 385 patches in this series, all will be posted as a response
>>to this one.  If anyone has any issues with these being applied, please
>>let me know.
>>
>>Responses should be made by Mon Mar  2 05:59:55 PM UTC 2026.
>>Anything received after that time might be too late.
>>
>>The whole patch series can be found in one patch at:
>>         https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/patch/?id=linux-6.12.y&id2=v6.12.74
>>or in the git tree and branch at:
>>         git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.12.y
>>and the diffstat can be found below.
>>
>>Thanks,
>>Sasha
>
>I just now noticed a sizable discrepancy between what's in the
>stable-queue and what's in -rc1, for 5.10.y through 6.12.y. (6.18.y
>and 6.19.y appear unaffected.)
>
>To make sure this is an apples-to-apples comparison, I'll compare with
>the stable-queue as of commit 2370009958172f632d48973387e7b6ae116086b1
>("Drop a broken ACPI patch"); I'd expect the queue as of that commit to
>match the -rc1 patches, if I'm not mistaken.
>
>
>                      # of patches in         # of patches in
>                      stable mailing list     stable-queue git
>                      thread                  @ 237000995817
>
>5.10.252-rc1          147                     334
>5.15.202-rc1          164                     411
>6.1.165-rc1           232                     533
>6.6.128-rc1           283                     683
>6.12.75-rc1           385                     953
>6.18.16-rc1           752                     751
>6.19.6-rc1            844                     843
>
>The off-by-one difference for 6.18.y/6.19.y is expected, since
>(unlike the stable-queue itself) the -rc1 patch and the mailing
>list thread include a Makefile patch to update the version number.
>
>For the other kernels, though, it looks to me like something
>went wrong somewhere. Of course I could be mistaken, but that's
>how it appears to me.
>
>In any case, I figured I should bring this to your attention.

Barry, this is a great catch. Thank you!

The root cause turned out to be a bug in git-quiltimport. One of the
patches queued has the literal text "\0" in its subject line:

   selftests: tc_actions: don't dump 2MB of \0 to stdout

git-quiltimport constructs commit messages using echo(1):

   commit=$( { echo "$SUBJECT"; echo; cat "$tmp_msg"; } | git commit-tree $tree -p $commit)

The problem is that echo interprets backslash escape sequences, so
"\0" gets expanded into an actual NUL byte (0x00). git commit-tree
then rejects the commit with:

   error: a NUL byte in commit log message not allowed.

This caused git-quiltimport to bail out mid-way through building
several trees during -rc construction. The trees that had this patch
queued (5.10 through 6.12) only got a partial set of patches into
the -rc branch, while 6.18 and 6.19 were unaffected because they
hadn't hit the problematic patch yet.

6.18 and 6.19 were also previously released by Greg, who uses actual
quilt rather than git-quiltimport, so he wouldn't have run into this.

This also explains the bogus FAILED emails that went out for patches
that actually apply cleanly - since the patches never made it into the
-rc branch, my scripts concluded they had failed to apply.

I'll propose a fix for git to use printf '%s\n' instead of echo on
that line, which doesn't interpret escape sequences.

-- 
Thanks,
Sasha

  reply	other threads:[~2026-03-02 13:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-28 18:00 [PATCH 6.12 000/385] 6.12.75-rc1 review Sasha Levin
2026-03-01  1:29 ` Peter Schneider
2026-03-01  8:54 ` Brett A C Sheffield
2026-03-01 12:07 ` Mark Brown
2026-03-01 18:14 ` Miguel Ojeda
2026-03-01 22:01 ` Ron Economos
2026-03-02  0:56 ` Hardik Garg
2026-03-02  6:05 ` Barry K. Nathan
2026-03-02 13:52   ` Sasha Levin [this message]
2026-03-02 14:10     ` Greg KH
2026-03-02 14:21       ` Greg KH
2026-03-02 15:20         ` Sasha Levin
2026-03-02  7:47 ` Dominique Martinet
2026-03-02 10:42 ` Francesco Dolcini
2026-03-02 13:13 ` Jon Hunter

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=aaWWE5uQqz_eG69i@laps \
    --to=sashal@kernel.org \
    --cc=achill@achill.org \
    --cc=akpm@linux-foundation.org \
    --cc=barryn@pobox.com \
    --cc=broonie@kernel.org \
    --cc=conor@kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hargar@microsoft.com \
    --cc=jonathanh@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lkft-triage@lists.linaro.org \
    --cc=patches@kernelci.org \
    --cc=patches@lists.linux.dev \
    --cc=pavel@nabladev.com \
    --cc=rwarsow@gmx.de \
    --cc=shuah@kernel.org \
    --cc=sr@sladewatkins.com \
    --cc=stable@vger.kernel.org \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=torvalds@linux-foundation.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