Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Cheng Jui Wang <cheng-jui.wang@mediatek.com>
To: <stable@vger.kernel.org>
Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
	Waiman Long <longman@redhat.com>,
	"Peter Zijlstra (Intel)" <peterz@infradead.org>,
	"Bart Van Assche" <bvanassche@acm.org>,
	<linux-mediatek@lists.infradead.org>,
	Eason-YH Lin <eason-yh.lin@mediatek.com>
Subject: apply commit 61cc4534b655 ("locking/lockdep: Avoid potential access of invalid memory in lock_class") to linux-5.4-stable
Date: Wed, 16 Mar 2022 14:01:12 +0800	[thread overview]
Message-ID: <6eb2052f463d323b0a82e795d765afb9d5925f6e.camel@mediatek.com> (raw)

Hi Reviewers,

This patch fixes a use-after-free error when /proc/lockdep is read by
user after a lockdep splat.

I checked and I think this patch can be applied to stable-5.4 and
later. 

commit: 61cc4534b6550997c97a03759ab46b29d44c0017
Subject: locking/lockdep: Avoid potential access of invalid memory in
lock_class

Thanks.
Cheng-Jui Wang



_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

             reply	other threads:[~2022-03-16  6:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-16  6:01 Cheng Jui Wang [this message]
2022-03-16 14:26 ` apply commit 61cc4534b655 ("locking/lockdep: Avoid potential access of invalid memory in lock_class") to linux-5.4-stable Greg KH
2022-03-16 14:30   ` Tetsuo Handa
2022-03-16 14:38   ` Waiman Long
2022-03-16 15:31     ` Greg KH

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=6eb2052f463d323b0a82e795d765afb9d5925f6e.camel@mediatek.com \
    --to=cheng-jui.wang@mediatek.com \
    --cc=bvanassche@acm.org \
    --cc=eason-yh.lin@mediatek.com \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=longman@redhat.com \
    --cc=penguin-kernel@i-love.sakura.ne.jp \
    --cc=peterz@infradead.org \
    --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