aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorPuranjay Mohan <[email protected]>2024-03-14 17:49:31 +0000
committerAlexei Starovoitov <[email protected]>2024-03-14 19:04:45 +0000
commit44d79142ede8162fd67bf8ca4ddbda1fbcfa94f1 (patch)
treeea5ef659bcaa1dc72bb8258baa47b3a9e59fd2db /scripts/bpf_doc.py
parentnet: txgbe: fix clk_name exceed MAX_DEV_ID limits (diff)
downloadkernel-44d79142ede8162fd67bf8ca4ddbda1fbcfa94f1.tar.gz
kernel-44d79142ede8162fd67bf8ca4ddbda1fbcfa94f1.zip
bpf: Temporarily disable atomic operations in BPF arena
Currently, the x86 JIT handling PROBE_MEM32 tagged accesses is not equipped to handle atomic accesses into PTR_TO_ARENA, as no PROBE_MEM32 tagging is performed and no handling is enabled for them. This will lead to unsafety as the offset into arena will dereferenced directly without turning it into a base + offset access into the arena region. Since the changes to the x86 JIT will be fairly involved, for now, temporarily disallow use of PTR_TO_ARENA as the destination operand for atomics until support is added to the JIT backend. Fixes: 2fe99eb0ccf2 ("bpf: Add x86-64 JIT support for PROBE_MEM32 pseudo instructions.") Reported-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Puranjay Mohan <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Message-ID: <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions