CVE-2026-74472: ublk: reset kernel-owned dev_info fields in ublk_ctrl_add_dev()

Published Aug 15, 2026
·
Updated

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

ublk: reset kernel-owned devinfo fields in ublkctrladddev()

ublkctrladddev() memcpy()s the userspace ublksrvctrldevinfo into ub->devinfo and then fixes up the fields the driver owns, but misses ->state and ->ublksrvpid.

A device added with ->state = UBLKSDEVLIVE passes the "->state != UBLKSDEVDEAD" test that ublkstopdevunlocked() uses as its proxy for "a disk is attached", while ->ubdisk is still NULL, so DELDEV right after ADDDEV oopses in delgendisk(). UBLKSDEVQUIESCED plus UBLKFUSERRECOVERY dies one step earlier, in ublkforceabortdev(). A poisoned ->state also gets STARTUSERRECOVERY and the char device read/write path onto a device that was never started, and wedges STARTDEV at -EEXIST. A poisoned ->ublksrvpid just makes GETDEVINFO report an unrelated task as the ublk server.

Reset both after the memcpy(), as ublkdetachdisk() does. Userspace only ever reads these back, so correcting them silently breaks nothing.

ADDDEV has copied ->state in unsanitized since ublk was merged, but back then it was harmless: the gendisk was allocated during ADDDEV, and both teardown and the STARTDEV -EEXIST check keyed off disklive() rather than ->state. The oops became reachable once the disk allocation moved to STARTDEV and those checks switched to ->state.

Event History

Aug 15, 2026
CVE Published
via MITRE·12:27 PM
Data Sourced
via MITRE·12:27 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-74472?

CVE-2026-74472 has a risk value of 37.

2

How do I fix CVE-2026-74472?

To fix CVE-2026-74472, ensure you update to the patched version of the Linux kernel that addresses this vulnerability.

3

What systems are affected by CVE-2026-74472?

CVE-2026-74472 affects systems running vulnerable versions of the Linux kernel that utilize the ublk subsystem.

4

What is the nature of the vulnerability in CVE-2026-74472?

CVE-2026-74472 is a vulnerability in the ublk driver, where certain kernel-owned fields are not properly reset in the ublk_ctrl_add_dev() function.

5

When was CVE-2026-74472 published?

CVE-2026-74472 was published on August 15, 2026.

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