The H.245 helper is only ever assigned to the TCP child connection that expect_h245() creates, and h245_help() parses a TCP header via get_tpkt_data(). Yet it is registered with IPPROTO_UDP. This has been harmless for the conntrack core path, which invokes helpers without comparing helper->l4proto to the protocol of the connection the helper is attached to. The OVS/act_ct path (nf_ct_helper() in nf_conntrack_ovs.c) does compare, so the H.245 helper was skipped for the TCP child connections there; after this change h245_help() also runs on that path. LLM finding, no bug report. Fixes: f587de0e2feb ("[NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port") Cc: stable@vger.kernel.org Signed-off-by: Florian Westphal --- net/netfilter/nf_conntrack_h323_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/nf_conntrack_h323_main.c b/net/netfilter/nf_conntrack_h323_main.c index 4cb1665bba02..a259319e7b1f 100644 --- a/net/netfilter/nf_conntrack_h323_main.c +++ b/net/netfilter/nf_conntrack_h323_main.c @@ -1718,7 +1718,7 @@ static int __init h323_helper_init(void) nf_ct_helper_init(&nf_conntrack_helper_ras[1], AF_INET6, IPPROTO_UDP, "RAS", &ras_exp_policy, 0, ras_help, NULL, THIS_MODULE); - nf_ct_helper_init(&nf_conntrack_helper_h245, AF_UNSPEC, IPPROTO_UDP, + nf_ct_helper_init(&nf_conntrack_helper_h245, AF_UNSPEC, IPPROTO_TCP, "H.245", &h245_exp_policy, 0, h245_help, NULL, THIS_MODULE); nf_ct_helper_init(&nf_conntrack_helper_q931[0], AF_INET, IPPROTO_TCP, -- 2.56.1