)]}'
{
  "commit": "1b14652d56e18c2e1d3893973147c39f1edfb9ea",
  "tree": "17da2ace84494135a2ace1c12854f2600de0b7a9",
  "parents": [
    "c0695670e1c0ec795ef33d19328df339c969bed9"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Mon Aug 17 11:46:25 2026 +0100"
  },
  "committer": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Thu Aug 27 14:40:42 2026 +0100"
  },
  "message": "cachefiles: Fix potential UAF/KASAN warning\n\nCurrently, trace_cachefiles_coherency() is being passed a pointer to a\n__be64 lain over the coherency data in struct cachefiles_xattr so that it\ncan display the first 8 bytes.  However, the data is of variable length and\ncould even be 0 bytes.  This could lead to a UAF or KASAN warning.\n\nFix this by making sure the buffer has room for at least 8 bytes and that\nthose 8 bytes are pre-cleared.\n\nFurther, those bytes are not 8-byte aligned, so fix the tracepoint to\nextract the data as four 2-byte words (they are 2-byte aligned) and\nreassemble the __be64.  The compiler will convert this into a single 8-byte\nload where the CPU supports it.\n\nFixes: 229105e5cfd9 (\"cachefiles: Add auxiliary data trace\")\nLink: https://sashiko.dev/#/patchset/20260810144746.574036-1-dhowells%40redhat.com\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\ncc: Paulo Alcantara \u003cpc@manguebit.org\u003e\ncc: netfs@lists.linux.dev\ncc: linux-fsdevel@vger.kernel.org\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f8ae78b3f7b6d368526a86b454bf0febd1ccc509",
      "old_mode": 33188,
      "old_path": "fs/cachefiles/xattr.c",
      "new_id": "c70bf67e52b01a67d9ad14b647514a4c3322017c",
      "new_mode": 33188,
      "new_path": "fs/cachefiles/xattr.c"
    },
    {
      "type": "modify",
      "old_id": "9259bc71049e0d4b8176df6b64ed220bd53933be",
      "old_mode": 33188,
      "old_path": "include/trace/events/cachefiles.h",
      "new_id": "e3101410e8b2dcf1e52b71c870979307a40adaea",
      "new_mode": 33188,
      "new_path": "include/trace/events/cachefiles.h"
    }
  ]
}
