Double SIGFPE Crash in Linux Kernel on parisc Architecture

linux Updated 02 Oct 2025

Summary

20/05/2025
N/A
No i
Unrated
Not published

CVE-2025-37991: In the Linux kernel, the following vulnerability has been resolved: parisc: Fix double SIGFPE crash Camm noticed that on parisc a SIGFPE exception will crash an application with a second SIGFPE in the signal handler. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It supports a wide range of architectures, including parisc, which is used in some HP servers. This vulnerability affects the handling of floating-point exceptions, specifically SIGFPE, leading to potential application crashes.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified that causes a double SIGFPE (Floating Point Exception) crash on the parisc architecture. This issue arises when a SIGFPE exception occurs, triggering a second SIGFPE in the signal handler due to the way glibc manages function descriptors. The problem is exacerbated by lazy binding, which leads to a floating-point store operation that causes an assist exception trap when the T bit is set in the FP status register. This results in applications crashing unexpectedly, which can lead to data loss and system instability.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can modify their signal handling code to ensure that the Trap (T) bit in the FP status register is cleared before returning to the signal handler in userspace. Below is a sample code snippet that demonstrates how to handle SIGFPE safely:

#include <stdio.h> #include <signal.h> #include <fenv.h>

static void fpe_func(int sig, siginfo_t *i, void *v) { sigset_t set;

    sigemptyset(&set);
    sigaddset(&set, SIGFPE);
    sigprocmask(SIG_UNBLOCK, &set, NULL);
    printf("GOT signal %d with si_code %ld\n", sig, i->si_code);
}

int main() { struct sigaction action = { .sa_sigaction = fpe_func, .sa_flags = SA_RESTART | SA_SIGINFO

    };
    sigaction(SIGFPE, &action, 0);
    feenableexcept(FE_OVERFLOW);
    return printf("%lf\n", 1.7976931348623158E308 * 1.7976931348623158E308);
}

Conclusion

The vulnerability CVE-2025-37991 in the Linux kernel affects the parisc architecture, leading to potential crashes due to double SIGFPE exceptions. Users are advised to update their kernel to the latest patched version to mitigate this risk. Temporary workarounds can be implemented in the signal handling code to improve stability until an update can be applied.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

SIGFPE is a signal sent to a process when it performs an erroneous arithmetic operation, such as division by zero or an overflow in floating-point calculations.

You can use tools like Vulert, which monitors open-source vulnerabilities in your software using a manifest file. Visit Vulert Scanner to check your application without needing to sign up.

The vulnerability can lead to application crashes, data loss, and system instability, particularly for applications that rely heavily on floating-point calculations.

Yes, users should update to the latest version of the Linux kernel available for their Debian distribution to ensure that the vulnerability is patched.

If an immediate update is not possible, consider implementing the provided workaround to handle SIGFPE exceptions more safely in your applications.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback