# CVE-2024-26706: parisc: Fix random data corruption from exception handler

> 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, CNA) `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.37% (percentile 23, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2024-04-03T14:55:09.529Z
- **Modified:** 2026-08-05T11:26:48.578Z

## Who should check

- Anyone running Linux \>= d19f5e41b344a057bb2450024a807476f30978d2, \< 23027309b099ffc4efca5477009a11dccbdae592; \>= d19f5e41b344a057bb2450024a807476f30978d2, \< fa69a8063f8b27f3c7434a0d4f464a76a62f24d2; \>= d19f5e41b344a057bb2450024a807476f30978d2, \< ce31d79aa1f13a2345791f84935281a2c194e003; \>= d19f5e41b344a057bb2450024a807476f30978d2, \< 8b1d72395635af45410b66cc4c4ab37a12c4a831; 09b931fcb87c8aad178475a7db1d4bfc939f7faa; 37e6234297379e0db25e39c2ca99776fea70026c; \>= 4.9.21, \< 4.10; \>= 4.10.9, \< 4.11
- Anyone running Linux 4.11

## Description

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

parisc: Fix random data corruption from exception handler

The current exception handler implementation, which assists when accessing
user space memory, may exhibit random data corruption if the compiler decides
to use a different register than the specified register %r29 (defined in
ASM\_EXCEPTIONTABLE\_REG) for the error code. If the compiler choose another
register, the fault handler will nevertheless store -EFAULT into %r29 and thus
trash whatever this register is used for.
Looking at the assembly I found that this happens sometimes in emulate\_ldd().

To solve the issue, the easiest solution would be if it somehow is
possible to tell the fault handler which register is used to hold the error
code. Using %0 or %1 in the inline assembly is not posssible as it will show
up as e.g. %r29 (with the "%r" prefix), which the GNU assembler can not
convert to an integer.

This patch takes another, better and more flexible approach:
We extend the \_\_ex\_table (which is out of the execution path) by one 32-word.
In this word we tell the compiler to insert the assembler instruction
"or %r0,%r0,%reg", where %reg references the register which the compiler
choosed for the error return code.
In case of an access failure, the fault handler finds the \_\_ex\_table entry and
can examine the opcode. The used register is encoded in the lowest 5 bits, and
the fault handler can then store -EFAULT into this register.

Since we extend the \_\_ex\_table to 3 words we can't use the BUILDTIME\_TABLE\_SORT
config option any longer.

## Affected and fixed versions

- Linux: \>= d19f5e41b344a057bb2450024a807476f30978d2, \< 23027309b099ffc4efca5477009a11dccbdae592; \>= d19f5e41b344a057bb2450024a807476f30978d2, \< fa69a8063f8b27f3c7434a0d4f464a76a62f24d2; \>= d19f5e41b344a057bb2450024a807476f30978d2, \< ce31d79aa1f13a2345791f84935281a2c194e003; \>= d19f5e41b344a057bb2450024a807476f30978d2, \< 8b1d72395635af45410b66cc4c4ab37a12c4a831; 09b931fcb87c8aad178475a7db1d4bfc939f7faa; 37e6234297379e0db25e39c2ca99776fea70026c; \>= 4.9.21, \< 4.10; \>= 4.10.9, \< 4.11 (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- Upgrade Linux to 4.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26706.md
Affected: Linux >= d19f5e41b344a057bb2450024a807476f30978d2, < 23027309b099ffc4efca5477009a11dccbdae592; >= d19f5e41b344a057bb2450024a807476f30978d2, < fa69a8063f8b27f3c7434a0d4f464a76a62f24d2; >= d19f5e41b344a057bb2450024a807476f30978d2, < ce31d79aa1f13a2345791f84935281a2c194e003; >= d19f5e41b344a057bb24500…
Fixed in: Linux 23027309b099ffc4efca5477009a11dccbdae592, Linux 8b1d72395635af45410b66cc4c4ab37a12c4a831, Linux 4.10, Linux 4.11

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-2024-26706 being exploited?

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

### How serious is CVE-2024-26706?

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

### Which versions are affected by CVE-2024-26706?

Linux \>= d19f5e41b344a057bb2450024a807476f30978d2, \< 23027309b099ffc4efca5477009a11dccbdae592; \>= d19f5e41b344a057bb2450024a807476f30978d2, \< fa69a8063f8b27f3c7434a0d4f464a76a62f24d2; \>= d19f5e41b344a057bb2450024a807476f30978d2, \< ce31d79aa1f13a2345791f84935281a2c194e003; \>= d19f5e41b344a057bb2450024a807476f30978d2, \< 8b1d72395635af45410b66cc4c4ab37a12c4a831; 09b931fcb87c8aad178475a7db1d4bfc939f7faa; 37e6234297379e0db25e39c2ca99776fea70026c; \>= 4.9.21, \< 4.10; \>= 4.10.9, \< 4.11; Linux 4.11.

### Is there a fix for CVE-2024-26706?

Yes. Fixed in Linux 23027309b099ffc4efca5477009a11dccbdae592, Linux 8b1d72395635af45410b66cc4c4ab37a12c4a831, Linux 4.10, Linux 4.11. Upgrade Linux to 4.11 or later.

### How do I check if I'm affected by CVE-2024-26706?

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/23027309b099ffc4efca5477009a11dccbdae592>
- patch: <https://git.kernel.org/stable/c/fa69a8063f8b27f3c7434a0d4f464a76a62f24d2>
- patch: <https://git.kernel.org/stable/c/ce31d79aa1f13a2345791f84935281a2c194e003>
- patch: <https://git.kernel.org/stable/c/8b1d72395635af45410b66cc4c4ab37a12c4a831>

## 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-2024-26706>

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