CVE-2026-43364: ublk: fix NULL pointer dereference in ublk_ctrl_set_size()

Published May 8, 2026
·
Updated

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

ublk: fix NULL pointer dereference in ublkctrlsetsize()

ublkctrlsetsize() unconditionally dereferences ub->ubdisk via setcapacityandnotify() without checking if it is NULL.

ub->ubdisk is NULL before UBLKCMDSTARTDEV completes (it is only assigned in ublkctrlstartdev()) and after UBLKCMDSTOPDEV runs (ublkdetachdisk() sets it to NULL). Since the UBLKCMDUPDATESIZE handler performs no state validation, a user can trigger a NULL pointer dereference by sending UPDATESIZE to a device that has been added but not yet started, or one that has been stopped.

Fix this by checking ub->ubdisk under ub->mutex before dereferencing it, and returning -ENODEV if the disk is not available.

Affected Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=6.16<6.18.20
Linux Linux kernel>=6.19<6.19.9
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3

Event History

May 8, 2026
CVE Published
via MITRE·02:21 PM
Data Sourced
via MITRE·02:21 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-43364?

CVE-2026-43364 has been classified with a high severity due to its potential to cause a NULL pointer dereference in the Linux kernel.

2

How do I fix CVE-2026-43364?

To fix CVE-2026-43364, apply the latest patches available from your Linux distribution that address this vulnerability.

3

Which versions of Linux are affected by CVE-2026-43364?

CVE-2026-43364 affects multiple versions of the Linux kernel prior to the patch being applied.

4

What happens if CVE-2026-43364 is exploited?

Exploitation of CVE-2026-43364 can lead to system crashes or unpredictable behavior due to a NULL pointer dereference.

5

Is CVE-2026-43364 related to other vulnerabilities?

CVE-2026-43364 is specifically related to the ublk subsystem in the Linux kernel, and while it may have similarities to other vulnerabilities, it stands alone in its specifics.

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