CVE-2023-54126
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54126 is a Linux kernel vulnerability in the SafeXcel (crypto_safexcel) crypto driver that causes improper cleanup of ring IRQ workqueues when the driver fails to load. When the driver's probe fails (e.g., with error -2), IRQ affinity and associated workqueues are not correctly torn down, resulting in a kernel WARNING in kernel/irq/manage.c during boot. The affected component is the crypto: safexcel subsystem of the Linux kernel. It was published on December 24, 2025, with a patch available through Linux kernel stable updates (Red Hat CVE, Red Hat Bugzilla). No CVSS score has been officially assigned at this time.

Technical details

The root cause is improper resource cleanup (CWE-459: Incomplete Cleanup) in the SafeXcel crypto driver's probe failure path. When crypto_safexcel fails to initialize — for example, on hardware such as the MikroTik RB5009 — the driver exits without calling the necessary cleanup routines for IRQ affinity and kernel workqueues associated with each crypto ring. This triggers a WARNING at kernel/irq/manage.c:1913 in free_irq() during subsequent teardown, as the IRQ is freed without its affinity having been properly released. The fix ensures that on any probe failure, the driver explicitly cleans up ring IRQ workqueues before returning (Red Hat CVE). Patch commits are available in the Linux kernel stable tree (e.g., 0a89d4a075524cf1f865cfdbb9cf38ab8e3e5409, 4d9d2fd86766ee3ec077c011aa482e85b6c9595c, 4f4de392f4926820ec1fd3573a016c704a68893d, 09e177d6f7edd0873a63f51abe914902ec0f4400).

Impact

The vulnerability can cause kernel warning messages during system boot and may result in resource leaks — specifically, unreleased IRQ affinity and workqueue resources — when the SafeXcel crypto driver fails to load. This primarily affects system stability and interrupt management for cryptographic operations on Linux systems using the SafeXcel hardware crypto accelerator (e.g., certain MikroTik and similar embedded/network devices). There is no evidence of confidentiality or integrity impact; the primary risk is availability degradation through potential resource exhaustion or unstable interrupt handling (Red Hat CVE).

Indicators of compromise

  • Logs: Kernel boot log (dmesg or /var/log/kern.log) containing crypto-safexcel: probe of <address>.crypto failed with error -2 followed by WARNING: CPU: ... at kernel/irq/manage.c:1913 free_irq+0x300/0x340.
  • Logs: Presence of Tainted: G W kernel taint flag in crash/warning output, indicating a non-fatal kernel warning has been triggered.
  • Process: Warning generated in the context of systemd-udevd during device initialization at boot.

Mitigation and workarounds

The recommended remediation is to update to a Linux kernel version that includes the fix for CVE-2023-54126, available through Linux kernel stable tree patch commits (0a89d4a, 4d9d2fd, 4f4de39, 09e177d). Red Hat has tracked this via Bugzilla #2425169. As a temporary workaround, administrators can consider disabling or blacklisting the crypto_safexcel kernel module (/etc/modprobe.d/blacklist.conf) on affected hardware if the SafeXcel crypto accelerator is not required. Monitoring system boot logs for the associated kernel warning can help identify affected systems (Red Hat CVE, Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management