From: Greg KH <gregkh@linuxfoundation.org>
To: 梓川咲太 <inkxiao12@gmail.com>
Cc: stable@vger.kernel.org, bpf@vger.kernel.org, sashal@kernel.org
Subject: Re: [PATCH 6.6.y] Backport request: beaf0e96b1da ("bpf, lsm: Remove inet_conn_established from sleepable hooks", CVE-2026-63865)
Date: Thu, 26 Nov 2026 15:23:26 +0100 [thread overview]
Message-ID: <2026112616-garden-overfeed-1512@gregkh> (raw)
In-Reply-To: <CAMcAce8Mq7FLgzAMgnTQF=iB8V+XZ57wCCu7S0-ULTE_UF68ew@mail.gmail.com>
On Thu, Nov 19, 2026 at 12:40:36AM -0500, 梓川咲太 wrote:
> Hi Stable Maintainers,
>
> Please consider backporting upstream commit:
>
> beaf0e96b1da ("bpf, lsm: Remove inet_conn_established from sleepable
> hooks")
>
> (CVE-2026-63865) to linux-6.6.y.
>
> While v6.12.118 already has this fix, linux-6.6.y (tested on v6.6.162,
> kernel/bpf/bpf_lsm.c:309) still retains BTF_ID(func,
> bpf_lsm_inet_conn_established)
> in sleepable_lsm_hooks. The hook is invoked in TCP established state under
> atomic softirq context, leading to sleeping-in-atomic bugs when attached BPF
> programs sleep.
>
> The backport is a clean single-line removal of line 309 in
> kernel/bpf/bpf_lsm.c.
>
> Fixes: 9e1026079c65 ("bpf: Add bpf_lsm_inet_conn_established")
> Signed-off-by: BoBppy <inkxiao12@gmail.com>
Please provide a backported and tested version.
thanks,
greg k-h
next parent reply other threads:[~2026-11-26 14:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAMcAce8Mq7FLgzAMgnTQF=iB8V+XZ57wCCu7S0-ULTE_UF68ew@mail.gmail.com>
2026-11-26 14:23 ` Greg KH [this message]
2026-11-26 15:52 ` [PATCH 6.6.y] bpf: Drop inet_conn_established from lsm sleepable hooks Yingke Xiao
2026-11-19 5:56 [PATCH 6.6.y] Backport request: beaf0e96b1da ("bpf, lsm: Remove inet_conn_established from sleepable hooks", CVE-2026-63865) 梓川咲太
2026-11-19 16:08 ` Sasha Levin
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=2026112616-garden-overfeed-1512@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=bpf@vger.kernel.org \
--cc=inkxiao12@gmail.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.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