CVE-2026-31543 crash_dump: don't log dm-crypt key bytes in read_key_from_user_keying

Medium 5.5 Published Updated

Attackers with debug access can read partial dm-crypt keys from kernel logs, exposing sensitive encryption material.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31543?

CVE-2026-31543 is a medium-severity vulnerability in Linux kernel, published on 24 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

crash_dump: don't log dm-crypt key bytes in read_key_from_user_keying

When debug logging is enabled, read_key_from_user_keying() logs the first 8 bytes of the key payload and partially exposes the dm-crypt key. Stop logging any key bytes.

Which versions are affected by CVE-2026-31543?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31543?

Apply the vendor's patch.

Is CVE-2026-31543 being exploited?

There is no known exploitation of CVE-2026-31543 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-31543, DEBIAN-CVE-2026-31543, GHSA-2mh9-r7m5-wv93, UBUNTU-CVE-2026-31543.

Is CVE-2026-31543 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free