Wind River Support Network

HomeDefectsLIN1021-7405
Not to be fixed

LIN1021-7405 : Security Advisory - linux - CVE-2021-46928

Created: Feb 27, 2024    Updated: Mar 19, 2024
Resolved Date: Mar 19, 2024
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
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)
Live chat
Online