# CVE-2025-37991: parisc: Fix double SIGFPE crash

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 17, 2026-11-28)
- **CWE:** CWE-415
- **Published:** 2025-05-20T17:18:45.988Z
- **Modified:** 2026-06-17T09:15:50.220Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2a1aff3616b3b57aa4a5f8a7762cce1e82493fe6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 757ba4d17b868482837c566cfefca59e2296c608; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ec4584495868bd465fe60a3f771915c0e7ce7951; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6c639af49e9e5615a8395981eaf5943fb40acd6f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6a098c51d18ec99485668da44294565c43dbc106; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cf21e890f56b7d0038ddaf25224e4f4c69ecd143; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< df3592e493d7f29bae4ffde9a9325de50ddf962e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< de3629baf5a33af1919dec7136d643b0662e85ef
- Anyone running Linux 2.6.12

## Description

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.  Dave analyzed it, and it happens
because glibc uses a double-word floating-point store to atomically update
function descriptors. As a result of lazy binding, we hit a floating-point
store in fpe\_func almost immediately.

When the T bit is set, an assist exception trap occurs when when the
co-processor encounters \*any\* floating-point instruction except for a double
store of register %fr0.  The latter cancels all pending traps.  Let's fix this
by clearing the Trap (T) bit in the FP status register before returning to the
signal handler in userspace.

The issue can be reproduced with this test program:

root@parisc:~\# cat fpe.c

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);
}

root@parisc:~\# gcc fpe.c -lm
root@parisc:~\# ./a.out
 Floating point exception

root@parisc:~\# strace -f ./a.out
 execve("./a.out", \["./a.out"\], 0xf9ac7034 /\* 20 vars \*/) = 0
 getrlimit(RLIMIT\_STACK, {rlim\_cur=8192\*1024, rlim\_max=RLIM\_INFINITY}) = 0
 ...
 rt\_sigaction(SIGFPE, {sa\_handler=0x1110a, sa\_mask=\[\], sa\_flags=SA\_RESTART\|SA\_SIGINFO}, NULL, 8) = 0
 --- SIGFPE {si\_signo=SIGFPE, si\_code=FPE\_FLTOVF, si\_addr=0x1078f} ---
 --- SIGFPE {si\_signo=SIGFPE, si\_code=FPE\_FLTOVF, si\_addr=0xf8f21237} ---
 +++ killed by SIGFPE +++
 Floating point exception

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2a1aff3616b3b57aa4a5f8a7762cce1e82493fe6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 757ba4d17b868482837c566cfefca59e2296c608; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ec4584495868bd465fe60a3f771915c0e7ce7951; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6c639af49e9e5615a8395981eaf5943fb40acd6f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6a098c51d18ec99485668da44294565c43dbc106; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cf21e890f56b7d0038ddaf25224e4f4c69ecd143; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< df3592e493d7f29bae4ffde9a9325de50ddf962e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< de3629baf5a33af1919dec7136d643b0662e85ef (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-37991. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37991.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2a1aff3616b3b57aa4a5f8a7762cce1e82493fe6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 757ba4d17b868482837c566cfefca59e2296c608; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ec4584495868bd465fe60a3f771915c0e7ce7951; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 2a1aff3616b3b57aa4a5f8a7762cce1e82493fe6, Linux 757ba4d17b868482837c566cfefca59e2296c608, Linux 6c639af49e9e5615a8395981eaf5943fb40acd6f, Linux 6a098c51d18ec99485668da44294565c43dbc106

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-37991 being exploited?

There is no confirmed exploitation: CVE-2025-37991 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-37991?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-37991?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2a1aff3616b3b57aa4a5f8a7762cce1e82493fe6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 757ba4d17b868482837c566cfefca59e2296c608; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ec4584495868bd465fe60a3f771915c0e7ce7951; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6c639af49e9e5615a8395981eaf5943fb40acd6f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6a098c51d18ec99485668da44294565c43dbc106; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cf21e890f56b7d0038ddaf25224e4f4c69ecd143; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< df3592e493d7f29bae4ffde9a9325de50ddf962e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< de3629baf5a33af1919dec7136d643b0662e85ef; Linux 2.6.12.

### Is there a fix for CVE-2025-37991?

Yes. Fixed in Linux 2a1aff3616b3b57aa4a5f8a7762cce1e82493fe6, Linux 757ba4d17b868482837c566cfefca59e2296c608, Linux 6c639af49e9e5615a8395981eaf5943fb40acd6f, Linux 6a098c51d18ec99485668da44294565c43dbc106. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-37991?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2a1aff3616b3b57aa4a5f8a7762cce1e82493fe6>
- patch: <https://git.kernel.org/stable/c/757ba4d17b868482837c566cfefca59e2296c608>
- patch: <https://git.kernel.org/stable/c/ec4584495868bd465fe60a3f771915c0e7ce7951>
- patch: <https://git.kernel.org/stable/c/6c639af49e9e5615a8395981eaf5943fb40acd6f>
- patch: <https://git.kernel.org/stable/c/6a098c51d18ec99485668da44294565c43dbc106>
- patch: <https://git.kernel.org/stable/c/cf21e890f56b7d0038ddaf25224e4f4c69ecd143>
- patch: <https://git.kernel.org/stable/c/df3592e493d7f29bae4ffde9a9325de50ddf962e>
- patch: <https://git.kernel.org/stable/c/de3629baf5a33af1919dec7136d643b0662e85ef>
- other: <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-37991>

HTML: <https://flawdb.com/CVE-2025-37991> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-37991>
