HomeDefectsLIN1023-3850
Fixed

LIN1023-3850 : Security Advisory - linux - CVE-2021-46928

Created: Feb 27, 2024    Updated: Apr 2, 2024
Resolved Date: Apr 1, 2024
Found In Version: 10.23.30.1
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: Kernel

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.

CREATE(Triage):(User=admin) CVE-2021-46928 (https://nvd.nist.gov/vuln/detail/CVE-2021-46928)