# CVE-2021-46928: parisc: Clear stale IIR value on instruction access rights trap

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-02-27T09:43:57.390Z
- Modified: 2026-06-17T04:15:52.853Z
- Weaknesses: CWE-755
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

parisc: Clear stale IIR value on instruction access rights trap

When a trap 7 (Instruction access rights) occurs, this means the CPU
couldn't execute an instruction due to missing execute permissions on
the memory region.  In this case it seems the CPU didn't even fetched
the instruction from memory and thus did not store it in the cr19 (IIR)
register before calling the trap handler. So, the trap handler will find
some random old stale value in cr19.

This patch simply overwrites the stale IIR value with a constant magic
"bad food" value (0xbaadf00d), in the hope people don't start to try to
understand the various random IIR values in trap 7 dumps.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d01e9ce1af6116f812491d3d3873d204f10ae0b8; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e96373f0a5f484bc1e193f9951dcb3adf24bf3f7; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 484730e5862f6b872dca13840bed40fd7c60fa26; 2.6.12 (not affected: before 2.6.12; from 5.10.90 up to 5.10.*; from 5.15.13 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: before 5.10.90; from 5.11.0 before 5.15.13

## References

- <https://git.kernel.org/stable/c/d01e9ce1af6116f812491d3d3873d204f10ae0b8> (patch)
- <https://git.kernel.org/stable/c/e96373f0a5f484bc1e193f9951dcb3adf24bf3f7> (patch)
- <https://git.kernel.org/stable/c/484730e5862f6b872dca13840bed40fd7c60fa26> (patch)

## Sources

- CVE List: [CVE-2021-46928](https://www.cve.org/CVERecord?id=CVE-2021-46928), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-46928](https://nvd.nist.gov/vuln/detail/CVE-2021-46928), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46928 · Whole record: https://cve.day/CVE-2021-46928.json · Rebuilt by cve.day 2026-11-25T22:58:08.568Z
