ARM: 9481/2: breakpoint: CFI breakpoints only on demand
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: ARM: 9481/2: breakpoint: CFI breakpoints only on demand This removes the stub hw_breakpoint_cfi_handler() from ARM, making it not steal breakpoint type 0x03 (ARM_ENTRY_CFI_BREAKPOINT) unless CFI is actively used in the kernel. When not instrumenting with CFI, or when a breakpoint is issued in userspace, we fall through to return 1 from hw_breakpoint_pending() "unhandled fault" so userspace can make use of this breakpoint. Tested with LKDTM and this command line: echo CFI_FORWARD_PROTO > /sys/kernel/debug/provoke-crash/DIRECT still works as expected.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From c3f89986fde7bb9ccc86a901bf28e1f7d69fc3b3 · fixed in 314f1a6762b5d51b37784ed7dc701d4c3d893703; From c3f89986fde7bb9ccc86a901bf28e1f7d69fc3b3 · fixed in da64b150e4b7bee615b33ab21f3137c31ec36922; From c3f89986fde7bb9ccc86a901bf28e1f7d69fc3b3 · fixed in 8ed9bff906cf8036531d1559f10e82733a52b41f
- Linux Linux
6.10
- KernelLinux
From 6.10.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6