CVE-2024-56550 s390/stacktrace: Use break instead of return statement
A logic error in the s390 stacktrace code causes processes to be killed due to unresolved page faults, resulting in a denial of service.
- 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-2024-56550?
CVE-2024-56550 is a medium-severity denial of service vulnerability in Linux kernel, published on 27 Dec 2024. 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:
s390/stacktrace: Use break instead of return statement
arch_stack_walk_user_common() contains a return statement instead of a break statement in case store_ip() fails while trying to store a callchain entry of a user space process. This may lead to a missing pagefault_enable() call.
If this happens any subsequent page fault of the process won't be resolved by the page fault handler and this in turn will lead to the process being killed.
Use a break instead of a return statement to fix this.
Which versions are affected by CVE-2024-56550?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-56550?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-56550 being exploited?
There is no known exploitation of CVE-2024-56550 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-56550, DEBIAN-CVE-2024-56550, GHSA-xv4r-xrmj-c649, UBUNTU-CVE-2024-56550.