CVE-2026-23306: scsi: pm8001: Fix use-after-free in pm8001_queue_command()

Published Mar 25, 2026
·
Updated

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

scsi: pm8001: Fix use-after-free in pm8001queuecommand()

Commit e29c47fe8946 ("scsi: pm8001: Simplify pm8001taskexec()") refactors pm8001queuecommand(), however it introduces a potential cause of a double free scenario when it changes the function to return -ENODEV in case of phy down/device gone state.

In this path, pm8001queuecommand() updates task status and calls taskdone to indicate to upper layer that the task has been handled. However, this also frees the underlying SAS task. A -ENODEV is then returned to the caller. When libsas sasataqcissue() receives this error value, it assumes the task wasn't handled/queued by LLDD and proceeds to clean up and free the task again, resulting in a double free.

Since pm8001queuecommand() handles the SAS task in this case, it should return 0 to the caller indicating that the task has been handled.

Affected Software

8 affected componentsFixes available
Linux Linux kernel (pm8001 driver)
Microsoft azl3 kernel 6.6.126.1-1
Linux Linux kernel>=5.18<6.1.167
Linux Linux kernel>=6.2<6.6.130
Linux Linux kernel>=6.7<6.12.77
Linux Linux kernel>=6.13<6.18.17
Linux Linux kernel>=6.19<6.19.7
Linux Linux kernel=7.0-rc1

Event History

Mar 25, 2026
CVE Published
via MITRE·10:27 AM
Data Sourced
via MITRE·10:27 AM
DescriptionSeverity
Data Sourced
via NVD·11:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 26, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:03 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-23306?

CVE-2026-23306 is classified as a high severity vulnerability due to the potential for a use-after-free condition.

2

How do I fix CVE-2026-23306?

To fix CVE-2026-23306, it is recommended to update the Linux kernel to the latest version that includes the patch for this vulnerability.

3

Which versions of the Linux kernel are affected by CVE-2026-23306?

CVE-2026-23306 affects versions of the Linux kernel that include the pm8001 driver prior to the release that incorporates the fix.

4

What issues could CVE-2026-23306 cause if exploited?

If exploited, CVE-2026-23306 could lead to system crashes or arbitrary code execution on affected systems.

5

Who is responsible for patching CVE-2026-23306 in the Linux kernel?

The maintainers of the Linux kernel are responsible for applying the patch for CVE-2026-23306 to ensure system security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203