lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq13485ne44.fsf@ca-mkp.ca.oracle.com>
Date: Mon, 29 Sep 2025 17:27:52 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Duoming Zhou <duoming@....edu.cn>
Cc: <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <James.Bottomley@...senPartnership.com>, <martin.petersen@...cle.com>,
        <christophe.jaillet@...adoo.fr>, <mingo@...nel.org>,
        <tglx@...utronix.de>, <linux@...blig.org>, <fourier.thomas@...il.com>
Subject: Re: [PATCH] scsi: mvsas: Fix use-after-free bugs in mvs_work_queue


Duoming,

> During the detaching of Marvell's SAS/SATA controller, the origin code
> calls cancel_delayed_work() in mvs_free() to cancel the delayed work
> item mwq->work_q. However, if mwq->work_q is already running, the
> cancel_delayed_work() may fail to cancel it. This can lead to
> use-after-free scenarios where mvs_free() frees the mvs_info while
> mvs_work_queue() is still executing and attempts to access the
> already-freed mvs_info.

Applied to 6.18/scsi-staging, thanks!

-- 
Martin K. Petersen

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ