From: Amit Pundir <amit.pundir@linaro.org>
To: Greg KH <gregkh@linuxfoundation.org>,
Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Cc: "David S . Miller" <davem@davemloft.net>,
Stable <stable@vger.kernel.org>
Subject: [PATCH for-4.9.y 0/5] net/sched: init failure fixes
Date: Wed, 1 Aug 2018 00:10:00 +0530 [thread overview]
Message-ID: <1533062405-32524-1-git-send-email-amit.pundir@linaro.org> (raw)
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.116 for ARCH=arm/arm64.
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
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 | 7 +------
net/sched/sch_netem.c | 4 ++--
net/sched/sch_tbf.c | 5 +++--
5 files changed, 12 insertions(+), 12 deletions(-)
--
2.7.4
next reply other threads:[~2018-07-31 20:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-31 18:40 Amit Pundir [this message]
2018-07-31 18:40 ` [PATCH for-4.9.y 1/5] sch_htb: fix crash on init failure Amit Pundir
2018-07-31 18:40 ` [PATCH for-4.9.y 2/5] sch_multiq: fix double free " Amit Pundir
2018-08-16 16:36 ` Greg KH
2018-08-16 16:49 ` Amit Pundir
2018-08-21 7:27 ` Amit Pundir
2018-08-21 13:41 ` Greg Kroah-Hartman
2018-08-22 7:38 ` Amit Pundir
2018-07-31 18:40 ` [PATCH for-4.9.y 3/5] sch_hhf: fix null pointer dereference " Amit Pundir
2018-07-31 18:40 ` [PATCH for-4.9.y 4/5] sch_netem: avoid null pointer deref " Amit Pundir
2018-07-31 18:40 ` [PATCH for-4.9.y 5/5] sch_tbf: fix two null pointer dereferences " Amit Pundir
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1533062405-32524-1-git-send-email-amit.pundir@linaro.org \
--to=amit.pundir@linaro.org \
--cc=davem@davemloft.net \
--cc=gregkh@linuxfoundation.org \
--cc=nikolay@cumulusnetworks.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).