CVE-2026-142866
Last modified
CVE-2026-142866 is a vulnerability of currently unknown severity. 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.
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 408363a4fa9e377b5c9aed07543ffff88a18a6e4; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < d9128e169d36f8e57a55b2277022e596f9e13730; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < febe0bf350cbf38bb75241234aea2948b7f2eb90; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < b643d32dfd3cfeac237eb9795dc795f766181342; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 9410f368f1b70a564950d714ba3b9b145eaa93dd; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 45ceac48961d92e1d056457a5690cd95d2f25450; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 8b8435630e45636664fb9bb0da7f0822be955464; >= 29c6d1bbd7a2cd88a197ea7cef171f616e198526, < 41742e35268d6a45161b187f51f42bc2ade14d0d |
| Linux | Linux | 4.9 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142866?
How severe is CVE-2026-142866?
How do I fix CVE-2026-142866?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142860In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142861In the Linux kernel, the following vulnerability has been re…7.3
- CVE-2026-142862In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142863In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142864In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142865In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142867In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142868In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142869In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14287The 10Web Booster WordPress plugin before 2.33.5 does not c…4.7
- CVE-2026-142870In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-142871In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-142866?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
