BPF List
 help / color / mirror / Atom feed
* [PATCH 6.6.y] Backport request: beaf0e96b1da ("bpf, lsm: Remove inet_conn_established from sleepable hooks", CVE-2026-63865)
@ 2026-11-19  5:56 梓川咲太
  2026-11-19 16:08 ` Sasha Levin
  0 siblings, 1 reply; 2+ messages in thread
From: 梓川咲太 @ 2026-11-19  5:56 UTC (permalink / raw)
  To: stable; +Cc: bpf, gregkh, sashal

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-19 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox