]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_C...
authorMartin KaFai Lau <martin.lau@kernel.org>
Tue, 30 Apr 2024 17:43:38 +0000 (10:43 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 30 Apr 2024 17:45:44 +0000 (10:45 -0700)
commit3e9bc0472b910d4115e16e9c2d684c7757cb6c60
treeb874cd1679811cd8b572d84a8de80369f14528bb
parentb867247555c4181bf84eb10b72b176862c29112d
parent095ddb501b39b7842e5da555915ad89e370b9888
Merge branch 'bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE'

Stanislav Fomichev says:

====================
Syzkaller found a case where it's possible to attach cgroup_skb program
to the sockopt hooks. Apparently it's currently possible to do that,
but only when using BPF_LINK_CREATE API. The first patch in the series
has more info on why that happens.
====================

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>