diff options
author | Peter Zijlstra <[email protected]> | 2021-06-28 13:24:10 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-07-05 10:46:20 +0200 |
commit | 9e667624c291753b8a5128f620f493d0b5226063 (patch) | |
tree | 4b2c79e55dfcb10b406684c074ecc08cf3815b29 /scripts/gdb/linux/genpd.py | |
parent | 4840ce2267f9d887f333d88a037c82c566f84081 (diff) |
jump_label: Fix jump_label_text_reserved() vs __init
It turns out that jump_label_text_reserved() was reporting __init text
as being reserved past the time when the __init text was freed and
re-used.
For a long time, this resulted in, at worst, not being able to kprobe
text that happened to land at the re-used address. However a recent
commit e7bf1ba97afd ("jump_label, x86: Emit short JMP") made it a
fatal mistake because it now needs to read the instruction in order to
determine the conflict -- an instruction that's no longer there.
Fixes: 4c3ef6d79328 ("jump label: Add jump_label_text_reserved() to reserve jump points")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions