summaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2025-11-17 19:43:42 +0300
committerThomas Gleixner <tglx@linutronix.de>2025-11-18 17:27:34 +0300
commit803abedbd540617f136a2c4d7066ff2e304f016d (patch)
tree8161c9a3f4d7f29af41ba72b9875fb005bc1d774 /scripts/bpf_doc.py
parent4db1df7a7217827ee7f8a3414932e250f1ac2204 (diff)
downloadlinux-803abedbd540617f136a2c4d7066ff2e304f016d.tar.xz
iov_iter: Add missing speculation barrier to copy_from_user_iter()
The results of "access_ok()" can be mis-speculated. The result is that the CPU can end speculatively: if (access_ok(from, size)) // Right here For the same reason as done in copy_from_user() in commit 74e19ef0ff80 ("uaccess: Add speculation barrier to copy_from_user()"), add a speculation barrier to copy_from_user_iter(). Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://patch.msgid.link/6b73e69cc7168c89df4eab0a216e3ed4cca36b0a.1763396724.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions