)]}'
{
  "commit": "6668ed271eaefaa63e686bdfbedaeb7b8e492722",
  "tree": "58e8288fead484f6755ad0815fc74c3742663761",
  "parents": [
    "cd6f72d7f38e10aa82fcbc745a6a9e58e0d8e366"
  ],
  "author": {
    "name": "Kumar Kartikeya Dwivedi",
    "email": "memxor@gmail.com",
    "time": "Fri Sep 04 10:43:19 2026 +0200"
  },
  "committer": {
    "name": "Alexei Starovoitov",
    "email": "ast@kernel.org",
    "time": "Fri Sep 04 07:58:36 2026 -0700"
  },
  "message": "selftests/bpf: Reject graph kptr use after RCU unlock\n\nAdd a sleepable verifier test that loads a graph-node local kptr in an\nexplicit RCU read-side critical section, then passes its node to\nbpf_rbtree_remove() after the section ends.\n\nBefore the verifier fix, the stale NON_OWN_REF flag makes the node look like\na live borrowed reference and the program is accepted. After the fix, the\npointer is demoted without NON_OWN_REF and the graph kfunc argument is\nrejected.\n\nAlso exercise a graph kptr loaded while a spin lock provides implicit RCU\nprotection. The pointer must be invalidated when the lock is released, which\nguards the required ordering between non-owning-reference invalidation and\nRCU demotion.\n\nUpdate the existing fault-protected load test state description. The\npost-unlock pointer no longer carries NON_OWN_REF, but remains readable\nbecause the load is rewritten to use BPF_PROBE_MEM.\n\nSigned-off-by: Kumar Kartikeya Dwivedi \u003cmemxor@gmail.com\u003e\nLink: https://lore.kernel.org/r/20260904084325.52250-7-memxor@gmail.com\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "31d4081c3a9fdab13548e94af4bc66f2626731ac",
      "old_mode": 33188,
      "old_path": "tools/testing/selftests/bpf/progs/rcu_read_lock.c",
      "new_id": "cdb255addbc30a4c23c6a5b0cdc9fe6f1b5e1f1f",
      "new_mode": 33188,
      "new_path": "tools/testing/selftests/bpf/progs/rcu_read_lock.c"
    },
    {
      "type": "modify",
      "old_id": "7d2f8897e5ad1775f250379724679ece6bf17d38",
      "old_mode": 33188,
      "old_path": "tools/testing/selftests/bpf/progs/refcounted_kptr_fail.c",
      "new_id": "f787ecf189d8d0696b8b401740e41932a5587739",
      "new_mode": 33188,
      "new_path": "tools/testing/selftests/bpf/progs/refcounted_kptr_fail.c"
    }
  ]
}
