Description
In the Linux kernel, the following vulnerability has been resolved: ARM: 9475/1: entry: use byte load for KASAN VMAP stack shadow Commit 44e9a3bb76e5 ("ARM: 9430/1: entry: Do a dummy read from VMAP shadow") added a dummy read from the KASAN VMAP stack shadow in __switch_to(). The read uses ldr, but the KASAN shadow address is byte-granular and is not guaranteed to be word aligned. ARMv5 faults unaligned word loads. With CONFIG_KASAN_VMALLOC and CONFIG_VMAP_STACK enabled, ARM926/VersatilePB crashes in __switch_to() with an alignment exception before reaching init. Use ldrb for the dummy shadow access. The code only needs to fault in the shadow mapping if the stack shadow is missing, so a byte load is sufficient and matches the granularity of KASAN shadow memory.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
8fe148d39c127de3fb78dfa6da95a3608dfda454 to < c0b8c148a7754826156993ed6442d31536ec86b4affectedef21187c0672a2b2cbec44f33bab9ec47d5c277c to < c2e3aadc8fef7da068490597fc5582f8f362aeb2affectedc86d26b4b089ca294b3b7d915a7da61edb77935f to < c74990828d3c486ee44aaa68240eb3abff289d1caffected44e9a3bb76e5f2eecd374c8176b2c5163c8bb2e2 to < 517720913bd3c17a52cd55a740064f68455ab88eaffected44e9a3bb76e5f2eecd374c8176b2c5163c8bb2e2 to < 2a4dc9a0ac3326e79fb58fdaae724b92127709a9affected44e9a3bb76e5f2eecd374c8176b2c5163c8bb2e2 to < 77a1f6883dc6e837bb2cb30b9b02e2f94338e2c6affected6.1.120 to < 6.1.176affected6.6.64 to < 6.6.143affected6.12.4 to < 6.12.94affected
Linux Linux
Default version status: affected
6.13affected0 to < 6.13unaffected6.1.176 to ≤ 6.1.*unaffected6.6.143 to ≤ 6.6.*unaffected6.12.94 to ≤ 6.12.*unaffected6.18.36 to ≤ 6.18.*unaffected7.0.13 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/c0b8c148a7754826156993ed6442d31536ec86b4 ↗
- https://git.kernel.org/stable/c/c2e3aadc8fef7da068490597fc5582f8f362aeb2 ↗
- https://git.kernel.org/stable/c/c74990828d3c486ee44aaa68240eb3abff289d1c ↗
- https://git.kernel.org/stable/c/517720913bd3c17a52cd55a740064f68455ab88e ↗
- https://git.kernel.org/stable/c/2a4dc9a0ac3326e79fb58fdaae724b92127709a9 ↗
- https://git.kernel.org/stable/c/77a1f6883dc6e837bb2cb30b9b02e2f94338e2c6 ↗