From: Scott Tringali <stringal@mathworks.com>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: "1137107-quiet@bugs.debian.org" <1137107-quiet@bugs.debian.org>,
David Howells <dhowells@redhat.com>,
"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>
Subject: Re: Bug#1137107: netfs local_bh_enable in hard IRQ via cachefiles read completion
Date: Wed, 27 May 2026 17:27:40 +0000 [thread overview]
Message-ID: <3FA486B9-5D33-4FB0-973E-38D9CF8B4C04@mathworks.com> (raw)
In-Reply-To: <ahbuh46O8ncqe6Ob@monoceros>
Wish I could - I’m in a restricted/puppet’d environment and can’t make changes like that.
> On May 27, 2026, at 9:22 AM, Uwe Kleine-König <u.kleine-koenig@baylibre.com> wrote:
>
> Control: tag -1 + upstream moreinfo
>
> Hello,
>
> On Tue, May 19, 2026 at 02:50:32PM -0400, Scott Tringali wrote:
>> Package: linux
>> Severity: important
>> Tags: patch
>> X-Debbugs-Cc: stringal@mathworks.com
>>
>> Package: linux
>> Version: 6.12.86-1
>> Severity: important
>> Tags: upstream
>>
>> netfs_consume_read_data() calls local_bh_enable() in hard IRQ context
>> when reached via the cachefiles async read completion path.
>>
>> The call chain is:
>>
>> nvme_irq [hard IRQ]
>> blk_mq_end_request_batch
>> iomap_dio_bio_end_io
>> cachefiles_read_complete [cachefiles]
>> netfs_read_subreq_terminated [netfs]
>> netfs_consume_read_data [netfs]
>> __local_bh_enable_ip *** WARNING ***
>>
>> This fires a WARN_ON at kernel/softirq.c:386 because local_bh_enable()
>> is called while in hard IRQ context (PID 0, swapper, inside <IRQ>).
>
> There was a similar report filed upstream at
> https://lore.kernel.org/all/CAKPOu+_4m80thNy5_fvROoxBm689YtA0dZ-=gcmkzwYSY4syqw@mail.gmail.com/
>
> The patches mentioned there went into 6.14-rc1[1], though they didn't
> fix all issues for the reporter there.
>
> So I think the right course of action is to test a newer kernel first,
> and if that helps (and I assume it does), prod David (on Cc:) about
> maybe backporting the fixes to v6.12.y.
>
> So Scott, you you please check if the kernel from unstable/testing or
> backports fixes things for you?
>
> Best regards
> Uwe
>
> [1] https://lore.kernel.org/linus/ca56a74a31e26d81a481304ed2f631e65883372b
prev parent reply other threads:[~2026-05-27 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <177921663299.22800.4367803780230080606.reportbug@ah-stringal-l.dhcp.mathworks.com>
2026-05-27 13:22 ` Bug#1137107: netfs local_bh_enable in hard IRQ via cachefiles read completion Uwe Kleine-König
2026-05-27 17:27 ` Scott Tringali [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=3FA486B9-5D33-4FB0-973E-38D9CF8B4C04@mathworks.com \
--to=stringal@mathworks.com \
--cc=1137107-quiet@bugs.debian.org \
--cc=dhowells@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=u.kleine-koenig@baylibre.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.