Skip to content
FlawDB
Sign in

CVE-2026-142866

UNSCORED

md/raid5: fix NULL pointer dereference in raid5_free_percpu

AI summary AI generated

An attacker who can trigger an allocation failure during RAID5 setup can cause a NULL pointer dereference and kernel panic in the Linux kernel's md/raid5 driver.

Mitigation

  • Upgrade Linux to 41742e35268d6a45161b187f51f42bc2ade14d0d or later.

Who should check

  • Anyone running Linux >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 408363a4fa9e377b5c9aed07543ffff88a18a6e4; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < d9128e169d36f8e57a55b2277022e596f9e13730; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < febe0bf350cbf38bb75241234aea2948b7f2eb90; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < b643d32dfd3cfeac237eb9795dc795f766181342; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 9410f368f1b70a564950d714ba3b9b145eaa93dd; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 45ceac48961d92e1d056457a5690cd95d2f25450; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 8b8435630e45636664fb9bb0da7f0822be955464; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 41742e35268d6a45161b187f51f42bc2ade14d0d
  • Anyone running Linux 4.9

Vulnerability facts

Affected
Linux >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 408363a4fa9e377b5c9aed07543ffff88a18a6e4; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < d9128e169d36f8e57a55b2277022e596f9e13730; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < febe0bf350cbf38bb75241234aea2948b7f2eb90; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < b643d32dfd3cfeac237eb9795dc795f766181342; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 9410f368f1b70a564950d714ba3b9b145eaa93dd; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 45ceac48961d92e1d056457a5690cd95d2f25450; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 8b8435630e45636664fb9bb0da7f0822be955464; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 41742e35268d6a45161b187f51f42bc2ade14d0d; Linux 4.9
Fixed in
Linux 408363a4fa9e377b5c9aed07543ffff88a18a6e4, Linux 9410f368f1b70a564950d714ba3b9b145eaa93dd, Linux 45ceac48961d92e1d056457a5690cd95d2f25450, Linux 8b8435630e45636664fb9bb0da7f0822be955464, Linux 41742e35268d6a45161b187f51f42bc2ade14d0d
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: md/raid5: fix NULL pointer dereference in raid5_free_percpu If cpuhp_state_add_instance() fails in raid5_alloc_percpu() (e.g., the startup callback raid456_cpu_up_prepare fails due to an allocation failure), conf->node is never added to the cpuhp instance list and its pprev remains NULL (from kzalloc initialization). When setup_conf() then jumps to abort, free_conf() calls raid5_free_percpu(), which checks conf->percpu (non-NULL, since it was allocated before the cpuhp failure) and proceeds to call cpuhp_state_remove_instance(). This calls hlist_del() on the unhashed node, which dereferences node->pprev (NULL), causing a kernel panic. Guard the removal with hlist_unhashed_lockless() so that the cpuhp instance is only removed if it was actually added. The lockless variant uses READ_ONCE() for the pprev read, which is safe here because the actual removal is synchronized by cpuhp_state_mutex inside cpuhp_state_remove_instance().

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 408363a4fa9e377b5c9aed07543ffff88a18a6e4; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < d9128e169d36f8e57a55b2277022e596f9e13730; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < febe0bf350cbf38bb75241234aea2948b7f2eb90; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < b643d32dfd3cfeac237eb9795dc795f766181342; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 9410f368f1b70a564950d714ba3b9b145eaa93dd; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 45ceac48961d92e1d056457a5690cd95d2f25450; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 8b8435630e45636664fb9bb0da7f0822be955464; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 41742e35268d6a45161b187f51f42bc2ade14d0d—cvelist
Linux4.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-142866. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142866.md
Affected: Linux >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 408363a4fa9e377b5c9aed07543ffff88a18a6e4; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < d9128e169d36f8e57a55b2277022e596f9e13730; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < febe0bf350cbf38bb75241234aea2948b7f2eb90; >= 29c6d1bbd7a2cd88a197ea7…
Fixed in: Linux 408363a4fa9e377b5c9aed07543ffff88a18a6e4, Linux 9410f368f1b70a564950d714ba3b9b145eaa93dd, Linux 45ceac48961d92e1d056457a5690cd95d2f25450, Linux 8b8435630e45636664fb9bb0da7f0822be955464, Linux 41742e35268d6a45161b187f51f42bc2ade14d0d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-142866 being exploited?

There is no confirmed exploitation: CVE-2026-142866 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-142866?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-142866?

Linux >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 408363a4fa9e377b5c9aed07543ffff88a18a6e4; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < d9128e169d36f8e57a55b2277022e596f9e13730; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < febe0bf350cbf38bb75241234aea2948b7f2eb90; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < b643d32dfd3cfeac237eb9795dc795f766181342; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 9410f368f1b70a564950d714ba3b9b145eaa93dd; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 45ceac48961d92e1d056457a5690cd95d2f25450; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 8b8435630e45636664fb9bb0da7f0822be955464; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 41742e35268d6a45161b187f51f42bc2ade14d0d; Linux 4.9.

Is there a fix for CVE-2026-142866?

Yes. Fixed in Linux 408363a4fa9e377b5c9aed07543ffff88a18a6e4, Linux 9410f368f1b70a564950d714ba3b9b145eaa93dd, Linux 45ceac48961d92e1d056457a5690cd95d2f25450, Linux 8b8435630e45636664fb9bb0da7f0822be955464, Linux 41742e35268d6a45161b187f51f42bc2ade14d0d. Upgrade Linux to 41742e35268d6a45161b187f51f42bc2ade14d0d or later.

How do I check if I'm affected by CVE-2026-142866?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
UNSCOREDCVE-2026-142948

i2c: designware: queue only one read command for block reads

Linux kernel
UNSCOREDCVE-2026-142947

cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails

Linux kernel
UNSCOREDCVE-2026-142946

ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142945

ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142944

ASoC: amd: acp-es8336: Use an owned codec device reference

Linux kernel
Sponsors