AZL-117208: CVE-2026-139539 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

md: Fix the null-ptr-deref of 'mddev->private' while submitting IO

Concurrent processes mdstop and IO submission can trigger a NULL pointer dereference of mddev->private:

BUG: kernel NULL pointer dereference, address: 0000000000000070 RIP: 0010:waitbarrier+0x2f/0x250 Call Trace: raid1makerequest+0x150/0xf50 mdhandlerequest+0x104/0x530 mdsubmitbio+0x76/0x130 submitbio+0xdd/0x250 submitbiowait+0x1f/0x40 blkdevdirectIOsimple+0x1f6/0x370 blkdevwriteiter+0x3b2/0x520 ksyswrite+0x7d/0x190

One process can submit I/O through an open file while a forked process uses the same file to issue STOPARRAY. The opener check permits this because mdopen() was called only once. domdstop() can then clear mddev->private while the I/O is entering the personality makerequest callback.

This affects raid0, raid1, raid10, and raid5. Suspend STOPARRAY while holding the reconfiguration lock so teardown waits for activeio references to drain. Fail I/O in mdhandlerequest() if mddev->pers is NULL after the array resumes.

The sysfs stopping paths are protected by mddevsetclosingandsyncblockdev(). Apply that protection to both clear and inactive transitions even when the array is read-only. dm-raid teardown is already invoked with the device suspended.

Fetch a reproducer in https://bugzilla.kernel.org/showbug.cgi?id=222020

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Nov 30, 2026
Advisory Published
via OSV·02:19 PM
Data Sourced
via OSV·02:19 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required to trigger the fault?

One process must submit I/O through an open file while another process, such as a forked process sharing that file, issues STOP_ARRAY. Because the device was opened only once, the opener check can permit the stop operation while I/O is entering the RAID personality request handler.

2

Which RAID configurations are affected?

The issue affects md arrays using the raid0, raid1, raid10, or raid5 personalities.

3

What is the operational impact of a successful trigger?

The race can clear mddev->private while I/O is being submitted, resulting in a kernel NULL-pointer dereference. The supplied trace shows the failure occurring in the RAID1 I/O path.

4

What can be done if the resolved kernel is not yet available?

Avoid issuing STOP_ARRAY concurrently with active I/O to the affected md array. In particular, ensure I/O users of an open array device have stopped before initiating array shutdown.

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