summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTheodor Arsenij Larionov Trichkine <theodorlarionov@gmail.com>2026-10-15 23:09:02 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2026-11-16 01:40:30 +0100
commit4656934d460da68382cf91766a1ff2d0610554ae (patch)
tree7fd733473f4a91bb18d7f2c9cbbe92661380ca95 /tools/perf/scripts/python/stackcollapse.py
parenta107e150e105836bb5349cdee14541d4995009ea (diff)
ipvs: ftp: skip conntrack templates in ip_vs_ftp_out
A CT target hooked after conntrack attaches its template to a packet that conntrack left without an entry. On an IPVS FTP PASV/EPSV reply, ip_vs_ftp_out() then mangles with the template and creates an expectation with the template as master. Deleting the CT rule frees the template and leaves the expectation, so a later expectation flush reads freed memory: BUG: KASAN: slab-use-after-free in nf_ct_unlink_expect_report Reachable with CAP_NET_ADMIN in a user namespace. Skip templates, as nft_ct and nfnetlink_queue do. Fixes: f4bc17cdd205 ("ipvs: netfilter connection tracking changes") Cc: stable@vger.kernel.org Signed-off-by: Theodor Arsenij Larionov Trichkine <theodorlarionov@gmail.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions