{"push_id":2161731710,"size":1,"distinct_size":1,"ref":"refs/heads/MI","head":"dbfc0ccdb47d677462bbf1fe129b9d2b64939cba","before":"678a56410de47ea0b6a65dda25d51114a3eda685","commits":[{"sha":"dbfc0ccdb47d677462bbf1fe129b9d2b64939cba","author":{"name":"Daniel Borkmann","email":"4b94a04674ad2c69d990e94ab196ac3f8e9e03d4@iogearbox.net"},"message":"bpf: don't let ldimm64 leak map addresses on unprivileged\n\nThe patch fixes two things at once:\n\n1) It checks the env->allow_ptr_leaks and only prints the map address to\n   the log if we have the privileges to do so, otherwise it just dumps 0\n   as we would when kptr_restrict is enabled on %pK. Given the latter is\n   off by default and not every distro sets it, I don't want to rely on\n   this, hence the 0 by default for unprivileged.\n\n2) Printing of ldimm64 in the verifier log is currently broken in that\n   we don't print the full immediate, but only the 32 bit part of the\n   first insn part for ldimm64. Thus, fix this up as well; it's okay to\n   access, since we verified all ldimm64 earlier already (including just\n   constants) through replace_map_fd_with_map_ptr().\n\nChange-Id: I25392dede9879a8854e38ce82a68e13ba1391564\nFixes: 1be7f75d1668 (\"bpf: enable non-root eBPF programs\")\nFixes: cbd357008604 (\"bpf: verifier (add ability to receive verification log)\")\nReported-by: Jann Horn <jannh@google.com>\nSigned-off-by: Daniel Borkmann <daniel@iogearbox.net>\nAcked-by: Alexei Starovoitov <ast@kernel.org>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nGit-commit: 0d0e57697f162da4aa218b5feafe614fb666db07\nGit-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nSigned-off-by: Srinivasa Rao Kuppala <srkupp@codeaurora.org>\n(cherry picked from commit 555adbdb100cd7ce651832f8e5d6755120e69509)","distinct":true,"url":"https://api.github.com/repos/vicatz/wayang_kernel/commits/dbfc0ccdb47d677462bbf1fe129b9d2b64939cba"}]}
{"actor":{"display_login":"vicatz"}}