CVE-2023-54101 driver: soc: xilinx: use _safe loop iterator to avoid a use after free

Not scored Published Updated

A use-after-free vulnerability in the Xilinx SoC driver allows local attackers to potentially execute code or cause a system crash.

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

What is CVE-2023-54101?

CVE-2023-54101 is an use after free vulnerability in Linux, published on 24 Dec 2025. 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:

driver: soc: xilinx: use _safe loop iterator to avoid a use after free

The hash_for_each_possible() loop dereferences "eve_data" to get the next item on the list. However the loop frees eve_data so it leads to a use after free. Use hash_for_each_possible_safe() instead.

Which versions are affected by CVE-2023-54101?

How do I fix CVE-2023-54101?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-54101 being exploited?

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

Sources

Also known as BELL-CVE-2023-54101, DEBIAN-CVE-2023-54101, GHSA-92ww-qwf4-vf35, UBUNTU-CVE-2023-54101.

Is CVE-2023-54101 in your software?

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

Check your SBOMs for free