CVE-2021-46997

CVSS 3.1 Score 5.5 of 10 (medium)

Details

Published Feb 28, 2024
Updated: Dec 24, 2024

Summary

CVE-2021-46997 is a vulnerability affecting the Linux kernel on arm64 architecture. During kernel entry, a inconsistency exists between the interrupt status indicated by the PMR and the actual interrupt masking state, leading to a warning message from lockdep. This occurs due to the manipulation of the PMR during exception entry, which can indicate interrupts are unmasked even when they are masked by DAIF. To resolve this issue, the PMR must be consistently set during exception entry and local_daif_inherit() updated accordingly. The warning message can be removed by setting (GIC_PRIO_IRQON | GIC_PRIO_PSR_I_SET) for consistency with local_daif_save(). This vulnerability was discovered during kernel entry with the command line argument "irqchip.gicv3_pseudo_nmi=1".

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share