PT-2026-163580
CVE-2026-139539
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
md: Fix the null-ptr-deref of 'mddev->private' while submitting IO
Concurrent processes md stop and IO submission can trigger a NULL
pointer dereference of mddev->private:
BUG: kernel NULL pointer dereference, address: 0000000000000070
RIP: 0010: wait barrier+0x2f/0x250
Call Trace:
raid1 make request+0x150/0xf50
md handle request+0x104/0x530
md submit bio+0x76/0x130
submit bio+0xdd/0x250
submit bio wait+0x1f/0x40
blkdev direct IO simple+0x1f6/0x370
blkdev write iter+0x3b2/0x520
ksys write+0x7d/0x190
One process can submit I/O through an open file while a forked process
uses the same file to issue STOP ARRAY. The opener check permits this
because md open() was called only once. do md stop() can then clear
mddev->private while the I/O is entering the personality make request
callback.
This affects raid0, raid1, raid10, and raid5. Suspend STOP ARRAY while
holding the reconfiguration lock so teardown waits for active io
references to drain. Fail I/O in md handle request() if mddev->pers is
NULL after the array resumes.
The sysfs stopping paths are protected by
mddev set closing and sync blockdev(). 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/show bug.cgi?id=222020
Found an issue in the description? Have something to add? Feel free to write us 👾