Netdev List
 help / color / mirror / Atom feed
* Re: [PATCH 5.10.y] bpf: Enforce expected_attach_type for tailcall compatibility
       [not found] <20260908-cve-2025-40123-v1-1-be62451196fb@bootlin.com>
@ 2026-09-09 20:26 ` Sasha Levin
  2026-09-10  9:34   ` Miguel Gazquez
  0 siblings, 1 reply; 2+ messages in thread
From: Sasha Levin @ 2026-09-09 20:26 UTC (permalink / raw)
  To: stable, Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Song Liu, Yonghong Song, John Fastabend,
	KP Singh, David S. Miller, Jakub Kicinski, Jesper Dangaard Brouer,
	Andrey Ignatov
  Cc: Sasha Levin, Thomas Petazzoni, netdev, bpf, linux-kernel,
	Yinhao Hu, Kaiyan Mei, Dongliang Mu,
	Miguel Gazquez (Schneider Electric)

> The underlying issue goes beyond XDP though. Another example are programs
> of type BPF_PROG_TYPE_CGROUP_SOCK_ADDR. sock_addr_is_valid_access() as well
> as sock_addr_func_proto() have different logic depending on the programs'
> expected_attach_type.

Thanks for the 5.10.y backport of 4540aed51b12 ("bpf: Enforce
expected_attach_type for tailcall compatibility"). Holding this until a 5.15.y
version exists too, since fixes need to land on newer trees first.

-- 
Thanks,
Sasha

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

* Re: [PATCH 5.10.y] bpf: Enforce expected_attach_type for tailcall compatibility
  2026-09-09 20:26 ` [PATCH 5.10.y] bpf: Enforce expected_attach_type for tailcall compatibility Sasha Levin
@ 2026-09-10  9:34   ` Miguel Gazquez
  0 siblings, 0 replies; 2+ messages in thread
From: Miguel Gazquez @ 2026-09-10  9:34 UTC (permalink / raw)
  To: Sasha Levin, stable, Alexei Starovoitov, Daniel Borkmann,
	Andrii Nakryiko, Martin KaFai Lau, Song Liu, Yonghong Song,
	John Fastabend, KP Singh, David S. Miller, Jakub Kicinski,
	Jesper Dangaard Brouer, Andrey Ignatov
  Cc: Thomas Petazzoni, netdev, bpf, linux-kernel, Yinhao Hu,
	Kaiyan Mei, Dongliang Mu

Hi

Le 09/09/2026 à 22:26, Sasha Levin a écrit :
>> The underlying issue goes beyond XDP though. Another example are programs
>> of type BPF_PROG_TYPE_CGROUP_SOCK_ADDR. sock_addr_is_valid_access() as well
>> as sock_addr_func_proto() have different logic depending on the programs'
>> expected_attach_type.
> 
> Thanks for the 5.10.y backport of 4540aed51b12 ("bpf: Enforce
> expected_attach_type for tailcall compatibility"). Holding this until a 5.15.y
> version exists too, since fixes need to land on newer trees first.
> 

Sorry I missed that there was no 5.15 backport, I sent it.

-- 
Miguel Gazquez, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

end of thread, other threads:[~2026-09-10  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260908-cve-2025-40123-v1-1-be62451196fb@bootlin.com>
2026-09-09 20:26 ` [PATCH 5.10.y] bpf: Enforce expected_attach_type for tailcall compatibility Sasha Levin
2026-09-10  9:34   ` Miguel Gazquez

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