mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* bpf: misleading spec_v1 check on variable-offset stack read?
@ 2023-03-15 16:51 Luis Gerhorst
  2023-03-15 16:54 ` [PATCH] bpf: remove misleading spec_v1 check on var-offset stack read Luis Gerhorst
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Gerhorst @ 2023-03-15 16:51 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, John Fastabend,
	Andrii Nakryiko, Martin KaFai Lau, Song Liu, Yonghong Song,
	KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa, Andrei Matei,
	bpf, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

Hello,

is there any way to introduce variable-offset (stack) pointers without 
using pointer arithmetic (BPF_ADD/SUB)? If yes, I believe this is a 
security issue because these can be used in stack writes. If not, I 
think the patch sent in reply to this mail should be applied. (I was not 
able to find any indication that the former is the case.)

Best regards,
Luis


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5976 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-16 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 16:51 bpf: misleading spec_v1 check on variable-offset stack read? Luis Gerhorst
2023-03-15 16:54 ` [PATCH] bpf: remove misleading spec_v1 check on var-offset stack read Luis Gerhorst
2023-03-16 21:10   ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®