linux-stable/net/sched
Hangyu Hua 5afbb60ffd net: sched: em_text: fix possible memory leak in em_text_destroy()
[ Upstream commit 8fcb0382af ]

m->data needs to be freed when em_text_destroy is called.

Fixes: d675c989ed ("[PKT_SCHED]: Packet classification based on textsearch (ematch)")
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 14:45:40 +01:00
..
Kconfig net/sched: Retire rsvp classifier 2023-09-23 10:47:06 +02:00
Makefile net/sched: Retire rsvp classifier 2023-09-23 10:47:06 +02:00
act_api.c net: sched: limit TC_ACT_REPEAT loops 2022-02-23 11:57:35 +01:00
act_bpf.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_connmark.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_csum.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_gact.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_ife.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_ipt.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_meta_mark.c
act_meta_skbprio.c
act_meta_skbtcindex.c
act_mirred.c net/sched: act_mirred: Add carrier check 2023-05-17 11:11:48 +02:00
act_nat.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_pedit.c net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX 2023-08-11 11:33:41 +02:00
act_police.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_sample.c net/sched: act_sample: don't push mac header on ip6gre ingress 2019-10-05 12:47:40 +02:00
act_simple.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_skbedit.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_skbmod.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_tunnel_key.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
act_vlan.c net_sched: fix a NULL pointer deref in ipt action 2019-09-10 10:32:20 +01:00
cls_api.c net: sched: move rtm_tca_policy declaration to include file 2023-06-14 10:35:25 +02:00
cls_basic.c
cls_bpf.c
cls_cgroup.c
cls_flow.c treewide: Remove uninitialized_var() usage 2023-08-11 11:33:32 +02:00
cls_flower.c net: sched: correct flower port blocking 2020-03-11 18:02:48 +01:00
cls_fw.c net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free 2023-09-23 10:47:06 +02:00
cls_matchall.c net/sched: matchall: add missing validation of TCA_MATCHALL_FLAGS 2020-02-28 16:36:09 +01:00
cls_route.c net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free 2023-08-11 11:33:55 +02:00
cls_u32.c net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free 2023-08-11 11:33:55 +02:00
em_canid.c
em_cmp.c
em_ipset.c
em_meta.c
em_nbyte.c
em_text.c net: sched: em_text: fix possible memory leak in em_text_destroy() 2024-01-10 14:45:40 +01:00
em_u32.c
ematch.c net_sched: reject TCF_EM_SIMPLE case for complex ematch module 2023-01-18 09:26:29 +01:00
sch_api.c net: sched: fix race condition in qdisc_graft() 2023-11-28 16:45:46 +00:00
sch_atm.c net: sched: atm: dont intepret cls results when asked to drop 2023-01-18 09:26:41 +01:00
sch_blackhole.c net_sched: blackhole: tell upper qdisc about dropped packets 2018-07-22 14:28:46 +02:00
sch_cbq.c treewide: Remove uninitialized_var() usage 2023-08-11 11:33:32 +02:00
sch_choke.c net: sched: validate stab values 2021-03-30 14:40:12 +02:00
sch_codel.c net: sched: Fix a possible null-pointer dereference in dequeue_func() 2019-08-09 17:53:35 +02:00
sch_drr.c
sch_dsmark.c sch_dsmark: fix a NULL deref in qdisc_reset() 2021-06-03 08:36:25 +02:00
sch_fifo.c net_sched: fix NULL deref in fifo_set_limit() 2021-10-17 10:08:33 +02:00
sch_fq.c net: fq: add missing attribute validation for orphan mask 2020-03-20 10:54:11 +01:00
sch_fq_codel.c treewide: Remove uninitialized_var() usage 2023-08-11 11:33:32 +02:00
sch_generic.c net: Fix data-races around weight_p and dev_weight_[rt]x_bias. 2022-09-05 10:25:03 +02:00
sch_gred.c net: sched: validate stab values 2021-03-30 14:40:12 +02:00
sch_hfsc.c net/sched: sch_hfsc: Ensure inner classes have fsc curve 2023-10-10 21:43:40 +02:00
sch_hhf.c net/flow_dissector: switch to siphash 2019-11-10 11:25:37 +01:00
sch_htb.c
sch_ingress.c
sch_mq.c net: sched: fix `tc -s class show` no bstats on class with nolock subqueues 2019-12-05 15:38:19 +01:00
sch_mqprio.c net: sched: fix `tc -s class show` no bstats on class with nolock subqueues 2019-12-05 15:38:19 +01:00
sch_multiq.c net: sched: fix `tc -s class show` no bstats on class with nolock subqueues 2019-12-05 15:38:19 +01:00
sch_netem.c net: netem: correct the parent's backlog when corrupted packet was dropped 2020-01-27 14:46:50 +01:00
sch_pie.c
sch_plug.c net: sched: sch_qfq: Fix UAF in qfq_dequeue() 2023-09-23 10:47:02 +02:00
sch_prio.c net: sch_prio: When ungrafting, replace with FIFO 2020-01-12 12:12:08 +01:00
sch_qfq.c net: sched: sch_qfq: Fix UAF in qfq_dequeue() 2023-09-23 10:47:02 +02:00
sch_red.c net: sched: Fix use after free in red_enqueue() 2022-11-10 15:47:20 +01:00
sch_sfb.c sch_sfb: Also store skb len before calling child enqueue 2022-09-15 12:23:52 +02:00
sch_sfq.c treewide: Remove uninitialized_var() usage 2023-08-11 11:33:32 +02:00
sch_tbf.c net: create skb_gso_validate_mac_len() 2019-02-20 10:20:48 +01:00
sch_teql.c net: sched: sch_teql: fix null-pointer dereference 2021-04-16 11:57:48 +02:00