PT-2026-163583

CVE-2026-139542

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No 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: take reconfig mutex when enabling PPL on an inactive array
consistency policy store() sets MD HAS PPL for an external-metadata array that is not running yet, without holding reconfig mutex. But ->pers is only assigned after pers->run() returns, so "not running" also covers an md run() that is in progress under the lock.
If the write lands inside raid5 run() after log init() has decided not to set up PPL, or after a failed ppl init log() has cleared the flag, the flag ends up set with conf->log private still NULL. The next idle pass of raid5d() then does:
raid5d() -> handle active stripes() -> log flush stripe to raid() -> ppl write stripe run()
and dereferences the NULL ppl conf:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002 KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] RIP: 0010:ppl write stripe run+0x60/0x1320 drivers/md/raid5-ppl.c:538
Take reconfig mutex around the update and refuse it with -EBUSY once the array is running, in which case ->change consistency policy() is the right interface.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾