)]}'
{
  "commit": "33a154a96e71a34a1bcca9f40da343dbbf7b38b4",
  "tree": "543be8029ab3d8a3a63994ae23385a053ed30029",
  "parents": [
    "b88822d2584f78cbdad1d8256510dcac108b5630"
  ],
  "author": {
    "name": "Alexei Starovoitov",
    "email": "ast@kernel.org",
    "time": "Thu Oct 01 14:52:55 2026 +0000"
  },
  "committer": {
    "name": "Kumar Kartikeya Dwivedi",
    "email": "memxor@gmail.com",
    "time": "Thu Oct 01 18:39:27 2026 +0200"
  },
  "message": "selftests/bpf: Test packet range of pointers sharing an id\n\nAdd tests where two packet pointers share an id and tightening one\npointer\u0027s umax from its var_off would put it less than their constant\ndistance from the other\u0027s umax: with an index \u0026 0x38 capped at 50, the\nbase pointer keeps umax 50, so the pointer 8 bytes further on must keep\numax 58, even though its known bits allow at most 56.\n\nThese refused a valid program or accepted an out-of-bounds access before\nthe fix:\n\n- check the advanced copy, load through the base: valid, was refused;\n- check the base, load the byte at base + 1 through a copy advanced by\n  8: was accepted;\n- check base + 4, load 4 bytes at base + 2 through base + 8: reads two\n  bytes past the checked range, was accepted;\n- the same as the second with data_meta pointers checked against data:\n  was accepted.\n\nThese pass with and without the fix and cover nearby paths:\n\n- subtract an unknown scalar from a checked pointer and load below it\n  (the range is kept across a new id);\n- reach a load through two paths whose checks cover 8 and 7 bytes after\n  the loaded pointer; the second path must not be pruned by the first;\n- spill a copy of a pointer, check the pointer, fill the copy and load\n  one byte past the checked range: the load is refused, and the copy\n  has the range of the check.\n\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nLink: https://lore.kernel.org/bpf/20261001145255.855630-2-alexei.starovoitov@gmail.com\nSigned-off-by: Kumar Kartikeya Dwivedi \u003cmemxor@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "915a9707298b0da3e9fc21d2cfb6b04efac7e7de",
      "old_mode": 33188,
      "old_path": "tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c",
      "new_id": "139ff019d87d1e6a0007886c19fae073927050ee",
      "new_mode": 33188,
      "new_path": "tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c"
    },
    {
      "type": "modify",
      "old_id": "62235f032ffe7bb9ffb264f3cd96c3e8aececf44",
      "old_mode": 33188,
      "old_path": "tools/testing/selftests/bpf/progs/verifier_meta_access.c",
      "new_id": "c87e0be4b2ff0eaa238f23ad57180fe9be4930cb",
      "new_mode": 33188,
      "new_path": "tools/testing/selftests/bpf/progs/verifier_meta_access.c"
    }
  ]
}
