0.0
NA
CVE-2026-139542
md: take reconfig_mutex when enabling PPL on an inactive array
Description

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.

INFO

Published Date :

Nov. 30, 2026, 2:19 p.m.

Last Modified :

Nov. 30, 2026, 2:19 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-139542 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Apply kernel updates to resolve a race condition during PPL configuration.
  • Update the Linux kernel to the latest stable version.
  • Apply the specific patch for md: take reconfig_mutex when enabling PPL.
  • Reboot the system after applying the update.
  • Verify the system stability and check for OOPS messages.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-139542 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-139542 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139542 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-139542 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139542.json">CVE-2026-139542</a>
    Added Reference https://git.kernel.org/stable/c/0406e097bb3128290e8b757898864dba93a7a1be
    Added Reference https://git.kernel.org/stable/c/0d7551660320b9605f36140e1b5657fd4b8812ed
    Added Reference https://git.kernel.org/stable/c/28024177d04a3a76e193fbfb1abf064ad7b49d0a
    Added Reference https://git.kernel.org/stable/c/3b3b14a11548b7b4183609900d9aa53020140f0f
    Added Reference https://git.kernel.org/stable/c/54c543e9162c02a4c6fbbff260ac4d238c612865
    Added Reference https://git.kernel.org/stable/c/900bf42e0ff8009f66ffd4a679c56264957019dd
    Added Reference https://git.kernel.org/stable/c/adfa3e105211e0099e1161afe487a1ca0622cdd1
    Added Reference https://git.kernel.org/stable/c/f4d615026172f5c8ce49b14794c63b8b6223ec9a
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.