)]}'
{
  "log": [
    {
      "commit": "90ae4042bd9f35a9098d14b1a12a43df9b326e2b",
      "tree": "841e9e29b5482fff8c2d1249ab144f1ee026b3f5",
      "parents": [
        "9d71a9bfd9cb92614d171af1b95b83db6a5d1d25"
      ],
      "author": {
        "name": "Jun Yang",
        "email": "junvyyang@tencent.com",
        "time": "Wed Nov 25 15:16:38 2026 +0800"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Thu Dec 03 13:25:53 2026 +0100"
      },
      "message": "rxrpc: Fix kvec overflow when padding a path-MTU probe ACK\n\nrxrpc_send_ACK() pads a PMTUD PING ACK out to call-\u003epeer-\u003epmtud_trial +\nsizeof(struct rxrpc_wire_header) by appending one PAGE_SIZE zeropage kvec\nper page.  The table it fills is call-\u003elocal-\u003ekvec[], sized\n1 + RXRPC_MAX_NR_JUMBO \u003d\u003d 47 entries so that it can also hold a\nmaximum-size jumbo DATA packet.  rxrpc_alloc_ack() has already used three\nentries, so only 44 zeropage entries fit, and the loop has no upper\nbound: a probe larger than 44 * PAGE_SIZE writes past the end of the\nrxrpc_local allocation.\n\npmtud_trial can be driven that large because rxrpc_assess_MTU_size()\ntakes the peer MTU straight from dst_mtu().  An IPv4 output XFRM policy\nwith an unresolvable ESP template makes xfrm_lookup_route() return a\nblackhole dst; ipv4_blackhole_route() points it at the loopback device\nand dst_blackhole_mtu() returns dst_dev(dst)-\u003emtu without the\nIP_MAX_MTU clamp that ip_dst_mtu_maybe_forward() applies to ordinary\nIPv4 dsts.  With loopback\u0027s MTU raised inside a netns,\npeer-\u003epmtud_bad \u003d if_mtu - hdrsize + 1 becomes huge and the probe search\nin rxrpc_input_probe_for_pmtud() moves pmtud_trial far beyond 64K.\n\nThe XFRM policy only has to match the sport 7001 / dport 7000 that\nrxrpc_assess_MTU_size() hardcodes, so it blackholes the route assessment\nwithout affecting the call\u0027s own packets.  CAP_NET_ADMIN in a new netns\nis enough, which an unprivileged user obtains with\nunshare(CLONE_NEWUSER|CLONE_NEWNET).\n\nClamp the route MTU to the maximum size of an IP datagram in\nrxrpc_assess_MTU_size(), which keeps pmtud_bad bounded, and skip the\nprobe altogether in rxrpc_send_ACK() if its padding would not fit the\nkvec table.\n\nBUG: KASAN: slab-out-of-bounds in rxrpc_send_ACK (net/rxrpc/output.c:333)\nWrite of size 8 at addr ffff8880312f3630 by task krxrpcio/0/10441\n\nCall Trace:\n rxrpc_send_ACK (net/rxrpc/output.c:333)\n rxrpc_input_call_event (net/rxrpc/call_event.c:484)\n\nFixes: eeaedc5449d9 (\"rxrpc: Implement path-MTU probing using padded PING ACKs (RFC8899)\")\nCc: stable@kernel.org\nReported-by: TencentOS Corvus AI \u003ccorvus@tencent.com\u003e\nSigned-off-by: Jun Yang \u003cjunvyyang@tencent.com\u003e\nAcked-by: David Howells \u003cdhowells@redhat.com\u003e\nLink: https://patch.msgid.link/20261125071652.56790-1-juny24602@gmail.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "9d71a9bfd9cb92614d171af1b95b83db6a5d1d25",
      "tree": "d81dbd3911584f99f2867ed58550a44a942e2fd3",
      "parents": [
        "1c7d0674647435c06a72da9a331e02103063d8a4"
      ],
      "author": {
        "name": "Jure Rebernik",
        "email": "jure.rebernik@luxonis.com",
        "time": "Thu Nov 26 09:37:55 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Thu Dec 03 13:03:58 2026 +0100"
      },
      "message": "r8169: clear RxOverflow before unmasking interrupts\n\nWhen the RTL8125B runs out of RX descriptors it sets RxOverflow\n(RxDescUnavail in the vendor driver) and stops receiving until\nRxOverflow is cleared in IntrStatus, even after the driver has returned\nthe descriptors. Since commit 6994520a3328 (\"r8169: disable interrupt\nsource RxOverflow\") nothing may clear it:\n\n 1. The ring fills. The chip completes the last frames (RxOK), then\n    sets RxOverflow and stops receiving.\n 2. rtl8169_interrupt() read IntrStatus before RxOverflow was set, so it\n    clears only RxOK.\n 3. NAPI empties the ring and unmasks the interrupts.\n 4. The stopped receiver raises no new RxOK, and RxOverflow is not an\n    interrupt source, so reception stays stopped until another event,\n    such as TxOK, makes the handler clear all status bits.\n\nThis was observed on an RTL8125B (XID 641) on an arm64 Qualcomm QCS8550\nwith a 2.5 Gbit/s link, running v7.2.6 and receiving UDP at\n1500 Mbit/s: reception stopped for seconds in most 30 s runs. During\nstops in earlier runs, RxOverflow was set with all RX descriptors owned\nby the NIC, and clearing only RxOverflow from user space restarted\nreception. The order of steps 1 and 2 is inferred from that state.\nReproducing the stall needs no kernel change.\n\nClear RxOverflow in rtl8169_poll() whenever rtl_rx() stops at a\ndescriptor owned by the NIC, before napi_complete_done(). Clearing it\nonly when NAPI completes is not enough: with threaded busy polling NAPI\nnever completes and reception would stay stopped.\n\nThe clear runs on all chips that use rtl8169_poll(), that is all except\nRTL8127 with more than one interrupt vector, but was tested only on\nRTL8125B. Where RxOverflow is not set, the write has no effect.\n\nTesting on v7.2.6 with two RTL8125B boards; a stall means reception\nstopped for at least 1 s:\n\n - Inbound UDP at 1500 Mbit/s, switching between the old and the new\n   behaviour on the same boot, 40 runs of 30 s each: old, 30 runs\n   stalled and 11% of the datagrams were lost; new, no run stalled and\n   0.012% were lost, almost all counted in rx_missed while the default\n   256-entry ring was briefly full.\n - Threaded busy polling with the NAPI thread starved for 20 ms of every\n   200 ms, inbound UDP at 800 and 1500 Mbit/s, 12 runs of 40 s each:\n   old, no frame was received in any run; new, frames were received\n   throughout.\n\nOn this tree the patch was only built. rtl8169_poll() and\nrtl_ack_events() changed since v7.2 for multiple RX queues\n(36af5aac9545, 5df447aee076), but the changed lines behave the same on\nsingle-vector chips.\n\nThe investigation was done with an AI coding assistant (Claude Code):\nit wrote the HIL test scripts, the debugfs instrumentation and the\nregister tools used above, proposed this change and drafted this\nchangelog. I reviewed the change and the evidence, and the test\nresults above come from runs on our hardware.\n\nFixes: 6994520a3328 (\"r8169: disable interrupt source RxOverflow\")\nCc: stable@vger.kernel.org\nSigned-off-by: Jure Rebernik \u003cjure.rebernik@luxonis.com\u003e\nLink: https://patch.msgid.link/20261126083755.1530514-1-jure.rebernik@luxonis.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "1c7d0674647435c06a72da9a331e02103063d8a4",
      "tree": "2fc118fdca76d8d23b5a4fdf00fe418241782082",
      "parents": [
        "f544de87c3ee77f84e857c269ed6ee99226fe66e"
      ],
      "author": {
        "name": "Lad Prabhakar",
        "email": "prabhakar.mahadev-lad.rj@bp.renesas.com",
        "time": "Tue Nov 24 13:28:02 2026 +0000"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Thu Dec 03 12:39:14 2026 +0100"
      },
      "message": "net: stmmac: Advertise TX checksum offload only when supported\n\nstmmac unconditionally adds IPv4 and IPv6 TX checksum offload to\nhw_features and copies the resulting features to vlan_features. When\ntx_coe is false, for example in threshold DMA mode on hardware with a\ncapability register, stmmac_fix_features() removes the flags from the\nactive features at registration, but vlan_features retains them.\n\nDSA user ports inherit vlan_features and can therefore advertise TX\nchecksum offload even though the conduit cannot perform it.\n\nOnly add NETIF_F_IP_CSUM and NETIF_F_IPV6_CSUM to hw_features when\ntx_coe is enabled. This prevents the unsupported features from being\npropagated to DSA user ports and reports them as fixed off on the\nconduit.\n\nThe issue was discovered while using stmmac as the DSA CPU port on\nRZ/T2H and RZ/N2H EVKs. The fix was tested with ethtool on the switch\nports of both EVKs.\n\nFixes: 6b2c6e4a938f (\"net: stmmac: propagate feature flags to vlan\")\nSigned-off-by: Lad Prabhakar \u003cprabhakar.mahadev-lad.rj@bp.renesas.com\u003e\nReviewed-by: Maxime Chevallier \u003cmaxime.chevallier@bootlin.com\u003e\nLink: https://patch.msgid.link/20261124132802.2003605-1-prabhakar.mahadev-lad.rj@bp.renesas.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "f544de87c3ee77f84e857c269ed6ee99226fe66e",
      "tree": "b8b7c81ad8cf708360320cda8b95f3408ebeb93f",
      "parents": [
        "fe72539089a585e6f65f9d6024096b559c0c716c"
      ],
      "author": {
        "name": "Jun Yang",
        "email": "junvyyang@tencent.com",
        "time": "Wed Nov 25 15:14:29 2026 +0800"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Thu Dec 03 12:27:30 2026 +0100"
      },
      "message": "net/sched: act_csum: reject over-long packets before adding the offset\n\ntcf_csum_skb_nextlayer() validates the claimed packet length @ipl by\ncalling pskb_may_pull(skb, ipl + ntkoff), where @ntkoff is the offset of\nthe network header from skb-\u003edata and @ipl is taken from the packet\nitself.\n\nFor IPv6 the action honours the jumbo payload option, so @ipl is derived\nfrom an attacker controlled 32-bit value and can be made to wrap when\n@ntkoff is added:\n\n  ipl \u003d 0xFFFFFFF2, ntkoff \u003d 14  -\u003e  ipl + ntkoff \u003d 0\n\npskb_may_pull(skb, 0) then succeeds and the ipl \u003c hl check is also\ndefeated, so tcf_csum_ipv6_udp() hands the packet\u0027s own (u16) UDPLITE\nlength to csum_partial(), which reads up to 65535 bytes from an skb that\nis only a few dozen bytes long.  The ICMPv6, TCP and SCTP branches pass\nipl - ihl, which is negative as an int, so they do not read.\n\nReject any @ipl that does not fit in the skb before adding @ntkoff.\n\nBUG: KASAN: slab-use-after-free in do_csum (lib/checksum.c:64)\nRead of size 4 at addr ffff88803506ed88 by task act_csum/9648\n\nCall Trace:\n do_csum (lib/checksum.c:64)\n csum_partial (lib/checksum.c:119)\n tcf_csum_ipv6_udp (net/sched/act_csum.c:346)\n tcf_csum_act (net/sched/act_csum.c:601)\n tcf_action_exec (net/sched/act_api.c:1149)\n mall_classify (net/sched/cls_matchall.c:42)\n tcf_classify (net/sched/cls_api.c:1875)\n tc_run (net/core/dev.c:4635)\n __dev_queue_xmit (net/core/dev.c:5034)\n\nFixes: eb4d40654505 (\"net/sched: add ACT_CSUM action to update packets checksums\")\nCc: stable@kernel.org\nReported-by: TencentOS Corvus AI \u003ccorvus@tencent.com\u003e\nSigned-off-by: Jun Yang \u003cjunvyyang@tencent.com\u003e\nLink: https://patch.msgid.link/20261125071432.53293-1-juny24602@gmail.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "fe72539089a585e6f65f9d6024096b559c0c716c",
      "tree": "16e3a070722dcd14a8e370548c68cc733c89c57d",
      "parents": [
        "23e2765f3805a334b6b6dda454df2ff7b7cb1889"
      ],
      "author": {
        "name": "Jiayuan Chen",
        "email": "jiayuan.chen@linux.dev",
        "time": "Fri Nov 27 12:50:58 2026 +0800"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Thu Dec 03 12:06:01 2026 +0100"
      },
      "message": "tcp_metrics: fix zero snd_cwnd_clamp from a half updated entry\n\ntcp_init_metrics() takes snd_cwnd_clamp from the cached TCP_METRIC_CWND\nwhen that metric is locked, i.e. the route has \"cwnd lock N\".\n\ntcpm_suck_dst() refreshes a cached entry in place. It writes tcpm_lock\nfirst and only then updates TCP_METRIC_CWND from\ndst_metric_raw(dst, RTAX_CWND). Readers only hold rcu_read_lock(), so\nwhen an entry that had no cwnd metric (value 0) is refreshed from a\nroute with a locked cwnd we can have:\n\n  CPU0                                 CPU1\n  tcpm_suck_dst()                      tcp_init_metrics()\n    WRITE_ONCE(tm-\u003etcpm_lock, val)\n                                         tcp_metric_locked(tm, TCP_METRIC_CWND)\n                                           -\u003e true\n                                         tcp_metric_get(tm, TCP_METRIC_CWND)\n                                           -\u003e 0, not updated yet\n                                         tp-\u003esnd_cwnd_clamp \u003d 0\n    tcp_metric_set(tm, TCP_METRIC_CWND,\n                   dst_metric_raw(dst, RTAX_CWND))\n\nSo tcp_init_metrics() sets snd_cwnd_clamp to 0, which is what commit\n363c8c79220d (\"net: ipv4: add zero check for snd_cwnd_clamp\") tried to\nprevent.\n\nWith an mdelay() added after the tcpm_lock write to widen the window,\nI can hit:\n\n WARNING: ./include/net/tcp.h:1580 at tcp_init_transfer+0xc16/0xd50\n Call Trace:\n  \u003cTASK\u003e\n  tcp_finish_connect+0xec/0x2f0\n  tcp_rcv_state_process+0x8ae/0x3060\n  tcp_v4_do_rcv+0xbe/0x580\n  __release_sock+0x1a2/0x1d0\n  release_sock+0x133/0x150\n  inet_stream_connect+0x5d/0x80\n  __sys_connect_file+0xad/0xf0\n  __sys_connect+0xa8/0xe0\n  __x64_sys_connect+0x42/0x60\n  x64_sys_call+0x2554/0x27e0\n  do_syscall_64+0xe4/0x470\n  entry_SYSCALL_64_after_hwframe+0x76/0x7e\n  \u003c/TASK\u003e\n\nWriting the value before the lock bit does not help, changing the route\nthe other way (from \"cwnd lock N\" to no cwnd) then gives the same 0,\nsince the lock bit and the value are read separately.\n\nCommit 363c8c79220d (\"net: ipv4: add zero check for snd_cwnd_clamp\")\nalready rejects a locked cwnd of 0 from the route config, so a 0 here\ncan only come from a half updated entry. Just ignore it and keep the\ncurrent snd_cwnd_clamp, like we already do for TCP_METRIC_SSTHRESH.\n\nFixes: 51c5d0c4b169 (\"tcp: Maintain dynamic metrics in local cache.\")\nSigned-off-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nReviewed-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nLink: https://patch.msgid.link/20261127045059.142247-1-jiayuan.chen@linux.dev\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "23e2765f3805a334b6b6dda454df2ff7b7cb1889",
      "tree": "bd1ff5f1a686bdf53d19630942f1382a84a51e2b",
      "parents": [
        "0a56e4bce1736d38234369602b414178da1a3e20",
        "73d308830c6f624695c4a69991e01605d8ce4205"
      ],
      "author": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Thu Dec 03 11:14:47 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Thu Dec 03 11:14:47 2026 +0100"
      },
      "message": "Merge tag \u0027linux-can-fixes-for-7.4-20261202\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can\n\nMarc Kleine-Budde says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\npull-request: can 2026-12-02\n\nthis is a pull request of 1 patch for net/main.\n\nNguyen Cong Thanh\u0027s patch corrects the order of the RX and TX\ncompletion, which is critical in CAN networks. This effectively\nfixes the CAN-ISO-TP protocol when used in conjunction with an\nSTM32 bootloader peer.\n\n* tag \u0027linux-can-fixes-for-7.4-20261202\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can:\n  can: mcp251x: deliver the TX echo before RX frames of the same pass\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261202170513.2552933-1-mkl@pengutronix.de\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "0a56e4bce1736d38234369602b414178da1a3e20",
      "tree": "42afe5ce8e378a7cf9d12c1f95efd65362fe3f6a",
      "parents": [
        "5584a17feee004afa77ffb0df938011d7239de87",
        "bb65a0da99bf4861dce01149ba64e875e47ae5a3"
      ],
      "author": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Thu Dec 03 11:06:09 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Thu Dec 03 11:06:10 2026 +0100"
      },
      "message": "Merge tag \u0027ipsec-2026-12-01\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec\n\nSteffen Klassert says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\npull request (net): ipsec 2026-12-01\n\n1) xfrm: ipcomp: account full fragment pages in truesize\n   Charge the decompressed IPComp skb a page-rounded truesize, so\n   the socket memory accounting matches the pages actually attached.\n\n2) xfrm: esp: reset outer TCP GSO metadata on espintcp input\n   Reset the GSO state inherited from the outer TCP stream on\n   ESP-in-TCP input, so a decrypted packet isn\u0027t segmented with\n   stale metadata and multi-segment records no longer crash.\n\n3) xfrm: keep the mode module pinned until destroy_state returns\n   Hold an extra module reference across the state destroy callback,\n   so an rmmod racing the state GC can\u0027t free the module text while\n   the callback is still running.\n\n4) xfrm: serialize SA activation with state deletion\n   Take the state lock for the final VOID-to-VALID transition, so a\n   hard expiry can\u0027t delete the state in between and leave it in\n   the per-CPU cache.\n\n5) xfrm: keep old state references until migration deletion completes\n   Delete the old states before dropping their lookup references, so\n   a concurrent expiry can\u0027t free a state the migration still uses.\n\n6) xfrm: hold migrated states through rollback\n   Keep a caller reference on the successor states and delete them\n   before releasing it, so a failed migration can\u0027t touch a state\n   that has already been reclaimed.\n\n7) xfrm: check inner family via skb_dst for small_ipv6 DF clearing\n   Take the inner address family from the dst instead of skb-\u003eprotocol,\n   so the outer DF bit is cleared for small IPv6 packets and the\n   tunnel doesn\u0027t drop them.\n\n8) xfrm: account XFRMA_MARK in xfrm_sa_len()\n   Count the mark attribute in the SA message length, so the netlink\n   SA notifications are sized correctly.\n\n9) xfrm: replay: Fix late packet handling with ESN crypto offload\n   Drop packets far ahead of the replay window when the ICV check\n   runs in hardware, so a late packet can\u0027t corrupt the offloaded\n   ESN state.\n\n10) xfrm: fix IPv6 first-fragment protocol decode\n    Let the flow dissector walk past an IPv6 fragment header, so the\n    inbound policy lookup sees the real upper-layer protocol.\n\n11) xfrm: fix selector matching for IPv6 atomic fragments\n    Restore the port and protocol selector fields for atomic IPv6\n    fragments, so such packets can match a policy.\n\n12) xfrm: espintcp: read the socket error queue for MSG_ERRQUEUE\n    Read the error queue through the socket error path, so a queued\n    timestamp is reported instead of being consumed as an IKE message.\n\n13) xfrm: iptfs: force a dst reference before queueing an skb\n    Take a dst reference while the packet is still under RCU, so the\n    deferred IPTFS output doesn\u0027t use a dst that may already be gone.\n\n14) xfrm: espintcp: select receive path by skb protocol\n    Pick the receive path from the packet protocol instead of the\n    socket family, so an IPv4 packet on a v4-mapped socket isn\u0027t\n    parsed by the IPv6 path.\n\n15) net: xfrm: interface: restore dst_orig on every xfrm interface\n    Restore the original route in both arms of the interface xmit\n    path, so a steered packet finds a policy and the metadata dst is\n    left untouched.\n\n16) xfrm: iptfs: make room before copying a continuation in reassembly\n    Grow the skb head before copying a reassembly continuation, so a\n    larger continuation doesn\u0027t overrun the buffer and panic.\n\n17) xfrm/compat: pass on the translated length of a socket policy\n    Pass the translated policy length to the 32-bit compat layer, so\n    the last template isn\u0027t dropped and an ESP-required policy doesn\u0027t\n    fall back to clear text.\n\n18) xfrm: Give GC list nodes their own storage\n    Give the GC and hash list nodes separate storage, so adding a\n    state to the GC list can\u0027t corrupt the hash linkage that RCU\n    readers still follow.\n\n19) xfrm: Serialize device state teardown\n    Let only one caller free the device state and hold a reference in\n    the flush, so the state GC and a device flush can\u0027t free the same\n    state.\n\n20) xfrm: Wait for an RCU grace period before freeing device state\n    Wait for an RCU grace period after collecting the device states,\n    so the driver state isn\u0027t freed while readers are still using it.\n\n21) Revert \"xfrm: serialize state GC with device state flush\"\n    Revert the GC and flush mutex, since the reference handling and\n    the single-free rule make it unnecessary and it can\u0027t cover the\n    lookup path.\n\n22) xfrm: Serialize offload stats updates with x-\u003elock\n    Serialize the offload stats refresh with the state lock, so the\n    counters aren\u0027t updated twice and a dump doesn\u0027t copy them while\n    they change.\n\n* tag \u0027ipsec-2026-12-01\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec: (22 commits)\n  xfrm: Serialize offload stats updates with x-\u003elock\n  Revert \"xfrm: serialize state GC with device state flush\"\n  xfrm: Wait for an RCU grace period before freeing device state\n  xfrm: Serialize device state teardown\n  xfrm: Give GC list nodes their own storage\n  xfrm/compat: pass on the translated length of a socket policy\n  xfrm: iptfs: make room before copying a continuation in reassembly\n  net: xfrm: interface: restore dst_orig on every xfrm interface\n  xfrm: espintcp: select receive path by skb protocol\n  xfrm: iptfs: force a dst reference before queueing an skb\n  xfrm: espintcp: read the socket error queue for MSG_ERRQUEUE\n  xfrm: fix selector matching for IPv6 atomic fragments\n  xfrm: fix IPv6 first-fragment protocol decode\n  xfrm: replay: Fix late packet handling with ESN crypto offload\n  xfrm: account XFRMA_MARK in xfrm_sa_len()\n  xfrm: check inner family via skb_dst for small_ipv6 DF clearing\n  xfrm: hold migrated states through rollback\n  xfrm: keep old state references until migration deletion completes\n  xfrm: serialize SA activation with state deletion\n  xfrm: keep the mode module pinned until destroy_state returns\n  ...\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261201124252.1163254-1-steffen.klassert@secunet.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "5584a17feee004afa77ffb0df938011d7239de87",
      "tree": "ff156cb358a27992c2c5dcf451d2a6a2f7715a4a",
      "parents": [
        "780a1d2de86a923b0dd6fb8e1fdf4ab3fcf7b0ea"
      ],
      "author": {
        "name": "Chris Mason",
        "email": "mason@kernel.org",
        "time": "Mon Nov 30 20:55:51 2026 -0500"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Wed Dec 02 23:35:10 2026 -0500"
      },
      "message": "ipv6: do not wait for a running gc in ip6_dst_gc()\n\nWith more than net.ipv6.route.gc_thresh cached routes, CPUs that\nallocate an IPv6 route while the route garbage collector runs can stall\nfor as many gc runs as there are CPUs waiting, with bottom halves\ndisabled.\n\nWhile more than net.ipv6.route.gc_thresh cached routes exist,\ndst_alloc() calls ip6_dst_gc(), which starts a gc run, fib6_run_gc(),\nunless the last one ended less than gc_min_interval ago. A gc run holds\nfib6_gc_lock with bottom halves disabled, and sets ip6_rt_last_gc, the\ntime at which the last gc run ended, only at its end. But ip6_dst_gc()\ntests ip6_rt_last_gc before it takes the lock, so each CPU that passes\nthe test during a gc run spins for the lock and then starts a gc run of\nits own.\n\nCommit 2ac3ac8f86f2 (\"ipv6: prevent fib6_run_gc() contention\") in v3.11\nfixed this contention, which it reported as soft lockups on a\nhigh-traffic router with many processors, by having ip6_dst_gc() only\ntry the lock unless the number of entries exceeded max_size. Commit\n14956643550f (\"ipv6: slight optimization in ip6_dst_gc\") in v3.16 made\nip6_dst_gc() wait for the lock again in all cases, on the premise that\nthe number of entries always exceeds max_size at that point. That does\nnot hold once gc_min_interval has passed since the last gc run.\n\nThe fix used here is to give ip6_dst_gc() a variant of fib6_run_gc(),\nfib6_try_run_gc(), which returns at once if another CPU holds\nfib6_gc_lock, and repeats the test of ip6_rt_last_gc under the lock.\n\nFound and fixed with an LLM; reproduced on an unmodified kernel with an\nLLM-generated reproducer in a 16-CPU KVM guest. Verified with the\nreproducer and IPv6 route selftests (fib_tests.sh, fib_nexthops.sh).\n\nFixes: 14956643550f (\"ipv6: slight optimization in ip6_dst_gc\")\nCc: \u003cstable@vger.kernel.org\u003e # 6.18.x: 12eddc685744: ipv6: annotate data-races around sysctl.ip6_rt_gc_interval\nCc: \u003cstable@vger.kernel.org\u003e # 6.18.x\nSigned-off-by: Chris Mason \u003cmason@kernel.org\u003e\n[willemb: add lockdep_assert_held() and WRITE_ONCE() on ip6_rt_last_gc,\n expand commit message]\nReviewed-by: David Ahern \u003cdsahern@kernel.org\u003e\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nLink: https://patch.msgid.link/20261201015652.38202-1-willemb@google.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "780a1d2de86a923b0dd6fb8e1fdf4ab3fcf7b0ea",
      "tree": "81a8498ca35ef8d68d54bf35380917f634485ebe",
      "parents": [
        "7382c17cf306b95e4cdc118b6be1288855d87ede"
      ],
      "author": {
        "name": "Wentao Guan",
        "email": "guanwentao@uniontech.com",
        "time": "Wed Nov 25 10:31:24 2026 +0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Wed Dec 02 23:24:13 2026 -0500"
      },
      "message": "inet: reject unhashed sockets during timewait purge\n\nA shared ehash can retain a stale pointer that is recycled as an\nunhashed SYN-cookie request from another dead namespace. The namespace\nrecheck alone accepts that request, and\ninet_csk_reqsk_queue_drop_and_put() can then operate on an uninitialized\ntimer.\n\nThis is the inet_twsk_purge() counterpart of the validation added for\nestablished lookups. Recheck the nulls node after taking the reference.\nIf it is unhashed, drop the reference and restart the purge instead of\noperating on the recycled request.\n\nThis was found by review\ncommit 4e2b3ef19e0e (\"inet: reject unhashed sockets during established lookups\")\n\nFixes: 740ea3c4a0b2 (\"tcp: Clean up kernel listener\u0027s reqsk in inet_twsk_purge()\")\nCc: stable@vger.kernel.org\nReviewed-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nSigned-off-by: Wentao Guan \u003cguanwentao@uniontech.com\u003e\nLink: https://patch.msgid.link/F92442AF3AAD7C83+20261125023123.4185642-2-guanwentao@uniontech.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "7382c17cf306b95e4cdc118b6be1288855d87ede",
      "tree": "568ef8ac9cd38c7a5aba09c41241e4343d367f4d",
      "parents": [
        "aad22dd62f2ee666ed8f750a56f94d982240c9ef"
      ],
      "author": {
        "name": "Junyoung Jang",
        "email": "graypanda.inzag@gmail.com",
        "time": "Wed Nov 25 21:42:11 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Wed Dec 02 23:19:02 2026 -0500"
      },
      "message": "tcp: do not BUG on an unreadable urgent byte\n\ntcp_urg() checks that the urgent byte offset is within skb-\u003elen and\nthen calls skb_copy_bits(). The byte can still lie in an unreadable\nDevice Memory fragment. In that case skb_copy_bits() returns -EFAULT\nand tcp_urg() calls BUG().\n\nMark the byte as TCP_URG_READ when the copy fails. Leaving\nTCP_URG_NOTYET pending lets a later segment retry the old urgent\npointer: the unsigned offset can wrap into that segment\u0027s TCP header\nand return a header byte through MSG_OOB. Clearing urg_data instead\nwould drop the urgent-byte hole and make ordinary recvmsg() hit\n-EFAULT on the unreadable byte. TCP_URG_READ prevents the retry and\nlets the receive path skip the hole until copied_seq passes urg_seq.\n\nA custom LLM agent developed by the authors found this issue.\nThe author manually reviewed the root cause and tested the reproducer\nand fix. A test-only netfilter module put a loopback MSG_OOB byte\nin an unreadable skb fragment. On a 7.4.0-rc2 KASAN kernel, the\noriginal code hit BUG(). The return-only fix avoided the BUG but let\na later MSG_OOB read return a byte from the next TCP header. With\nthis fix, that read returned -EINVAL, and a normal MSG_OOB control\nstill returned its byte. A test-only KUnit case seeded TCP_URG_READ\non a synthetic NET_IOV_DMABUF skb and confirmed that a successful\nMSG_SOCK_DEVMEM read clears it. Device Memory hardware was not tested.\n\nFixes: 65249feb6b3d (\"net: add support for skbs with unreadable frags\")\nCo-developed-by: Gwanhyun Lee \u003cgwanhyunlee@gmail.com\u003e\nSigned-off-by: Gwanhyun Lee \u003cgwanhyunlee@gmail.com\u003e\nSigned-off-by: Junyoung Jang \u003cgraypanda.inzag@gmail.com\u003e\nReviewed-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nLink: https://patch.msgid.link/20261125124212.4145820-1-graypanda.inzag@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "aad22dd62f2ee666ed8f750a56f94d982240c9ef",
      "tree": "50c93208b2635e513b417a593d7f367de3c7cf94",
      "parents": [
        "2ff07dc136d6c9aed4fa63d7eeea9f51e187b623"
      ],
      "author": {
        "name": "James Clark",
        "email": "jjc@jclark.com",
        "time": "Thu Nov 26 10:13:00 2026 +0700"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Wed Dec 02 22:40:21 2026 -0500"
      },
      "message": "net: stmmac: dwmac-socfpga: disable split header on Agilex 5\n\nOn Agilex 5, received IPv4 fragments are corrupted when RX checksum\noffload is on.\n\nThis was observed as corrupted downloads on a Terasic DE25-Nano over\na PPPoE connection with TCP MSS not clamped. It can be reproduced by\nrunning ping -s 2000 to another host on the LAN: ping reports every\nreply as corrupted.\n\nAgilex 5 has an XGMAC core, and stmmac turns split header on whenever\nRX checksum offload is on.\n\nSet STMMAC_FLAG_SPH_DISABLE for Agilex 5. Other glue drivers set this\nflag already. The same failure with fragmented ping is described in\ncommit 47f753c1108e (\"net: stmmac: disable Split Header (SPH) for Intel\nplatforms\"), which noted that according to the DesignWare Ethernet\nQoS (not XGMAC) datasheet, split header is not supported for IPv4\nfragments.\n\nWith the flag set, fragments are received intact.\n\nFixes: 93d46ea3e984 (\"net: stmmac: socfpga: Agilex5 EMAC platform configuration\")\nCc: stable@vger.kernel.org\nSigned-off-by: James Clark \u003cjjc@jclark.com\u003e\nReviewed-by: Maxime Chevallier \u003cmaxime.chevallier@bootlin.com\u003e\nLink: https://patch.msgid.link/20261126031300.211248-1-jjc@jclark.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "2ff07dc136d6c9aed4fa63d7eeea9f51e187b623",
      "tree": "5aa4360ca577ccb25860e137260dac3c973aebad",
      "parents": [
        "7e11cfaed2bd4eb2784b2ac43a9d054db64e9bdb"
      ],
      "author": {
        "name": "Ralf Lici",
        "email": "ralf@mandelbit.com",
        "time": "Thu Nov 26 09:13:51 2026 +0100"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Wed Dec 02 21:03:51 2026 -0500"
      },
      "message": "ipv6: advance the serial after rebalancing in fib6_ifup and fib6_ifdown\n\nfib6_ifup and fib6_ifdown update the node serial before calling\nrt6_multipath_rebalance. A lookup that runs between the two can select a\nnexthop using the old ECMP upper bounds and read the new serial as its\ncookie. The cached dst then passes dst_check although it was selected\nfrom the old state, until the next relevant change.\n\nUpdate the serial after rt6_multipath_rebalance, so that it is published\nonly after the routing state it describes. fib6_new_sernum allocates the\nserial with a fully ordered atomic_try_cmpxchg, which orders the\nrebalance before the serial update. The invalidation scope is unchanged:\nfib6_ifup still updates the node and its ancestors, fib6_ifdown only the\nnode.\n\nValidating dsts against the generation sampled before the lookup, as\nproposed in \"ipv6: validate cached dsts against the netns route\ngeneration\", relies on this order as well: a lookup that reads the new\ngeneration must also observe the routing change it describes.\n\nReported by Sashiko while reviewing an earlier version of this change.\n\nFixes: d7dedee184e7 (\"ipv6: Calculate hash thresholds for IPv6 nexthops\")\nFixes: 4bc852006b62 (\"ipv6: update route serial number on NETDEV_CHANGE\")\nLink: https://lore.kernel.org/netdev/cover.1795642432.git.dahern@nvidia.com/\nSigned-off-by: Ralf Lici \u003cralf@mandelbit.com\u003e\nReviewed-by: Xia Yan \u003cyanxia@cmss.chinamobile.com\u003e\nReviewed-by: David Ahern \u003cdsahern@kernel.org\u003e\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nLink: https://patch.msgid.link/20261126081353.55240-1-ralf@mandelbit.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "7e11cfaed2bd4eb2784b2ac43a9d054db64e9bdb",
      "tree": "39816baef2026e654fc5361707095d9d0291446d",
      "parents": [
        "c1c39137dcc3134010566ff29a81c93124efa539"
      ],
      "author": {
        "name": "Jiayuan Chen",
        "email": "jiayuan.chen@linux.dev",
        "time": "Wed Nov 25 20:46:52 2026 +0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Wed Dec 02 20:49:36 2026 -0500"
      },
      "message": "tcp: fix spurious RST when SYN_RECV race is lost\n\nWhen the last ACK of 3WHS and the first data packet are processed on\ndifferent cpus, both can find the same req. The winner creates the\nchild and adds it to the accept queue. If this makes the accept queue\nfull, syn_recv_sock() fails for the loser and tcp_check_req() sends a\nRST when tcp_abort_on_overflow is set. Only after that it finds the\nreq was stolen, and the packet is fed to the child.\n\nThe client gets a RST for a connection the server has accepted, and\nthe server application can even read the data.\n\nDrop the req first, and do not send the RST if another cpu already\ntook it.\n\nFixes: 079096f103fa (\"tcp/dccp: install syn_recv requests into ehash table\")\nSigned-off-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nReviewed-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nLink: https://patch.msgid.link/20261125124653.289409-1-jiayuan.chen@linux.dev\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "73d308830c6f624695c4a69991e01605d8ce4205",
      "tree": "2eeccd40702df30161bfda32f56265bc2501bb40",
      "parents": [
        "c1c39137dcc3134010566ff29a81c93124efa539"
      ],
      "author": {
        "name": "Nguyen Cong Thanh",
        "email": "congthanh.ml.2509@gmail.com",
        "time": "Sat Nov 28 12:48:15 2026 +0700"
      },
      "committer": {
        "name": "Marc Kleine-Budde",
        "email": "mkl@pengutronix.de",
        "time": "Wed Dec 02 17:51:42 2026 +0100"
      },
      "message": "can: mcp251x: deliver the TX echo before RX frames of the same pass\n\nmcp251x_can_ist() hands the frames of both receive buffers to the stack\nfirst and returns the echo of a completed transmission only at the end\nof the pass. When our frame has completed and the peer\u0027s reply is\nalready in a receive buffer, the reply reaches the stack before the echo\nof the frame it answers. The handler returned the echo first until\ncommit bf66f3736a94 (\"can: mcp251x: Move to threaded interrupts instead\nof workqueues.\") moved the receive buffers to the front of the loop.\n\nSince commit 4b7fe92c0690 (\"can: isotp: add local echo tx processing for\nconsecutive frames\") can-isotp enters ISOTP_WAIT_FC only on the echo of\nthe last consecutive frame of a block, and isotp_rcv_fc() ignores a flow\ncontrol frame that arrives while the sender is still in ISOTP_SENDING.\nWith a non-zero block size and a peer that answers quickly, the transfer\nstalls:\n\n  bus                  mcp251x_can_ist()         can-isotp\n  CF 8 sent (TXIF)\n  FC in RXB0 (RX0IF)\n                       read CANINTF\n                       RX0: FC to the stack  -\u003e  SENDING, FC ignored\n                       TX: echo to the stack -\u003e  WAIT_FC\n                                                 FC timeout after 1 s\n\nSeen with an MCP2515 (SPI at 1 MHz, CAN at 500 kbit/s) on an RK3566\nboard talking to an STM32 bootloader that answers each block of\nconsecutive frames with a flow control frame (BS 8, STmin 5 ms). In\ncandump on the gateway the flow control frame came 0.27 ms before the\necho and the UDS download timed out. With this change, in the gateway\u0027s\ncandump captures of 25 downloads, all 5225 flow control frames sent\nafter a full block came after the echo of the frame they answer.\n\nReturn the echo whenever TXIF has been seen, before the receive buffers\nthat follow: at the start of the pass, and again after the CANINTF\nre-read that follows RXB0, before RXB1. In the second case the frame in\nRXB0 was there before our frame completed and still goes first, while a\nreply that rolled over into RXB1 now comes after the echo. The MCP251x\nhas no RX timestamps, so the bus order of a completed transmission and\na frame received around the same time is unknown either way. A reply\ncan only come after our frame; the cost is that an unrelated frame\nreceived just before it may now be delivered after the echo. The TX\nblock at the end of the pass only wakes the queue.\n\nAs a side effect, the echo of a completed frame is now also returned\nwhen the pass ends in bus-off with restart-ms 0, where the loop used to\nbreak out before the TX block.\n\nFixes: bf66f3736a94 (\"can: mcp251x: Move to threaded interrupts instead of workqueues.\")\nCc: stable@vger.kernel.org\nSigned-off-by: Nguyen Cong Thanh \u003ccongthanh.ml.2509@gmail.com\u003e\nLink: https://patch.msgid.link/20261128054815.1586-1-congthanh.ml.2509@gmail.com\nSigned-off-by: Marc Kleine-Budde \u003cmkl@pengutronix.de\u003e\n"
    },
    {
      "commit": "c1c39137dcc3134010566ff29a81c93124efa539",
      "tree": "707e163b69ef6e2b5480b6c93532b37e54be0fc3",
      "parents": [
        "7c13d5d5afb4ba2e8634fe5aa0a9f2bca235cb4b"
      ],
      "author": {
        "name": "Mani Tofigh",
        "email": "mt4022@columbia.edu",
        "time": "Mon Nov 23 15:44:37 2026 -0500"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Wed Dec 02 17:35:50 2026 +0100"
      },
      "message": "net: don\u0027t leave napi-\u003etimer queued when deleting a napi\n\nA napi can be freed with its timer still queued.  napi_disable()\ncancels napi-\u003etimer, but napi_complete_done(), busy_poll_stop() and\nnapi_suspend_irqs() start it without owning the napi and can do so\nright after the cancel.  netif_napi_del() only waits for that start to\nfinish:\n\n  Task A (epoll_wait)                  Task B (queue reset)\n  napi_suspend_irqs()\n    rcu_read_lock()\n    napi \u003d napi_by_id(id)\n                                       napi_disable_locked(napi)\n                                         hrtimer_cancel(\u0026napi-\u003etimer)\n                                         napi_hash_del(napi)\n                                       netif_napi_del_locked(napi)\n                                         synchronize_net()\n                                         /* waits for Task A */\n    hrtimer_start(\u0026napi-\u003etimer)\n    rcu_read_unlock()\n                                       kfree(rq)\n                                         /* timer still queued */\n\nWith netdevsim and debug objects:\n\n  [    3.073483] ODEBUG: free active (active state 0) object: 000000001504358f object type: hrtimer hint: napi_watchdog+0x0/0xa0\n  [    3.073515] WARNING: lib/debugobjects.c:629 at debug_print_object+0x1a4/0x3b0, CPU#0: napitimer/66\n  [    3.079603] CPU: 0 UID: 0 PID: 66 Comm: napitimer Tainted: G        W            7.3.0-17087-gd865f2677c44 #1 PREEMPT\n  [    3.084822] RIP: 0010:debug_print_object+0x1ae/0x3b0\n  ...\n  [    3.103822] Call Trace:\n  [    3.104408]  \u003cTASK\u003e\n  [    3.105933]  debug_check_no_obj_freed+0x496/0x5f0\n  [    3.109988]  kfree+0x33a/0x510\n  [    3.110715]  netdev_rx_queue_reconfig+0x357/0x580\n  [    3.111780]  netdev_rx_queue_restart+0x8f/0xc0\n  [    3.113924]  nsim_qreset_write+0x24d/0x350\n  [    3.117832]  full_proxy_write+0x109/0x1d0\n  [    3.118741]  vfs_write+0x1e3/0x1250\n  [    3.124758]  __x64_sys_pwrite64+0x18c/0x250\n  [    3.129645]  do_syscall_64+0xfb/0x590\n  [    3.131385]  entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nWithout debug objects, napi_watchdog() later runs on freed memory.\n\nCancel the timer in __netif_napi_del_locked() right after clearing\nNAPI_STATE_LISTED, and start it in the three callers through a helper\nthat cancels it again if LISTED is already clear.  Either the delete\nsees the queued timer or the start sees LISTED cleared.  The helper\nuses hrtimer_cancel() since hrtimer_try_to_cancel() doesn\u0027t dequeue a\ntimer that is queued again while napi_watchdog() runs.  This also covers\n__netif_napi_del() callers that run their own grace period, and\nfree_netdev().  With the fix, debug objects don\u0027t report a freed active\ntimer anymore.\n\nFixes: 6f8b12d661d0 (\"net: napi: add hard irqs deferral feature\")\nFixes: 3fcbecbdeb04 (\"net: Add control functions for irq suspension\")\nFixes: 58e2330bd455 (\"net: napi: Avoid gro timer misfiring at end of busypoll\")\nSuggested-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nSigned-off-by: Mani Tofigh \u003cmt4022@columbia.edu\u003e\nLink: https://patch.msgid.link/20261123-napi-timer-cancel-v2-1-00e6fc1be30f@columbia.edu\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "7c13d5d5afb4ba2e8634fe5aa0a9f2bca235cb4b",
      "tree": "3130a71c34d9765c30b06d3bbd42243ac9ea23f0",
      "parents": [
        "0f48b1d42710f417bfb005f776423cd740ca86b5"
      ],
      "author": {
        "name": "Dominik Maier",
        "email": "dmnk@google.com",
        "time": "Tue Nov 24 18:06:00 2026 +0000"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Wed Dec 02 13:42:39 2026 +0100"
      },
      "message": "inet: release newly acquired port on inet_csk_listen_start() hash error\n\nWhen inet_csk_listen_start() is called on a socket that has not been\nexplicitly bound, sk-\u003esk_prot-\u003eget_port() allocates an ephemeral port\nand links the socket into bhash and bhash2 without setting\nSOCK_BINDPORT_LOCK. If sk-\u003esk_prot-\u003ehash() then fails (for example, when\na prior failed connect() left icsk-\u003eunhashed_state set to TCP_SYN_SENT\nso inet_hash() returns -EINVAL), inet_csk_listen_start() resets sk_state\nto TCP_CLOSE and returns the error without releasing the newly acquired\nport.\n\nBecause inet-\u003einet_num remains non-zero while SOCK_BINDPORT_LOCK is\nunset, a subsequent Fast Open connect on a dual-stack AF_INET6 socket\ncan update sk_v6_rcv_saddr via tcp_v4_connect() without rehashing the\nbhash2 entry. Disconnecting with AF_UNSPEC then invokes\n__inet_put_port(), which locks the new address\u0027s bhash2 bucket while\nunlinking and freeing tb2 from the original bhash2 bucket without\nholding its spinlock.\n\nRecord whether icsk-\u003eicsk_bind_hash was already populated before\nget_port(). If sk-\u003esk_prot-\u003ehash() fails on a newly bound socket, call\ninet_put_port(sk) and clear inet-\u003einet_sport before transitioning back\nto TCP_CLOSE. Explicitly bound sockets retain their port.\n\nFixes: 28044fc1d495 (\"net: Add a bhash2 table hashed by port and address\")\nCc: stable@vger.kernel.org\nSigned-off-by: Dominik Maier \u003cdmnk@google.com\u003e\nReviewed-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nReviewed-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nLink: https://patch.msgid.link/20261124180600.71138-1-dmnk@google.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "0f48b1d42710f417bfb005f776423cd740ca86b5",
      "tree": "84e0118c29bcf6a751fb1d901f84d82a698bed50",
      "parents": [
        "62c98fa70807dfdb5f75c714a879cea1ff5eed2c"
      ],
      "author": {
        "name": "Henry Martin",
        "email": "bsdhenrymartin@gmail.com",
        "time": "Wed Nov 25 10:07:17 2026 +0800"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Wed Dec 02 13:36:36 2026 +0100"
      },
      "message": "net: fix xfrm_state refcount underflow and leak in skb_ext COW\n\nskb_ext_maybe_cow() re-acquires the SEC_PATH xfrm_state references for a\ncopied extension chunk, gated on the source skb\u0027s active bit, while the\nrelease side (__skb_ext_put()) is gated on the chunk\u0027s\noffset[SEC_PATH].\n\n__skb_ext_del(SKB_EXT_SEC_PATH) on a shared chunk (refcnt \u003e 1) only\nclears the skb\u0027s active bit: the chunk keeps offset[SEC_PATH] and\nsp-\u003elen, because the remaining sharers still use them.  A later\nskb_ext_add() COWs such a chunk; the copy carries the SEC_PATH data, but\nwith the active bit clear no references are taken for it.  When the copy\nis freed, __skb_ext_put() puts sp-\u003elen references that were never\nacquired, underflowing the refcount of every xfrm_state in the sec_path.\nThe state is destroyed while still hashed in the SAD and is dereferenced\nby later packet input.  On v7.4-rc4, as an unprivileged user:\n\n    WARNING: net/xfrm/xfrm_state.c:805 at __xfrm_state_destroy\n    BUG: KASAN: slab-use-after-free in xfrm_input_state_lookup\n    ...\n    Freed by task ...:\n     xfrm_state_gc_task\n     __xfrm_state_destroy\n\nThe MCTP flow slot has the same take/put asymmetry, so fix both slots:\n\n - skb_ext_maybe_cow(): a copy of a slot that exists but is not active\n   keeps no references (sp-\u003elen \u003d 0, flow-\u003ekey \u003d NULL); they stay with\n   the old chunk.  The slot itself is kept, since skb_ext_add() must not\n   append a second slot for the same id.\n\n - skb_ext_add(): when it reuses such a slot, the chunk is not shared,\n   so release the references the slot still owns before reusing it.\n   Otherwise secpath_set() zeroes sp-\u003elen in place and leaks them; this\n   case predates the COW path.\n\nNothing passes SKB_EXT_MCTP to __skb_ext_del() today, so the MCTP half\nis not reachable yet, but nothing in the code enforces that.\n\nThis issue was discovered by Tencent CodeBuddy Security.\n\nReported-by: zeroday zhao \u003czerodayzhao@tencent.com\u003e\nFixes: 4165079ba328d (\"net: switch secpath to use skb extension infrastructure\")\nCc: stable@vger.kernel.org\nSigned-off-by: Henry Martin \u003cbsdhenrymartin@gmail.com\u003e\nLink: https://patch.msgid.link/20261125020718.261041-1-bsdhenrymartin@gmail.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "62c98fa70807dfdb5f75c714a879cea1ff5eed2c",
      "tree": "6cc82f542fd5522a52372af8ad0c800ed27b4398",
      "parents": [
        "b6c8f45ed340f00bf2004d407cf7316fe3e24c48",
        "4840da2019ad262ce30a050f7679cfbc48d5039d"
      ],
      "author": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Wed Dec 02 12:33:15 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Wed Dec 02 12:33:16 2026 +0100"
      },
      "message": "Merge tag \u0027linux-can-fixes-for-7.4-20261201\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can\n\nMarc Kleine-Budde says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\npull-request: can 2026-12-01\n\nthis is a pull request of 3 patches for net/main.\n\nAll patches target the J1939 CAN protocol.\n\nFelix Hoffmann\u0027s patch avoids address-claim timer deadlock.\n\nA patch by Piyus Kedia fixes a potential NULL pointer deref.\n\nThe last patch is by Hui Peng and fixes the return value of the\nsetsockopt() callback.\n\n* tag \u0027linux-can-fixes-for-7.4-20261201\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can:\n  can: j1939: return 0 instead of user value in j1939_sk_setsockopt_flag()\n  can: j1939: do not pass a NULL skb to the socket layer\n  can: j1939: avoid address-claim timer deadlock\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261201145025.2264811-1-mkl@pengutronix.de\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "b6c8f45ed340f00bf2004d407cf7316fe3e24c48",
      "tree": "893ad72a0bcfb4f8769d9c829f5aed266307165c",
      "parents": [
        "0d39bf81267861742b80d5f1c52e8a63e9ca0ca1"
      ],
      "author": {
        "name": "Andrey Misiurov",
        "email": "amisiurov@cloudlinux.com",
        "time": "Thu Nov 19 13:29:46 2026 +0100"
      },
      "committer": {
        "name": "Dave Miller",
        "email": "davem@davem-thinkpadp1gen8.ibmlond.csb",
        "time": "Wed Dec 02 09:55:39 2026 +0000"
      },
      "message": "pfcp: drop packets until the device is initialised\n\npfcp_newlink() creates the PFCP UDP socket (port 8805) and publishes it\n(sk_user_data \u003d pfcp, encap_rcv \u003d pfcp_encap_recv) before\nregister_netdevice() runs ndo_init, which is where pfcp-\u003edev is set. A\ndatagram that arrives in that window passes the \"pfcp !\u003d NULL\" check in\npfcp_encap_recv() and then dereferences a NULL pfcp-\u003edev:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000108\n  #PF: supervisor read access in kernel mode\n  Oops: 0000 [#1] SMP PTI\n  CPU: 0 PID: 26516 Comm: pfcp_race\n  RIP: 0010:pfcp_encap_recv+0xeb/0x1d0 [pfcp]\n  Call Trace:\n   \u003cIRQ\u003e\n   udp_queue_rcv_one_skb+0x24a/0x560\n   udp_queue_rcv_skb+0x4f/0x80\n   udp_unicast_rcv_skb+0x78/0xa0\n   __udp4_lib_rcv+0x519/0x5f0\n   udp_rcv+0x25/0x40\n   ip_protocol_deliver_rcu+0xd4/0x210\n   ip_local_deliver_finish+0x86/0x110\n   ip_local_deliver+0x65/0x110\n   ip_rcv+0x17d/0x190\n   __netif_receive_skb_one_core+0x8d/0xa0\n\nThe window is wide when register_netdevice() fails before ndo_init (e.g. an\ninvalid name): the socket stays live until pfcp_del_sock() on the error\npath. A narrower window also exists on the normal success path.\n\nDrop the packet while pfcp-\u003edev is not yet set or the device is not\nrunning.\n\nFixes: 76c8764ef36a (\"pfcp: add PFCP module\")\nSigned-off-by: Andrey Misiurov \u003camisiurov@cloudlinux.com\u003e\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\nSigned-off-by: Dave Miller \u003cdavem@davem-thinkpadp1gen8.ibmlond.csb\u003e\n"
    },
    {
      "commit": "0d39bf81267861742b80d5f1c52e8a63e9ca0ca1",
      "tree": "618acb27d2b23327cddaec55c622a123b2cae428",
      "parents": [
        "28cfc94e29f5cc1b57a5af7a06b1702419732b5b"
      ],
      "author": {
        "name": "YuanZhe Liu",
        "email": "25031212351@stu.xidian.edu.cn",
        "time": "Fri Nov 27 15:23:48 2026 +0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 22:58:10 2026 -0500"
      },
      "message": "net: ethtool: do not call get_regs() for zero-length dumps\n\nethtool_get_regs() passes the user-supplied regs.len to the driver\nunchanged, including zero.  A zero-length dump has nothing to fill in,\nbut the driver callback still runs and may use that length for its own\nI/O.  A zero-length transfer cannot move any data, and some transports\nreport a warning for it, which becomes a denial of service when\npanic_on_warn is set.\n\nReturn success without calling into the driver when the requested dump\nlength is zero.  The check comes after get_regs_len() so that drivers\nwhich cannot provide a dump still return their error to userspace:\nethtool(8) sends a zero-length request when ETHTOOL_GDRVINFO reported\nno regdump_len, which is what happens when get_regs_len() fails.\n\nThis does not remove a way to query the dump size: the uAPI tells users\nto obtain it from ETHTOOL_GDRVINFO.regdump_len, and the core only clamps\nan oversized regs.len down to get_regs_len().  Since a zero-length dump\nreturns no data, the driver also cannot fill in regs.version; callers\nthat need the version have to request the dump.\n\nThe problem was found while testing the ethtool register dump path of\nan MCS7830 adapter.\n\nCo-developed-by: Bin Yu \u003cbyu@xidian.edu.cn\u003e\nSigned-off-by: Bin Yu \u003cbyu@xidian.edu.cn\u003e\nCo-developed-by: Cheng Wen \u003cwencheng@xidian.edu.cn\u003e\nSigned-off-by: Cheng Wen \u003cwencheng@xidian.edu.cn\u003e\nSigned-off-by: YuanZhe Liu \u003c25031212351@stu.xidian.edu.cn\u003e\nReviewed-by: Andrew Lunn \u003candrew@lunn.ch\u003e\nLink: https://patch.msgid.link/20261127072348.5277-1-25031212351@stu.xidian.edu.cn\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "28cfc94e29f5cc1b57a5af7a06b1702419732b5b",
      "tree": "aef20d777fd98d7959220b833134151eb7b46b19",
      "parents": [
        "ba7511b9196fc722204d174743ba71c6b70cca36"
      ],
      "author": {
        "name": "Usama Arif",
        "email": "usama.arif@linux.dev",
        "time": "Thu Nov 26 10:25:20 2026 -0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 22:54:33 2026 -0500"
      },
      "message": "eth: bnxt: fix the agg page pool recycle ring size\n\nCommit f7dbedba6312 (\"eth: bnxt: take page size into account for page\npool recycling rings\") sized the recycle ring of the agg page pool in\npages, dividing the agg ring size by the number of agg buffers per page.\nCommit c55bf90a2112 (\"eth: bnxt: adjust the fill level of agg queues\nwith larger buffers\") changed the divisor to rx_page_size /\nBNXT_RX_PAGE_SIZE, which is wrong in two cases:\n\n- On 64K-page kernels rx_page_size can only be 32K, so the divisor is\n  1, although each 64K page holds two agg buffers. With 1024 RX\n  descriptors the agg ring posts 2048 buffers in 1024 pages, while the\n  recycle ring can cache 2048 pages, or 128 MiB per RX queue.\n\n- When a memory provider sets rx_page_size above PAGE_SIZE, each buffer\n  is its own allocation and the fill level is already divided by\n  rx_page_size / BNXT_RX_PAGE_SIZE. Dividing again gives a 4K kernel\n  with 16K buffers a 256-entry ring for 1024 posted buffers.\n\nDivide the fill level by the number of buffers per allocation,\nmax(PAGE_SIZE, rx_page_size) / rx_page_size. Nothing changes for\nkernels with pages of 32K or less that use the default buffer size.\n\nOn a 64K arm64 host with a BCM57508 (32 queues, 1024 RX descriptors), a\nTCP receiver that drained its sockets every 1.5 s left about 1.8 GiB\nless memory in the agg page pools after the fix, 64 MiB per busy queue.\nThis NIC\u0027s firmware lacks the VNIC RE_FLUSH capability bnxt needs for\nthe queue API, so memory providers could not be bound. Instead, a\ntest-only patch forcing rx_page_size to 16K and 32K on one queue of a\n4K kernel showed the ring going from 256 and 64 entries to 1024 and\n512, matching the buffers posted.\n\nFixes: c55bf90a2112 (\"eth: bnxt: adjust the fill level of agg queues with larger buffers\")\nSuggested-by: Björn Töpel \u003cbjorn@kernel.org\u003e\nSigned-off-by: Usama Arif \u003cusama.arif@linux.dev\u003e\nReviewed-by: Björn Töpel \u003cbjorn@kernel.org\u003e\nReviewed-by: Michael Chan \u003cmichael.chan@broadcom.com\u003e\nLink: https://patch.msgid.link/20261126182520.3301627-1-usama.arif@linux.dev\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "ba7511b9196fc722204d174743ba71c6b70cca36",
      "tree": "cb5f7ff175057bfe59efd5751d95eb56a3e48543",
      "parents": [
        "7a3ee12c2009393da41e227e39a6c034a8a9b471"
      ],
      "author": {
        "name": "Zhiqi Zhang",
        "email": "zhiqizhangg@gmail.com",
        "time": "Wed Nov 25 10:27:55 2026 +0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 22:31:26 2026 -0500"
      },
      "message": "net/sched: dualpi2: refresh head timestamps after trimming\n\nReducing limit or memory_limit in dualpi2_change() removes packets with\nqdisc_dequeue_internal(), bypassing the timestamp refresh performed by\ndequeue_packet(). The cached c_head_ts and l_head_ts can therefore refer\nto a packet that has already been removed. A drained queue keeps a\nnonzero timestamp and reports an increasing delay; a partially trimmed\nqueue reports the delay of its old head. These stale delays are also\nused by the PI2 controller.\n\nRefresh both cached timestamps from the internal queue heads after the\ntrim loop, while still holding the qdisc tree lock. head_enqueue_time()\nreturns zero when the corresponding queue is empty.\n\nI identified the issue and reviewed the fix. OpenAI Codex assisted with\nroot-cause analysis, the fix and changelog, and automated validation.\nLocal regression checks on arm64 net-tree kernels in QEMU pass three\ncontrols and fail eight trimming checks before the fix; all 11 pass\nwith the fix. The tests use real AF_PACKET traffic in an isolated\nnetwork namespace with HFSC shaping, without fault injection.\n\nFixes: 8f9516daedd6 (\"sched: Add enqueue/dequeue of dualpi2 qdisc\")\nCc: stable@vger.kernel.org\nSigned-off-by: Zhiqi Zhang \u003czhiqizhangg@gmail.com\u003e\nLink: https://patch.msgid.link/d6273ba14831fb2e63413a0c532ccc716512de78.1795573222.git.zhiqizhangg@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "7a3ee12c2009393da41e227e39a6c034a8a9b471",
      "tree": "2fc42f5c4ef33e1659f0bbbaa38ac12c086dc706",
      "parents": [
        "3de4ad91efcdc0a406331adeedd316b7f0a83ace"
      ],
      "author": {
        "name": "Nikolay Aleksandrov",
        "email": "razor@blackwall.org",
        "time": "Thu Nov 26 19:30:34 2026 +0200"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 22:29:21 2026 -0500"
      },
      "message": "net: keep skbs that carry a socket out of gro_cells gro\n\nbpf_sk_assign at tc ingress holds a reference on a socket that isn\u0027t\nrcu freed such as an established tcp socket, until the receive path\nsteals it. ip_rcv_core keeps a prefetched socket so when the assigned\npacket is an ipip, gre or esp packet the socket stays attached after\ndecap and their rx paths pass the skb to gro_cells_receive. A socket\nthat is rcu freed carries no reference, but if NFQUEUE queues the packet\n__nf_queue takes one and switches the destructor to sock_edemux, so the\nskb owns a reference when it reaches gro_cells_receive as well. GRO merges\nskbs with the same skb-\u003esk into one flow and clears skb-\u003esk and\nskb-\u003edestructor of each merged skb without calling the destructor so\nevery merged skb leaks a socket ref.\n\nSend skbs that carry a socket to netif_rx instead as gro_cells_receive\nalready does for cloned skbs, where each skb is consumed on its own and\nno ref is lost.\n\nThis also diverts sock_wfree skbs which GRO can merge when slow_gro\nis set. They only get here via esp software GRO, e.g. from veth in\nnapi mode or netdevsim, and those lose GRO.\n\ntun with IFF_NAPI passes sock_wfree skbs to GRO without slow_gro so\ngro_cells could merge skbs from different tun queues and uncharge all of\ntheir wmem from the aggregate\u0027s socket only.\n\nskb-\u003esk shares a cache line with skb-\u003edev that is read at the start of\ngro_cells_receive so the common case adds a single cheap test.\n\nReproduced with a tcx ingress program on a veth in a receiver netns with\nan ipip tunnel which assigns an established tcp socket to ipip packets.\nThe sender sends 32 tcp segments of one flow inside ipip through a netem\nslot qdisc so they are decapsulated in one batch and merged by gro.\nThen the socket is closed and the receiver netns is deleted. The leaked\nsocket holds a ref on the netns so it is never torn down and its devices\nare never unregistered:\n\nBefore:\n  bpf_sk_assign() calls 32, sk_refcnt 32 after the burst\n  receiver netns deleted, 30s later its veth peer still exists\n\nAfter:\n  bpf_sk_assign() calls 32, sk_refcnt 1 after the burst\n  receiver netns deleted, its veth peer is gone\n\nThe problem was found during reviews of patches that add bpf_sk_assign\negress support.\n\nFixes: cf7fbe660f2d (\"bpf: Add socket assign support\")\nSigned-off-by: Nikolay Aleksandrov \u003crazor@blackwall.org\u003e\nLink: https://patch.msgid.link/20261126173034.1860377-1-razor@blackwall.org\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "3de4ad91efcdc0a406331adeedd316b7f0a83ace",
      "tree": "9415a55ce47c1d86ce547bd5e635f1ddee3b2b3e",
      "parents": [
        "0d546d385c3045e9b76a3b62e490cb8e0a755baf"
      ],
      "author": {
        "name": "Shay Drory",
        "email": "shayd@nvidia.com",
        "time": "Wed Nov 25 23:06:29 2026 +0200"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 22:15:51 2026 -0500"
      },
      "message": "net/mlx5e: TC, use the owner eswitch for encap neigh updates\n\nEncap entries are kept in the encap table of the eswitch of the flows\nthat use them, while the neigh hash entry is attached to the out_dev\nuplink. The neigh update and neigh-used paths took the eswitch from\nnetdev_priv(e-\u003eout_dev), assuming out_dev is always the uplink of the\nowner eswitch.\n\nSince MPESW peer flows were added, an encap entry of one eswitch can\nroute through the uplink of another eswitch. A neigh update on that\nuplink then:\n- takes the wrong encap_tbl_lock,\n- adds the slow path rule to the other eswitch\u0027s FDB chains, where it\n  shares a match with the origin flow\u0027s rule, while the flow later\n  removes it from its own eswitch chains. This unbalances the fs_chains\n  refcount (\"Couldn\u0027t find table\", leaked flow tables on unload) and\n  with HWS, which emulates same-match NO_APPEND rules with a single\n  pending rule, fails the origin\u0027s slow path update with -EEXIST,\n- allocates the packet reformat on the other device, which the owner\n  eswitch FDB rejects on HWS.\n\nRecord the owner eswitch uplink priv in the encap entry and use it for\nflow updates and entry release, keeping out_dev for neigh handling.\n\nFixes: 8ce81fc01b52 (\"net/mlx5e: TC, Add peer flow in mpesw mode\")\nSigned-off-by: Shay Drory \u003cshayd@nvidia.com\u003e\nReviewed-by: Jianbo Liu \u003cjianbol@nvidia.com\u003e\nSigned-off-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nLink: https://patch.msgid.link/20261125210629.239095-1-tariqt@nvidia.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "0d546d385c3045e9b76a3b62e490cb8e0a755baf",
      "tree": "5e48ae1960a6520d27c9ffaa55e89ace83b0a4f5",
      "parents": [
        "66d78ce6c23ac1e0138aaeaf8796cef233496060"
      ],
      "author": {
        "name": "Magnus Karlsson",
        "email": "magnus.karlsson@intel.com",
        "time": "Tue Nov 24 14:48:08 2026 +0100"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 22:08:47 2026 -0500"
      },
      "message": "xsk: parse Tx batches in packet units for all shared-UMEM pools\n\nZero-copy drivers that use xsk_tx_peek_release_desc_batch() are meant to\nreceive only complete packets of at most xdp_zc_max_segs descriptors.\nSingle-socket pools and shared-UMEM pools with XDP_UMEM_SG_FLAG get this\nfrom xskq_cons_read_desc_batch(), which also drains invalid and\noversized packets. Shared-UMEM pools without XDP_UMEM_SG_FLAG still use\nxsk_tx_peek_release_fallback(), which peeks one descriptor at a time,\non the assumption that such pools never carry multi-buffer packets.\n\nThat assumption does not hold. Descriptor validation accepts\nXDP_PKT_CONTD whether or not the UMEM has XDP_UMEM_SG_FLAG, so\ndescriptors from such a pool can form multi-buffer packets, as they\nalready do on a single-socket pool. The fallback then hands the driver\na batch that can end in the middle of a packet, packets longer than\nxdp_zc_max_segs, and, as xsk_tx_peek_desc() moves on to another socket\nwhen the per-socket budget runs out, descriptors of another socket in\nthe middle of a packet. On ice, a packet with more than eight data\ndescriptors triggers a malicious driver detection event.\n\nUse xsk_tx_peek_release_shared_desc_batch() for all shared-UMEM pools,\nso that they are parsed like a single non-SG socket, and remove the now\nunused fallback.\n\nImplemented a test for this in xskxceiver that opens two sockets in\nshared_umem mode and from one socket sends a packet with too many\nfragments in between two single-fragment packets. Without this patch,\nthe NIC resets, but with it the two single-fragment packets are\nreceived and the test passes.\n\nFixes: d5581966040f (\"xsk: support ZC Tx multi-buffer in batch API\")\nSigned-off-by: Magnus Karlsson \u003cmagnus.karlsson@intel.com\u003e\nAcked-by: Maciej Fijalkowski \u003cmaciej.fijalkowski@intel.com\u003e\nLink: https://patch.msgid.link/20261124134808.1103307-1-magnus.karlsson@intel.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "66d78ce6c23ac1e0138aaeaf8796cef233496060",
      "tree": "e6254d8d58464111bc53b7c1008ee14ca1757aca",
      "parents": [
        "0f8829325889c7d2a600f2fcc8b4b89085139eec",
        "aa98cde56c483490cfd9c920b846a6af6c36cf7b"
      ],
      "author": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:40:54 2026 -0500"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:40:56 2026 -0500"
      },
      "message": "Merge branch \u0027genetlink-reject-joining-multicast-groups-no-family-owns\u0027\n\nAnil Kaushik says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\ngenetlink: Reject joining multicast groups no family owns\n\ngenl_bind() lets any user join a multicast group ID that no family owns.\nA family registered later can get that ID, and the socket stays a member\nwithout a capability check. Patch 1 makes genl_bind() return -ENOENT for\nsuch an ID. Patch 2 adds a selftest for it.\n\nv9: https://lore.kernel.org/netdev/20261125144514.2717012-1-anilkaushikwireless@gmail.com/\nv8: https://lore.kernel.org/netdev/20261123155503.2497063-1-anilkaushikwireless@gmail.com/\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261127032246.2886407-1-anilkaushikwireless@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "aa98cde56c483490cfd9c920b846a6af6c36cf7b",
      "tree": "e6254d8d58464111bc53b7c1008ee14ca1757aca",
      "parents": [
        "6671b690dd5ed47ccc88ef2400e6d2de1e9dc5a2"
      ],
      "author": {
        "name": "Anil Kaushik",
        "email": "anilkaushikwireless@gmail.com",
        "time": "Fri Nov 27 03:22:46 2026 +0000"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:40:52 2026 -0500"
      },
      "message": "selftests: net: test joining genetlink groups no family owns\n\nCheck that a Generic Netlink group ID no family owns cannot be joined:\n\n- setsockopt(NETLINK_ADD_MEMBERSHIP) on a free ID fails with ENOENT,\n  and still works on an owned group.\n- bind() with a mask of free IDs succeeds and joins nothing. With an\n  owned group in the mask, it joins only that group.\n- A socket bound to the free IDs is not a member of the NET_DM groups\n  after drop_monitor is loaded. The test unloads drop_monitor again\n  after it loaded it. Skipped when NET_DM is already registered or\n  drop_monitor is not available.\n\nThe free IDs are found with a family dump, which only lists the families\nof the current network namespace, so these checks are skipped outside\nthe initial one. It is found with its fixed nsfs inode number, which\nalso works in a container with its own PID namespace. Kernels before\nv6.17 do not have that number, so the checks are skipped there too.\n\nSuggested-by: Nicolas Dichtel \u003cnicolas.dichtel@6wind.com\u003e\nSigned-off-by: Anil Kaushik \u003canilkaushikwireless@gmail.com\u003e\nReviewed-by: Nicolas Dichtel \u003cnicolas.dichtel@6wind.com\u003e\nLink: https://patch.msgid.link/20261127032246.2886407-3-anilkaushikwireless@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "6671b690dd5ed47ccc88ef2400e6d2de1e9dc5a2",
      "tree": "02c187522ee707c2d60750c5cfd255a800833991",
      "parents": [
        "0f8829325889c7d2a600f2fcc8b4b89085139eec"
      ],
      "author": {
        "name": "Anil Kaushik",
        "email": "anilkaushikwireless@gmail.com",
        "time": "Fri Nov 27 03:22:45 2026 +0000"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:40:52 2026 -0500"
      },
      "message": "genetlink: Reject joining multicast groups no family owns\n\ngenl_bind() checks the GENL_MCAST_CAP_* flags of a group only when a\nfamily owns it. For a group ID that no family owns, it returns 0, so any\nuser can join it.\n\nA family registered later can get that ID, and the socket stays a member:\nnothing checks it again. An unprivileged user can join the free IDs, load\na family module with CTRL_CMD_GETFAMILY, which calls request_module(),\nand then receive the notifications of a group with\nGENL_MCAST_CAP_NET_ADMIN or GENL_MCAST_CAP_SYS_ADMIN. For example the\ndrop_monitor \"events\" group always gets ID 1, and is free until the\ndrop_monitor module is loaded.\n\nFix by returning -ENOENT from genl_bind() when no family owns the group.\nThere are no group flags to check before the family registers, so this\napplies to privileged callers too: a program that joins a fixed ID such\nas NET_DM_GRP_ALERT before the family is loaded no longer gets its\nmessages. I don\u0027t know of a program that does this. One that resolves\nthe family first still joins. Say so in the comments on the static\nIDs.\n\nbind() takes a mask of groups, and most IDs in it can have no owner. Such\na mask used to work, so keep it working: netlink_bind() skips an ID when\nthe bind callback returns -ENOENT, and joins the others. Only genl_bind()\nreturns -ENOENT. A skipped ID is not joined, so it is no longer in the\ngroups that getsockname() and NETLINK_LIST_MEMBERSHIPS report.\nsetsockopt() returns the error, as it asks for one group.\n\nThis does not cover a family that is unregistered between the check and\nthe point where the membership bit is set. Hitting it needs a\nprivileged module unload at the same time, and the capability check\nalready has the same window.\n\nFound by the Sashiko review of the gtp multicast group fix. Tested as an\nunprivileged user who joins all free IDs, then loads gtp and\ndrop_monitor:\n\nBefore:\n  joins: ok\u003d62 EPERM\u003d2\n  gtp/gtp (ID 15): member\n  NET_DM/events (ID 1): member\n\nAfter:\n  joins: ok\u003d19 ENOENT\u003d43 EPERM\u003d2\n  gtp/gtp (ID 15): not member\n  NET_DM/events (ID 1): not member\n  bind(), an owned group and free IDs: ok, member of the owned group only\n\ngenl_bind() was added, with its first capability check, in the commit\nin the Fixes tag.\n\nLink: https://lore.kernel.org/netdev/179324692107.3134.14443689892607921337@kernel.org/\nFixes: 4d54cc32112d (\"mptcp: avoid lock_fast usage in accept path\")\nSigned-off-by: Anil Kaushik \u003canilkaushikwireless@gmail.com\u003e\nReviewed-by: Nicolas Dichtel \u003cnicolas.dichtel@6wind.com\u003e\nLink: https://patch.msgid.link/20261127032246.2886407-2-anilkaushikwireless@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "0f8829325889c7d2a600f2fcc8b4b89085139eec",
      "tree": "9e18145f8e8eb5b3edb410cde6c7a2e6bd8e97d2",
      "parents": [
        "250b42eb17b7986e9a2cf7f1de6142aced72b64f"
      ],
      "author": {
        "name": "Amir Tzin",
        "email": "amirtz@nvidia.com",
        "time": "Thu Nov 26 23:08:49 2026 +0200"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:39:03 2026 -0500"
      },
      "message": "net/mlx5: Fix left shift overflow calculating sf_bar_length\n\nIf the log_min_sf_size firmware capability is \u003e\u003d 20, the calculation of\nsf_bar_length overflows [1]. Use BIT_ULL which cast the calculation to\nunsigned long long.\n\n[1]\n[] ------------[ cut here ]------------\n[] UBSAN: shift-out-of-bounds in\n   drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:346:27\n[] shift exponent 34 is too large for 32-bit type \u0027int\u0027\n[] Tainted: [O]\u003dOOT_MODULE, [E]\u003dUNSIGNED_MODULE\n[] Hardware name: Nvidia BlueField-4/BlueField-4, BIOS 26.07.3 20260708\n[] Workqueue: events work_for_cpu_fn\n[] Call trace:\n[] show_stack+0x24/0x50 (C)\n[]  dump_stack_lvl+0x80/0x140\n[]  dump_stack+0x1c/0x38\n[]  __ubsan_handle_shift_out_of_bounds+0x154/0x260\n[]  mlx5_sf_dev_table_create+0x4e0/0x4f0 [mlx5_core]\n[]  mlx5_load+0x108/0x3e0 [mlx5_core]\n[]  mlx5_init_one_devl_locked+0x3d0/0x820 [mlx5_core]\n[]  probe_one+0x444/0x618 [mlx5_core]\n[]  local_pci_probe+0x4c/0xe0\n[]  work_for_cpu_fn+0x28/0x58\n[]  process_one_work+0x178/0x430\n[]  worker_thread+0x310/0x430\n[]  kthread+0x114/0x130\n[]  ret_from_fork+0x10/0x20\n[] ---[ end trace ]---\n\nFixes: 90d010b8634b (\"net/mlx5: SF, Add auxiliary device support\")\nSigned-off-by: Amir Tzin \u003camirtz@nvidia.com\u003e\nReviewed-by: Shay Drori \u003cshayd@nvidia.com\u003e\nSigned-off-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nLink: https://patch.msgid.link/20261126210849.766754-1-tariqt@nvidia.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "250b42eb17b7986e9a2cf7f1de6142aced72b64f",
      "tree": "9c118f58d0ab277b25d141506fbc6062e9ece944",
      "parents": [
        "b0d3ff0f5a22f6cbe8816815809b2ac6ceac00a1"
      ],
      "author": {
        "name": "Elkin Cruz",
        "email": "elkin@google.com",
        "time": "Wed Nov 25 22:16:27 2026 +0000"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:29:52 2026 -0500"
      },
      "message": "phonet: fix use-after-free in can_respond()\n\nIn can_respond(), ph is cached before pskb_may_pull(skb, 5). When\nph-\u003epn_res \u003d\u003d PN_PREFIX and pskb_may_pull() reallocates skb-\u003ehead,\nthe check `if (ph-\u003epn_res \u003d\u003d PN_COMMGR)` dereferences the dangling ph\npointer before the code re-acquires ph \u003d pn_hdr(skb).\n\nCheck for PN_COMMGR before calling pskb_may_pull() to avoid accessing\nthe potentially invalidated header pointer.\n\nThis issue was found while trying out new Clang static analysis checks for\nkernel bug classes. The finding was triaged and fixed, and this commit\ndescription was drafted with the help of AI, then verified by code\ninspection and compile-tested against linux-next (not reproduced and not\nruntime-tested on hardware).\n\nFixes: c3a90c788b74 (\"Phonet: do not reply to indication reset packets\")\nCc: stable@vger.kernel.org\nSigned-off-by: Elkin Cruz \u003celkin@google.com\u003e\nAcked-by: Rémi Denis-Courmont \u003ccourmisch@gmail.com\u003e\nLink: https://patch.msgid.link/20261125221627.1419412-1-elkin@google.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "b0d3ff0f5a22f6cbe8816815809b2ac6ceac00a1",
      "tree": "7674af01dca703e69733480139b3abaabc672111",
      "parents": [
        "1ad5ef488d42320cdec2cdaeef1ea4741c3207d6"
      ],
      "author": {
        "name": "Jiayi Zhang",
        "email": "zhangjiayi1014@gmail.com",
        "time": "Thu Nov 26 09:03:06 2026 +0000"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:28:26 2026 -0500"
      },
      "message": "tap: do not take consumer_lock in tap_sock_destruct()\n\nsyzbot reported an inconsistent lock state for the consumer_lock of the\nptr_ring of a tap queue:\n\n  WARNING: inconsistent lock state\n  inconsistent {IN-SOFTIRQ-W} -\u003e {SOFTIRQ-ON-W} usage.\n  (\u0026r-\u003econsumer_lock#4){+.?.}-{3:3}, at: tap_sock_destruct+0x13b/0x330\n  {IN-SOFTIRQ-W} state was registered at:\n    ptr_ring_consume include/linux/ptr_ring.h:363 [inline]\n    ptr_ring_cleanup include/linux/ptr_ring.h:700 [inline]\n    tap_sock_destruct+0x13b/0x330 drivers/net/tap.c:444\n    __sk_destruct+0x85/0xb70 net/core/sock.c:2386\n    sock_wfree+0x254/0x7f0 net/core/sock.c:2754\n    [...]\n    llc_rcv+0x4d5/0xa70 net/llc/llc_input.c:112\n  Call Trace:\n    tap_sock_destruct+0x13b/0x330 drivers/net/tap.c:444\n    __sk_destruct+0x85/0xb70 net/core/sock.c:2386\n    tap_put_queue drivers/net/tap.c:179 [inline]\n    tap_release+0x2fc/0x450 drivers/net/tap.c:517\n\ntap_sock_destruct() drains the ring with ptr_ring_cleanup(), which takes\nconsumer_lock with spin_lock(). The destructor runs in process context\nwhen tap_release() drops the last reference. It also runs in softirq\ncontext: skbs sent through the tap file are charged to the socket by\nsock_alloc_send_pskb(), so if some of them are still in flight when the\nfile is closed, the socket is destroyed from sock_wfree() when the last\none is freed, here by llc_rcv().\n\nAll other users of the lock run in process context: tap_do_read(),\ntap_poll(), tap_peek_len() and vhost-net\u0027s vhost_net_buf_produce() take\nit with spin_lock(), tap_queue_resize() with spin_lock_bh().\n\nThis cannot deadlock: a ring that is being destroyed has no other user,\nand lockdep complains because all tap rings share one lock class. When\nthe destructor runs, the file and the device have dropped their\nreferences and the queue was unlinked from the device under RTNL.\ntap_handle_frame() can no longer reach it either: tap_put_queue() waits\nfor an RCU grace period, and the dellink paths unregister the rx handler\nbefore tap_del_queues().\n\nSo the destructor does not need the lock. Drain the ring with\n__ptr_ring_consume() and let ptr_ring_cleanup() only free the array.\nMaking every user of the lock BH-safe instead would add work to the read\npath of tap and of vhost-net for a ring that nobody else can access.\n\nTested with lockdep and KASAN, using the syzbot config. The syzbot\nreproducer no longer triggers the report. I also wrote a test that\ncloses a macvtap queue while frames are still unread in its ring and\nwhile frames it sent are held back by netem, so that the destructor\nruns in softirq. It triggers the same report on an unpatched kernel and\nruns clean with this patch. The tap selftest passes, and so does\ntools/virtio/vhost_net_test changed to use a macvtap queue as backend.\n\nFixes: 362899b8725b (\"macvtap: switch to use skb array\")\nReported-by: syzbot+a2220efe757ca2a7358d@syzkaller.appspotmail.com\nCloses: https://syzkaller.appspot.com/bug?extid\u003da2220efe757ca2a7358d\nSigned-off-by: Jiayi Zhang \u003czhangjiayi1014@gmail.com\u003e\nReviewed-by: Shuai Liu \u003c847807867@qq.com\u003e\nTested-by: Shuai Liu \u003c847807867@qq.com\u003e\nLink: https://patch.msgid.link/20261126090306.3416278-1-zhangjiayi1014@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "1ad5ef488d42320cdec2cdaeef1ea4741c3207d6",
      "tree": "d8d733787b2c11a5dc087f0598d15f3ff536a946",
      "parents": [
        "04ca6fe63d63bafec1e97c187c108f2ddf2328ce"
      ],
      "author": {
        "name": "Andrew Stellman",
        "email": "astellman@stellman-greene.com",
        "time": "Wed Nov 25 10:54:11 2026 -0500"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:26:45 2026 -0500"
      },
      "message": "tipc: free the tunnel packets when failover tunnelling stops early\n\ntipc_link_tnl_prepare() returns from the middle of its tunnelling loop\nwhen a packet does not fit the tunnel link MTU and the peer lacks\nTIPC_TUNNEL_ENHANCED, when fragmenting such a packet fails, and when a\ntunnel packet cannot be allocated. The tunnel packets already built on\nthe local tnlq are leaked, and for FAILOVER_MSG the receive side\nhand-over at the end of the function (drop_point, failover_reasm_skb,\ndeferdq) is skipped.\n\nPurge tnlq on these paths and go on with the hand-over. The earlier\nreturn taken when the dummy tunnel packet can\u0027t be allocated leaks\nnothing but skips the same hand-over, so take the same exit there.\n\nReproduced on net (af6737b90668) under QEMU with kmemleak, with two\nguests joined by two TIPC eth links: MTU 9000 (active) and MTU 1500\n(standby). The receiving guest runs the same kernel with\nTIPC_TUNNEL_ENHANCED removed from TIPC_NODE_CAPABILITIES, to stand in\nfor a peer whose kernel predates that capability; the sending guest\u0027s\nkernel is unmodified. The sender blocks the MTU 9000 link in both\ndirections with tc, sends three 100 byte messages and one 4000 byte\nmessage, and waits for the link to fail. Without this patch that logs\n\n  tipc: Link tunneling error, too large msg \u003c0, 2\u003e: 4040!\n\nIn four runs without this patch, kmemleak reported three skbs (six\nobjects) allocated by tipc_link_tnl_prepare() in two, five leaks whose\ndetails were not captured in one, and nothing in one. From one of the\ntwo, run on a rebuild of the same commit with debug info enabled,\ndecoded and trimmed:\n\n  unreferenced object 0xff11000005117b80 (size 472):\n    backtrace (crc 539599dc):\n      __alloc_skb (net/core/skbuff.c:705 (discriminator 2))\n      tipc_buf_acquire (include/linux/skbuff.h:1441 net/tipc/msg.c:72)\n      tipc_link_tnl_prepare (net/tipc/link.c:2055)\n      __tipc_node_link_down (net/tipc/node.c:1053)\n      tipc_rcv (net/tipc/node.c:2008 net/tipc/node.c:2186)\n      tipc_l2_rcv_msg (net/tipc/bearer.c:721 (discriminator 1))\n\nIn one run with this patch the same test logs the warning and kmemleak\nreports nothing. With a 1000 byte message instead of the 4000 byte one,\nall four messages reach the receiver over the tunnel with and without\nthis patch. The allocation failure paths and the skipped hand-over were\nfound by reading the code and were not exercised. Apart from the\nreceiver\u0027s capability change, no kernel changes, fault injection, debug\ncode or delays were used. There are no TIPC selftests to run.\n\nFixes: 2320bcdae628 (\"tipc: fix changeover issues due to large packet\")\nSigned-off-by: Andrew Stellman \u003castellman@stellman-greene.com\u003e\nReviewed-by: Tung Nguyen \u003ctung.quang.nguyen@est.tech\u003e\nLink: https://patch.msgid.link/20261125155411.66090-1-astellman@stellman-greene.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "04ca6fe63d63bafec1e97c187c108f2ddf2328ce",
      "tree": "492f8e078fcab94db13675aeeeead394a8eb3eb4",
      "parents": [
        "5e16fbd6c96b58d0684cf4f08c309cd114b66283"
      ],
      "author": {
        "name": "Kyuwon Cho",
        "email": "kyuwoncho18@gmail.com",
        "time": "Thu Nov 26 01:37:04 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:26:18 2026 -0500"
      },
      "message": "vlan: drop the promisc/allmulti references on the real device on delete\n\nSince commit 27b918007d96 (\"net: vlan: don\u0027t propagate flags on open\"),\nvlan_dev_change_rx_flags() passes IFF_PROMISC and IFF_ALLMULTI changes\non to the real device whether or not the VLAN device is up, and\nvlan_dev_open()/vlan_dev_stop() no longer take or drop those references.\nNothing drops them when the VLAN device is deleted, so the real device\nstays promiscuous or allmulti for good:\n\n  ip link add link veth0 name vlan10 type vlan id 10\n  ip link set vlan10 promisc on\n  ip link del vlan10\n  ip -d link show veth0    # promiscuity 1\n\nDrop them in vlan_dev_uninit(). The device flags are still set there,\nand no instance lock is held, so this does not bring back the recursive\nlocking that the commit above removed.\n\nAfter that, stop passing flag changes on to the real device. When a\nVLAN and a VLAN stacked on it are deleted in one batch\n(\"ip link del group N\"), the upper VLAN\u0027s vlan_dev_uninit() can run\nafter the lower one\u0027s and clear its IFF_PROMISC or IFF_ALLMULTI, which\nwould drop the real device\u0027s reference a second time.\n\nFixes: 27b918007d96 (\"net: vlan: don\u0027t propagate flags on open\")\nSigned-off-by: Kyuwon Cho \u003ckyuwoncho18@gmail.com\u003e\nReviewed-by: Hangbin Liu \u003cliuhangbin@kylinos.cn\u003e\nLink: https://patch.msgid.link/179562437889.3453587.11037378125876087336@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "5e16fbd6c96b58d0684cf4f08c309cd114b66283",
      "tree": "211bba1fa3f21a6dc1935793687e65b459ad2fe6",
      "parents": [
        "096aa013a2755741b9d888bb15a2c393d5010096"
      ],
      "author": {
        "name": "Kyuwon Cho",
        "email": "kyuwoncho18@gmail.com",
        "time": "Wed Nov 25 23:52:58 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:23:00 2026 -0500"
      },
      "message": "ipv6: skip walkers of other tables when a route leaves the tree\n\nfib6_walkers_replace_leaf() runs under the tb6_lock of the route\u0027s\ntable but checks every walker of the netns, including walkers of other\ntables, which run under their own table\u0027s lock. Such a walker can be\nanywhere in its walk: fib6_walk_continue() sets w-\u003estate to FWS_C\nbefore it sets w-\u003eleaf, and the walker of fib6_clean_tree() starts with\nan uninitialized w-\u003eleaf on the stack. A route delete in one table\nwhile a link change cleans another one compares that value:\n\n  BUG: KMSAN: uninit-value in fib6_del (net/ipv6/ip6_fib.c:103)\n   fib6_del (net/ipv6/ip6_fib.c:103 ip6_fib.c:123 ip6_fib.c:2056)\n   __ip6_del_rt_siblings (net/ipv6/route.c:4086)\n   ip6_route_del (net/ipv6/route.c:4235)\n   inet6_rtm_delroute (net/ipv6/route.c:5686)\n   rtnetlink_rcv_msg (net/core/rtnetlink.c:7169)\n  Local variable c.i created at:\n   __fib6_clean_all (net/ipv6/ip6_fib.c:2315 net/ipv6/ip6_fib.c:2344)\n   fib6_clean_all (net/ipv6/ip6_fib.c:2355)\n\nA walker of another table never rests on a route of this table, so\nskip it.\n\nFixes: c71099acce93 (\"[IPV6]: Multiple Routing Tables\")\nSigned-off-by: Kyuwon Cho \u003ckyuwoncho18@gmail.com\u003e\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nLink: https://patch.msgid.link/179561512100.3216623.16734853197511150282@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "096aa013a2755741b9d888bb15a2c393d5010096",
      "tree": "511cac5eb24cc728ec87e96b6b3e3dc03df1ad03",
      "parents": [
        "adaec0098d5d81c36e8d85c0b7ccc9298e70741c"
      ],
      "author": {
        "name": "Ivan Vecera",
        "email": "ivecera@redhat.com",
        "time": "Wed Nov 25 16:42:45 2026 +0100"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:20:19 2026 -0500"
      },
      "message": "dpll: zl3073x: do not block DPLL callbacks while PTP ops wait\n\nThe PTP clock operations hold the channel lock while they wait for the\ndevice: up to 1 s for a pending ToD write to be applied on the next\n1 Hz edge, up to 1 s for a previous TIE write and up to 3 s for a\nprevious output phase step. The DPLL callbacks and the periodic state\ncheck of the channel take the same lock, so they wait as well. The DPLL\ncallbacks wait under the global dpll_lock, which stalls the requests\nfor all DPLL devices in the system.\n\nOn a GNR-D system with a ZL30732, device-get requests for both DPLL\nchannels and for a DPLL device of ice took 950 ms in median while\nsettime() ran in a loop on the PTP clock of channel 0, and 2955 ms\nwhile adjtime() did output phase steps in NCO mode. With this change\nthey take 2 ms in both cases.\n\nOnly the PTP clock operations use the ToD, TIE and phase step\nregisters. They need the channel lock only for the channel mode and\nthe list of output pins.\n\nSerialize the PTP clock operations with a new per-channel ptp_lock and\ntake the channel lock only to read the mode and the output pins and to\nissue a TIE write or the first phase step of an adjustment, which also\nsteps the ToD. Wait for the previous TIE write or phase step before\ntaking the channel lock, with tie_lock or phase_step_lock held, and\ncheck the mode again under it, so they are issued only in a mode that\nsupports them. The phase steps for the other synthesizers move only\nthe outputs and are issued in any mode, so all outputs get the same\nstep even if the channel leaves NCO mode meanwhile. The lock order is\nptp_lock, then tie_lock or phase_step_lock, then the channel lock.\n\nFixes: 1db73ce01856 (\"dpll: zl3073x: add PTP clock support\")\nSigned-off-by: Ivan Vecera \u003civecera@redhat.com\u003e\nReviewed-by: Petr Oros \u003cporos@redhat.com\u003e\nLink: https://patch.msgid.link/20261125154245.205758-1-ivecera@redhat.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "adaec0098d5d81c36e8d85c0b7ccc9298e70741c",
      "tree": "ce7d705de9ee92b56e4308fac7b4e1530c5a0f82",
      "parents": [
        "1bff9e356e997676a19d3fe439a36b8c5d7668c7"
      ],
      "author": {
        "name": "Ivan Vecera",
        "email": "ivecera@redhat.com",
        "time": "Wed Nov 25 18:02:34 2026 +0100"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:19:08 2026 -0500"
      },
      "message": "dpll: send the device delete notification on the last unregistration\n\nA DPLL device can be registered more than once. mlx5 does this when\nseveral functions of one NIC share a device. dpll_device_register()\nsends the create notification only on the first registration, but\ndpll_device_unregister() sends the delete notification on every\nunregistration. Removing one function then tells userspace that the\ndevice is gone while it is still registered and still listed by\ndevice-get.\n\nSend the delete notification only when the last registration goes\naway. Send it before that registration is removed, so the message can\nstill be filled.\n\nFixes: 9d71b54b65b1 (\"dpll: netlink: Add DPLL framework base functions\")\nSigned-off-by: Ivan Vecera \u003civecera@redhat.com\u003e\nReviewed-by: Petr Oros \u003cporos@redhat.com\u003e\nLink: https://patch.msgid.link/20261125170234.294969-1-ivecera@redhat.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "1bff9e356e997676a19d3fe439a36b8c5d7668c7",
      "tree": "9dd2b2ffe66964abd089ece733113cc57100d4e0",
      "parents": [
        "b978a3a745a650488570a957256f9c1d06621bf7"
      ],
      "author": {
        "name": "Kyuwon Cho",
        "email": "kyuwoncho18@gmail.com",
        "time": "Thu Nov 26 11:07:42 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:10:01 2026 -0500"
      },
      "message": "xsk: keep the charged page count when pinning a umem fails\n\nxdp_umem_reg() charges umem-\u003enpgs pages to the user\u0027s locked_vm before\nit pins the umem. When pin_user_pages() pins fewer pages than asked,\nxdp_umem_pin_pages() overwrites umem-\u003enpgs with the pinned count so that\nxdp_umem_unpin_pages() releases only those, and xdp_umem_unaccount_pages()\nthen gives back only that many. The rest of the charge is never returned.\n\nA short pin happens when the tail of the umem area is not mapped. With\nRLIMIT_MEMLOCK at 16 pages, three registrations of an 8-page area whose\nlast 4 pages are unmapped leave the user able to register only 4 pages,\nfor as long as the user has a process running.\n\nUnpin the pinned pages directly and leave umem-\u003enpgs as charged.\n\nFixes: c0c77d8fb787 (\"xsk: add user memory registration support sockopt\")\nReported-by: Sashiko \u003csashiko-bot@kernel.org\u003e\nCloses: https://lore.kernel.org/all/20260421172951.A7052C2BCB5@smtp.kernel.org/\nSigned-off-by: Kyuwon Cho \u003ckyuwoncho18@gmail.com\u003e\nReviewed-by: Björn Töpel \u003cbjorn@kernel.org\u003e\nAcked-by: Maciej Fijalkowski \u003cmaciej.fijalkowski@intel.com\u003e\nReviewed-by: Jason Xing \u003ckerneljasonxing@gmail.com\u003e\nLink: https://patch.msgid.link/179562059260.3381969.13546710565371160648@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "b978a3a745a650488570a957256f9c1d06621bf7",
      "tree": "cdfc5bac393e9e58cb1bff8d4c8820475213122b",
      "parents": [
        "a0c304e6db0f8e54831369725c305808e385e91e"
      ],
      "author": {
        "name": "Kyuwon Cho",
        "email": "kyuwoncho18@gmail.com",
        "time": "Wed Nov 25 11:05:02 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:08:55 2026 -0500"
      },
      "message": "tipc: initialize the whole connect retry delay\n\nWhen a connecting socket gets TIPC_ERR_OVERLOAD and still has its SYN,\ntipc_sk_filter_connect() schedules a retry after a random delay:\n\n\tget_random_bytes(\u0026delay, 2);\n\t...\n\tdelay %\u003d (tsk-\u003econn_timeout / 4);\n\ndelay is an unsigned long, so only two of its bytes are random and the\nrest are whatever was on the stack:\n\n  BUG: KMSAN: uninit-value in tipc_sk_filter_rcv (net/tipc/socket.c:2244)\n   tipc_sk_filter_rcv (net/tipc/socket.c:2244 net/tipc/socket.c:2379)\n   tipc_sk_backlog_rcv (net/tipc/socket.c:2422)\n   __release_sock (net/core/sock.c:3344)\n   release_sock (net/core/sock.c:3941)\n   tipc_wait_for_connect (net/tipc/socket.c:2559)\n   tipc_connect (net/tipc/socket.c:2658)\n   __sys_connect (net/socket.c:2185)\n  Local variable delay.i created at:\n   tipc_sk_filter_rcv (net/tipc/socket.c:2207 net/tipc/socket.c:2379)\n\nUse get_random_u16(), which gives the same range.\n\nFixes: 6787927475e5 (\"tipc: buffer overflow handling in listener socket\")\nSigned-off-by: Kyuwon Cho \u003ckyuwoncho18@gmail.com\u003e\nReviewed-by: Tung Nguyen \u003ctung.quang.nguyen@est.tech\u003e\nLink: https://patch.msgid.link/179553307367.1670514.861086873017775410@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "a0c304e6db0f8e54831369725c305808e385e91e",
      "tree": "7e5926caeb0aaeebfa58e1b310682bf7ddf200c3",
      "parents": [
        "ce0791c3406eebf7e969c635da3b2feb30c302b5"
      ],
      "author": {
        "name": "Kyuwon Cho",
        "email": "kyuwoncho18@gmail.com",
        "time": "Wed Nov 25 22:49:00 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:07:10 2026 -0500"
      },
      "message": "sctp: keep the port of a bound socket when adding an address fails\n\nSince commit 29b99f54a8e6 (\"sctp: destroy bucket if failed to bind\naddr\"), sctp_do_bind() releases the port when sctp_add_bind_addr()\nfails. sctp_bindx_add() also calls it for each extra address of a\nsocket that is already bound, and possibly listening. There\nsctp_get_port_local() takes no new reference, but the failure path\nstill calls sctp_put_port(), which unhashes the port and clears\nbind_hash and inet_num while the socket keeps its other addresses and\nstays listening. listen(0) then writes through the NULL bind_hash, and\naccept() of a pending association oopses in sctp_clone_sock():\n\n  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n  RIP: 0010:sctp_inet_listen (net/sctp/socket.c:8723)\n  Call Trace:\n   __sys_listen (net/socket.c:2016)\n   __x64_sys_listen (net/socket.c:2021)\n   do_syscall_64 (arch/x86/entry/syscall_64.c:61)\n\nRelease the port only when this call took it, that is, when the socket\nhad no bind_hash before.\n\nFixes: 29b99f54a8e6 (\"sctp: destroy bucket if failed to bind addr\")\nSigned-off-by: Kyuwon Cho \u003ckyuwoncho18@gmail.com\u003e\nAcked-by: Xin Long \u003clucien.xin@gmail.com\u003e\nLink: https://patch.msgid.link/179560159232.2963157.3418291084812904092@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "ce0791c3406eebf7e969c635da3b2feb30c302b5",
      "tree": "09c7c5b46399787461d730e33c32c068a35fe313",
      "parents": [
        "a459df8f58b768e97b3916c2fe1b448c423ed46f"
      ],
      "author": {
        "name": "Tariq Toukan",
        "email": "tariqt@nvidia.com",
        "time": "Thu Nov 26 14:23:16 2026 +0200"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:06:20 2026 -0500"
      },
      "message": "net/mlx5e: TC, Fix parse_attr leak on branch attr alloc failure\n\nalloc_branch_attr() gets the branch attribute from\nmlx5e_clone_flow_attr_for_post_act(), which also allocates its\nparse_attr. When the branch action cannot be offloaded, the error path\nfrees the attribute but not its parse_attr, leaking it.\n\nThis happens, for example, when a police action\u0027s conform and exceed\nactions are both jumps: the exceed action fails with \"Cannot offload\nflows with nested jumps\".\n\nFree the parse_attr too.\n\nFound by LLM-assisted code inspection, while reviewing a fix for a\ndouble free on the same error path.\n\nReproduced on ConnectX-6 Dx in switchdev mode, with kmemleak, by\nfailing 50 times to offload such a filter on the uplink representor:\n\n  tc filter add dev $UPLINK ingress protocol ip flower skip_sw \\\n          dst_ip 192.0.2.2 action police rate 1mbit burst 20k \\\n          conform-exceed jump 1 / jump 1 action pass action drop\n\nWithout this patch, kmemleak reported 29 unreferenced 4096-byte\nobjects, all allocated by mlx5e_clone_flow_attr_for_post_act() from\nalloc_branch_attr(). With it, kmemleak reported none.\n\nFixes: f86488cb4685 (\"net/mlx5e: TC, initialize branch flow attributes\")\nSigned-off-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nReviewed-by: Jianbo Liu \u003cjianbol@nvidia.com\u003e\nLink: https://patch.msgid.link/20261126122316.599831-1-tariqt@nvidia.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "a459df8f58b768e97b3916c2fe1b448c423ed46f",
      "tree": "d8ab139773dd68a90fc1ab26ec17c0fcfb51d3e0",
      "parents": [
        "df0b4706d77f584133b0f3801da582a1618c8e26"
      ],
      "author": {
        "name": "Kyuwon Cho",
        "email": "kyuwoncho18@gmail.com",
        "time": "Wed Nov 25 11:05:11 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 21:00:11 2026 -0500"
      },
      "message": "tipc: require a NUL-terminated media name\n\nTIPC_NLA_MEDIA_NAME is an NLA_STRING, which may lack a NUL terminator,\nbut tipc_nl_media_get() and __tipc_nl_media_set() pass it to\ntipc_media_find(), which compares it with strcmp(). A name without a\nterminator at the end of the message makes strcmp() read past the\nattribute:\n\n  BUG: KMSAN: uninit-value in strcmp (lib/string.c:267)\n   strcmp (lib/string.c:267)\n   __tipc_nl_media_set (net/tipc/bearer.c:82 net/tipc/bearer.c:1381)\n   tipc_nl_media_set (net/tipc/bearer.c:1426)\n   genl_family_rcv_msg_doit (net/netlink/genetlink.c:1114)\n   genl_rcv_msg (net/netlink/genetlink.c:1209)\n   netlink_rcv_skb (net/netlink/af_netlink.c:2585)\n  Uninit was created at:\n   __alloc_skb (net/core/skbuff.c:716)\n   netlink_alloc_large_skb (net/netlink/af_netlink.c:1202)\n   netlink_sendmsg (net/netlink/af_netlink.c:1896)\n\nMake it an NLA_NUL_STRING bounded by TIPC_MAX_MEDIA_NAME, as the link\nand bearer names already are.\n\nFixes: 46f15c6794fb (\"tipc: add media get/dump to new netlink api\")\nSigned-off-by: Kyuwon Cho \u003ckyuwoncho18@gmail.com\u003e\nReviewed-by: Tung Nguyen \u003ctung.quang.nguyen@est.tech\u003e\nLink: https://patch.msgid.link/179553307369.1670514.10258867019821056369@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "df0b4706d77f584133b0f3801da582a1618c8e26",
      "tree": "010927c01b25fdbf247de349c84427d6b82cc0bf",
      "parents": [
        "0e4c3240b03093264d501ab24c65726d29921987"
      ],
      "author": {
        "name": "Tianyi Gao",
        "email": "tianyi@cloudflare.com",
        "time": "Wed Nov 25 09:52:01 2026 +0000"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Tue Dec 01 20:56:38 2026 -0500"
      },
      "message": "ice: do not report CHECKSUM_COMPLETE when an XDP program is attached\n\nOn E830, ice reports CHECKSUM_COMPLETE with the generic checksum (GCS)\nthat the hardware computes over the received frame. If an XDP program\nchanges the packet and returns XDP_PASS, that checksum no longer\nmatches. The stack then checks the packet again in software and calls\nnetdev_rx_csum_fault().\n\nOn Cloudflare servers, an XDP load balancer removes the encapsulation\nof the packets that it accepts locally. Our production traffic hits\nnetdev_rx_csum_fault() all the time.\n\nDo not use GCS while the VSI has an XDP program, as mlx5 has done since\ncommit 5d0bb3bac4b9 (\"net/mlx5e: XDP, Avoid checksum complete when XDP\nprog is loaded\"). Set ICE_RX_FLAGS_RING_GCS in ice_vsi_cfg_rxq()\ninstead of ice_vsi_alloc_rings(). The flag then follows the program\nwhen it is attached or removed, and after a VSI rebuild. Log an info\nmessage when a program is attached on a port with GCS.\n\nE830 also sets the L3L4P and checksum error bits, so the packet gets\nCHECKSUM_UNNECESSARY or CHECKSUM_NONE, as on E810. For example, a zero\nUDP checksum over IPv6 is marked as bad and gets CHECKSUM_NONE. A zero\nUDP checksum over IPv4 gets CHECKSUM_UNNECESSARY, so the inner checksum\nis never checked, as on E810 and as on E830 before v6.15. The\ndiscussion in [3] concluded that CHECKSUM_UNNECESSARY only is the safe\noption with XDP for now, and that the decap case is a known problem.\n\nTwo pending series [1][2] give XDP access to the checksum status.\nNeither of them supports CHECKSUM_COMPLETE.\n\nTested on an E830 with an XDP program that removes 16 bytes of UDP\npayload with bpf_xdp_adjust_head() and returns XDP_PASS:\n\n- Without this patch, the changed packets got CHECKSUM_COMPLETE, and\n  the stack called netdev_rx_csum_fault() 368512 times.\n- With it, they got CHECKSUM_UNNECESSARY, and there were no calls.\n- Plain UDP got CHECKSUM_UNNECESSARY while the program was attached,\n  also after ethtool -L rebuilt the VSI, and CHECKSUM_COMPLETE again\n  after it was removed.\n\nOn an E810, which has no GCS, drivers/net/xdp.py, ping.py and\nhw/csum.py give the same results with and without this patch.\n\nLink: https://lore.kernel.org/all/20260715-bpf-xdp-meta-rxcksum-v5-0-623d5c0d0ab7@kernel.org/ [1]\nLink: https://lore.kernel.org/all/cover.1794281983.git.tianyi@cloudflare.com/ [2]\nLink: https://lore.kernel.org/all/20260721183256.6f49d6e1@kernel.org/ [3]\nFixes: 905d1a220e8d (\"ice: Add E830 checksum offload support\")\nSuggested-by: Jesse Brandeburg \u003cjbrandeb@kernel.org\u003e\nSigned-off-by: Tianyi Gao \u003ctianyi@cloudflare.com\u003e\nReviewed-by: Alexander Lobakin \u003caleksander.lobakin@intel.com\u003e\nAcked-by: Przemek Kitszel \u003cprzemyslaw.kitszel@intel.com\u003e\nReviewed-by: Alexander Duyck \u003calexanderduyck@fb.com\u003e\nAcked-by: Maciej Fijalkowski \u003cmaciej.fijalkowski@intel.com\u003e\nLink: https://patch.msgid.link/20261125095201.98279-1-tianyi@cloudflare.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "0e4c3240b03093264d501ab24c65726d29921987",
      "tree": "2c612015fc4b142df190a261123dd32d035f9bb6",
      "parents": [
        "0a0ed7e313b8f134776edd2d84e69a750c4bd63b",
        "b6148aaa5eb5b9f5471cc215f37eafb1299afe1c"
      ],
      "author": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 23:21:54 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 23:21:54 2026 +0100"
      },
      "message": "Merge tag \u0027ieee802154-for-net-2026-11-26\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/wpan/wpan\n\nStefan Schmidt says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\npull-request: ieee802154 for net 2026-11-26\n\nAn update from ieee802154 for your *net* tree:\n\nA bigger than usual round of bug fixes for ieee802154.\n\nAdi Prasan fixe a race in our async tx.\n\nAdriano Cordova is making sure a wpan device type is registered.\n\nAndrey Misiurov fixes the error propagation on netns rollback.\n\nAryan Arora ensures cancellation of in progress scans during teardown.\n\nLee Keon-Hyeong fixes up child handling and lookup.\n\nMaoyi Xie ensure proper ifindex handling for netns.\n\nPetr Vaganov ensures proper initialization of ieee802154 headers.\n\nRoman Gushchin fixes a type confusion in 6lowpan.\n\nXuanqiang Luo fixes skb reference handling in the RX queues\n\nYifan Zhang fixes beacon transmissions to use the correct interface.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261126114349.2003459-1-stefan@datenfreihafen.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "0a0ed7e313b8f134776edd2d84e69a750c4bd63b",
      "tree": "dd532074855c346d3b9cf4c378b6b8a76b27b853",
      "parents": [
        "565ba321d9ef7b00acfcab145d774458ef9bebe0",
        "77bc0f253ff9fe1656f6e0fe9e9f5d3da91faf60"
      ],
      "author": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 23:03:53 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 23:03:54 2026 +0100"
      },
      "message": "Merge tag \u0027for-net-2026-11-30\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth\n\nLuiz Augusto von Dentz says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nbluetooth pull request for net:\n\nCore:\n\n - hci_conn: Terminate a PA sync while other PA syncs are open\n - hci_conn: Fix BIG cleanup while BISes are still bound\n - hci_conn: Terminate a BIG before its periodic advertising\n - hci_event: Don\u0027t report a cancelled PA sync as failed\n - hci_event: Terminate PA sync transferred while not pending\n - hci_event: Don\u0027t keep the handle of a failed PA sync\n - hci_event: Terminate a PA sync nobody accepts\n - hci_sync: Don\u0027t make a periodic advertising set connectable\n - hci_sync: invoke destroy callbacks outside lock\n - hci_sync: Sync to an RPA broadcaster without its IRK\n - hci_sync: Write the default page timeout to the controller\n - hci_h4: Ignore the RFU bits of the ISO data load length\n - RFCOMM: Fix slab-use-after-free in rfcomm_dev_add()\n - RFCOMM: hold port reference during TTY registration\n - RFCOMM: Hold the listener across child unlink\n - RFCOMM: Close the socket before transferring its DLC\n - RFCOMM: serialize RFCOMM_CONNINFO dlc-\u003esession dereference\n - SMP: Check the key size against le_min_key_size\n\nDrivers:\n\n - hci_serdev: stop write_work before closing the port\n\n* tag \u0027for-net-2026-11-30\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth:\n  Bluetooth: RFCOMM: serialize RFCOMM_CONNINFO dlc-\u003esession dereference\n  Bluetooth: hci_conn: Terminate a BIG before its periodic advertising\n  Bluetooth: hci_conn: Fix BIG cleanup while BISes are still bound\n  Bluetooth: hci_event: Terminate a PA sync nobody accepts\n  Bluetooth: hci_event: Don\u0027t keep the handle of a failed PA sync\n  Bluetooth: hci_serdev: stop write_work before closing the port\n  Bluetooth: SMP: Check the key size against le_min_key_size\n  Bluetooth: RFCOMM: Close the socket before transferring its DLC\n  Bluetooth: RFCOMM: Hold the listener across child unlink\n  Bluetooth: RFCOMM: hold port reference during TTY registration\n  Bluetooth: RFCOMM: Fix slab-use-after-free in rfcomm_dev_add()\n  Bluetooth: hci_sync: Write the default page timeout to the controller\n  Bluetooth: hci_sync: Sync to an RPA broadcaster without its IRK\n  Bluetooth: hci_sync: invoke destroy callbacks outside lock\n  Bluetooth: hci_sync: Don\u0027t make a periodic advertising set connectable\n  Bluetooth: hci_h4: Ignore the RFU bits of the ISO data load length\n  Bluetooth: hci_event: Terminate PA sync transferred while not pending\n  Bluetooth: hci_event: Don\u0027t report a cancelled PA sync as failed\n  Bluetooth: hci_conn: Terminate a PA sync while other PA syncs are open\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261130173722.334272-1-luiz.dentz@gmail.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "565ba321d9ef7b00acfcab145d774458ef9bebe0",
      "tree": "4a25c7fb8564d41528bef970163c2ab45e370c87",
      "parents": [
        "c712df600d056cc35ef7621e43c8e12513bae886",
        "ee5c04c7d9d5cefd08ca7eb6e9bf434fecf44f92"
      ],
      "author": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 22:57:51 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 22:57:51 2026 +0100"
      },
      "message": "Merge tag \u0027nf-26-11-30\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf\n\nPablo Neira Ayuso says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nNetfilter fixes for net\n\nThe following patchset contains Netfilter fixes for net:\n\n1) Allocate all ct extensions if ct helper extension is used, this is\n   needed because ct extension reallocation is possible while expectations\n   are already sitting in the expectation list. From Jaeyeong Lee.\n\n2) Restrict xt_IDLETIMER to init_netns. This xtables extensions exposes\n   a global sysfs interface. Follow ups are possible to restore this\n   feature if someone proves to be using this extension from netns.\n   From Zhiling Zou.\n\n3) Prevent an unbound recursion in the synproxy transmit path. This is\n   similar to a recent fix to address a similar recursion in the reject\n   transmit path. Patch from Fernando F. Mancera.\n\n4) On conntrack module removal, wait for RCU quiescent state to address\n   possible use-after-free. From Chengfeng Ye.\n\n5) Updates nft_synproxy to address SYN and ACK packets only, just\n   like ip{6}t_SYNPROXY does, otherwise hook re-entering is possible.\n   From Fernando F. Mancera\n\n6) Restrict maximum number of chain of master conntracks to 8. This is\n   to address a recursion in the conntrack destroy path leading to\n   stack overflow. From Florian Westphal.\n\n7) Skip recycled unconfirmed conntracks seen from /proc/net/nf_conntrack\n   due to TYPESAFE_RCU, otherwise access to ct extension of this new\n   unconfirmed conntrack results in a crash. from Yiran Qiu.\n\n8) Detach ct template in conntrack bridge when packet is invalid,\n   otherwise ct template is exposed to follow up hooks in the pipeline.\n   From Luxiao Xu.\n\n9) In synproxy, fix incorrect handshake ACK sent to the backend carries\n   a TSecr uncovered since commit 3ba075278c11 (\"tcp: be less liberal in\n   TSEcr received while in SYN_RECV state\"). This bug has been\n   reported in production. Patch from Florian Westphal.\n\n10) Disable hook for dormant table only if transition to dormant state\n    took place in this transaction. From Ma Xinmen.\n\nnetfilter pull request 26-11-30\n\n* tag \u0027nf-26-11-30\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf:\n  netfilter: nf_tables: only disable tables on a dormant transition\n  netfilter: synproxy: fix double tsoff application in server ACK TSecr\n  netfilter: bridge: detach conntrack template on invalid IP frames\n  netfilter: conntrack: skip unconfirmed entries in /proc/net/nf_conntrack\n  netfilter: conntrack: limit master chain depth\n  netfilter: nft_synproxy: only handle pure SYN and ACK packets\n  netfilter: conntrack: wait for RCU readers before freeing the hash\n  netfilter: synproxy: prevent unbounded recursion in transmit path\n  netfilter: xt_IDLETIMER: restrict to init_net\n  netfilter: conntrack: prevent helper extension relocation\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261130215141.1009148-1-pablo@netfilter.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "c712df600d056cc35ef7621e43c8e12513bae886",
      "tree": "a3055593806314ed93e4a9065cb4b3d657353ab9",
      "parents": [
        "7903980261cb4e87fdbb8b523a06d98fc0571783"
      ],
      "author": {
        "name": "Jinjie Ruan",
        "email": "ruanjinjie@huawei.com",
        "time": "Tue Nov 24 11:09:45 2026 +0800"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 15:15:02 2026 +0100"
      },
      "message": "net: hinic: Don\u0027t fail probe when firmware lacks rx-vlan-filter\n\nnic_dev_init() calls set_features() with force_change set, so it\nunconditionally sends HINIC_PORT_CMD_SET_VLAN_FILTER because\nNETIF_F_HW_VLAN_CTAG_FILTER is advertised.  Firmware that predates\nrx-vlan-filter support answers with HINIC_MGMT_CMD_UNSUPPORTED (0xff).\n\nset_features() treats that as fatal: it folds it into err and returns\n-EIO, so nic_dev_init() bails out and the only visible symptom is\n\n\thinic 0000:29:00.0: Failed to initialize NIC device\n\thinic 0000:29:00.0: probe with driver hinic failed with error -5\n\nalthough nothing is actually broken.  The bit is not in hw_features\neither, so ethtool cannot turn it off.\n\nKeep the feature advertised and let the probe succeed.\n\nAlso make hinic_set_vlan_fliter() trust the reply status only once the\ncommand has been delivered and a full reply has come back.  On a send\nerror or a timeout nothing is written to buf_out, so the status read back\nis stale stack contents, and a stray 0xff would now be mistaken for\n\"firmware does not support this\" instead of failing the probe.\n\nFixes: 2acf960e3be6 (\"net: hinic: Add support for configuration of rx-vlan-filter by ethtool\")\nCc: stable@vger.kernel.org\nSigned-off-by: Jinjie Ruan \u003cruanjinjie@huawei.com\u003e\nLink: https://patch.msgid.link/20261124030946.1229396-2-ruanjinjie@huawei.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "7903980261cb4e87fdbb8b523a06d98fc0571783",
      "tree": "c3ee182379f064f2965597d1e41b79cecbd30759",
      "parents": [
        "98a283a1f3d66342eea6d766a836eaf23694e0a0"
      ],
      "author": {
        "name": "Alexandre Cassen",
        "email": "acassen@corp.free.fr",
        "time": "Mon Nov 23 23:13:08 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 12:58:00 2026 +0100"
      },
      "message": "net/mlx5: HWS, fix action STE double free on rule update\n\nAn HWS rule keeps the chunk of its action STEs in rule-\u003eaction_ste. An\nupdate saves it in rule-\u003eold_action_ste and frees it once the new match\nSTE is written. When the new actions need no action STEs, the rule still\npoints to that chunk. Its next update or its deletion free it again.\n\nTwo rules can then end up with the same action STEs. A packet of one can\nget the header rewrite or the meter of the other. The second free can\nalso dereference an action STE table that the cleanup work has freed.\nNeither was observed.\n\nThe buddy allocator counts the same segment as free twice. After a few\nupdates of several rules, it finds no segment where it counts one:\n\n  ICM Buddy: failed finding free mem for order 0\n  WARNING: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/buddy.c:93 at mlx5hws_buddy_alloc_mem+0x11a/0x140 [mlx5_core], CPU#34: tc/449154\n  Call Trace:\n   \u003cTASK\u003e\n   hws_pool_buddy_db_get_chunk+0x25/0x50 [mlx5_core]\n   mlx5hws_pool_chunk_alloc+0x30/0x80 [mlx5_core]\n   mlx5hws_action_ste_chunk_alloc+0x85/0x480 [mlx5_core]\n   hws_rule_create_hws+0x860/0x9c0 [mlx5_core]\n   mlx5hws_rule_action_update+0x81/0x140 [mlx5_core]\n   mlx5hws_bwc_rule_action_update+0x10d/0x200 [mlx5_core]\n   mlx5_cmd_hws_update_fte+0xb0/0x140 [mlx5_core]\n   del_hw_fte+0x1b2/0x390 [mlx5_core]\n   mlx5_del_flow_rules+0x10f/0x270 [mlx5_core]\n   __mlx5_eswitch_del_rule+0x5c/0x1b0 [mlx5_core]\n   mlx5_eswitch_del_offloaded_rule+0x10/0x20 [mlx5_core]\n   mlx5e_tc_rule_unoffload+0x4b/0x100 [mlx5_core]\n   mlx5e_tc_unoffload_fdb_rules+0x35/0x80 [mlx5_core]\n   mlx5e_tc_del_fdb_flow+0x2ca/0x310 [mlx5_core]\n   mlx5e_tc_del_flow+0x63/0x610 [mlx5_core]\n   mlx5e_flow_put+0x3a/0x80 [mlx5_core]\n   mlx5e_delete_flower+0x29b/0x460 [mlx5_core]\n   mlx5e_setup_tc_cls_flower+0x7d/0x90 [mlx5_core]\n   mlx5e_setup_tc_block_cb+0x58/0x90 [mlx5_core]\n   tc_setup_cb_destroy+0xcc/0x1b0\n   fl_hw_destroy_filter+0xa1/0xe0 [cls_flower]\n   fl_change+0x1bf1/0x20a9 [cls_flower]\n   tc_new_tfilter+0x432/0xea0\n   rtnetlink_rcv_msg+0x384/0x460\n   netlink_rcv_skb+0x61/0x120\n   rtnetlink_rcv+0x15/0x30\n   netlink_unicast+0x2a1/0x3d0\n   netlink_sendmsg+0x237/0x490\n   ____sys_sendmsg+0x32d/0x350\n   ___sys_sendmsg+0xaf/0x110\n   __sys_sendmsg+0x93/0x100\n   __x64_sys_sendmsg+0x1d/0x30\n   x64_sys_call+0x821/0x23d0\n   do_syscall_64+0xbd/0x570\n   \u003c/TASK\u003e\n\nThe pool then holds more free elements than its size at close:\n\n  mlx5_core 0000:31:00.0: mlx5hws_pool_destroy:386:(pid 448599): Attempting to destroy non-empty pool\n\nForget the chunk in rule-\u003eaction_ste once it is saved, as the update\nflow did with the action STE index before the commit below.\n\nTriggered during an endurance test of a 5G UPF code, on flower rules\nthat lose their police action in place. The reproduction below gives\nthe trace above on a ConnectX-7 with firmware 28.48.1000. It only\nuses tc and devlink, with no kernel change. DEV is the uplink\nrepresentor and PCI its devlink handle:\n\n  r() { for i in $(seq 128); do echo \"filter $1 dev $DEV ingress prio 1 handle $i protocol ip flower skip_sw dst_ip 10.0.0.$i $2\"; done | tc -b -; }\n  BIG\u003d\"action pedit ex munge ip ttl set 63 pipe action csum ip pipe action police rate 1mbit burst 32k conform-exceed drop/pipe action drop\"\n  devlink dev param set $PCI name flow_steering_mode value hmfs cmode runtime\n  devlink dev eswitch set $PCI mode switchdev\n  tc qdisc add dev $DEV ingress\n  r add \"$BIG\"\n  for n in 1 2 3; do r replace \"action drop\"; r replace \"$BIG\"; done\n  tc filter del dev $DEV ingress prio 1\n  devlink dev eswitch set $PCI mode legacy\n\nWith this fix, the reproduction runs clean on the same ConnectX-7.\nIt was not tested against kernel selftests.\n\nNot addressed here and not triggered: after a successful update,\nhws_rule_destroy_failed_hws() can free rule-\u003eold_action_ste again. A\nfailed update can leak it now also when it needs no action STEs.\n\nFixes: 3fc44ca44d7c (\"net/mlx5: HWS, update flow - support through bigger action RTC\")\nSigned-off-by: Alexandre Cassen \u003cacassen@corp.free.fr\u003e\nReviewed-by: Yevgeny Kliteynik \u003ckliteyn@nvidia.com\u003e\nLink: https://patch.msgid.link/20261123221310.4045513-1-acassen@corp.free.fr\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "98a283a1f3d66342eea6d766a836eaf23694e0a0",
      "tree": "cdb8691a1bdb9e2f3d6f463023a1555bcaf81296",
      "parents": [
        "d73525e6950b982fb67c74a1a64163529305a003"
      ],
      "author": {
        "name": "Mark Syms",
        "email": "mark.syms@citrix.com",
        "time": "Tue Nov 24 09:18:06 2026 +0000"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 12:52:28 2026 +0100"
      },
      "message": "xen-netfront: unregister the XDP rxq before destroying its page_pool\n\nEach receive queue registers its page_pool as the XDP memory model,\nwhich takes a second reference on the pool. On disconnect,\nxennet_disconnect_backend() calls page_pool_destroy() but never\nunregisters the rxq, so the pool\u0027s user count never reaches zero and\nthe pool is never released, together with the receive buffers that\nxennet_release_rx_bufs() has just recycled into it. Every\nsuspend/resume or backend reconnect therefore leaks one pool per\nreceive queue. The pool never begins shutdown, so the page_pool stall\nwarning does not fire and the leak is silent.\n\nUnregister the rxq before destroying the pool, and clear the pointer\nso that a second disconnect without a reconnect is harmless.\n\nThe leak was observed in CI testing: in XenServer suspend/resume\nstress runs, HVM guests lost available memory on every cycle until\nthey stalled. Over 100 suspend/resume cycles the loss scaled with the\nnumber of VIFs, on Debian 12 (6.1.0-50) and Ubuntu 26.04 (7.0.0-30)\nguests alike; the missing unregister was then found by code\ninspection. Reproducing it needs no kernel modification: suspend and\nresume a guest repeatedly and compare MemAvailable.\n\nTested on Debian 12 HVM guests on XenServer 9 (Xen 4.21, AMD EPYC),\nrunning two builds of the same 6.1.192 source with and without this\npatch. Over 100 suspend/resume cycles the unpatched kernel lost\n1107 KiB per cycle with one VIF and 2279 KiB with two; the patched\nkernel lost 51 and 42 KiB. On current mainline the patch builds\nwithout warnings at W\u003d1 but was not boot-tested, and kernel selftests\nwere not run.\n\nAn AI coding assistant (Claude Code) was used to locate the cause,\nwrite the fix and draft this changelog.\n\nFixes: 6c5aa6fc4def (\"xen networking: add basic XDP support for xen-netfront\")\nCc: stable@vger.kernel.org\nSigned-off-by: Mark Syms \u003cmark.syms@citrix.com\u003e\nLink: https://patch.msgid.link/20261124091806.2736453-1-mark.syms@citrix.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "d73525e6950b982fb67c74a1a64163529305a003",
      "tree": "77fc5860f49fcfecb87f784c7923a57f54f8a20a",
      "parents": [
        "656683f2e292a8ab28b1863a9a8aa0f9417b58a5",
        "84050f6a68923399b51c67bfb2275f6740fd3ddf"
      ],
      "author": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:13:04 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:13:05 2026 +0100"
      },
      "message": "Merge branch \u0027mptcp-misc-fixes-for-v7-4-rc5\u0027\n\nMatthieu Baerts says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nmptcp: misc fixes for v7.4-rc5\n\nHere are some unrelated fixes:\n\n- Patches 1-2: drain the queues of a TCP or MPTCP socket when listen()\n  fails, not to leak sockets and their netns. Fixes for v4.4 and v5.11.\n\n- Patch 3: clear inet_opt in the child of an IPv6 listener, to avoid a\n  double free with SELinux and NetLabel. A fix for v5.6.\n\n- Patch 4: fix UaF in corner cases from delegated actions. A fix for\n  v5.12.\n\n- Patches 5-6: do not leak an orphan moved to the CLOSE state outside\n  the worker. Fixes for v6.15, and for another fix introduced in v6.6\n  and targeting v5.11.\n\n- Patches 7-8: do not let PM listeners pin their netns, leaked\n  otherwise. A fix for v5.12.\n\n- Patch 9: initialize drop_req, not to leak sockets with SO_REUSEPORT\n  migration. A fix for v5.14.\n\n- Patch 10: do not pass a BPF request sock to an MPTCP listener, to\n  avoid a slab-out-of-bounds write. A fix for v6.9.\n\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-0-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "84050f6a68923399b51c67bfb2275f6740fd3ddf",
      "tree": "77fc5860f49fcfecb87f784c7923a57f54f8a20a",
      "parents": [
        "ff3a60db8ee81cae9e4282b54c0ab979f5624153"
      ],
      "author": {
        "name": "Chris Mason",
        "email": "mason@kernel.org",
        "time": "Mon Nov 23 14:24:58 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:12:35 2026 +0100"
      },
      "message": "tcp: do not pass a BPF reqsk to an MPTCP listener\n\nA slab-out-of-bounds write and a panic can occur if a tc BPF program\nthat validates SYN cookies assigns an ACK to a TCP listener, and the ACK\nthen goes to an MPTCP listener of the same SO_REUSEPORT group.\n\nbpf_sk_assign_tcp_reqsk() attaches a plain TCP request sock to the skb,\nand returns -EINVAL if the program passes in an MPTCP listener. But\ninet_steal_sock() and inet6_steal_sock() select a listener again from\nthe SO_REUSEPORT group of the listener that was passed in, and the\nresult can be an MPTCP listener. cookie_bpf_check() then passes the\nrequest sock to mptcp_subflow_init_cookie_req(), which writes to members\nof the larger struct mptcp_subflow_request_sock, so the writes can land\nin the next object of the slab.\n\nThe fix used here is to drop the segment in cookie_bpf_check() if the\nlistener is an MPTCP listener. The connection then fails, instead of\ncorrupting the memory.\n\nThis issue has been found with the help of an LLM, and reproduced in a\nVM, with the reproducer shared with the original version of this patch:\na tc BPF program validating SYN cookies -- the one from the BPF\nselftests -- and an SO_REUSEPORT group with a TCP listener and an MPTCP\none, the latter being selected. With KASAN, the original version of this\npatch reported:\n\n  BUG: KASAN: slab-out-of-bounds in mptcp_subflow_init_cookie_req\n  Write of size 1 at addr ... by task python3\n   mptcp_subflow_init_cookie_req\n   cookie_bpf_check\n   cookie_v4_check\n   tcp_v4_do_rcv\n   tcp_v4_rcv\n\nWithout debug options, and with request sockets of half-open connections\nnext to the corrupted one, the kernel panicked a second later, when the\ntimer of a request socket fired:\n\n  BUG: kernel NULL pointer dereference, address: 000000000000058f\n  #PF: supervisor read access in kernel mode\n  #PF: error_code(0x0000) - not-present page\n  Oops: Oops: 0000 [#1] SMP NOPTI\n  CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 7.4.0-rc1+ #1 PREEMPT(lazy)\n  RIP: 0010:tcp_syn_ack_timeout+0xd/0x30\n  Call Trace:\n   \u003cIRQ\u003e\n   reqsk_timer_handler+0x22e/0x500\n   call_timer_fn+0x2a/0x140\n   __run_timers+0x1f7/0x280\n   run_timer_softirq+0x49/0xf0\n   handle_softirqs+0xfa/0x300\n   __irq_exit_rcu+0xb5/0xf0\n   sysvec_apic_timer_interrupt+0x73/0x80\n   \u003c/IRQ\u003e\n  Kernel panic - not syncing: Fatal exception in interrupt\n\nFixes: e472f88891ab (\"bpf: tcp: Support arbitrary SYN Cookie.\")\nCc: stable@vger.kernel.org\nSigned-off-by: Chris Mason \u003cmason@kernel.org\u003e\n[ Shorter comment. Commit message: how the issue was found, its\n  symptoms, and that the connection then fails. ]\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nReviewed-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-10-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "ff3a60db8ee81cae9e4282b54c0ab979f5624153",
      "tree": "90d2faf4af293800891a7bb05576c893e98e4520",
      "parents": [
        "724ee40d2dda521f5d558e8905d2a5d503042602"
      ],
      "author": {
        "name": "Chris Mason",
        "email": "mason@kernel.org",
        "time": "Mon Nov 23 14:24:57 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:12:35 2026 +0100"
      },
      "message": "mptcp: initialize drop_req in subflow_init_req()\n\nWith CONFIG_MPTCP and SO_REUSEPORT migration, which\nnet.ipv4.tcp_migrate_req\u003d1 or a BPF program enables, TCP sockets can\nleak until reboot, and each keeps its network namespace alive.\n\ntcp_check_req() keeps a child off the accept queue if drop_req is true\nin a request socket that an MPTCP listener created. drop_req has one\nwriter, subflow_syn_recv_sock(), which tcp_check_req() calls before that\ntest only for an MPTCP listener. But if SO_REUSEPORT migration moves the\nrequest socket to a plain TCP listener, the test reads what the\nallocation left in drop_req, and nothing drops the last reference of a\nchild that stays off the accept queue.\n\nThe fix used here is to set drop_req to false in subflow_init_req(),\nwhich runs when the request socket of an MPTCP listener is set up.\n\nThis issue has been found with the help of an LLM, and reproduced in a\nVM, with the reproducer shared with the original version of this patch,\nrun as an unprivileged user in a user namespace, with\nnet.ipv4.tcp_migrate_req\u003d1: an MPTCP listener and a TCP one sharing a\nport with SO_REUSEPORT, the MPTCP one being closed while handshakes\ncomplete. Without this patch, the children were leaked, with their\nnetwork namespace, without any message from the kernel:\n\n  repro: step 3 to 6: 32 SYNs, 16 went to A. A closed, 16 third ACKs. accept() on B returned 0\n  [...]\n  repro: RESULT: 16 children never reached an accept queue\n  repro: one RST for each connection. TCP: inuse 0 orphan 0 tw 0 alloc 16 mem 0\n  \u003d\u003d\u003d exit code 0. The process and its namespaces are gone\n  \u003d\u003d\u003d after:  TCP sockets allocated, all namespaces: 16 [...]\n\nWith UBSAN, the original version of this patch also reported:\n\n  UBSAN: invalid-load in [...]/include/net/mptcp.h:144:47\n  load of value 14 is not a valid value for type \u0027_Bool\u0027\n   tcp_check_req.cold+0xb6/0x189\n   tcp_v4_rcv+0x11f4/0x4230\n\nFixes: c905dee62232 (\"tcp: Migrate TCP_NEW_SYN_RECV requests at retransmitting SYN+ACKs.\")\nCc: stable@vger.kernel.org\nSigned-off-by: Chris Mason \u003cmason@kernel.org\u003e\n[ Shorter comment. Commit message: how the issue was found, and its\n  symptoms. ]\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-9-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "724ee40d2dda521f5d558e8905d2a5d503042602",
      "tree": "50057cffab5f8846f27359c2f23ff00f7025a8e7",
      "parents": [
        "fc9aa6e5c0fa57edd281f9e892e300d5c25c5b28"
      ],
      "author": {
        "name": "Josef Bacik",
        "email": "josef@toxicpanda.com",
        "time": "Mon Nov 23 14:24:56 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:12:35 2026 +0100"
      },
      "message": "mptcp: pm: don\u0027t let listeners pin their netns\n\nFor a \"signal\" endpoint with a port, the in-kernel path manager creates a\nlistening MPTCP socket with sock_create_kern(). This socket is released\nwhen the endpoint is deleted or, failing that, by pm_nl_exit_net() when the\nnetwork namespace is dismantled.\n\nThe MPTCP socket itself holds no reference on the namespace. But its first\nsubflow is created by mptcp_subflow_create_socket(), which always calls\nsk_net_refcnt_upgrade(). So the namespace cannot be dismantled before\nthe listener is released, and the listener is not released before the\nnamespace is dismantled: unless somebody deletes the endpoint, both stay\naround for ever once the last process of the namespace is gone.\n\n  unshare -Urn sh -c \u0027ip link set lo up;\n                      ip mptcp endpoint add 127.0.0.1 port 4321 signal\u0027\n\nleaks a namespace, with everything it contains, each time it is run. It\nremains charged to the user\u0027s max_net_namespaces limit.\n\nOnly take the reference if the MPTCP socket has one. A listening TCP\nsocket has no timer of its own, and request sockets of a dead namespace are\ntaken care of by inet_twsk_purge().\n\nThe sockets cloned from that listener for incoming MP_JOIN requests do\nneed the reference, for their timers, but inherit sk_net_refcnt \u003d\u003d 0. Take\nit when they are created, with __sk_net_refcnt_upgrade(), from the\nprevious commit, as this is done in atomic context, and drop the\nconnection request if the namespace is already going away.\n\nThe TCP listener of such an endpoint is now a plain kernel socket, like\nthe MPTCP socket it belongs to: it is not counted in \"sockets: used\" in\n/proc/net/sockstat any more, and its destruction is not broadcast to the\nlisteners of the SKNLGRP_INET*_TCP_DESTROY sock_diag groups.\n\nThis issue has been found with the help of an LLM, and reproduced in a\nVM, with the reproducer shared with the original version of this patch:\nthe command above, run 1000 times by an unprivileged user. Without this\npatch, all the network namespaces were leaked:\n\n  result: 1000 network namespaces made, 0 taken down, 1000 are left\n\nFixes: 1729cf186d8a (\"mptcp: create the listening socket for new port\")\nCc: stable@vger.kernel.org\nSigned-off-by: Josef Bacik \u003cjosef@toxicpanda.com\u003e\n[ Use __sk_net_refcnt_upgrade(), from the previous commit, instead of an\n  open-coded copy of sk_net_refcnt_upgrade(), with maybe_get_net() like\n  rds_tcp_tune(). Shorter comments, and describe the condition: any\n  kernel msk. Commit message: how the issue was found, and its\n  symptoms. ]\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-8-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "fc9aa6e5c0fa57edd281f9e892e300d5c25c5b28",
      "tree": "5b97c675d065a10d3457bd635f9d47effee8c49c",
      "parents": [
        "78289c2e39ef95cccdf24873f92258830a4c95de"
      ],
      "author": {
        "name": "Matthieu Baerts (NGI0)",
        "email": "matttbe@kernel.org",
        "time": "Mon Nov 23 14:24:55 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:12:34 2026 +0100"
      },
      "message": "net: add __sk_net_refcnt_upgrade() with a GFP mask\n\nsk_net_refcnt_upgrade() gives a kernel socket a reference on its network\nnamespace, with a netns tracker allocated with GFP_KERNEL. The next\ncommit needs to do that for a socket created in atomic context: the\nchild of a kernel MPTCP listener, created when an MP_JOIN request is\naccepted.\n\nAdd __sk_net_refcnt_upgrade(), taking the GFP mask to use, and make\nsk_net_refcnt_upgrade() call it with GFP_KERNEL: no functional change\nfor the existing callers.\n\nThe \u0027Fixes\u0027 tag here below is the same as the one from the next commit:\nthis patch is needed to fix the issue introduced by this commit ID.\n\nFixes: 1729cf186d8a (\"mptcp: create the listening socket for new port\")\nCc: stable@vger.kernel.org\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nReviewed-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-7-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "78289c2e39ef95cccdf24873f92258830a4c95de",
      "tree": "c60c22fc839da29bb367c8a2ba2e37f2e4c92ab7",
      "parents": [
        "7f1c51dce304a19ea03580f4ddcb5c2b3c0229bc"
      ],
      "author": {
        "name": "Matthieu Baerts (NGI0)",
        "email": "matttbe@kernel.org",
        "time": "Mon Nov 23 14:24:54 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:12:34 2026 +0100"
      },
      "message": "mptcp: don\u0027t leak an orphan when the PM closes its last subflow\n\nOnce close() has returned, an orphaned MPTCP socket is only destroyed by\nmptcp_worker(), in the run that sees it in TCP_CLOSE: later on, the\nworker returns at once for an msk in this state, and\nmptcp_schedule_work() no longer queues it.\n\n__mptcp_close_ssk() moves an orphan to TCP_CLOSE when, after the closure\nof a subflow, only the initial one remains, and it is closed. This\nfunction is not only called by the worker: path manager commands also\nclose subflows of any msk of the netns, orphans included, under the msk\nlock: e.g. \u0027ip mptcp endpoint delete\u0027 or \u0027flush\u0027 with the in-kernel PM,\nor MPTCP_PM_CMD_SUBFLOW_DESTROY with the userspace one. In this case,\nnothing destroys the orphan: it stays in TCP_CLOSE until the reboot,\nwith its token, its initial subflow, and its reference to the netns,\nwhich is then never freed.\n\nThis can happen when the initial subflow has been reset or has timed\nout, and the connection is closed -- the orphan then waits for the end\nof the DATA_FIN exchange, up to TCP_TIMEWAIT_LEN -- before the endpoint\nused by another subflow is removed, e.g. when an interface goes down.\n\nOnly the worker can close an orphan, as it must then destroy it. So\nhere, mark its close timeout as expired, and queue the worker, like it\nis done for an msk in the accept queue. The worker then closes the\norphan with mptcp_do_fastclose() -- nothing is sent: the only subflow\nleft is closed -- and destroys it. If __mptcp_close_ssk() was called by\nthe worker, this happens later in the same run.\n\nThis issue has been found by an AI code review agent, while reviewing\nthe code of the commit \"mptcp: leave an orphan\u0027s DATA_FIN to the\nworker\", and confirmed with a new Packetdrill test: the initial subflow\nof an orphan waiting for the end of the DATA_FIN exchange is reset, then\nthe endpoint of the other subflow is removed. Without this patch, the\norphan stayed:\n\n  UNCONN 0      0      192.168.0.1:8080 192.0.2.1:39933\n  kernel_orphan_last_subflow.pkt:39: error executing `! ss -HMan | grep -v LISTEN` command: non-zero status 1\n\nFixes: 27e5ccc2d5a5 (\"mptcp: fix dangling connection hang-up\")\nCc: stable@vger.kernel.org\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-6-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "7f1c51dce304a19ea03580f4ddcb5c2b3c0229bc",
      "tree": "bbaf242beadcdf24630a4a01abf236e413c571f5",
      "parents": [
        "308bf0d44e1d9e3d28c668f30f81f985c30612ee"
      ],
      "author": {
        "name": "Chris Mason",
        "email": "mason@kernel.org",
        "time": "Mon Nov 23 14:24:53 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:12:34 2026 +0100"
      },
      "message": "mptcp: leave an orphan\u0027s DATA_FIN to the worker\n\nClosed MPTCP sockets can leak until reboot, with the data in their\nreceive queues, which can exhaust tcp_mem and stall other TCP\nconnections.\n\nOnce close() has returned, only mptcp_worker() destroys an orphaned msk,\nand only in the run that moves it to TCP_CLOSE: a later run returns at\nonce, and mptcp_schedule_work() queues no work for an msk in that state.\nThe receive path, in softirq, puts data on the backlog while the msk is\nowned, and release_sock() calls mptcp_release_cb(), which passes the\nbacklog to __mptcp_move_skbs(). But __mptcp_move_skbs() calls\nmptcp_check_data_fin(), which can move the msk to TCP_CLOSE, and by then\nthe lock owner, here the worker, no longer looks at the state:\n\n    receive path, softirq             mptcp_worker()\n    \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d             \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n                                      not in TCP_CLOSE: no destroy\n    last data, with the DATA_FIN\n      the msk is owned: backlog\n                                      release_sock()\n                                        mptcp_release_cb()\n                                          __mptcp_move_skbs()\n                                            mptcp_check_data_fin()\n                                              TCP_CLOSE, never destroyed\n\nThe fix used here is to queue the worker in __mptcp_move_skbs() if an\norphaned msk has a DATA_FIN to handle, instead of calling\nmptcp_check_data_fin().\n\nThis issue has been found with the help of an LLM, and reproduced in a\nVM, with the reproducer shared with the original version of this patch:\n200,000 connections in which the server accept()s and close()s, while\nthe client reads the end of file, sends one byte, and closes. Without\nthis patch, some MPTCP sockets of the server stayed in the CLOSE state\nfor good, with their network namespace:\n\n  \u003d\u003d\u003d connections so far : MPTCP sockets of the server in the state CLOSE: 200000:722,\n  [...]\n  RESULT [...] | left 300 s behind the end: slab_MPTCP\u003d722 sockets_MPTCP\u003d722 [...]\n  [...] | veth_end_left\u003d1 slab_net_namespace_left\u003d2 | [...]\n\nFixes: bc68b0efa1bf (\"mptcp: move the whole rx path under msk socket lock protection\")\nCc: stable@vger.kernel.org\nSigned-off-by: Chris Mason \u003cmason@kernel.org\u003e\n[ Shorter comment. Commit message: how the issue was found, and its\n  symptoms. ]\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-5-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "308bf0d44e1d9e3d28c668f30f81f985c30612ee",
      "tree": "541ee907a0a884ae52d0b5c7abbfd07496a0211c",
      "parents": [
        "0eee4a53c8b27955b640bc424187ae13922e92aa"
      ],
      "author": {
        "name": "Hyunwoo Kim",
        "email": "imv4bel@gmail.com",
        "time": "Mon Nov 23 14:24:52 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:12:34 2026 +0100"
      },
      "message": "mptcp: fix use-after-free of the subflow context on the delegated list\n\nmptcp_subflow_delegate() links the subflow context into a per-CPU napi\nlist and takes a reference on the subflow socket. The context is a\nseparate allocation, reached through icsk_ulp_data, and the list holds\nno reference to it.\n\ninet_csk_destroy_sock() runs sk_prot-\u003edestroy() regardless of the\noutstanding references. That path ends in tcp_cleanup_ulp(), which calls\nsubflow_ulp_release(). subflow_ulp_release() frees the context with\nkfree_rcu() but does not remove it from the list. Once the grace period\nelapses and the context is actually freed, the next mptcp_napi_poll()\ndequeues that entry and mptcp_subflow_delegated_next() writes to the\nfreed context with list_del_init(). That is the use-after-free.\n\nThe decoded KASAN trace is:\n\n \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n BUG: KASAN: slab-use-after-free in __list_del_entry_valid_or_report (lib/list_debug.c:49)\n Read of size 8 at addr ffff88800cc13cc8 by task poc/88\n\n CPU: 3 UID: 65534 PID: 88 Comm: poc Not tainted 7.2.0-rc7 #1 PREEMPT(lazy)\n Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n Call Trace:\n  \u003cIRQ\u003e\n  dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120)\n  print_report (mm/kasan/report.c:378 mm/kasan/report.c:482)\n  ? __pfx__raw_spin_lock_irqsave (include/asm-generic/qrwlock.h:122 (discriminator 4))\n  ? __list_del_entry_valid_or_report (lib/list_debug.c:49)\n  kasan_report (mm/kasan/report.c:595)\n  ? __list_del_entry_valid_or_report (lib/list_debug.c:49)\n  __list_del_entry_valid_or_report (lib/list_debug.c:49)\n  mptcp_napi_poll (include/linux/list.h:132 include/linux/list.h:246 include/linux/list.h:318 net/mptcp/protocol.h:787 net/mptcp/protocol.c:4620)\n  ? call_timer_fn (kernel/time/timer.c:1748)\n  __napi_poll (net/core/dev.c:7735)\n  ? __pfx_delayed_work_timer_fn (include/linux/list.h:404 (discriminator 2))\n  net_rx_action (net/core/dev.c:7798 net/core/dev.c:7955)\n  ? __pfx_net_rx_action (include/net/gro.h:525)\n  ? _raw_spin_lock_irq (include/linux/instrumented.h:55 include/linux/atomic/atomic-instrumented.h:1301 include/asm-generic/qspinlock.h:111 include/linux/spinlock.h:187 include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:174)\n  ? __pfx__raw_spin_lock_irq (kernel/locking/spinlock.c:183)\n  ? try_to_wake_up (include/linux/spinlock.h:571 kernel/sched/core.c:4292)\n  handle_softirqs (kernel/softirq.c:622)\n  ? __pfx_handle_softirqs (include/linux/wait_bit.h:77)\n  ? __hrtimer_rearm_deferred (kernel/time/hrtimer.c:707 kernel/time/hrtimer.c:2141 kernel/time/hrtimer.c:2161)\n  do_softirq (kernel/softirq.c:523 (discriminator 20) kernel/softirq.c:510 (discriminator 20))\n  \u003c/IRQ\u003e\n  \u003cTASK\u003e\n  __local_bh_enable_ip (kernel/softirq.c:450)\n  inet_stream_connect (net/ipv4/af_inet.c:756)\n  __sys_connect (net/socket.c:2154)\n  ? __pfx___sys_connect (net/socket.c:2136)\n  ? __sys_setsockopt (include/linux/file.h:63 include/linux/file.h:83 net/socket.c:2385)\n  __x64_sys_connect (net/socket.c:2160 net/socket.c:2157 net/socket.c:2157)\n  ? fpregs_assert_state_consistent (include/linux/instrumented.h:82 include/asm-generic/bitops/instrumented-non-atomic.h:141 include/linux/thread_info.h:133 arch/x86/kernel/fpu/core.c:912)\n  do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)\n  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n RIP: 0033:0x4216eb\n Code: 48 89 e5 48 83 ec 10 89 55 f8 48 89 75 f0 89 7d fc e8 b9 ec 02 00 8b 55 f8 48 8b 75 f0 41 89 c0 8b 7d fc b8 2a 00 00 00 0f 05 \u003c48\u003e 3d 00 f0 ff ff 77 2d 44 89 c7 89 45 fc e8 12 ed 02 00 8b 45 fc\nAll code\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n   0:\t48 89 e5             \tmov    %rsp,%rbp\n   3:\t48 83 ec 10          \tsub    $0x10,%rsp\n   7:\t89 55 f8             \tmov    %edx,-0x8(%rbp)\n   a:\t48 89 75 f0          \tmov    %rsi,-0x10(%rbp)\n   e:\t89 7d fc             \tmov    %edi,-0x4(%rbp)\n  11:\te8 b9 ec 02 00       \tcall   0x2eccf\n  16:\t8b 55 f8             \tmov    -0x8(%rbp),%edx\n  19:\t48 8b 75 f0          \tmov    -0x10(%rbp),%rsi\n  1d:\t41 89 c0             \tmov    %eax,%r8d\n  20:\t8b 7d fc             \tmov    -0x4(%rbp),%edi\n  23:\tb8 2a 00 00 00       \tmov    $0x2a,%eax\n  28:\t0f 05                \tsyscall\n  2a:*\t48 3d 00 f0 ff ff    \tcmp    $0xfffffffffffff000,%rax\t\t\u003c-- trapping instruction\n  30:\t77 2d                \tja     0x5f\n  32:\t44 89 c7             \tmov    %r8d,%edi\n  35:\t89 45 fc             \tmov    %eax,-0x4(%rbp)\n  38:\te8 12 ed 02 00       \tcall   0x2ed4f\n  3d:\t8b 45 fc             \tmov    -0x4(%rbp),%eax\n\nCode starting with the faulting instruction\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n   0:\t48 3d 00 f0 ff ff    \tcmp    $0xfffffffffffff000,%rax\n   6:\t77 2d                \tja     0x35\n   8:\t44 89 c7             \tmov    %r8d,%edi\n   b:\t89 45 fc             \tmov    %eax,-0x4(%rbp)\n   e:\te8 12 ed 02 00       \tcall   0x2ed25\n  13:\t8b 45 fc             \tmov    -0x4(%rbp),%eax\n RSP: 002b:00007fbe0147b1d0 EFLAGS: 00000293 ORIG_RAX: 000000000000002a\n RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00000000004216eb\n RDX: 0000000000000010 RSI: 00007fbe0147b200 RDI: 000000000000000a\n RBP: 00007fbe0147b1e0 R08: 0000000000000000 R09: 0000000000000000\n R10: 00007fbe0147b1f8 R11: 0000000000000293 R12: 00007fbe0147b1f8\n R13: 00007fbe0157b678 R14: 00007fbe0147b1f4 R15: 00007fffd4bc16c0\n  \u003c/TASK\u003e\n\n Allocated by task 90:\n  kasan_save_stack (mm/kasan/common.c:57)\n  kasan_save_track (mm/kasan/common.c:78)\n  __kasan_kmalloc (mm/kasan/common.c:398 mm/kasan/common.c:415)\n  __kmalloc_cache_noprof (include/linux/kasan.h:263 mm/slub.c:5489)\n  subflow_create_ctx (include/linux/slab.h:988 include/linux/slab.h:1309 net/mptcp/subflow.c:1845)\n  subflow_ulp_init (net/mptcp/subflow.c:1977)\n  tcp_set_ulp (net/ipv4/tcp_ulp.c:146 net/ipv4/tcp_ulp.c:167)\n  mptcp_subflow_create_socket (net/mptcp/subflow.c:1806)\n  __mptcp_nmpc_sk.part.0 (net/mptcp/protocol.c:111 net/mptcp/protocol.c:143)\n  mptcp_connect (net/mptcp/protocol.c:139 net/mptcp/protocol.c:4009)\n  __inet_stream_connect (net/ipv4/af_inet.c:684)\n  inet_stream_connect (net/ipv4/af_inet.c:755)\n  __sys_connect (net/socket.c:2154)\n  __x64_sys_connect (net/socket.c:2160 net/socket.c:2157 net/socket.c:2157)\n  do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)\n  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n\n Freed by task 22:\n  kasan_save_stack (mm/kasan/common.c:57)\n  kasan_save_track (mm/kasan/common.c:78)\n  kasan_save_free_info (mm/kasan/generic.c:584)\n  __kasan_slab_free (mm/kasan/common.c:253 mm/kasan/common.c:285)\n  kvfree_rcu_cb (include/linux/kasan.h:235 mm/slub.c:2677 mm/slub.c:6377 mm/slub.c:6662)\n  rcu_core (kernel/rcu/tree.c:2645 kernel/rcu/tree.c:2897)\n  handle_softirqs (kernel/softirq.c:622)\n  run_ksoftirqd (kernel/softirq.c:1076 kernel/softirq.c:1068)\n  smpboot_thread_fn (kernel/smpboot.c:160)\n  kthread (kernel/kthread.c:436)\n  ret_from_fork (arch/x86/kernel/process.c:158)\n  ret_from_fork_asm (arch/x86/entry/entry_64.S:245)\n\n Last potentially related work creation:\n  kasan_save_stack (mm/kasan/common.c:57)\n  kasan_record_aux_stack (mm/kasan/generic.c:556)\n  __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3159)\n  tcp_cleanup_ulp (net/ipv4/tcp_ulp.c:124)\n  tcp_v4_destroy_sock (net/ipv4/tcp_ipv4.c:2437)\n  inet_csk_destroy_sock (net/ipv4/inet_connection_sock.c:1282)\n  __tcp_close (net/ipv4/tcp.c:3299)\n  __mptcp_close_ssk (net/mptcp/protocol.c:2648)\n  mptcp_destroy_common (net/mptcp/protocol.c:3442 (discriminator 1))\n  mptcp_destroy (net/mptcp/protocol.c:3651)\n  __mptcp_destroy_sock (net/mptcp/protocol.c:3284)\n  __mptcp_close (net/mptcp/protocol.c:3386)\n  mptcp_close (net/mptcp/protocol.c:3401)\n  inet_release (net/ipv4/af_inet.c:442)\n  __sock_release (net/socket.c:710)\n  sock_close (net/socket.c:1501 (discriminator 1))\n  __fput (fs/file_table.c:512)\n  fput_close_sync (fs/file_table.c:617)\n  __x64_sys_close (fs/open.c:1511 fs/open.c:1496 fs/open.c:1496)\n  do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)\n  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n\n Second to last potentially related work creation:\n  kasan_save_stack (mm/kasan/common.c:57)\n  kasan_record_aux_stack (mm/kasan/generic.c:556)\n  kvfree_call_rcu (mm/slab_common.c:1288)\n  tcp_cleanup_ulp (net/ipv4/tcp_ulp.c:124)\n  tcp_v4_destroy_sock (net/ipv4/tcp_ipv4.c:2437)\n  inet_csk_destroy_sock (net/ipv4/inet_connection_sock.c:1282)\n  __tcp_close (net/ipv4/tcp.c:3299)\n  __mptcp_close_ssk (net/mptcp/protocol.c:2648)\n  mptcp_destroy_common (net/mptcp/protocol.c:3442 (discriminator 1))\n  mptcp_destroy (net/mptcp/protocol.c:3651)\n  __mptcp_destroy_sock (net/mptcp/protocol.c:3284)\n  __mptcp_close (net/mptcp/protocol.c:3386)\n  mptcp_close (net/mptcp/protocol.c:3401)\n  inet_release (net/ipv4/af_inet.c:442)\n  __sock_release (net/socket.c:710)\n  sock_close (net/socket.c:1501 (discriminator 1))\n  __fput (fs/file_table.c:512)\n  fput_close_sync (fs/file_table.c:617)\n  __x64_sys_close (fs/open.c:1511 fs/open.c:1496 fs/open.c:1496)\n  do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)\n  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n\n The buggy address belongs to the object at ffff88800cc13c00\n  which belongs to the cache kmalloc-512 of size 512\n The buggy address is located 200 bytes inside of\n  freed 512-byte region [ffff88800cc13c00, ffff88800cc13e00)\n\n The buggy address belongs to the physical page:\n page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xcc10\n head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0\n flags: 0x100000000000040(head|node\u003d0|zone\u003d1)\n page_type: f5(slab)\n raw: 0100000000000040 ffff888007042c80 dead000000000100 dead000000000122\n raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000\n head: 0100000000000040 ffff888007042c80 dead000000000100 dead000000000122\n head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000\n head: 0100000000000002 ffffffffffffff01 00000000ffffffff 00000000ffffffff\n head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000\n page dumped because: kasan: bad access detected\n\n Memory state around the buggy address:\n  ffff88800cc13b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc\n  ffff88800cc13c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb\n \u003effff88800cc13c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb\n                                               ^\n  ffff88800cc13d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb\n  ffff88800cc13d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb\n \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nThe freeing path cannot dequeue the entry itself: the list is per-CPU\nand only the CPU that queued the subflow may touch it, as\ntcp_release_cb_override() already notes.\n\nDelay the free instead. Add MPTCP_DELEGATE_DEAD.\nmptcp_subflow_free_ctx() sets it and frees the context only if the\nsubflow is not scheduled, while mptcp_napi_poll() frees it if the dead\nbit is set when it clears the scheduled bit. Either\nmptcp_subflow_free_ctx() gets there first, sees the scheduled bit and\nleaves the free to mptcp_napi_poll(), or mptcp_napi_poll() gets there\nfirst, does not see the dead bit and mptcp_subflow_free_ctx() does the\nfree.\n\nAlso skip mptcp_subflow_process_delegated() once the dead bit is set.\nsubflow_ulp_release() has already dropped the msk reference by then, so\nthe pending actions must not run.\n\nFinally, move delegated_status out of struct_group(reset).\nmptcp_subflow_ctx_reset() clears that group on disconnect, and clearing\nthe scheduled bit while the entry is still queued would let\nmptcp_subflow_free_ctx() free a context the napi list still points to.\ndelegated_node is already outside the group.\n\nFixes: b19bc2945b40 (\"mptcp: implement delegated actions\")\nCc: stable@vger.kernel.org\nSigned-off-by: Hyunwoo Kim \u003cimv4bel@gmail.com\u003e\nReviewed-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-4-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "0eee4a53c8b27955b640bc424187ae13922e92aa",
      "tree": "e5cccffc9fd50112aaca9a522ba4d584aabde65b",
      "parents": [
        "767e6df884410553d22b576302e9b79487978645"
      ],
      "author": {
        "name": "Chris Mason",
        "email": "mason@kernel.org",
        "time": "Mon Nov 23 14:24:51 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:12:34 2026 +0100"
      },
      "message": "mptcp: clear inet_opt in the child of an IPv6 listener\n\nWith SELinux, an IPv6 MPTCP listener and its children can cause a double\nfree of one CIPSO option, and then a use-after-free read of it, if\nNetLabel uses CIPSO for IPv4 and selects the IPv6 labels by address.\n\nmptcp_sk_clone_init() creates the child of a listener with\nsk_clone_lock(), as a byte copy of the listener, so each pointer in the\ncopy that the socket destructor frees has to be replaced or cleared.\nmptcp_copy_ip_options() duplicates inet_opt, the IPv4 options, for\nAF_INET, and mptcp_copy_ip6_options() duplicates the IPv6 options for\nAF_INET6. But an AF_INET6 socket has an inet_opt pointer too, and its\nchild keeps the listener\u0027s pointer.\n\nMPTCP does not support setsockopt(IP_OPTIONS), so that pointer is\nusually NULL. But if connect() gets a struct sockaddr_in,\nnetlbl_conn_setattr() does not look at the family of the socket, so the\nconnect() hook of SELinux can store a CIPSO option in inet_opt of an\nAF_INET6 MPTCP listener. inet_sock_destruct() then passes that option to\nkfree_rcu() for each child and again for the listener, and after a child\nhas freed it, another such connect() on the listener reads it in\ncipso_v4_sock_setattr().\n\nThe fix used here is to clear inet_opt of the child in\nmptcp_copy_ip6_options().\n\nThis issue has been found with the help of an LLM, and reproduced in a\nVM, with the reproducer shared with the original version of this patch,\nwith SELinux, NetLabel -- CIPSO for some IPv4 addresses, and the\naddress-based selection used for IPv6 too -- and KASAN: an unprivileged\nuser calls connect() with an IPv4 address on an IPv6 MPTCP listener.\nWithout this patch, an object is freed twice:\n\n  BUG: KASAN: double-free in rcu_free_sheaf+0x23/0x100\n  Free of addr ffff888012c27a80 by task kworker/1:1/50\n  CPU: 1 UID: 0 PID: 50 Comm: kworker/1:1 Not tainted 7.4.0-rc1+ #1 PREEMPT(full)\n  Workqueue: events mptcp_worker\n  Call Trace:\n   \u003cIRQ\u003e\n   kasan_report_invalid_free+0xd4/0x1b0\n   check_slab_allocation+0xc2/0xf0\n   __rcu_free_sheaf_prepare+0x102/0x2a0\n   rcu_free_sheaf+0x23/0x100\n   rcu_do_batch+0x29a/0xf80\n   rcu_core+0x33c/0x830\n   handle_softirqs+0x212/0x980\n   do_softirq+0xb4/0xf0\n   \u003c/IRQ\u003e\n   \u003cTASK\u003e\n   __local_bh_enable_ip+0x11c/0x150\n   mptcp_token_destroy+0x1c9/0x360\n   mptcp_destroy_common+0x2d9/0x430\n   mptcp_destroy+0x86/0x110\n   __mptcp_destroy_sock+0x176/0x350\n   mptcp_worker+0xbb5/0xf80\n  [...]\n  Allocated by task 176:\n  [...]\n   cipso_v4_sock_setattr+0x9b/0x3d0\n   netlbl_conn_setattr+0x3ac/0x500\n   selinux_netlbl_socket_connect_locked+0x102/0x210\n   selinux_netlbl_socket_connect+0x23/0x40\n   security_socket_connect+0x2e/0x60\n   __sys_connect_file+0xcb/0x200\n  [...]\n\nIn another case, the CIPSO option is used after having been freed:\n\n  BUG: KASAN: slab-use-after-free in cipso_v4_sock_setattr+0x3c7/0x3d0\n  Read of size 1 at addr ffff8880161c2f18 by task python3/177\n  CPU: 1 UID: 65534 PID: 177 Comm: python3 Not tainted 7.4.0-rc1+ #1 PREEMPT(full)\n  Call Trace:\n   \u003cTASK\u003e\n   kasan_report+0x101/0x140\n   cipso_v4_sock_setattr+0x3c7/0x3d0\n   netlbl_conn_setattr+0x3ac/0x500\n   selinux_netlbl_socket_connect_locked+0x102/0x210\n   selinux_netlbl_socket_connect+0x23/0x40\n   security_socket_connect+0x2e/0x60\n   __sys_connect_file+0xcb/0x200\n   __sys_connect+0xfd/0x130\n   __x64_sys_connect+0x72/0xd0\n  [...]\n\nFixes: cf7da0d66cc1 (\"mptcp: Create SUBFLOW socket for incoming connections\")\nCc: stable@vger.kernel.org\nSigned-off-by: Chris Mason \u003cmason@kernel.org\u003e\n[ Commit message: how the issue was found, and its symptoms ]\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-3-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "767e6df884410553d22b576302e9b79487978645",
      "tree": "765796055c03d0ddcc3d697424290b73a9318e71",
      "parents": [
        "90fecf4749729166fc823ffe101d27e595cb5fde"
      ],
      "author": {
        "name": "Chris Mason",
        "email": "mason@kernel.org",
        "time": "Mon Nov 23 14:24:50 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:12:34 2026 +0100"
      },
      "message": "mptcp: drain the queues of a listen() that fails\n\nSockets and their network namespace can leak, if a handshake completes\nwhile listen() fails on an MPTCP socket that has listened before.\n\nmptcp_listen() passes the first subflow through __inet_listen_sk() to\ninet_csk_listen_start(), which sets TCP_LISTEN, then calls get_port()\nand hash(), and sets TCP_CLOSE again if either fails. Until then the\nsubflow is in TCP_LISTEN, so a request sock of a previous listen() that\nstill points to it can get a new child and be added to the subflow\u0027s\naccept queue. But neither close() nor the next listen() frees what is\nqueued, and the earlier commit \"tcp: drain the queues of a listen() that\nfails\" only purges the RST queue of an MPTCP subflow, which needs\nmptcp_subflow_queue_clean() before a drain.\n\nThe fix used here is to call mptcp_subflow_queue_clean() and then\ninet_csk_listen_stop() on the subflow in mptcp_listen(), if\n__inet_listen_sk() returns an error with the subflow in TCP_CLOSE.\n\nThis issue has been found with the help of an LLM, and reproduced in a\nVM, with the reproducer of the previous commit, modified to use MPTCP\nsockets, on both sides. Without this patch, sockets were leaked, and\nnetwork namespaces too when each round was in its own one, without any\nmessage from the kernel:\n\n  result: request socks: 10000 made, 1151 left. Sockets: 64982 made, 5755 left\n  [...]\n  result: namespaces: 1000 made, 923 taken down, 77 left\n\nFixes: 76e2a55d1625 (\"mptcp: better msk-level shutdown.\")\nCc: stable@vger.kernel.org\nSigned-off-by: Chris Mason \u003cmason@kernel.org\u003e\n[ Shorter comment. Add a Fixes tag. Commit message: how the issue was\n  found, and its symptoms. ]\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-2-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "90fecf4749729166fc823ffe101d27e595cb5fde",
      "tree": "da7ddc68973c4ed9d74baae30d892a6644e92658",
      "parents": [
        "656683f2e292a8ab28b1863a9a8aa0f9417b58a5"
      ],
      "author": {
        "name": "Chris Mason",
        "email": "mason@kernel.org",
        "time": "Mon Nov 23 14:24:49 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Tue Dec 01 10:12:34 2026 +0100"
      },
      "message": "tcp: drain the queues of a listen() that fails\n\nIf listen() fails on a TCP socket that has listened before, the sockets\nof connections from the earlier listen() can leak, together with their\nnetwork namespace.\n\ninet_csk_listen_start() sets TCP_LISTEN before it calls get_port() and\nhash(), and its error path sets TCP_CLOSE again, then purges the Fast\nOpen RST queue since commit 342e62fd34c2 (\"tcp: purge Fast Open RST\nqueue when listen() fails\"), but not the accept queue. Pending request\nsocks outlive an earlier listen() and still point to the socket, so in\nTCP_LISTEN, inet_csk_reqsk_queue_add() adds them to the accept queue,\nwith their new child. These entries, and the sockets that they hold,\nare never freed, since close() drains this queue only in TCP_LISTEN and\nthe next listen() stores NULL in rskq_accept_head.\n\nThe fix used here is to call inet_csk_listen_stop() after the error path\nsets TCP_CLOSE, which also purges the RST queue, except for an MPTCP\nsubflow, which needs mptcp_subflow_queue_clean() first: only its RST\nqueue is purged here, and mptcp_listen() has to drain its accept queue,\nwhich is done in the next patch, \"mptcp: drain the queues of a listen()\nthat fails\".\n\nThis issue has been found with the help of an LLM, and reproduced in a\nVM, with the reproducer shared with the original version of this patch,\nrun as an unprivileged user: listen() failing with EADDRINUSE in a loop,\nwhile the connections of an earlier listen() complete. Without this\npatch, sockets were leaked, and network namespaces too when each round\nwas in its own one, without any message from the kernel:\n\n  result: request socks: 10000 made, 2535 left. Sockets: 33373 made, 5070 left\n  [...]\n  result: namespaces: 1000 made, 694 taken down, 306 left\n\nFixes: 079096f103fa (\"tcp/dccp: install syn_recv requests into ehash table\")\nCc: stable@vger.kernel.org\nSigned-off-by: Chris Mason \u003cmason@kernel.org\u003e\n[ Shorter comments. Commit message: how the issue was found, and its\n  symptoms. On top of commit 342e62fd34c2, with a Fixes tag for the\n  accept queue. ]\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nReviewed-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nLink: https://patch.msgid.link/20261123-net-mptcp-misc-fixes-7-4-rc5-v1-1-278042217e8d@kernel.org\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "4840da2019ad262ce30a050f7679cfbc48d5039d",
      "tree": "cd5287df0d94ef7b1c1072c6db8eaf9904ffe2bf",
      "parents": [
        "32ef7b4de77b3462b1d784efecd2fcfd79ac9884",
        "f8308e0e371505b0fee91e114aa4b6d2cf3481c6"
      ],
      "author": {
        "name": "Marc Kleine-Budde",
        "email": "mkl@pengutronix.de",
        "time": "Tue Dec 01 09:29:43 2026 +0100"
      },
      "committer": {
        "name": "Marc Kleine-Budde",
        "email": "mkl@pengutronix.de",
        "time": "Tue Dec 01 09:33:45 2026 +0100"
      },
      "message": "Merge patch series \"can: j1939: fixes for net\"\n\nOleksij Rempel \u003co.rempel@pengutronix.de\u003e says:\n\nplease take these j1939 fixes for net. I reviewed both on linux-can.\n\nLink: https://patch.msgid.link/20261201-ore-j1939-fixes-2026-11-30-v1-0-a40cb7bf9569@pengutronix.de\nSigned-off-by: Marc Kleine-Budde \u003cmkl@pengutronix.de\u003e\n"
    },
    {
      "commit": "f8308e0e371505b0fee91e114aa4b6d2cf3481c6",
      "tree": "cd5287df0d94ef7b1c1072c6db8eaf9904ffe2bf",
      "parents": [
        "0495e9b28d47d73bc8db82f646eb1b4c4ce1f890"
      ],
      "author": {
        "name": "Hui Peng",
        "email": "benquike@gmail.com",
        "time": "Tue Dec 01 09:18:59 2026 +0100"
      },
      "committer": {
        "name": "Marc Kleine-Budde",
        "email": "mkl@pengutronix.de",
        "time": "Tue Dec 01 09:33:45 2026 +0100"
      },
      "message": "can: j1939: return 0 instead of user value in j1939_sk_setsockopt_flag()\n\nIn `j1939_sk_setsockopt_flag()`, after copying the integer option value\n`tmp` from userspace and updating `jsk-\u003estate`, the function returns\n`tmp` instead of `0`.\n\nIf a caller passes a negative integer (e.g., `-1`) to enable\n`SO_J1939_BROADCAST` or `SO_J1939_PROMISC`, `if (tmp)` sets `jsk-\u003estate\n|\u003d flag` and then returns the negative value as an error code from\n`setsockopt()`. If a caller passes a positive non-zero integer (e.g.,\n`1`), `setsockopt()` violates POSIX by returning `1` instead of `0`.\n\nReturn `0` on success in `j1939_sk_setsockopt_flag()`.\n\nThe author prepared this patch with the help of an LLM.\n\nFixes: 9d71dd0c7009 (\"can: add support of SAE J1939 protocol\")\nSigned-off-by: Hui Peng \u003cbenquike@gmail.com\u003e\n[o.rempel: replaced the Assisted-by tag with a sentence in the message]\nSigned-off-by: Oleksij Rempel \u003co.rempel@pengutronix.de\u003e\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\nAcked-by: Oleksij Rempel \u003co.rempel@pengutronix.de\u003e\nLink: https://patch.msgid.link/20261201-ore-j1939-fixes-2026-11-30-v1-2-a40cb7bf9569@pengutronix.de\nSigned-off-by: Marc Kleine-Budde \u003cmkl@pengutronix.de\u003e\n"
    },
    {
      "commit": "0495e9b28d47d73bc8db82f646eb1b4c4ce1f890",
      "tree": "9f48f47cb2e73f2988d12d40e24f1541405d6381",
      "parents": [
        "32ef7b4de77b3462b1d784efecd2fcfd79ac9884"
      ],
      "author": {
        "name": "Piyus Kedia",
        "email": "piyus@iiitd.ac.in",
        "time": "Tue Dec 01 09:18:58 2026 +0100"
      },
      "committer": {
        "name": "Marc Kleine-Budde",
        "email": "mkl@pengutronix.de",
        "time": "Tue Dec 01 09:33:44 2026 +0100"
      },
      "message": "can: j1939: do not pass a NULL skb to the socket layer\n\nCheck for a NULL skb in j1939_session_completed() and end the session\nwith EPROTO, so that sockets reading the error queue get an RX abort.\nPrint a rate-limited warning, because a peer can cause the missing skb.\n\nA peer can send an ETP DPO at or beyond the end of the message.  When\nthe session completes after that, j1939_session_completed() finds no\nskb and passes NULL to j1939_sk_recv(), which dereferences it.  The\ndereference happens in the receive softirq, so it is fatal:\n\n  BUG: KASAN: null-ptr-deref in j1939_sk_recv+0xd4/0x3c0\n  Read of size 8 at addr 0000000000000018 by task repro/9528\n   \u003cIRQ\u003e\n   j1939_sk_recv+0xd4/0x3c0\n   j1939_xtp_rx_eoma+0x207/0x300\n   j1939_tp_recv+0x64c/0xa10\n   j1939_can_recv+0x51a/0x640\n   can_receive+0x19e/0x2a0\n   __netif_receive_skb+0x120/0x270\n   process_backlog+0x427/0xd50\n   net_rx_action+0x3f7/0x870\n   handle_softirqs+0x1e5/0x6a0\n   \u003c/IRQ\u003e\n   netif_rx+0x89/0xa0\n   can_send+0x71f/0x7e0\n   raw_sendmsg+0x9ed/0xab0\n  Kernel panic - not syncing: Fatal exception in interrupt\n\nThis is only a mitigation, and it leaves the transport protocol alone\non purpose.  The DPO is still not checked when it arrives, and no abort\nframe is sent to the peer.  Those checks need further changes in the\nsession code, so they follow as their own patch once this one is in.\n\nFound by AI-driven fuzzing built on top of syzkaller; the analysis was\nthen checked by hand against the code.  Measured on current net.git main\nwith KASAN and kasan_multi_shot\u003d1, over one vcan pair, with the same\nreproducer each time: without this patch the report above and the panic;\nwith it no report and no panic, and the new warning fires once per round\nof the reproducer, so the path is still being reached and is now handled.\n\nFixes: 9d71dd0c7009 (\"can: add support of SAE J1939 protocol\")\nSuggested-by: Oleksij Rempel \u003co.rempel@pengutronix.de\u003e\nCc: stable@vger.kernel.org\nCo-developed-by: Kapil Vaswani \u003ckapil@presceralabs.ai\u003e\nSigned-off-by: Kapil Vaswani \u003ckapil@presceralabs.ai\u003e\nSigned-off-by: Piyus Kedia \u003cpiyus@iiitd.ac.in\u003e\nSigned-off-by: Oleksij Rempel \u003co.rempel@pengutronix.de\u003e\nLink: https://patch.msgid.link/20261201-ore-j1939-fixes-2026-11-30-v1-1-a40cb7bf9569@pengutronix.de\nSigned-off-by: Marc Kleine-Budde \u003cmkl@pengutronix.de\u003e\n"
    },
    {
      "commit": "32ef7b4de77b3462b1d784efecd2fcfd79ac9884",
      "tree": "e9aa2d82a44410237d28d3abb7ae3183ff207b9f",
      "parents": [
        "656683f2e292a8ab28b1863a9a8aa0f9417b58a5"
      ],
      "author": {
        "name": "Felix Hoffmann",
        "email": "f3lix.dev@gmx.de",
        "time": "Mon Aug 03 12:15:03 2026 +0200"
      },
      "committer": {
        "name": "Marc Kleine-Budde",
        "email": "mkl@pengutronix.de",
        "time": "Tue Dec 01 09:32:39 2026 +0100"
      },
      "message": "can: j1939: avoid address-claim timer deadlock\n\nj1939_ac_process() holds priv-\u003elock while synchronously canceling an\nECU\u0027s address-claim hrtimer. The timer callback takes the same lock. If the\ncallback starts on another CPU after the receive path takes the lock, the\ncallback waits for priv-\u003elock while hrtimer_cancel() waits for the callback\nto finish. This deadlocks both CPUs and makes the system unresponsive.\n\nReplace the callback\u0027s blocking lock acquisition with write_trylock(). If\nthe lock is busy, move the expiry forward and restart the timer. This lets\na concurrent hrtimer_cancel() observe the callback finish and remove the\nrequeued timer. Without a cancellation, address mapping is retried shortly.\n\nThe failed write trylock does not necessarily mean that the address-claim\nwriter owns priv-\u003elock. Receive processing also takes its read side for\nother frames, and an active reader prevents write_trylock() from\nsucceeding. Document both the address-claim writer and receive-path readers\nas possible sources of contention.\n\nName the 1 ms retry interval J1939_ECU_TIMER_RETRY_DELAY_MS instead of\nusing a literal in the callback. Track consecutive failures per ECU, reset\nthe counter when its timer starts, and emit a warning guarded by\nnet_ratelimit() on the fifth retry. Five is a pragmatic threshold for\ndetecting unusual delay; it is not specified by J1939.\n\nThe timer uses HRTIMER_MODE_REL_SOFT, so its callback runs from\nHRTIMER_SOFTIRQ with bottom halves already disabled. write_trylock() does\nnot change bottom-half state and must therefore pair with write_unlock() on\nsuccess. The write_lock_bh()/write_unlock_bh() pair is unnecessary in this\ncontext.\n\nThis patch was created with LLM assistance.\n\nFixes: 9d71dd0c7009 (\"can: add support of SAE J1939 protocol\")\nCc: stable@vger.kernel.org\nSigned-off-by: Felix Hoffmann \u003cf3lix.dev@gmx.de\u003e\nAcked-by: Oleksij Rempel \u003co.rempel@pengutronix.de\u003e\nLink: https://patch.msgid.link/20260803101503.21023-1-f3lix.dev@gmx.de\n[mkl: convert Assisted-by: tag into prose]\nSigned-off-by: Marc Kleine-Budde \u003cmkl@pengutronix.de\u003e\n"
    },
    {
      "commit": "656683f2e292a8ab28b1863a9a8aa0f9417b58a5",
      "tree": "6add4c15d596991231c62b9bb670667e76010f78",
      "parents": [
        "5b5339693f00c2479d45a941b54875e4e67307bb",
        "ee511454c59ba3d8a5a8e4118dcc659204db81ba"
      ],
      "author": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 22:26:28 2026 -0500"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 22:26:30 2026 -0500"
      },
      "message": "Merge branch \u0027net-skbuff-limit-pagecache-folio-refcount\u0027\n\nDavid Hildenbrand says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nnet: skbuff: limit pagecache folio refcount\n\nThis is v2 of the remaining folio refcount overflow fixes that should go\nthrough the net tree, ideally soon. They address the known cases where\nnetworking can still overflow the folio refcount by taking unbounded\nreferences.\n\nThe series is based on Linus\u0027 tree, which includes the MM prerequisite\nc6c9a4c1c9a16 (\"mm: limit pagecache folio refcount when splicing into\npipes\") that adds the refcount limit checks to try_get_page().\n\nMore details in [1], but in essence:\n\nThere are ways to overflow the folio refcount and cause trouble either\nby letting it go negative or letting it go all the way back to 0.\n\nThis is particularly easy with large pagecache folios, where page table\nmappings can \"easily\" create many references. The MM changes limit\nreferences from page tables, GUP and pipes, and leave some headroom for\nraces, other bounded refcount users etc.\n\nHowever, skbs can easily multiply folio references, so any such skb path\nthat can take unbounded folio references must also obey the new limits: we\nmust use try_get_page() to obtain an additional folio reference and handle\nfailures accordingly.\n\nPatch #1 introduces skb_frag_try_ref() and skb_frags_try_ref() and uses\nthem when copying skb frag references. Patch #2 covers rearranging\nfrags. Patches #3 and #4 cover splicing pages into skbs and splicing data\nfrom sockets into pipes.\n\nWe use existing failure paths where possible. Socket splicing returns\nthe bytes already spliced, or -EFAULT if no data could be spliced because\ntry_get_page() failed.\n\nNet paths that take folio references that I don\u0027t touch because the\nreferences are either bounded or the paths are not relevant in practice:\n\n - skb_split(): each reference needs a new socket-charged skb.\n - IP-TFS reassembly: each reference needs a new inner skb.\n - io_uring zerocopy send: each piece is charged \u003e\u003d 4 KiB of TCP memory.\n - kTLS software splicing: only transfers references from the pipe.\n - kTLS device offload: pushing the record fails in skb_append_pagefrags()\n   (patch #3), so a socket can exceed the limit by about one record.\n - AF_XDP zerocopy TX, nfsd splice reads, sockmap / sk_msg, espintcp:\n   bounded, or require privileges / special setups.\n - Other driver-specific paths: not looked into for now, as I can neither\n   test them nor see if they actually trigger unbounded references.\n - page_pool and net_iov frags: not pagecache pages.\n\nThe original refcount overflow problem was reported by Anthropic; we\nknew that it was possible in theory, but didn\u0027t expect to have easy ways\nto trigger it. After fixing the splice issue, I used AI to identify\nother unbounded folio refcount users, and it flagged various skb-related\npaths. I made it actually reproduce unbounded references. These patches\naddress the paths that were actually reproduced.\n\nI ran tests before and after applying the changes, using a kernel with\nreduced folio refcount limits. These tests focused on exercising the new\nerror paths and checking that the refcount limits were respected.\n\nThese tests covered AF_PACKET, nft dup, NFQUEUE, software GSO\nsegmentation, TCP receive coalescing with dropped ACKs, and socket\nsplicing.\n\nI also ran the following networking selftests successfully:\n\n - net:tls\n - net:udp_splice_checksum\n - net:udpgso.sh\n - net:msg_zerocopy.sh\n\nIf there are any further tests I can run, please let me know; help with\ntesting would be appreciated as well, as I only have access to limited\nhardware and have limited net experience in general.\n\n[1] https://lore.kernel.org/linux-mm/20261112-refcount_overflow_stable-v4-0-ad3deef0bd23@kernel.org/\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n"
    },
    {
      "commit": "ee511454c59ba3d8a5a8e4118dcc659204db81ba",
      "tree": "6add4c15d596991231c62b9bb670667e76010f78",
      "parents": [
        "7cdb6670b716c39b1fdb7e033d2f0f2b5d602ba2"
      ],
      "author": {
        "name": "David Hildenbrand (Arm)",
        "email": "david@kernel.org",
        "time": "Thu Nov 26 22:18:40 2026 +0100"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 22:26:25 2026 -0500"
      },
      "message": "net: skbuff: limit folio refcount when splicing from sockets\n\nVarious networking features support splicing data from sockets into\npipes (TCP, AF_UNIX, KCM, kTLS), whereby spd_fill_page() takes an\nadditional page reference for each fragment, while the skb keeps its own\nreference until it was fully consumed. This allows for exceeding folio\nrefcount limits.\n\nThis is not specific to large pagecache folios, but with them it is a\nlot easier to reach the refcount limit, as page table mappings can cheaply\ncreate many references.\n\nLet\u0027s use try_get_page() in spd_fill_page() and stop splicing with\n-EFAULT if that fails. To propagate the error, add an \"err\" output\nparameter to spd_fill_page(), __splice_segment() and __skb_splice_bits().\n\nIf we could not splice anything, return the error from skb_splice_bits():\nreturning 0 would make the callers (TCP, AF_UNIX, KCM, kTLS) report EOF,\nalthough data is still queued. The callers already handle errors.\n\nUse -EFAULT, consistent with splice_folio_into_pipe().\n\nFixes: 800d8c63b2e9 (\"shmem: add huge pages support\")\nFixes: 99cb0dbd47a1 (\"mm,thp: add read-only THP support for (non-shmem) FS\")\nFixes: 793917d997df (\"mm/readahead: Add large folio readahead\")\nCc: stable@vger.kernel.org\nSigned-off-by: David Hildenbrand (Arm) \u003cdavid@kernel.org\u003e\nLink: https://patch.msgid.link/20261126-skb_refcount_overflow-v2-4-a6f600a5634a@kernel.org\nReviewed-by: Willem de Bruijn \u003cwillemb@google.com\u003e\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "7cdb6670b716c39b1fdb7e033d2f0f2b5d602ba2",
      "tree": "eb2de2b29e003489d6e5692b55f24aa772ecbaa0",
      "parents": [
        "c4c0e59c6b75b620af0bbfd09417c4b314cf658f"
      ],
      "author": {
        "name": "David Hildenbrand (Arm)",
        "email": "david@kernel.org",
        "time": "Thu Nov 26 22:18:39 2026 +0100"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 22:26:25 2026 -0500"
      },
      "message": "net: skbuff: limit folio refcount when splicing pages into skbs\n\nVarious networking features use MSG_SPLICE_PAGES to add pages to skbs,\nwhereby skb_append_pagefrags() takes a page reference for each fragment it\nadds. Pages spliced from pipes were already checked when entering the\npipe, but in-kernel users like sunrpc pass pagecache pages directly. This\nallows for exceeding folio refcount limits.\n\nThis is not specific to large pagecache folios, but with them it is a\nlot easier to reach the refcount limit, as page table mappings can cheaply\ncreate many references.\n\nLet\u0027s use try_get_page() in skb_append_pagefrags() and fail with -EFAULT.\nDon\u0027t use -EMSGSIZE, as TCP would just retry with a new skb. The only\ncaller, skb_splice_from_iter(), handles that.\n\nFor nfsd, such a failure while sending a reply tears down the\nconnection. That can only happen if someone pushed the refcount of an\nexported folio close to the limit, so it\u0027s not relevant in practice;\nnfsd could handle that more gracefully in the future.\n\nFixes: 800d8c63b2e9 (\"shmem: add huge pages support\")\nFixes: 99cb0dbd47a1 (\"mm,thp: add read-only THP support for (non-shmem) FS\")\nFixes: 793917d997df (\"mm/readahead: Add large folio readahead\")\nCc: stable@vger.kernel.org\nAcked-by: Pedro Falcato \u003cpfalcato@suse.de\u003e\nSigned-off-by: David Hildenbrand (Arm) \u003cdavid@kernel.org\u003e\nLink: https://patch.msgid.link/20261126-skb_refcount_overflow-v2-3-a6f600a5634a@kernel.org\nReviewed-by: Willem de Bruijn \u003cwillemb@google.com\u003e\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "c4c0e59c6b75b620af0bbfd09417c4b314cf658f",
      "tree": "ae140bf4d3c08e491420d05b35f6cb1f58b3bf00",
      "parents": [
        "ee5c8fcd02634e5a694f7fdcd352a0b0eb90de6a"
      ],
      "author": {
        "name": "David Hildenbrand (Arm)",
        "email": "david@kernel.org",
        "time": "Thu Nov 26 22:18:38 2026 +0100"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 22:26:25 2026 -0500"
      },
      "message": "net: skbuff: limit folio refcount when rearranging skb frags\n\nVarious networking features take additional references to frag pages\nthat are still referenced elsewhere when rearranging skb frags, for\nexample software GSO segmentation, TCP receive coalescing of clones, SACK\nshifting and MTU probing. This is an effective way for multiplying folio\nreferences held by an skb, allowing for exceeding folio refcount limits.\n\nThis is not specific to large pagecache folios, but with them it is a\nlot easier to reach the refcount limit, as page table mappings can cheaply\ncreate many references.\n\nLet\u0027s use skb_frag_try_ref() and skb_frags_try_ref() in skb_segment(),\nskb_try_coalesce(), skb_shift() and tcp_clone_payload(). All of these can\nalready fail, and their callers handle that.\n\nskb_split() can still add one reference when splitting a frag. But each\nsplit also allocates a new skb that is charged to the socket, reaching\nthe refcount limit that way would require a lot of socket memory, and the\nreferences go away once the data was acked, so it\u0027s not that relevant in\npractice. Making skb_split() fail is more involved, so let\u0027s leave it alone\nfor now.\n\nFixes: 800d8c63b2e9 (\"shmem: add huge pages support\")\nFixes: 99cb0dbd47a1 (\"mm,thp: add read-only THP support for (non-shmem) FS\")\nFixes: 793917d997df (\"mm/readahead: Add large folio readahead\")\nCc: stable@vger.kernel.org\nAcked-by: Pedro Falcato \u003cpfalcato@suse.de\u003e\nSigned-off-by: David Hildenbrand (Arm) \u003cdavid@kernel.org\u003e\nLink: https://patch.msgid.link/20261126-skb_refcount_overflow-v2-2-a6f600a5634a@kernel.org\nReviewed-by: Willem de Bruijn \u003cwillemb@google.com\u003e\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "ee5c8fcd02634e5a694f7fdcd352a0b0eb90de6a",
      "tree": "7cf1a3ee8e79a7dce6f01f51645ed67acef34758",
      "parents": [
        "5b5339693f00c2479d45a941b54875e4e67307bb"
      ],
      "author": {
        "name": "David Hildenbrand (Arm)",
        "email": "david@kernel.org",
        "time": "Thu Nov 26 22:18:37 2026 +0100"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 22:26:25 2026 -0500"
      },
      "message": "net: skbuff: limit folio refcount when copying skb frag references\n\nVarious networking features copy frag references of an skb, for example\nwhen unsharing a cloned skb (AF_PACKET trimming a clone), when copying an\nskb (nft dup) or when building NFQUEUE messages. This is an effective\nway for multiplying folio references held by an skb, allowing for\nexceeding folio refcount limits.\n\nThis is not specific to large pagecache folios, but with them it is a\nlot easier to reach the refcount limit, as page table mappings can cheaply\ncreate many references.\n\nLet\u0027s introduce skb_frag_try_ref() and skb_frags_try_ref(), which use\ntry_get_page(), and use them in pskb_expand_head(), __pskb_copy_fclone(),\nskb_zerocopy() and pskb_carve_inside_*(). All of these can already fail,\nand their callers handle that.\n\nFixes: 800d8c63b2e9 (\"shmem: add huge pages support\")\nFixes: 99cb0dbd47a1 (\"mm,thp: add read-only THP support for (non-shmem) FS\")\nFixes: 793917d997df (\"mm/readahead: Add large folio readahead\")\nCc: stable@vger.kernel.org\nAcked-by: Pedro Falcato \u003cpfalcato@suse.de\u003e\nSigned-off-by: David Hildenbrand (Arm) \u003cdavid@kernel.org\u003e\nLink: https://patch.msgid.link/20261126-skb_refcount_overflow-v2-1-a6f600a5634a@kernel.org\nReviewed-by: Willem de Bruijn \u003cwillemb@google.com\u003e\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "5b5339693f00c2479d45a941b54875e4e67307bb",
      "tree": "39e4a8340df25d0e688f39a4f27f6ba98eb5e165",
      "parents": [
        "5e3ff7927b61387cca90e4da7c5f63e3feddd8b8"
      ],
      "author": {
        "name": "Mingming Cao",
        "email": "mmc@linux.ibm.com",
        "time": "Tue Nov 24 10:42:41 2026 -0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 21:58:36 2026 -0500"
      },
      "message": "MAINTAINERS: update ibmveth maintainers\n\nNick Child has left IBM. Take over maintenance of the ibmveth driver,\nand add Dave Marquardt, who reviews ibmveth patches, as a reviewer.\n\nAcked-by: Dave Marquardt \u003cdavemarq@linux.ibm.com\u003e\nAcked-by: Nick Child \u003cnnc123@gmail.com\u003e\nSigned-off-by: Mingming Cao \u003cmmc@linux.ibm.com\u003e\nLink: https://patch.msgid.link/20261124184241.40470-1-mmc@linux.ibm.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "5e3ff7927b61387cca90e4da7c5f63e3feddd8b8",
      "tree": "0fa80e8390d189bf93387b7d5e537c9c4c36056f",
      "parents": [
        "fcf40733391f2c27a55c6d6357af43dec509f8f5"
      ],
      "author": {
        "name": "Jamal Hadi Salim",
        "email": "jhs@mojatatu.com",
        "time": "Tue Nov 24 04:49:04 2026 -0500"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 20:18:52 2026 -0500"
      },
      "message": "net/sched: sch_teql: unshare the header before writing and fix retry strip\n\nThis is a followup of commit dc4b95b8fee9 (\"net/sched: sch_teql: restore\nskb-\u003edev on the slave failure path\") as reported by Sashiko.\n\nThe issue:\nteql_master_xmit() writes the slave\u0027s link header into the skb in\nteql_resolve() and on retry pulls it back with __skb_pull().  Two bugs:\n\n1. When the skb\u0027s header is cloned (e.g. a tc-mirred action on a\n   physical device\u0027s clsact egress redirects to the teql master), the\n   write corrupts the other clone.  Call skb_cow_head() first.\n\n2. The pull always removes skb_network_offset() bytes.  For an\n   AF_PACKET/SOCK_RAW frame with no dst entry, teql_resolve() adds no\n   header, so the retry strips the user-supplied one.  Pull back only\n   the length this slave added.\n\nThe Fix:\nUnshare the header before the neighbour is asked to send the skb, so the\nskb is private whether the neighbour writes the link header at once or\nparks it on its arp_queue and writes it when the entry resolves.  Start\nevery attempt from the network header, as neigh_resolve_output() does,\nso an skb that arrives with link-layer bytes in front of its network\nheader is given one link header rather than a second one.  Track the\nadded length per iteration; an AF_PACKET frame retries with its header\nintact.\n\nConditions to recreate the bug:\nCONFIG_NET_SCH_TEQL\u003dy and CONFIG_VETH\u003dy, run as root. A teql master with\ntwo veth slaves, the first slave returning NETDEV_TX_BUSY without\nconsuming the skb so that teql retries the frame on the second one:\n\n  ip link add vethBAD type veth peer name vethBADp\n  ip link add vethGOOD type veth peer name vethGOODp\n  ip link set vethBAD up;  ip link set vethBADp up\n  ip link set vethGOOD up; ip link set vethGOODp up\n  tc qdisc add dev vethBAD root teql0\n  tc qdisc add dev vethGOOD root teql0\n  ip link set teql0 up\n\nSend a SOCK_RAW frame that carries its own link header on teql0 and\ncapture it on the second slave\u0027s peer. A veth transmit does not return\nNETDEV_TX_BUSY on its own; to hold the skb pending this reproduction used\na test-only IFF_DEBUG accelerator in veth_xmit(), which is not part of\nthis patch and was applied to both the unfixed and the fixed build.\n\nOn the unfixed tree the captured frame arrives with its header stripped\n(176 of the 208 bytes sent, starting at the payload) because the retry\npulls skb_network_offset() bytes while this slave added none. With the\npatch the frame arrives intact.\n\nThe shared headroom case needs a second reference to the skb to survive\nthe transmit. A PF_PACKET tap on the master whose socket is never\ndrained keeps one alive; a kprobe on eth_header then reports cloned\u003d1\nwithout the patch and cloned\u003d0 with it. The parked path needs the\nunshare before the queue: a tc-mirred mirror on a physical device\u0027s\nclsact egress parks the clone on the teql slave\u0027s unresolved neighbour,\nso hold the original frame in a netem delay on that device and then\nresolve the slave\u0027s neighbour through a changed lladdr. Without the\nunshare the arp-queue drain writes the new link header over the original\nframe\u0027s first bytes, and a listener on the peer sees a frame addressed\nto the new lladdr instead of to itself; with the patch the queued frame\nkeeps its own destination address.\n\nFixes: 1da177e4c3f4 (\"Linux-2.6.12-rc2\")\nReported-by: Sashiko (gemini) \u003csashiko-bot@kernel.org\u003e\nCloses: https://sashiko.dev/#/patchset/20260824115928.4099988-1-victor@mojatatu.com\nReported-by: Sashiko (nipa) \u003csashiko-bot@kernel.org\u003e\nLink: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/QDISC-6HS9.v4.r0.20261111094338-1%40mojatatu.com\nLink: https://lore.kernel.org/netdev/20260824115928.4099988-1-victor@mojatatu.com/\nLink: https://lore.kernel.org/netdev/20261110101908.2e64e8e9@kernel.org/\nLink: https://lore.kernel.org/netdev/DN09UU4NHKLV.29WR92GGDPBP5@gmail.com/\nLink: https://lore.kernel.org/netdev/179543888086.3135.17583427226707859195@kernel.org/\nCc: stable@vger.kernel.org\nReviewed-by: Victor Nogueira \u003cvictor@mojatatu.com\u003e\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\nSigned-off-by: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nLink: https://patch.msgid.link/QDISC-6HS9.v7.r0.20261123194720-1@mojatatu.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "fcf40733391f2c27a55c6d6357af43dec509f8f5",
      "tree": "721031ddf63f37c6363943effc44c9b633477bc3",
      "parents": [
        "76fca30e8d34eb151fcf4f363b51c21b7e8c4709"
      ],
      "author": {
        "name": "Artemii Mashanov",
        "email": "ralerrdirsardx@gmail.com",
        "time": "Sat Nov 21 03:14:14 2026 +0300"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 20:04:46 2026 -0500"
      },
      "message": "net: mlx4_en: report the actual RX classification rule count\n\nmlx4_en_get_rxnfc() treats the input rule_cnt as the number of\nrules it needs to find for ETHTOOL_GRXCLSRLALL.\n\nWith room for four locations and only one rule installed, the\nioctl succeeds with rule_cnt still set to four and three extra\nzero entries. When the buffer has too few slots, the ioctl\nsucceeds with an incomplete list.\n\nBound the scan by the rule table size, skip empty slots and\npropagate unexpected lookup errors. Return -EMSGSIZE when the next\nrule cannot fit and set rule_cnt to the number of copied locations\non success.\n\nThe source-extracted ASan/UBSan regression tests passed.\n\nFixes: 820672812f82 (\"net/mlx4_en: Manage flow steering rules with ethtool\")\nSigned-off-by: Artemii Mashanov \u003cralerrdirsardx@gmail.com\u003e\nReviewed-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nLink: https://patch.msgid.link/20261121001414.724236-1-ralerrdirsardx@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "ee5c04c7d9d5cefd08ca7eb6e9bf434fecf44f92",
      "tree": "0222e5aaa6987a540de94346b5489774cc1bd0d1",
      "parents": [
        "3b09b4aa5f5464748d1e6ff354cfe4c8296c223b"
      ],
      "author": {
        "name": "Ma Xinmeng",
        "email": "1564938642@qq.com",
        "time": "Wed Nov 18 00:14:57 2026 +0800"
      },
      "committer": {
        "name": "Pablo Neira Ayuso",
        "email": "pablo@netfilter.org",
        "time": "Mon Nov 30 21:59:26 2026 +0100"
      },
      "message": "netfilter: nf_tables: only disable tables on a dormant transition\n\nnf_tables_commit() calls nf_tables_table_disable() for every NEWTABLE\ntransaction that has NFT_TABLE_F_DORMANT set and __NFT_TABLE_F_UPDATE.\nSince table adoption introduced __NFT_TABLE_F_WAS_ORPHAN, UPDATE no\nlonger implies a dormant state change: re-owning an already dormant\nPERSIST orphan sets UPDATE because of the adoption, even though the\ntable never left the dormant state. The commit then clears DORMANT,\nwalks the basechains, and unregisters a hook that was never registered,\nwhich triggers WARN_ONCE(\"hook not found\") in __nf_unregister_net_hook().\n\nNote that NAT hook refcount corruption is also possible along with\nWARN_ON(users \u003d\u003d 0) since NAT hook unregistration follows a different\npath.\n\nUse __NFT_TABLE_F_WAS_AWAKEN, which records an awake-to-dormant\ntransition, instead of the current DORMANT flag. This skips the disable\nfor an already dormant adopted table while preserving the genuine\nawake-to-dormant path.\n\nFixes: 31bf508be656 (\"netfilter: nf_tables: Implement table adoption support\")\nSigned-off-by: Ma Xinmeng \u003c1564938642@qq.com\u003e\nReviewed-by: Xuanqiang Luo \u003cluoxuanqiang@kylinos.cn\u003e\nSigned-off-by: Pablo Neira Ayuso \u003cpablo@netfilter.org\u003e\n"
    },
    {
      "commit": "3b09b4aa5f5464748d1e6ff354cfe4c8296c223b",
      "tree": "24e49a81a78ccc1c70a051ad1c53e7cd1c7c73a8",
      "parents": [
        "75dc1bad7897766e722e1552e5408e2497d6be36"
      ],
      "author": {
        "name": "Florian Westphal",
        "email": "fw@strlen.de",
        "time": "Tue Nov 17 04:24:53 2026 +0100"
      },
      "committer": {
        "name": "Pablo Neira Ayuso",
        "email": "pablo@netfilter.org",
        "time": "Mon Nov 30 21:59:26 2026 +0100"
      },
      "message": "netfilter: synproxy: fix double tsoff application in server ACK TSecr\n\nWhen SYNPROXY is active with timestamp options enabled, the handshake ACK\nsent to the backend carries a TSecr that is off by synproxy-\u003etsoff.\n\nThe code swaps tsval and tsecr before calling synproxy_send_server_ack().\nThe ACK is built with the correct TSecr (the server\u0027s TSval), but it\nre-enters ipv4_synproxy_hook() on its way out, where\nsynproxy_tstamp_adjust() adds tsoff to TSecr a second time.\n\nSince commit 3ba075278c11 (\"tcp: be less liberal in TSEcr received while in\nSYN_RECV state\") Linux TCP performs stricter validation and such backends\nwill drops the ACK. This will delay connection establishment until the\nserver SYN-ACK retransmit, which may take a few seconds.\n\nReplace the swap() by explicit initialisation of tsval/tsecr for both\nthe server and client ACKs.  Build the server ACK with TSecr\npre-compensated (server TSval - tsoff), so that the adjustment on\nre-entry yields the server\u0027s actual TSval.\n\nFixes: 48b1de4c110a (\"netfilter: add SYNPROXY core/target\")\nReported-and-tested-by: Dominik Shaim Ulrich \u003cinfo@openservis.cz\u003e\nCloses: https://lore.kernel.org/netfilter-devel/CAFvzkdAXBNAWcHFNo6akAo63Wd8B_jvhkt\u003dAEmuLR9fgPBEfGg@mail.gmail.com/\nSigned-off-by: Florian Westphal \u003cfw@strlen.de\u003e\nSigned-off-by: Pablo Neira Ayuso \u003cpablo@netfilter.org\u003e\n"
    },
    {
      "commit": "75dc1bad7897766e722e1552e5408e2497d6be36",
      "tree": "fb007f198c457e43a5f989f8ec17d98c9734afed",
      "parents": [
        "09ef4f3696ff1ef50ff5fcf521ac33a7d4317246"
      ],
      "author": {
        "name": "Luxiao Xu",
        "email": "rakukuip@gmail.com",
        "time": "Mon Nov 23 11:11:01 2026 +0800"
      },
      "committer": {
        "name": "Pablo Neira Ayuso",
        "email": "pablo@netfilter.org",
        "time": "Mon Nov 30 21:59:15 2026 +0100"
      },
      "message": "netfilter: bridge: detach conntrack template on invalid IP frames\n\nA bridge rule such as nftables `ct zone set` can attach a conntrack\ntemplate with IP_CT_NEW to an skb before nf_ct_bridge_pre() runs. When\na frame has an ETH_P_IP or ETH_P_IPV6 protocol, nf_ct_bridge_pre()\nperforms header pull, length trimming, and nf_ct_br_ip_check() /\nnf_ct_br_ipv6_check() validation before invoking defragmentation and\nnf_conntrack_in().\n\nIf any of those six checks fails, nf_ct_bridge_pre() returns NF_ACCEPT\nimmediately without passing the skb to nf_conntrack_in(), which would\nnormally clear skb-\u003e_nfct and drop the template reference on parse\nfailure. Because nft_ct_get_eval() evaluates NFT_CT_STATE from ct and\nctinfo before rejecting template objects, the retained template causes\nmalformed, truncated, or wrong-version IP frames to match `ct state new`\ninstead of `ct state invalid`.\n\nJump to a shared error path that calls nf_reset_ct(skb) before returning\nNF_ACCEPT on all IPv4 and IPv6 header/length rejection paths so the\ntemplate reference is released and the frame is treated as invalid,\neven on kernels without downstream template filtering in ct readers.\n\n[ While at it, drop packet if pskb_trim_rcsum() fails, when memory is\n  exhausted. --pablo ]\n\nFixes: 3c171f496ef5 (\"netfilter: bridge: add connection tracking system\")\nCc: stable@vger.kernel.org\nReported-by: VEGA \u003cvega@nebusec.ai\u003e\nReported-by: Sashiko \u003csashiko-bot@kernel.org\u003e\nCloses: https://sashiko.dev/#/patchset/3cf187b612fd78f8835fa9dad870326ce380f82f.1785479514.git.zhilinz@nebusec.ai\nSigned-off-by: Luxiao Xu \u003crakukuip@gmail.com\u003e\nSigned-off-by: Ren Wei \u003cweir@nebusec.ai\u003e\nAcked-by: Florian Westphal \u003cfw@strlen.de\u003e\nSigned-off-by: Pablo Neira Ayuso \u003cpablo@netfilter.org\u003e\n"
    },
    {
      "commit": "09ef4f3696ff1ef50ff5fcf521ac33a7d4317246",
      "tree": "fabaa1d44894dd3532ee074af394229f2914c999",
      "parents": [
        "fe32ee624fcc48f85bd798e37929ad110216ca71"
      ],
      "author": {
        "name": "Yiran Qiu",
        "email": "eritque-arcus@ikuyo.dev",
        "time": "Tue Nov 17 13:11:40 2026 -0500"
      },
      "committer": {
        "name": "Pablo Neira Ayuso",
        "email": "pablo@netfilter.org",
        "time": "Mon Nov 30 21:46:59 2026 +0100"
      },
      "message": "netfilter: conntrack: skip unconfirmed entries in /proc/net/nf_conntrack\n\nct_seq_show() takes a reference on a conntrack it found by a lockless\nwalk of the hash table, but never checks that the conntrack is\nconfirmed.  nf_conntrack is SLAB_TYPESAFE_BY_RCU, so between\nct_get_next() and refcount_inc_not_zero() the entry can be freed and\nits slot reused by init_conntrack() for a new, unconfirmed conntrack.\nThe increment then succeeds and the dump prints a conntrack that is not\nin any table.  nf_ct_key_equal(), gc_worker_skip_ct() and early_drop()\nreject unconfirmed entries for this reason.\n\nSince commit 2ad9d7747c10 (\"netfilter: conntrack: free extension area\nimmediately\") this is also a use-after-free.  An unconfirmed conntrack\ncan still grow its extension area, for example when an nft ct helper\nobject attaches a helper, and nf_ct_ext_add() then frees the old\nct-\u003eext through krealloc().  seq_print_acct() and ct_show_delta_time()\nread ct-\u003eext without a lock, so the dump can read the freed buffer and\nprint what it finds there as counters or a time delta.\n\nSkip entries that are not confirmed.\n\nFound with afb-afl, an LLM-driven kernel audit/repro pipeline; the fix\nand this changelog were also drafted with LLM assistance.  Reproduced\non a KASAN build of mainline (v7.4-rc3+) that carried timing counters\nin ct_seq_show() (two ktime_get() per entry) but no added delay: an\nunprivileged user in its own user and network namespace churns UDP\nflows through an nft ct helper object while reading\n/proc/net/nf_conntrack, and KASAN reported a slab-use-after-free in\nct_seq_show() after 9 and 41 minutes in two runs.  The same build with\nthis patch ran the reproducer for 60 minutes with no report.  With only\nthis patch applied to a KASAN build, the conntrack_resize.sh selftest,\nwhich compares /proc/net/nf_conntrack with ctnetlink dumps, passed in\nthree runs.\n\nFixes: ea781f197d6a (\"netfilter: nf_conntrack: use SLAB_DESTROY_BY_RCU and get rid of call_rcu()\")\nCc: stable@vger.kernel.org\nSigned-off-by: Yiran Qiu \u003ceritque-arcus@ikuyo.dev\u003e\nSigned-off-by: Pablo Neira Ayuso \u003cpablo@netfilter.org\u003e\n"
    },
    {
      "commit": "fe32ee624fcc48f85bd798e37929ad110216ca71",
      "tree": "3c1513e4743291a6a48e22306bc7baa0da884bac",
      "parents": [
        "b3d348de3e99733c0791740914ad387e25145243"
      ],
      "author": {
        "name": "Florian Westphal",
        "email": "fw@strlen.de",
        "time": "Tue Nov 10 14:34:43 2026 +0100"
      },
      "committer": {
        "name": "Pablo Neira Ayuso",
        "email": "pablo@netfilter.org",
        "time": "Mon Nov 30 21:46:59 2026 +0100"
      },
      "message": "netfilter: conntrack: limit master chain depth\n\nA conntrack can point to a master conntrack, which itself may point to\nanother master, and so on.  There is currently no bound on how deep this\nchain can grow.\n\nForce a max depth in nf_ct_expect_alloc(): walk the master chain and\nreject expectation allocation if it would exceed 8 levels of nesting.\n\nFor too long chains, ctnetlink returns -ENOMEM when creating long master\nchains through expectations, this is misleading but adding ERR_PTR()\nwould make this fix larger at this stage, this can be revisited later on\nif there is a use-case, but such scenario is unlikely in production.\n\nAdd ctnetlink_find_get_master which validates the new maximum levels of\nnesting as well, ctnetlink create now returns -EMLINK in this case.\n\nThis prevents unbounded ct-\u003emaster-\u003emaster-\u003e... chains.\n\nThis also restricts the number of call forward/redirects that h323 and sip\nhelpers will follow.\n\nFixes: c1d10adb4a52 (\"[NETFILTER]: Add ctnetlink port for nf_conntrack\")\nReported-by: Daehyeon Ko \u003c4ncienth@gmail.com\u003e\nSigned-off-by: Florian Westphal \u003cfw@strlen.de\u003e\nSigned-off-by: Pablo Neira Ayuso \u003cpablo@netfilter.org\u003e\n"
    },
    {
      "commit": "b3d348de3e99733c0791740914ad387e25145243",
      "tree": "ba3fd3b19acc875949d50b5d5e18ace06ca0208a",
      "parents": [
        "46a9489976c3f23338e140608c0eb2db877d7df7"
      ],
      "author": {
        "name": "Nguyen Ngoc Thang",
        "email": "ngocthang2710.1999@gmail.com",
        "time": "Mon Oct 05 22:12:57 2026 +0700"
      },
      "committer": {
        "name": "Pablo Neira Ayuso",
        "email": "pablo@netfilter.org",
        "time": "Mon Nov 30 21:45:42 2026 +0100"
      },
      "message": "netfilter: nft_synproxy: only handle pure SYN and ACK packets\n\nnft_synproxy treats any segment with SYN set as a client\u0027s initial SYN\nand any segment with ACK set as the client\u0027s final ACK. A SYN-ACK thus\ngets answered with a fresh SYN-ACK cookie.\n\nIf that reply is routed back to the same host, e.g. to a peer address\ncovered by an address on lo, it re-enters the input hook, is answered\nagain, and never stops. Every such SYN starts its own endless loop over\nthe loopback backlog, so NET_RX softirq keeps the CPU busy and memory\nfills with skbs and rtable entries until workqueues stall and the\nmachine OOMs.\n\nUse the same flag checks as ip(6)t_SYNPROXY: SYN without ACK, FIN or\nRST is an initial SYN; ACK without SYN, FIN or RST is the client ACK.\nAnything else falls through to the next expression.\n\nFixes: ad49d86e07a4 (\"netfilter: nf_tables: Add synproxy support\")\nReported-by: syzbot+d7795c8487ca4e20ed88@syzkaller.appspotmail.com\nCloses: https://syzkaller.appspot.com/bug?extid\u003dd7795c8487ca4e20ed88\nReported-by: syzbot+d0d2f1a65f45b319d25d@syzkaller.appspotmail.com\nCloses: https://syzkaller.appspot.com/bug?extid\u003dd0d2f1a65f45b319d25d\nSigned-off-by: Nguyen Ngoc Thang \u003cngocthang2710.1999@gmail.com\u003e\nReviewed-by: Fernando Fernandez Mancera \u003cfmancera@suse.de\u003e\nSigned-off-by: Pablo Neira Ayuso \u003cpablo@netfilter.org\u003e\n"
    },
    {
      "commit": "76fca30e8d34eb151fcf4f363b51c21b7e8c4709",
      "tree": "660e364b456434d4de55cd8800367e245af301a8",
      "parents": [
        "2b63c96c723cad8a69dc01a40789166199c98275"
      ],
      "author": {
        "name": "Florian Westphal",
        "email": "fw@strlen.de",
        "time": "Tue Nov 24 16:26:35 2026 +0100"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Mon Nov 30 17:46:12 2026 +0100"
      },
      "message": "MAINTAINERS: don\u0027t CC netdev on netfilter patches\n\nNetfilter patches are handled by the netfilter maintainers and the\nnetfilter-devel list, yet scripts/get_maintainer.pl also suggests the\nnetdev maintainers and netdev@vger.kernel.org for them, because the\nNETWORKING [GENERAL] entry matches net/ and include/net/ as a whole.\n\nAdd exclusion entries for every path already listed in the NETFILTER\nentry.  This is done to reduce the mailing list load on netdev@,\nwhich does not need to be Cc\u0027d on netfilter changes. Patches merged\ninto either nf or nf-next tree will still be passed on to the net\nmaintainers.\n\nSigned-off-by: Florian Westphal \u003cfw@strlen.de\u003e\nAcked-by: Pablo Neira Ayuso \u003cpablo@netfilter.org\u003e\nLink: https://patch.msgid.link/20261124152635.26769-1-fw@strlen.de\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "2b63c96c723cad8a69dc01a40789166199c98275",
      "tree": "278248340930205b9b6d7aa7f17fb0be13502c5c",
      "parents": [
        "c37dc36c4bfbf145289be686bd5fe8950c66d83e"
      ],
      "author": {
        "name": "Suyuan Wang",
        "email": "stevewong@hust.edu.cn",
        "time": "Sun Nov 22 08:17:26 2026 +0000"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 10:53:17 2026 -0500"
      },
      "message": "net: reuseport: honour SO_LOCK_FILTER in SO_DETACH_REUSEPORT_BPF\n\nSO_LOCK_FILTER lets a process lock the filters on a socket before\nhanding it to a less privileged one. Once it is set, the existing attach\nand detach paths reject changes to the socket\u0027s BPF filters with -EPERM,\nbut SO_DETACH_REUSEPORT_BPF does not check SOCK_FILTER_LOCKED. So an\nunprivileged process that receives a locked socket can still remove the\nreuseport program, which then changes how packets and connections are\nspread over the whole reuseport group.\n\nReturn -EPERM from reuseport_detach_prog() when the filter is locked,\nlike sk_detach_filter() does.\n\nFound with a static analysis tool and checked by hand.\n\nFixes: 99f3a064bc2e (\"bpf: net: Add SO_DETACH_REUSEPORT_BPF\")\nCc: stable@vger.kernel.org\nCo-developed-by: Kaixuan Li \u003ckaixuan.li@ntu.edu.sg\u003e\nSigned-off-by: Kaixuan Li \u003ckaixuan.li@ntu.edu.sg\u003e\nSigned-off-by: Suyuan Wang \u003cstevewong@hust.edu.cn\u003e\nReviewed-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nLink: https://patch.msgid.link/20261122-reuseport-lock-filter-v1-1-a3e5324c8d55@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "c37dc36c4bfbf145289be686bd5fe8950c66d83e",
      "tree": "eaf4e90ad496a04f253df4688d5619df97df44ce",
      "parents": [
        "80a141905909ae1f46938180e7fb8c7291363c9a"
      ],
      "author": {
        "name": "Sihyeon Park",
        "email": "me@7xz.dev",
        "time": "Mon Nov 23 21:27:32 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 10:36:15 2026 -0500"
      },
      "message": "net/ncsi: bound channel walks by a valid Channel Count\n\nncsi_probe_channel() and ncsi_suspend_channel() (state\nncsi_dev_state_suspend_gls) walk the channels of a package by\nincrementing ndp-\u003echannel_probe_id until it equals ndp-\u003echannel_count.\nchannel_count is a single device-wide value, copied unchecked from the\nChannel Count field of the most recent Get Capabilities response in\nncsi_rsp_handler_gc(). A controller reporting a value outside the valid\nrange breaks these walks:\n\n- Channel Count 0: in the suspend_gls state channel_probe_id is already\n  1 when it is first compared, so the walk never ends. The driver keeps\n  sending Get Link Status to channel IDs 0, 1, 2, ..., a single\n  link-down AEN never completes the reconfiguration, and NC-SI does not\n  recover when the link returns. A down/up/down flap in that window also\n  logs \"Wrong NCSI state 0x100 in workqueue\" and stops channel\n  monitoring. Because the value is not reset between packages, the next\n  package\u0027s probe also stops after Clear Initial State on channel 0,\n  so its version, capabilities and link state are never read.\n\n- Channel Count above NCSI_RESERVED_CHANNEL: the walks send commands to\n  channel IDs past the 5-bit channel field. NCSI_TO_CHANNEL() does not\n  mask the channel, so channel 31 becomes the reserved channel and\n  channel 32 on package 0 goes out as package 1, channel 0. If a second\n  package answers that Clear Initial State before it has been added by\n  the Select Package response, ncsi_rsp_handler_cis() calls\n  ncsi_add_channel() with a NULL package and the kernel oopses.\n\nDSP0222 defines Channel Count as the number of channels the controller\nsupports, so a conforming controller reports a value from 1 to 31; these\nare robustness fixes for non-conforming controllers, firmware bugs and\nemulators (libslirp\u0027s NC-SI responder, used by QEMU user networking on\nthe Aspeed machines, reports 0).\n\nClamp the stored value to [1, NCSI_RESERVED_CHANNEL] and warn when the\ncontroller reports something else: a controller that answered on a\nchannel has at least one, and channel IDs stop at 0x1e. Also terminate\nboth walks with \"\u003e\u003d\" instead of \"\u003d\u003d\", so that a later Get Capabilities\nresponse that lowers channel_count in the middle of a walk cannot make\nit run past the new bound.\n\nTested on QEMU 11.1.3 romulus-bmc (aspeed_g5_defconfig; unpatched: net\ntree at e203d8a4751d, patched: af6737b90668, no net/ncsi changes in\nbetween) with a minimal initramfs and a loopback NC-SI controller\nemulator with one or two packages of one channel each (pN \u003d Channel\nCount reported by package N):\n\n  kernel     count       event   result\n  unpatched  p0\u003d33, p1\u003d1  boot    oops: ncsi_add_channel(NULL package)\n  patched    p0\u003d33, p1\u003d1  boot    warning; p0 and p1 probed normally\n  unpatched  p0\u003d0,  p1\u003d1  boot    p1 channel 0 gets CIS only\n  patched    p0\u003d0,  p1\u003d1  boot    warning; p1 gets CIS, GVI, GC, GLS\n  unpatched  p0\u003d0         A, B    no recovery (GLS to ch 0,1,2,...)\n  patched    p0\u003d0         A, B    recovers; same commands as count 1\n  patched    p0\u003d1         A, B    unchanged; ch0 GLS 58 per 60 s\n\n(A) link-down AEN, link-up 15 s later; (B) down, up, down 0.5 s apart,\nlink-up 15 s later; measured 180 s after the final link-up.\n\n(CIS: Clear Initial State, GVI: Get Version ID, GC: Get Capabilities,\nGLS: Get Link Status)\n\nAn AI coding assistant (Claude Code) was used to analyze the problem,\nreproduce it in QEMU and draft this patch; I reviewed the change and\nthe test results.\n\nFixes: e85e271dec02 (\"net/ncsi: Fix the multi thread manner of NCSI driver\")\nSigned-off-by: Sihyeon Park \u003cme@7xz.dev\u003e\nLink: https://patch.msgid.link/20261123122732.2971-1-me@7xz.dev\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "80a141905909ae1f46938180e7fb8c7291363c9a",
      "tree": "2f9cf5b620cd3b112ef31bee5e90a0671bb3e364",
      "parents": [
        "5aa79ea169d0d1a67a8163db34df13385ce01cd4"
      ],
      "author": {
        "name": "Juan Agustin Niccolini",
        "email": "juanagusnicco@gmail.com",
        "time": "Mon Nov 23 01:38:42 2026 -0500"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 10:22:57 2026 -0500"
      },
      "message": "tls: set the copy cursor before cloning plaintext\n\ntls_sw_sendmsg_locked() copies into the open record by cloning space\nwith tls_clone_plaintext_msg() and filling it with\nsk_msg_memcopy_from_iter(), which starts at sg.curr and sg.copybreak\nas left by whatever last added to the record. The copy trusts other\npaths to leave that cursor in the right state, and they have not.\n\nSince commit d829e9c4112b (\"tls: convert to generic sk_msg interface\"),\nthe path that adds the caller\u0027s own pages (sendpage, later splice) did\nnot move sg.curr, so the next copy wrote into those pages. Commit\nc5a595000e26 (\"net: tls, update curr on splice as well\") fixed that by\nmaking the splice path leave sg.curr at sg.end with copybreak 0. That\nis only correct if the clone adds a new element. sk_msg_clone() instead\ngrows the last element when the cloned range is contiguous with it, so\nsg.end does not move, and the copy starts at an unused slot, wraps\naround the ring and writes from sg.start, into the spliced pages again.\n\nThe spliced pages can be page cache pages of a file the caller opened\nread-only, so an unprivileged user can change the cached contents of a\nfile it cannot write.\n\nThe copy path always appends after the data already in the record, so\nset the cursor there before cloning: on the last element with copybreak\nat its length, or at sg.start when the record is empty, as\nsk_msg_reset_curr() does. That holds whether the clone grows the last\nelement or adds a new one, and it covers every path that adds to the\nrecord, whatever state it left the cursor in.\n\nThis is where the cursor should have been set all along. With it set\nhere, the copy never depended on the splice path moving sg.curr, so\nneither the original bug nor the one introduced by its fix would\nhave existed.\n\nI found this bug during an LLM-based audit. Kyle Zeng and Eddy\nTsalolikhin independently reported it before and are credited below.\n\nFixes: d829e9c4112b (\"tls: convert to generic sk_msg interface\")\nFixes: c5a595000e26 (\"net: tls, update curr on splice as well\")\nReported-by: Eddy Tsalolikhin \u003ceddsterxyz@gmail.com\u003e\nReported-by: Kyle Zeng \u003ckylebot@openai.com\u003e\nCloses: https://lore.kernel.org/all/20261030042138.73739-1-kylebot@openai.com/\nCc: stable@vger.kernel.org\nSigned-off-by: Juan Agustin Niccolini \u003cjuanagusnicco@gmail.com\u003e\nLink: https://patch.msgid.link/20261123063842.64536-1-juanagusnicco@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "5aa79ea169d0d1a67a8163db34df13385ce01cd4",
      "tree": "506e07b39914b18d14965d0e1968359fe8f3d63f",
      "parents": [
        "911e929f07d35d4ec1727256c6b8b5ddeaf74a86",
        "21a41535cf1730fb2dceed58d6fbd53f6d297f8a"
      ],
      "author": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 10:16:25 2026 -0500"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 10:16:27 2026 -0500"
      },
      "message": "Merge branch \u0027net-mlx5e-fix-null-pointer-dereference-in-arfs_create_groups\u0027\n\nJin Qi says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nnet/mlx5e: fix NULL pointer dereference in arfs_create_groups()\n\nThe following patch fixes a NULL pointer dereference in the mlx5e aRFS\ncode, which oopses the kernel during NIC bring-up.\n\nThe bug was introduced by commit 3c6d5189246f (\"net/mlx5e: fix a\ndouble-free in arfs_create_groups\", in v6.8) and is still present in\nv7.4-rc2.\n\n1. What happens\n\narfs_create_groups() creates up to two flow groups in ft-\u003eg[], and\nincrements ft-\u003enum_groups for each group that was created successfully.\nIf creating the second group fails, the error path frees ft-\u003eg and sets\nit to NULL, but leaves ft-\u003enum_groups at 1.\n\nThe only caller, arfs_create_table(), calls mlx5e_destroy_flow_table() on\nthe error path, which calls mlx5e_destroy_groups():\n\n\tfor (i \u003d ft-\u003enum_groups - 1; i \u003e\u003d 0; i--) {\n\t\tif (!IS_ERR_OR_NULL(ft-\u003eg[i]))\n\t\t\tmlx5_destroy_flow_group(ft-\u003eg[i]);\n\t\tft-\u003eg[i] \u003d NULL;\n\t}\n\nft-\u003eg is NULL at this point, so ft-\u003eg[0] is a NULL pointer dereference.\nNote that only a failure of the *second* group triggers this; if the\nfirst group fails, num_groups is still 0 and the loop body never runs.\n\nThe same error path also leaks the flow group that was created\nsuccessfully before the failure, since ft-\u003eg is freed without the group\nbeing destroyed.\n\n2. How this was introduced\n\nCommit 3c6d5189246f fixed a double free of ft-\u003eg between\narfs_create_groups() and its caller. Before that commit, the group\nfailure path did not touch ft-\u003eg at all:\n\n\terr:\n\t\terr \u003d PTR_ERR(ft-\u003eg[ft-\u003enum_groups]);\n\t\tft-\u003eg[ft-\u003enum_groups] \u003d NULL;\n\tout:\n\t\tkvfree(in);\n\t\treturn err;\n\nso the caller destroyed the flow groups that had been created and then\nfreed the array. That commit fixed the double free in the allocation\nfailure path by freeing ft-\u003eg here as well, and in doing so changed the\ngroup failure path too:\n\n\terr_clean_group:\n\t\terr \u003d PTR_ERR(ft-\u003eg[ft-\u003enum_groups]);\n\t\tft-\u003eg[ft-\u003enum_groups] \u003d NULL;\n\terr_free_in:\n\t\tkvfree(in);\n\terr_free_g:\n\t\tkfree(ft-\u003eg);\n\t\tft-\u003eg \u003d NULL;\n\t\treturn err;\n\nThe reset of ft-\u003enum_groups that would have prevented this was\nsuggested during review, but deferred (\"it is a better idea to leave it\nto a refector patch one day\"), and that patch never landed.\n\n3. The oops\n\nUnable to handle kernel NULL pointer dereference at virtual address 0000000000000000\nOops [#1]\nepc : mlx5e_destroy_groups+0x38/0x6c\n ra : mlx5e_destroy_flow_table+0x10/0x30\nstatus: 0000000200000120 badaddr: 0000000000000000 cause: 000000000000000d\n[\u003cffffffff80843604\u003e] mlx5e_arfs_create_tables+0x44c/0x5d8\n[\u003cffffffff80815bd6\u003e] mlx5e_create_flow_steering+0x42/0x6bc\n[\u003cffffffff808043e4\u003e] mlx5e_init_nic_rx+0x84/0x14c\n[\u003cffffffff80808a4c\u003e] mlx5e_attach_netdev+0xb8/0x2e8\n[\u003cffffffff8080f36e\u003e] mlx5e_probe+0x48e/0x81c\nCode: 89b3 40f9 e052 098e 7a7d a011 84be 3783 0109 97a6 (6398) 853a\nKernel panic - not syncing: Attempted to kill init! exitcode\u003d0x0000000b\n\nThe register dump shows a5 \u003d 0, i.e. ft-\u003eg was read as NULL. Offset 16\nof struct mlx5e_flow_table is ft-\u003eg, and the faulting instruction loads\nfrom the address in a5, so the faulting access is the ft-\u003eg[0] read.\n\nNote that the bug itself is not architecture specific. It is a plain\nerror path in C, and it is reachable on any architecture; the register\ndump above is only from the machine on which it was hit.\n\n4. How this was hit\n\nThis was found while testing a virtual mlx5 device whose firmware\nanswers host mailbox commands. The device took longer than the\nfirmware\u0027s own timeout to answer one CREATE_FLOW_GROUP command, so the\nfirmware reported the command as failed even though the device had\ncompleted it. The host then took its error path, and the bug above\nturned a command failure into a kernel panic.\n\nThat is only the trigger though, not the cause: the host oopses on any\nerror returned by CREATE_FLOW_GROUP, no matter where the error comes\nfrom (a device that rejects the command, a resource shortage, a command\ntimeout, ...). A firmware that returns an error for the second\nCREATE_FLOW_GROUP is enough to reproduce it.\n\nA minimal reproduction is therefore: enable aRFS, and make the second\nCREATE_FLOW_GROUP of one of the aRFS flow tables fail. The kernel\nthen calls mlx5e_destroy_flow_table() with ft-\u003enum_groups \u003d\u003d 1 and\nft-\u003eg \u003d\u003d NULL, and dereferences the NULL array.\n\n5. The fix\n\nThe patch leaves the free of ft-\u003eg to the caller:\nmlx5e_destroy_flow_table() frees ft-\u003eg exactly once, and also destroys\nthe flow groups that were created. This fixes the NULL pointer\ndereference and the leak, while keeping the double free fixed.\n\nFor the three error paths of arfs_create_groups():\n\n  ft-\u003eg     num_groups  what the caller does\n  --------  ----------  ----------------------------------------\n  NULL      0           kfree(NULL), no group to destroy\n  non-NULL  0           kfree(ft-\u003eg), no group to destroy\n  non-NULL  1           destroy the created group, then kfree(ft-\u003eg)\n\nft-\u003eg is therefore freed exactly once in all three cases, so the double\nfree that 3c6d5189246f fixed stays fixed.\n\n6. Scope\n\nThe patch was reviewed against v7.4-rc2 and applies cleanly. The crash\nitself was reproduced on a virtual mlx5 device; the patched kernel was\nnot booted, so this patch is not marked as tested.\n\nv1: https://lore.kernel.org/netdev/20261114144325.816-1-jinvas@126.com/\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261124091455.1714-1-jinvas@126.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "21a41535cf1730fb2dceed58d6fbd53f6d297f8a",
      "tree": "506e07b39914b18d14965d0e1968359fe8f3d63f",
      "parents": [
        "911e929f07d35d4ec1727256c6b8b5ddeaf74a86"
      ],
      "author": {
        "name": "Jin Qi",
        "email": "jinvas@126.com",
        "time": "Tue Nov 24 17:14:55 2026 +0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 10:16:22 2026 -0500"
      },
      "message": "net/mlx5e: fix NULL pointer dereference in arfs_create_groups()\n\narfs_create_groups() creates up to two flow groups in ft-\u003eg[], and\nincrements ft-\u003enum_groups for each group that was created successfully.\nIf creating the second group fails, the error path frees ft-\u003eg and sets\nit to NULL, but leaves ft-\u003enum_groups at 1.\n\nThe only caller, arfs_create_table(), calls mlx5e_destroy_flow_table() on\nthe error path, which calls mlx5e_destroy_groups(). The latter walks\nft-\u003eg[] from ft-\u003enum_groups - 1 down to 0 and dereferences ft-\u003eg[0].\nSince ft-\u003eg was freed and set to NULL, this is a NULL pointer\ndereference, and the kernel oopses.\n\nThe same error path also leaks the flow group that was created\nsuccessfully before the failure, since ft-\u003eg is freed without the group\nbeing destroyed.\n\nFreeing ft-\u003eg here was added by commit 3c6d5189246f (\"net/mlx5e: fix a\ndouble-free in arfs_create_groups\"). Before that commit, the group\nfailure path did not touch ft-\u003eg at all, so the caller destroyed the\nflow groups that had been created and then freed the array. That\ncommit fixed a double free in the allocation failure path by freeing\nft-\u003eg here as well, and in doing so changed the group failure path\ntoo.\n\nRather than also resetting ft-\u003enum_groups, leave the free of ft-\u003eg to\nthe caller: mlx5e_destroy_flow_table() frees ft-\u003eg exactly once, and\nalso destroys the flow groups that were created. This fixes the NULL\npointer dereference and the leak, while keeping the double free fixed.\n\nThe bug was hit on a virtual mlx5 device whose firmware answers host\nmailbox commands. The device took longer than the firmware\u0027s own\ntimeout to answer one CREATE_FLOW_GROUP command, so the firmware\nreported the command as failed even though the device had completed it.\nThe host then took the error path and oopsed:\n\n  Oops [#1]\n  epc : mlx5e_destroy_groups+0x38/0x6c\n   ra : mlx5e_destroy_flow_table+0x10/0x30\n  status: 0000000200000120 badaddr: 0000000000000000 cause: 000000000000000d\n\nNote that the host oopses on any error returned by CREATE_FLOW_GROUP,\nno matter where the error comes from, so the trigger is not specific to\nthat firmware.\n\nThe fix has not been tested: the patched kernel was not booted, only the\noriginal crash was reproduced.\n\nFixes: 3c6d5189246f (\"net/mlx5e: fix a double-free in arfs_create_groups\")\nSigned-off-by: Jin Qi \u003cjinvas@126.com\u003e\nReviewed-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nReviewed-by: Daniel Machon \u003cdaniel.machon@microchip.com\u003e\nLink: https://patch.msgid.link/20261124091455.1714-2-jinvas@126.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "911e929f07d35d4ec1727256c6b8b5ddeaf74a86",
      "tree": "1821c39a15bd831aa0009db5c093ae8dc5d83d13",
      "parents": [
        "431f957cb67c29426cd056bb2f3bbcbedb01c314"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "edumazet@kernel.org",
        "time": "Mon Nov 23 19:46:02 2026 +0100"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 10:11:52 2026 -0500"
      },
      "message": "net/sched: fq_pie: clear memory_usage and flow backlog in fq_pie_reset()\n\nfq_pie_reset() frees all queued packets but does not update\nq-\u003ememory_usage, which is only decremented in fq_pie_qdisc_dequeue().\n\nAfter each reset of a non-empty qdisc (dev_deactivate(), parent purge),\nthe memory_usage reported in tc statistics is too high, and once it\nexceeds memory_limit the overmemory counter is incremented for every\nenqueued packet.\n\nClear q-\u003ememory_usage like fq_codel_reset() does.\n\nAlso clear flow-\u003ebacklog, as fq_pie_timer() keeps feeding it to\npie_calculate_probability() for flows that no longer hold packets.\n\nFound by code inspection (AI review) while looking at an unrelated\nsyzbot KCSAN report in fq_pie_reset(), not reproduced.\n\nFixes: ec97ecf1ebe4 (\"net: sched: add Flow Queue PIE packet scheduler\")\nCc: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nSigned-off-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nReviewed-by: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nLink: https://patch.msgid.link/20261123184602.386372-1-edumazet@kernel.org\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "431f957cb67c29426cd056bb2f3bbcbedb01c314",
      "tree": "0f239819c9a846457065d95117491807cd26ba70",
      "parents": [
        "622f31147e578d19a509fd55fbbc68119c0f0c77"
      ],
      "author": {
        "name": "Jiayuan Chen",
        "email": "jiayuan.chen@linux.dev",
        "time": "Tue Nov 24 14:26:24 2026 +0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 10:06:14 2026 -0500"
      },
      "message": "tcp: fix CA module refcount underflow in tcp_v4_syn_recv_sock()\n\nIssue found by sashiko [1].\n\ntcp_v4_syn_recv_sock() creates the child with tcp_create_openreq_child(),\nwhich inherits icsk-\u003eicsk_ca_ops from the listener without taking a\nreference. The reference is only taken later in tcp_ca_openreq_child().\nIf inet_csk_route_child_sock() fails in between, we go to put_and_exit\nand tcp_done() ends up in tcp_cleanup_congestion_control(), which puts\nthe reference unconditionally. The one dropped belongs to the listener.\n\nSeen with a listener using bbr (built as a module) and TCP_DEFER_ACCEPT:\nmake the route to the client prohibited once the handshake is done, then\nlet the client send data.\n\n  WARNING: kernel/module/main.c:969 at module_put.part.0+0x97/0x160, CPU#1: swapper/1/0\n  Modules linked in: tcp_bbr(OE)\n  RIP: 0010:module_put.part.0+0x97/0x160\n  Call Trace:\n   \u003cIRQ\u003e\n   module_put+0x13/0x30\n   tcp_cleanup_congestion_control+0xae/0xe0\n   tcp_v4_destroy_sock+0x103/0x360\n   inet_csk_destroy_sock+0xb7/0x1e0\n   tcp_done+0x146/0x1e0\n   tcp_v4_syn_recv_sock+0x73a/0x9f0\n   tcp_check_req+0x351/0x1130\n   tcp_v4_rcv+0xe82/0x22e0\n   ip_protocol_deliver_rcu+0x5f/0x340\n   ip_local_deliver_finish+0x19f/0x3a0\n   ip_local_deliver+0xc9/0xf0\n   ip_rcv+0x1b1/0x1c0\n   __netif_receive_skb_one_core+0xc4/0xe0\n   __netif_receive_skb+0x23/0xb0\n   process_backlog+0x27a/0x950\n   __napi_poll.constprop.0+0x61/0x2c0\n   net_rx_action+0x372/0x800\n   handle_softirqs+0x109/0x570\n   \u003c/IRQ\u003e\n\nOptions considered:\n 1. Take the reference in tcp_create_openreq_child(), see the diff below\n    the \"---\". It adds a get/put pair on the passive open path.\n 2. Point the child at tcp_reno (built in, no owner) on this error path,\n    so the put becomes a no-op. It works but looks odd.\n\nInstead, clear icsk_ca_ops on this error path and make\ntcp_cleanup_congestion_control() skip a socket without a CA.\n\n[1] https://sashiko.dev/#/message/20260606095014.2531B1F00893%40smtp.kernel.org\n\nFixes: 81164413ad09 (\"net: tcp: add per route congestion control\")\nSigned-off-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nReviewed-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nLink: https://patch.msgid.link/20261124062625.264148-1-jiayuan.chen@linux.dev\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "622f31147e578d19a509fd55fbbc68119c0f0c77",
      "tree": "44d828e0c2597f8e0a2d05f2033009382e4efce6",
      "parents": [
        "86b669b1d3f045cd803687f2576b888fec91702b"
      ],
      "author": {
        "name": "Aibing Chen",
        "email": "chenaibing@cmss.chinamobile.com",
        "time": "Sun Nov 22 22:51:52 2026 +0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 09:57:29 2026 -0500"
      },
      "message": "net/mlx5: fix a stack over-read in the QP debugfs\n\ndbg_read() formats the field into char tbuf[18] and passes the return\nvalue of snprintf() to simple_read_from_buffer() as the number of\navailable bytes.  snprintf() returns the length the output would have\nhad, not the number of bytes written, so when the string does not fit\nthat value is larger than the buffer: the longest QP transport string is\n\"Invalid transport type\" (22 characters), so with the trailing newline\nthe function returns 23 while only 18 bytes were written.\n\nsimple_read_from_buffer() uses that length to bound the copy to\nuserspace, so reading .../qp/\u003cqpn\u003e/transport copies up to 23 bytes out of\nthe 18 byte stack array, leaking 5 bytes of stack.\n\nEnlarge the buffer so the longest string fits and use scnprintf(), which\nreturns the number of bytes actually written.\n\nFixes: db81a5c374b5 (\"mlx5_core: Improve debugfs readability\")\nSigned-off-by: Aibing Chen \u003cchenaibing@cmss.chinamobile.com\u003e\nReviewed-by: Moshe Shemesh \u003cmoshe@nvidia.com\u003e\nAcked-by: Mark Bloch \u003cmbloch@nvidia.com\u003e\nLink: https://patch.msgid.link/20261122145152.1473-1-chenaibing@cmss.chinamobile.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "86b669b1d3f045cd803687f2576b888fec91702b",
      "tree": "fe6738ca8269cc44ad6cf03f9e8496883fd66452",
      "parents": [
        "e2fb9368a41662bc54624f9be87ea8989b109306"
      ],
      "author": {
        "name": "Qiliang Yuan",
        "email": "qiliang.yuan@linux.dev",
        "time": "Mon Nov 23 01:59:13 2026 -0500"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Mon Nov 30 09:46:41 2026 -0500"
      },
      "message": "ipv6: reject released nexthop object routes in ip6_dst_check()\n\nA per-cpu IPv6 route through a nexthop object records the fib6_sernum of\nits netns, and ip6_dst_check() accepts it as long as that value matches\nthe fib6_sernum of the netns of its device, without looking at\ndst-\u003eobsolete as it does for per-cpu routes without a nexthop object.\n\nWhen such a route is released with dst_dev_put(), for example when its\nnexthop is deleted from a group or replaced in place and the old\nnexthop is freed, it is pointed to blackhole_netdev, which belongs to\ninit_net. For a socket in init_net the recorded fib6_sernum stays\ncurrent until something else changes the IPv6 routes there, so the\nsocket keeps sending into blackhole_netdev: send() succeeds and every\ndatagram is dropped.\n\nReject routes that dst_dev_put() marked DST_OBSOLETE_DEAD in\nrt6_is_valid(), as ipv4_dst_check() does, so that the socket looks up\nits route again.\n\nA connected UDP socket in init_net sends 3000 datagrams, one per ms, to\na route through group {nh 1, nh 2} taking nh 1, and nh 1 is deleted, or\nreplaced in place by one through the gateway of nh 2, after 1 s, with no\nother IPv6 route change in init_net. Datagrams that arrived through\nneither nexthop, 5 trials, median and range:\n\n               before (datagrams)   after (datagrams)   change\n  delete         2060 (2049-2064)                   0    -100%\n  replace        2061 (2059-2065)                   0    -100%\n\nFixes: 8f34e53b60b33 (\"ipv6: Use global sernum for dst validation with nexthop objects\")\nSigned-off-by: Qiliang Yuan \u003cqiliang.yuan@linux.dev\u003e\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nLink: https://patch.msgid.link/20261123-bug-net-ipv6-dst-check-released-v1-1-769d320a2470@linux.dev\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "bb65a0da99bf4861dce01149ba64e875e47ae5a3",
      "tree": "998b134681498a060c030568a5e3af1376277650",
      "parents": [
        "38c7f3b1f51b5d7926be0caf674ad724779390be"
      ],
      "author": {
        "name": "Jianbo Liu",
        "email": "jianbol@nvidia.com",
        "time": "Wed Nov 25 04:08:35 2026 +0200"
      },
      "committer": {
        "name": "Steffen Klassert",
        "email": "steffen.klassert@secunet.com",
        "time": "Mon Nov 30 11:36:34 2026 +0100"
      },
      "message": "xfrm: Serialize offload stats updates with x-\u003elock\n\nxfrm_dev_state_update_stats() calls into the driver, which adds to\nx-\u003ecurlft and x-\u003estats what the device counted since the last call.\nCallers use different locks, so two of them can refresh the same\nstate at once and count the same packets twice, and a dump can copy\nthe counters while another caller updates them.\n\nSerialize all device stats refreshes with x-\u003elock and assert it in\nxfrm_dev_state_update_stats(). Build the SA message of a netlink\ndump, get or notification under the same lock.\n\nThe SA dump and xfrm_state_update_stats() walk the states under\nxfrm_state_lock, where x-\u003elock cannot be taken: the lock order is\nx-\u003elock, then xfrm_state_lock. Add xfrm_state_walk_batch(), which\ntakes references on at most 32 states per xfrm_state_lock hold, and\nhandle each state under x-\u003elock after the list lock is dropped.\nStates rejected by the dump filter count against the 32, so a filter\nthat matches few states cannot keep the list lock held over the whole\nlist. xfrm_state_walk() cannot give this bound: it calls back only\nfor states that pass the filter. Walk markers and states being\ndeleted do not count, so a call always covers 32 states or reaches\nthe end of the list.\n\nKeep the refresh right before each state is copied, so every part of\na multi-part dump still has current counters. When a state does not\nfit into the skb, put the walk marker back in front of it and drop\nthe references, so no state stays referenced between two dump calls.\nIf the state was unlinked meanwhile, skip it and go on.\n\ncopy_to_user_state() cannot take x-\u003elock itself: build_expire() calls\nit with the lock held. Move the refresh out of it and let each caller\nrefresh under x-\u003elock. PF_KEY never refreshed and does not change.\n\nFixes: c9fa320b00cf (\"xfrm: copy_to_user_state fetch offloaded SA packets/bytes statistics\")\nFixes: f9f221c98fd8 (\"xfrm: get global statistics from the offloaded device\")\nSigned-off-by: Jianbo Liu \u003cjianbol@nvidia.com\u003e\nReviewed-by: Carolina Jubran \u003ccjubran@nvidia.com\u003e\nSigned-off-by: Steffen Klassert \u003csteffen.klassert@secunet.com\u003e\n"
    },
    {
      "commit": "38c7f3b1f51b5d7926be0caf674ad724779390be",
      "tree": "82c58daef0bf5876dc53d5cb62d48fcdc0f6f8d9",
      "parents": [
        "d4a171f1bcd67668f107ecf7ae169749c6155a29"
      ],
      "author": {
        "name": "Jianbo Liu",
        "email": "jianbol@nvidia.com",
        "time": "Wed Nov 25 03:34:12 2026 +0200"
      },
      "committer": {
        "name": "Steffen Klassert",
        "email": "steffen.klassert@secunet.com",
        "time": "Mon Nov 30 11:36:33 2026 +0100"
      },
      "message": "Revert \"xfrm: serialize state GC with device state flush\"\n\nThis reverts commit 89fefad9f971bc637fb22373078144f2563c4be9.\n\nThe mutex kept the state GC from destroying a state while\nxfrm_dev_state_flush() was freeing its device state. It can\u0027t cover\nxfrm_state_find(), which frees device state under RCU.\n\nThe flush now holds a reference on each state it frees, and\nxfrm_dev_state_free() lets only one caller free the device state.\nNothing is left for the mutex to protect, so remove it.\n\nThis needs \"xfrm: Serialize device state teardown\". Without that patch\nthe flush frees the device state of a state it holds no reference on.\n\nLink: https://lore.kernel.org/netdev/aqfZNeR58HLm2x1o@secunet.com/\nSigned-off-by: Jianbo Liu \u003cjianbol@nvidia.com\u003e\nReviewed-by: Carolina Jubran \u003ccjubran@nvidia.com\u003e\nSigned-off-by: Steffen Klassert \u003csteffen.klassert@secunet.com\u003e\n"
    },
    {
      "commit": "d4a171f1bcd67668f107ecf7ae169749c6155a29",
      "tree": "9eacf340b2ae46bd42582e047e857b5cdeb7f1e9",
      "parents": [
        "fee0b300b693f5dcfdc5dd9170a4990558d16640"
      ],
      "author": {
        "name": "Jianbo Liu",
        "email": "jianbol@nvidia.com",
        "time": "Wed Nov 25 03:34:11 2026 +0200"
      },
      "committer": {
        "name": "Steffen Klassert",
        "email": "steffen.klassert@secunet.com",
        "time": "Mon Nov 30 11:36:33 2026 +0100"
      },
      "message": "xfrm: Wait for an RCU grace period before freeing device state\n\nxfrm_dev_state_flush() can call xdo_dev_state_free() immediately after\nxdo_dev_state_delete(), without waiting for pre-existing RCU readers\nof the driver\u0027s SA state to complete.\n\nThe normal state GC path waits for an RCU grace period before\ndestroying the state, but the device flush path does not.\n\nRemove the immediate xfrm_dev_state_free() following\nxfrm_state_delete(). The delete path queues the state on\nxfrm_state_dev_gc_list. The subsequent collection pass picks it up if\na reference is left. If the flush dropped the last one, the state GC\nfrees it after its own grace period and xfrm_flush_gc() waits for it.\n\nWait for one RCU grace period after collecting the states and before\nfreeing them. This establishes the required\nxdo_dev_state_delete() -\u003e synchronize_rcu() -\u003e xdo_dev_state_free()\nordering while using a single grace period for the whole flush.\n\nFixes: 07b87f9eea0c (\"xfrm: Fix unregister netdevice hang on hardware offload.\")\nSigned-off-by: Jianbo Liu \u003cjianbol@nvidia.com\u003e\nReviewed-by: Carolina Jubran \u003ccjubran@nvidia.com\u003e\nSigned-off-by: Steffen Klassert \u003csteffen.klassert@secunet.com\u003e\n"
    },
    {
      "commit": "fee0b300b693f5dcfdc5dd9170a4990558d16640",
      "tree": "16fccb5ef275d3abf7c653bf1dfe64d84b0d8947",
      "parents": [
        "ae12bd0175b218deb33f013587d56e17dcd7d2bb"
      ],
      "author": {
        "name": "Jianbo Liu",
        "email": "jianbol@nvidia.com",
        "time": "Wed Nov 25 03:34:10 2026 +0200"
      },
      "committer": {
        "name": "Steffen Klassert",
        "email": "steffen.klassert@secunet.com",
        "time": "Mon Nov 30 11:36:33 2026 +0100"
      },
      "message": "xfrm: Serialize device state teardown\n\nCommit 89fefad9f971 (\"xfrm: serialize state GC with device state\nflush\") stopped the state GC and xfrm_dev_state_flush() from freeing\nthe same device state at once, but a third caller is not covered.\n\nxfrm_state_find() frees a packet offload acquire state when km_query()\nfails. It runs under RCU and can\u0027t take the mutex.\nxfrm_dev_state_delete() first puts the state on xfrm_state_dev_gc_list\nwith xso-\u003edev still set, so a device flush can find it there and call\nxfrm_dev_state_free() too. Both callers see xso-\u003edev set and both\nunlink the state, so the second hlist_del() hits a poisoned node.\n\nClaim the device in xfrm_dev_state_free() by clearing xso-\u003edev under\nx-\u003elock and xfrm_state_dev_gc_lock, so only one caller unlinks the\nstate, invokes xdo_dev_state_free() and drops the netdevice reference.\nx-\u003elock also keeps xso-\u003edev stable for the stats updates that hold it.\n\nIn the flush, take a state reference before removing a state from the\ndevice GC list, so it stays alive while the flush owns it. Skip a\nstate with no reference left, the state GC frees it.\n\nKeep xso-\u003etype unchanged after detaching the device, so lockless\nreaders of xso-\u003etype do not see a packet offload state as a software\nstate. Reject offloaded states with no device in\nxfrm_dev_offload_ok(): a packet offload state would otherwise pass\nthe !dev check there, and xfrm_output() would send the packet with no\nESP or use the NULL device in xfrm_dev_direct_output().\n\nFound by the AI review of the commit above (see Link) and reproduced\non ConnectX-7 with a packet offload policy that has no SA, an acquire\nlistener that never reads, UDP senders hitting the policy and the\ndevice taken down in a loop:\n\n[  167.689163] Oops: general protection fault, probably for non-canonical address 0xdead000000000122: 0000 [#1] SMP\n[  167.690938] CPU: 11 UID: 0 PID: 2093 Comm: python3 Not tainted 7.4.0-rc1+ #10 PREEMPTLAZY\n[  167.694337] RIP: 0010:xfrm_dev_state_free+0x41/0xe0\n[  167.699068] RAX: dead000000000122 RBX: ff1100014f543800 RCX: ff11000103bbf800\n[  167.700247] RDX: dead000000000100 RSI: 0000000000000001 RDI: ffffffff82da8c68\n[  167.716897] Call Trace:\n[  167.717405]  \u003cTASK\u003e\n[  167.717863]  xfrm_state_find+0x19b0/0x1ab0\n[  167.718629]  xfrm_resolve_and_create_bundle+0x17d/0x11e0\n[  167.722070]  xfrm_lookup_with_ifid+0x1e7/0xb50\n[  167.722872]  xfrm_lookup_route+0x1d/0xa0\n[  167.723593]  udp_sendmsg+0x8da/0xc90\n[  167.724273]  __sock_sendmsg+0x38/0x70\n[  167.724988]  __sys_sendto+0x119/0x180\n[  167.727954]  __x64_sys_sendto+0x20/0x30\n[  167.728666]  do_syscall_64+0x72/0x3b0\n[  167.729357]  entry_SYSCALL_64_after_hwframe+0x4b/0x53\n[  167.741064]  \u003c/TASK\u003e\n[  167.752388] Kernel panic - not syncing: Fatal exception in interrupt\n\nWith this series the same test ran 400 cycles with no crash, and 150\ncycles on a kernel with KASAN and lockdep.\n\nFixes: 07b87f9eea0c (\"xfrm: Fix unregister netdevice hang on hardware offload.\")\nLink: https://lore.kernel.org/netdev/20260908224854.1591115-1-kuba@kernel.org/\nSigned-off-by: Jianbo Liu \u003cjianbol@nvidia.com\u003e\nReviewed-by: Carolina Jubran \u003ccjubran@nvidia.com\u003e\nSigned-off-by: Steffen Klassert \u003csteffen.klassert@secunet.com\u003e\n"
    },
    {
      "commit": "ae12bd0175b218deb33f013587d56e17dcd7d2bb",
      "tree": "b411729aeccfee3ff41dfeaa17e0e0629c0cf33f",
      "parents": [
        "1213df0bc5993e479706c5eba5830243d778f164"
      ],
      "author": {
        "name": "Jianbo Liu",
        "email": "jianbol@nvidia.com",
        "time": "Wed Nov 25 03:34:09 2026 +0200"
      },
      "committer": {
        "name": "Steffen Klassert",
        "email": "steffen.klassert@secunet.com",
        "time": "Mon Nov 30 11:36:32 2026 +0100"
      },
      "message": "xfrm: Give GC list nodes their own storage\n\ngclist currently shares storage with bydst, and dev_gclist\nshares storage with bysrc.\n\nThis is unsafe for bydst and bysrc, which can be traversed under\nRCU without holding xfrm_state_lock. __xfrm_state_delete() unlinks\nthese nodes with hlist_del_init_rcu(), so a reader that started before\nthe unlink may still be following their linkage after the state has\nbeen removed from the hash table.\n\nLater, when the last reference is dropped, __xfrm_state_destroy()\nadds x-\u003egclist to xfrm_state_gc_list. Since gclist and bydst\ncurrently share the same storage, adding the state to the GC list can\noverwrite the bydst linkage while an RCU reader is still using it.\nThe same issue applies to dev_gclist and bysrc.\n\nGive gclist, bydst, and bysrc separate storage so their hash-list\nlinkage remains valid for outstanding RCU readers. Share dev_gclist\nwith byseq instead. byseq has no RCU readers, only\n__xfrm_find_acq_byseq() under xfrm_state_lock, and the state is\nunlinked from byseq before dev_gclist is used. Sharing keeps the\ngrowth of struct xfrm_state at 16 bytes rather than 32.\n\nFixes: d737a5805581 (\"xfrm: state: don\u0027t use lock anymore unless acquire operation is needed\")\nSigned-off-by: Jianbo Liu \u003cjianbol@nvidia.com\u003e\nReviewed-by: Carolina Jubran \u003ccjubran@nvidia.com\u003e\nSigned-off-by: Steffen Klassert \u003csteffen.klassert@secunet.com\u003e\n"
    },
    {
      "commit": "e2fb9368a41662bc54624f9be87ea8989b109306",
      "tree": "cdb3d3d09deaac20702e923f66f69a3c2c209c80",
      "parents": [
        "0c79efef16805f443e7485881a2441fa899b0f00"
      ],
      "author": {
        "name": "Kyuwon Cho",
        "email": "kyuwoncho18@gmail.com",
        "time": "Tue Nov 24 22:32:16 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Sun Nov 29 22:32:34 2026 -0500"
      },
      "message": "tipc: compute the rekeying delay without wrapping\n\ntipc_crypto_rekeying_sched() converts the rekeying interval, given in\nminutes, to milliseconds in 32 bits:\n\n\tdelay \u003d (now) ? 0 : tx-\u003erekeying_intv * 60 * 1000;\n\nTIPC_NLA_NODE_REKEYING accepts any u32, so intervals of 71583 minutes\nand more wrap. An interval of 134217728 minutes gives a delay of 0. The\nTX rekeying work then requeues itself without delay, and while its new\nkey waits for a peer to take it, each run goes straight back to the\nrequeue: a kworker spins until the key is flushed or the interval is\nchanged.\n\nCompute the delay in jiffies in 64 bits and cap it at MAX_JIFFY_OFFSET,\nthe largest delay msecs_to_jiffies() returns.\n\nFixes: 23700da29b83 (\"tipc: add automatic rekeying for encryption key\")\nSigned-off-by: Kyuwon Cho \u003ckyuwoncho18@gmail.com\u003e\nReviewed-by: Tung Nguyen \u003ctung.quang.nguyen@est.tech\u003e\nLink: https://patch.msgid.link/179552107131.1345245.11261172891282782083@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "0c79efef16805f443e7485881a2441fa899b0f00",
      "tree": "4bc679a7a05f518d02a9febab400f04bed84b4f3",
      "parents": [
        "9e16b3557ceded4a21ceee30ab8d39cefed3ee6b"
      ],
      "author": {
        "name": "Henry Martin",
        "email": "bsdhenrymartin@gmail.com",
        "time": "Mon Nov 23 20:13:25 2026 +0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Sun Nov 29 22:24:39 2026 -0500"
      },
      "message": "net: zero the tail of ha-\u003eaddr when allocating address list entries\n\n__hw_addr_create() allocates entries with kmalloc() and initializes only\naddr_len bytes of ha-\u003eaddr, but the dump paths emit each entry using the\ncurrent dev-\u003eaddr_len, so an entry created with a smaller addr_len is\ndumped with an uninitialized tail.\n\ndev-\u003eaddr_len can grow at runtime and nothing flushes the lists.  While\naddr_len is 0 every addition collapses into one node, because\n__hw_addr_add_ex() compares zero bytes, so the test adds one zero-length\nmulticast entry to each of 64 tun devices and switches them to\nARPHRD_IP6GRE (addr_len 16).  RTM_GETMULTICAST then returned 64 entries\nof 16 bytes, 37 with non-zero bytes and 21 starting with a kernel heap\npointer (e.g. 0xffff8188_04857ee0).  tun has to flush dev-\u003euc and\ndev-\u003emc in TUNSETLINK as well, which is a separate patch; qmi_wwan raw\nIP mode and the HDLC attach/detach paths change addr_len in the same\nway, so tun is not the only case.\n\nAllocate with kzalloc() so the tail is zeroed at creation; the explicit\nha-\u003esync_cnt \u003d 0 then becomes redundant.\n\nFound by an automated static analysis scan (Tencent CodeBuddy Security)\nand triggered at runtime on v7.4-rc3 as an unprivileged user.\n\nCc: stable@vger.kernel.org\nFixes: cca8ea3b05c9 (\"net: tun: set tun-\u003edev-\u003eaddr_len during TUNSETLINK processing\")\nLink: https://lore.kernel.org/netdev/20261116024056.1274402-1-bsdhenrymartin@gmail.com/\nLink: https://lore.kernel.org/netdev/20261118125443.1137177-1-edumazet@kernel.org/\nReviewed-by: Daniel Machon \u003cdaniel.machon@microchip.com\u003e\nReviewed-by: Nicolas Dichtel \u003cnicolas.dichtel@6wind.com\u003e\nSigned-off-by: Henry Martin \u003cbsdhenrymartin@gmail.com\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261123121325.3137049-1-bsdhenrymartin@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "9e16b3557ceded4a21ceee30ab8d39cefed3ee6b",
      "tree": "669c4c9a1eac6978d40adb2ac59011db593932f8",
      "parents": [
        "b5275fd42e751f96bd6a233e97af9d3f037311d0"
      ],
      "author": {
        "name": "Ryan Prinz",
        "email": "rc4d5a@protonmail.com",
        "time": "Tue Nov 24 07:45:51 2026 +0000"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Sun Nov 29 22:24:39 2026 -0500"
      },
      "message": "ieee802154: 6lowpan: validate fragment offset against datagram size\n\nA 6LoWPAN fragment carries the datagram\u0027s total size (d_size) and its\nown offset within it. lowpan_frag_queue() never checks that the\noffset, or offset plus length, fits inside d_size, and never rejects\nan empty fragment.\n\nA datagram is considered complete once enough bytes have been counted\n(fq-\u003eq.meat) toward d_size, regardless of whether those bytes actually\nform a contiguous range. So an out-of-range or empty fragment\u0027s length\nstill counts toward completion, even though it doesn\u0027t belong anywhere\nin the datagram.\n\nIPv6\u0027s ip6_frag_queue() already bounds each fragment\u0027s end against\nIPV6_MAXPLEN and rejects zero-length fragments; 6LoWPAN had no\nequivalent checks.\n\nFixed by rejecting any fragment that is empty, or whose offset (or\noffset + length) exceeds d_size.\n\nFixes: 7240cdec60b1 (\"6lowpan: handling 6lowpan fragmentation via inet_frag api\")\nSigned-off-by: Ryan Prinz \u003crc4d5a@protonmail.com\u003e\nAcked-by: Alexander Aring \u003caahringo@redhat.com\u003e\nLink: https://patch.msgid.link/20261124074531.1701179-1-rc4d5a@protonmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "b5275fd42e751f96bd6a233e97af9d3f037311d0",
      "tree": "8e6ed1d129ce18b33d450621da6c25d4f1ed450f",
      "parents": [
        "274e154322b0c09a986a20f5932151be15c90702"
      ],
      "author": {
        "name": "Kyuwon Cho",
        "email": "kyuwoncho18@gmail.com",
        "time": "Tue Nov 24 22:32:26 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Sun Nov 29 22:24:39 2026 -0500"
      },
      "message": "ipv6: anycast: delete the anycast route under idev-\u003elock\n\nIPV6_LEAVE_ANYCAST no longer holds RTNL, so a join of the same address\ncan run between the two halves of its last leave. __ipv6_dev_ac_dec()\nunlinks the aca from idev-\u003eac_list under idev-\u003elock but deletes its\nanycast route only after dropping the lock. A join in that window finds\nno aca and creates a new one, and its ip6_ins_rt() fails with -EEXIST\nbecause the old route is still in the table. __ipv6_dev_ac_inc()\nignores that error, the leave then deletes the old route, and the\naddress stays joined without an anycast route in the local table.\n\nDelete the route before dropping idev-\u003elock.\n\nFixes: f7fdf13bf103 (\"ipv6: anycast: Don\u0027t hold RTNL for IPV6_LEAVE_ANYCAST and IPV6_ADDRFORM.\")\nSigned-off-by: Kyuwon Cho \u003ckyuwoncho18@gmail.com\u003e\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nLink: https://patch.msgid.link/179552107133.1345245.9532670970901182620@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "274e154322b0c09a986a20f5932151be15c90702",
      "tree": "f42434d6cbcfbaa5ff5921a160cfe5b3bb3bce17",
      "parents": [
        "a00e4afd118e30ecc1bae127e1eadafd8391c427"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@gmail.com",
        "time": "Tue Nov 24 16:26:46 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Sun Nov 29 22:24:38 2026 -0500"
      },
      "message": "net: tn40xx: terminate the PHY software node property array\n\nThe PHY software node uses phy_props[] as its property array. The array\nhas three entries and no empty entry at the end. Property lookups walk\nthe array until they find an entry with a NULL name, so they read past\nthe end of phy_props[].\n\nThis happens on every probe of a TN9510 card. When the AQR105 PHY is\nregistered, mdio_device_register_reset() looks up \"reset-gpios\" and\n\"reset-assert-us\", and the PHY node has neither of them.\n\nOn 32-bit kernels, the walk reads napi.weight in struct tn40_priv as a\nname pointer. napi.weight is 64 at this point, so strcmp()\ndereferences address 0x40 and the kernel crashes.\n\nOn 64-bit kernels, there is no crash only because of the struct\nlayout: the NULL entry at the end of group[] happens to be at the\noffset of a name field, so the walk stops there.\n\nAll the properties are constant. Define them in a static const array\nwith an empty entry at the end, which is the usual way to define\nsoftware node properties.\n\nFound by code inspection. The 32-bit crash was reproduced in QEMU with\na test module that sets up the software nodes in struct tn40_priv in\nthe same way as the driver. The fix was tested on a TN9510 card on\nx86_64.\n\nFixes: 25b6a6d29d40 (\"net: tn40xx: create swnode for mdio and aqr105 phy and add to mdiobus\")\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@gmail.com\u003e\nReviewed-by: Andrew Lunn \u003candrew@lunn.ch\u003e\nLink: https://patch.msgid.link/20261124072646.3438910-1-tomo@flapping.org\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "a00e4afd118e30ecc1bae127e1eadafd8391c427",
      "tree": "8db2b8bed06f4a469762b0e904bfbff806dff753",
      "parents": [
        "df41f9ba1ab171d598044a353b96e5f8dfceb988"
      ],
      "author": {
        "name": "Tariq Toukan",
        "email": "tariqt@nvidia.com",
        "time": "Wed Nov 25 13:58:15 2026 +0200"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Sun Nov 29 22:24:38 2026 -0500"
      },
      "message": "net/mlx5: E-Switch, Fix offloaded nf flowtable rules never being hit\n\nIn switchdev mode, nf flowtable entries offloaded to the FDB are\ninstalled but never hit, and the traffic keeps going through the slow\npath.\n\nesw_chains_create() opens the nf flowtable chain, then the root table\n(chain 0, prio 1), and only then sets the nf flowtable table as the end\ntable of the chains. mlx5_chains_create_prio() takes the miss\ndestination of a new prio from the end table when the prio is created,\nwhich for the root is still the default table, i.e. the slow path. So\nthe root misses to the slow path, and the nf flowtable chain is never\nreached.\n\nAnother chain 0 prio, e.g. of a tc rule, hides the issue: the root\u0027s\nmiss is rewired to it, and its own miss goes to the nf flowtable chain.\nThis stays so after that prio is destroyed, until the eswitch is set up\nagain. Setups that always have such a prio, like OVS, don\u0027t hit it.\n\nSet the end table before opening the root, as it was before the\noffending commit.\n\nTested on ConnectX-6 Dx in switchdev mode, with two VFs routed through\ntheir representors and an nftables flowtable with offload on them.\nWithout this patch, the connections are HW_OFFLOAD but 99% of their\npackets go through the representors until a chain 0 prio 2 tc rule is\nadded; with it, they are forwarded by the eswitch from the start, in\nboth SMFS and DMFS.\n\nFixes: ae430332557a (\"net/mlx5: Refactor multi chains and prios support\")\nReported-by: Muhammad Zuhayr al-Tayyar \u003cmzuhayr@earthlink.iq\u003e\nCloses: https://lore.kernel.org/netdev/AM0PR02MB4307F6D53A2B0AD628D91C81C6682@AM0PR02MB4307.eurprd02.prod.outlook.com/\nSigned-off-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nReviewed-by: Cosmin Ratiu \u003ccratiu@nvidia.com\u003e\nReviewed-by: Daniel Machon \u003cdaniel.machon@microchip.com\u003e\nLink: https://patch.msgid.link/20261125115815.87909-1-tariqt@nvidia.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "df41f9ba1ab171d598044a353b96e5f8dfceb988",
      "tree": "134f5f1a94228f68a3626bd1d88bee69231898a1",
      "parents": [
        "8c9f86c2f55f9e33ba71abd9d73e84b88d2a1c00"
      ],
      "author": {
        "name": "Lin Jiapeng",
        "email": "jiapenglin@tencent.com",
        "time": "Tue Nov 24 10:21:00 2026 +0800"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Sun Nov 29 22:24:38 2026 -0500"
      },
      "message": "sctp: preserve the peer transport during INIT error cleanup\n\nsctp_process_init() removes non-ACTIVE peer transports when INIT processing\nfails. The transport matching peer_addr may itself be UNCONFIRMED, because\nsctp_assoc_add_peer() only promotes an existing UNKNOWN transport to\nACTIVE.\n\nIf no ACTIVE transport remains, the cleanup can remove the last transport.\nsctp_assoc_rm_peer() then interprets the empty list head as a transport and\npasses the invalid replacement to sctp_assoc_set_primary(). KASAN reports a\nnull-ptr-deref in sctp_ulpevent_notify_peer_addr_change() through\nsctp_assoc_rm_peer() and sctp_process_init().\n\nKeep the transport matching peer_addr while removing the other non-ACTIVE\ntransports. This preserves a valid replacement path without retaining an\narbitrary UNCONFIRMED address from failed INIT processing. On a live\nCOOKIE_WAIT association, T1-init remains armed and can continue using the\nretained transport until association teardown. Successful INIT processing\nis unchanged.\n\nFixes: add52379dde2 (\"sctp: Fix oops when INIT-ACK indicates that peer doesn\u0027t support AUTH\")\nCc: stable@vger.kernel.org\nReported-by: TencentOS Corvus AI \u003ccorvus@tencent.com\u003e\nLink: https://lore.kernel.org/netdev/20261112092114.12458-1-ljp1205831794@gmail.com/\nSigned-off-by: Lin Jiapeng \u003cjiapenglin@tencent.com\u003e\nAcked-by: Xin Long \u003clucien.xin@gmail.com\u003e\nLink: https://patch.msgid.link/20261124022107.32283-1-ljp1205831794@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    },
    {
      "commit": "8c9f86c2f55f9e33ba71abd9d73e84b88d2a1c00",
      "tree": "6d1d2eff2ac20fa3bb89d644a789e168be51b8b8",
      "parents": [
        "239610a7f309e47667a86d2870367ab7395b3a7e"
      ],
      "author": {
        "name": "Kyuwon Cho",
        "email": "kyuwoncho18@gmail.com",
        "time": "Tue Nov 24 13:57:24 2026 +0900"
      },
      "committer": {
        "name": "Willem de Bruijn",
        "email": "willemb@google.com",
        "time": "Sun Nov 29 22:24:38 2026 -0500"
      },
      "message": "net/sched: sch_cake: use rcu_dereference_bh() in the cake_mq sync loop\n\ncake_dequeue() reads the other cake_mq sub-qdiscs with rcu_dereference(),\nbut it runs from __qdisc_run() under rcu_read_lock_bh() or in softirq\ncontext, not under rcu_read_lock(), so lockdep warns:\n\n  WARNING: suspicious RCU usage\n  net/sched/sch_cake.c:2039 suspicious rcu_dereference_check() usage!\n  2 locks held by test/114:\n   #0: ffffffff88b2ca80 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit (net/core/dev.c:5014)\n   #1: ff11000013ec8170 (\u0026sch-\u003eroot_lock_key){+...}-{3:3}, at: __dev_queue_xmit (net/core/dev.c:5058)\n  Call Trace:\n   cake_dequeue (net/sched/sch_cake.c:2039)\n   __qdisc_run (net/sched/sch_generic.c:359)\n   __dev_queue_xmit (net/core/dev.c:4502)\n   packet_sendmsg (net/packet/af_packet.c:3157)\n\nA BH-disabled section is an RCU read-side critical section, so only the\nannotation is wrong. Use rcu_dereference_bh(), as cake_classify() does\nfor the filter list.\n\nFixes: 1bddd758bac2 (\"net/sched: sch_cake: share shaper state across sub-instances of cake_mq\")\nSigned-off-by: Kyuwon Cho \u003ckyuwoncho18@gmail.com\u003e\nAcked-by: Toke Høiland-Jørgensen \u003ctoke@toke.dk\u003e\nLink: https://patch.msgid.link/179549599115.54577.5943710312861930188@gmail.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n"
    }
  ],
  "next": "239610a7f309e47667a86d2870367ab7395b3a7e"
}
