All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 for-4.9.y 0/5] net/sched: init failure fixes
@ 2018-08-23  6:50 Amit Pundir
  2018-08-23  6:50 ` [PATCH v2 for-4.9.y 1/5] sch_htb: fix crash on init failure Amit Pundir
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Amit Pundir @ 2018-08-23  6:50 UTC (permalink / raw)
  To: Greg KH, Nikolay Aleksandrov; +Cc: David S . Miller, Stable

Hi Greg,

Kindly consider/review following net/sched fixes for stable 4.9.y.

This patchset is a follow-up of upstream fix
87b60cfacf9f ("net_sched: fix error recovery at qdisc creation")
cherry-picked on stable 4.9.y.

It fix null pointer dereferences due to uninitialized timer
(qdisc watchdog) or double frees due to ->destroy cleaning up a
second time. Here is the original submission
https://www.mail-archive.com/netdev@vger.kernel.org/msg186003.html

Cherry-picked and build tested on Linux 4.9.123 for ARCH=x86_64.

These fixes are applicable for stable 4.4.y kernel as well, but
one of the patches needed a minor rebasing, so I'm resending this
series for 4.4.y in a separate thread to avoid any confusion.

Regards,
Amit Pundir

Change since v1:
Rebased "sch_multiq: fix double free on init failure" patch
and fixed "unused variable" build warning.

Nikolay Aleksandrov (5):
  sch_htb: fix crash on init failure
  sch_multiq: fix double free on init failure
  sch_hhf: fix null pointer dereference on init failure
  sch_netem: avoid null pointer deref on init failure
  sch_tbf: fix two null pointer dereferences on init failure

 net/sched/sch_hhf.c    | 3 +++
 net/sched/sch_htb.c    | 5 +++--
 net/sched/sch_multiq.c | 9 ++-------
 net/sched/sch_netem.c  | 4 ++--
 net/sched/sch_tbf.c    | 5 +++--
 5 files changed, 13 insertions(+), 13 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-09-13 17:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-23  6:50 [PATCH v2 for-4.9.y 0/5] net/sched: init failure fixes Amit Pundir
2018-08-23  6:50 ` [PATCH v2 for-4.9.y 1/5] sch_htb: fix crash on init failure Amit Pundir
2018-08-23  6:50 ` [PATCH v2 for-4.9.y 2/5] sch_multiq: fix double free " Amit Pundir
2018-08-23  6:50 ` [PATCH v2 for-4.9.y 3/5] sch_hhf: fix null pointer dereference " Amit Pundir
2018-08-23  6:50 ` [PATCH v2 for-4.9.y 4/5] sch_netem: avoid null pointer deref " Amit Pundir
2018-08-23  6:50 ` [PATCH v2 for-4.9.y 5/5] sch_tbf: fix two null pointer dereferences " Amit Pundir
2018-09-13 12:30 ` [PATCH v2 for-4.9.y 0/5] net/sched: init failure fixes Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.