)]}'
{
  "commit": "b88c75488ecc768acadb14e980bbfa087b1dbf38",
  "tree": "638238e315bad21d28db3d6b0a310fff21f7449c",
  "parents": [
    "d60bd31718cd22e24c1deb9666adaef3343bdb9f"
  ],
  "author": {
    "name": "Nguyen Ngoc Thang",
    "email": "ngocthang2710.1999@gmail.com",
    "time": "Sun Nov 15 20:26:11 2026 +0700"
  },
  "committer": {
    "name": "Steffen Klassert",
    "email": "steffen.klassert@secunet.com",
    "time": "Fri Nov 20 09:14:36 2026 +0100"
  },
  "message": "xfrm: iptfs: force a dst reference before queueing an skb\n\niptfs_output_collect() is the dst-\u003eoutput hook and runs under the\ncaller\u0027s RCU read lock. It queues the skb and sends it later from the\niptfs hrtimer. The skb may still carry a noref dst, e.g. one set by\n__ip_queue_xmit() via skb_dst_set_noref(). Once the RCU section ends,\nnothing keeps that dst alive.\n\nWhen the timer fires, xfrm_output_one() calls skb_dst_force() outside\nany RCU section:\n\n  WARNING: include/net/dst.h:326 at xfrm_output_resume+0x41d9/0x64e0\n  Call Trace:\n   xfrm_output_one net/xfrm/xfrm_output.c:549 [inline]\n   xfrm_output_resume+0x41d9/0x64e0 net/xfrm/xfrm_output.c:597\n   iptfs_output_queued net/xfrm/xfrm_iptfs.c:2325 [inline]\n   iptfs_delay_timer+0x3803/0x4310 net/xfrm/xfrm_iptfs.c:2362\n   __run_hrtimer kernel/time/hrtimer.c [inline]\n   __hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c\n   hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2153\n   handle_softirqs+0x265/0x8d0 kernel/softirq.c:669\n\nThe warning also means the queued skb may point to a dst that has\nalready been freed.\n\nTake a reference with skb_dst_force() while still under RCU, as other\ndeferred xmit paths do, and drop the skb if its dst is already gone.\n\nFixes: 0e4fbf013fa5 (\"xfrm: iptfs: add user packet (tunnel ingress) handling\")\nReported-by: syzbot+622de7e1f18a30fc404a@syzkaller.appspotmail.com\nCloses: https://syzkaller.appspot.com/bug?extid\u003d622de7e1f18a30fc404a\nSigned-off-by: Nguyen Ngoc Thang \u003cngocthang2710.1999@gmail.com\u003e\nSigned-off-by: Steffen Klassert \u003csteffen.klassert@secunet.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0313a43aa8a9777f1c949d9049d6c01ae7998f12",
      "old_mode": 33188,
      "old_path": "net/xfrm/xfrm_iptfs.c",
      "new_id": "3fff835497b9a6be9f1ac0ff22ea94947e3b287d",
      "new_mode": 33188,
      "new_path": "net/xfrm/xfrm_iptfs.c"
    }
  ]
}
