Skip to content

arm64: Fix syzkaller splat in ioremap_prot()

Will Deacon linux-arm-kernel 1 version Applied

Status from this message: Applied to arm64 (for-next/fixes), thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2arm64: io: Rename ioremap_prot() to __ioremap_prot()arch/arm64/include/asm/io.h arch/arm64/kernel/acpi.c arch/arm64/mm/ioremap.c+10 -91 reply
2/2arm64: io: Extract user memory type in ioremap_prot()arch/arm64/include/asm/io.h+15 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchCatalin Marinas
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] arm64: Fix syzkaller splat in ioremap_prot()

Hi folks,

These two patches aim to resolve the syzkaller splat reported by Jinjiang at [1].

Rather than introduce a new arch hook, as was proposed in [1], this series instead augments the existing ioremap_prot() hook on arm64.

Cheers,

Will

[1] https://lore.kernel.org/r/[email protected]

Cc Zeng Heng <[email protected]>
Cc Jinjiang Tu <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Andrew Morton <[email protected]>

--->8

Will Deacon (2):
arm64: io: Rename ioremap_prot() to __ioremap_prot()
arm64: io: Extract user memory type in ioremap_prot()

 arch/arm64/include/asm/io.h | 26 ++++++++++++++++++++------
 arch/arm64/kernel/acpi.c    |  2 +-
 arch/arm64/mm/ioremap.c     |  6 +++---
 3 files changed, 24 insertions(+), 10 deletions(-)
Signature · 1 line
2.53.0.371.g1d285c8824-goog