All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2026-139720: scsi: mpi3mr: Fix use-after-free of the firmware event workqueue
@ 2026-11-30 13:42 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-11-30 13:42 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

From: Greg Kroah-Hartman <gregkh@kernel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

scsi: mpi3mr: Fix use-after-free of the firmware event workqueue

The enqueue path reads the workqueue pointer before taking the event lock,
while the remove path clears that pointer and destroys the workqueue while
holding it. The enqueue can therefore reach queue_work() after the
workqueue is gone.

Move the check inside the lock.

The Linux kernel CVE team has assigned CVE-2026-139720 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.14 with commit 13ef29ea4aa0655feab2462966f83e17df5cdad1 and fixed in 5.15.226 with commit 776f05fca39bb355105d52f2a30f337c57fc82c3
	Issue introduced in 5.14 with commit 13ef29ea4aa0655feab2462966f83e17df5cdad1 and fixed in 6.1.193 with commit b0ab03f7f53ad4d132f4699c35419eea0af02966
	Issue introduced in 5.14 with commit 13ef29ea4aa0655feab2462966f83e17df5cdad1 and fixed in 6.6.163 with commit 72c5c15bdd8c6e6604d5cd25f164ba6e017ef47e
	Issue introduced in 5.14 with commit 13ef29ea4aa0655feab2462966f83e17df5cdad1 and fixed in 6.12.119 with commit 37adaa93a57fedd6d14895e75733dbdbce45bba5
	Issue introduced in 5.14 with commit 13ef29ea4aa0655feab2462966f83e17df5cdad1 and fixed in 6.18.65 with commit ec106dc1770ea0aa3ad9ef265f4ddf7d0e9744c0
	Issue introduced in 5.14 with commit 13ef29ea4aa0655feab2462966f83e17df5cdad1 and fixed in 7.3.6 with commit ea349c98f52037d2f73a27893096d41a0a8428b0
	Issue introduced in 5.14 with commit 13ef29ea4aa0655feab2462966f83e17df5cdad1 and fixed in 7.4-rc1 with commit c94c746e6c80439a4a9a0e1e20f2dae62a4d57ef

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-139720
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/scsi/mpi3mr/mpi3mr_os.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/776f05fca39bb355105d52f2a30f337c57fc82c3
	https://git.kernel.org/stable/c/b0ab03f7f53ad4d132f4699c35419eea0af02966
	https://git.kernel.org/stable/c/72c5c15bdd8c6e6604d5cd25f164ba6e017ef47e
	https://git.kernel.org/stable/c/37adaa93a57fedd6d14895e75733dbdbce45bba5
	https://git.kernel.org/stable/c/ec106dc1770ea0aa3ad9ef265f4ddf7d0e9744c0
	https://git.kernel.org/stable/c/ea349c98f52037d2f73a27893096d41a0a8428b0
	https://git.kernel.org/stable/c/c94c746e6c80439a4a9a0e1e20f2dae62a4d57ef

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 13:42 CVE-2026-139720: scsi: mpi3mr: Fix use-after-free of the firmware event workqueue Greg Kroah-Hartman

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.