summaryrefslogtreecommitdiff
path: root/tools/kvm
diff options
context:
space:
mode:
authorChristian König <ckoenig.leichtzumerken@gmail.com>2025-11-20 15:41:08 +0100
committerChristian König <christian.koenig@amd.com>2025-11-25 10:07:08 +0100
commit17331d0f339fc6ec00a118e72ca28cb39d18e960 (patch)
treeaf2c48f6fe67feeea55e527fa621d6aa213bba3e /tools/kvm
parent0a8bc1d03e3eefb5d160fd51add3a016f29292e8 (diff)
downloadkernel-17331d0f339fc6ec00a118e72ca28cb39d18e960.tar.gz
dma-buf/sw-sync: always taint the kernel when sw-sync is used
The SW-sync functionality should only be used for testing and debugging since it is inherently unsave. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Sumit Semwal <sumit.semwal@linaro.org> Link: https://lore.kernel.org/r/20251120150018.27385-3-christian.koenig@amd.com
Diffstat (limited to 'tools/kvm')
0 files changed, 0 insertions, 0 deletions
figure out whether the exception came from kernel or user, and then to act accordingly. Make our debug hook code a little more robust by maintaining separate hook lists for user and kernel, with separate registration functions to force callers to be explicit about the exception levels that they care about. Reviewed-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> 2018-12-28kasan, arm64: add brk handler for inline instrumentationAndrey Konovalov Tag-based KASAN inline instrumentation mode (which embeds checks of shadow memory into the generated code, instead of inserting a callback) generates a brk instruction when a tag mismatch is detected. This commit adds a tag-based KASAN specific brk handler, that decodes the immediate value passed to the brk instructions (to extract information about the memory access that triggered the mismatch), reads the register values (x0 contains the guilty address) and reports the bug. Link: http://lkml.kernel.org/r/c91fe7684070e34dc34b419e6b69498f4dcacc2d.1544099024.git.andreyknvl@google.com Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Reviewed-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Reviewed-by: Dmitry Vyukov <dvyukov@google.com> Acked-by: Will Deacon <will.deacon@arm.com> Cc: Christoph Lameter <cl@linux.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>