get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2216193/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2216193,
    "url": "http://patchwork.ozlabs.org/api/patches/2216193/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260326005129.535152-2-tim.whisonant@canonical.com/",
    "project": {
        "id": 15,
        "url": "http://patchwork.ozlabs.org/api/projects/15/?format=api",
        "name": "Ubuntu Kernel",
        "link_name": "ubuntu-kernel",
        "list_id": "kernel-team.lists.ubuntu.com",
        "list_email": "kernel-team@lists.ubuntu.com",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260326005129.535152-2-tim.whisonant@canonical.com>",
    "list_archive_url": null,
    "date": "2026-03-26T00:51:25",
    "name": "[SRU,J/N,1/1] netfilter: xt_IDLETIMER: reject rev0 reuse of ALARM timer labels",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "0743fbb6a2806f3eaa296bd7a5babba9311b8341",
    "submitter": {
        "id": 89903,
        "url": "http://patchwork.ozlabs.org/api/people/89903/?format=api",
        "name": "Tim Whisonant",
        "email": "tim.whisonant@canonical.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260326005129.535152-2-tim.whisonant@canonical.com/mbox/",
    "series": [
        {
            "id": 497525,
            "url": "http://patchwork.ozlabs.org/api/series/497525/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=497525",
            "date": "2026-03-26T00:51:25",
            "name": "[SRU,J/N,1/1] netfilter: xt_IDLETIMER: reject rev0 reuse of ALARM timer labels",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497525/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2216193/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2216193/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<kernel-team-bounces@lists.ubuntu.com>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=UI/za8JN;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fh4wl668Nz1yGL\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 11:51:51 +1100 (AEDT)",
            "from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1w5Ywp-0000gQ-Cs; Thu, 26 Mar 2026 00:51:43 +0000",
            "from smtp-relay-internal-1.internal ([10.131.114.114]\n helo=smtp-relay-internal-1.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <tim.whisonant@canonical.com>)\n id 1w5Ywn-0000g0-CX\n for kernel-team@lists.ubuntu.com; Thu, 26 Mar 2026 00:51:41 +0000",
            "from mail-yw1-f200.google.com (mail-yw1-f200.google.com\n [209.85.128.200])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 3D4D93F1F0\n for <kernel-team@lists.ubuntu.com>; Thu, 26 Mar 2026 00:51:41 +0000 (UTC)",
            "by mail-yw1-f200.google.com with SMTP id\n 00721157ae682-7983f854288so16910637b3.3\n for <kernel-team@lists.ubuntu.com>; Wed, 25 Mar 2026 17:51:41 -0700 (PDT)",
            "from localhost (104-6-108-11.lightspeed.frokca.sbcglobal.net.\n [104.6.108.11]) by smtp.gmail.com with ESMTPSA id\n 00721157ae682-79b17e187ebsm6245937b3.11.2026.03.25.17.51.37\n for <kernel-team@lists.ubuntu.com>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 25 Mar 2026 17:51:37 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1774486301;\n bh=renne2swZ1RdEuowXNXDRDggnPpsbwYsjXULzBurRJg=;\n h=From:To:Subject:Date:Message-ID:In-Reply-To:References:\n MIME-Version;\n b=UI/za8JNxivMbEe3M9KPQHGMyAv5HqknkjAD943Eiz1kHSflZvSii41SnwCrg1Kxm\n Obmd4w5cP7XqsKte0M+ZCLknn19fwOx2z6MRd3KaHX69WvXyvgOl2ykbv0Wzv9Q2BB\n 4Rhew0RTS6ARhqTfbYkwBMHTcH4SIdN/d/0cmHMkMgZHthomgv/l0N8tp70OTTuOet\n khXnxS/ro562vuB1twiuMVPwgKjEgRdvE+fi9T5Bwpv1u4JYBvf3+xAoQSIoaBeRZX\n ewWWv+14uiCN+pB1Qs+3Md/r1VoD156616pZyaJdhBlSRDfo/xLu5NSl6tQGAixqMI\n BbgujlO+q9aBy8EA0HotBr4MhodkU+wXP6T4IDvVFFSGBghXQmiMu3pURqvKRMHTF2\n zq8vgr+CgKR9xOloRECG+IuVOalN2D30Q0JJIQ60WdPTxG+ZlXbVIukQBoZ5v+A3xe\n iK1fv5nycAKXo3EamvzoK8W3tH4Sp+PVzE6LBVAdQuYyJ4nnIwz4MTrXfhNMUWrT5u\n Iuyws5glcxKpqCSJDyS0nkuaUFd+m+ulGKaR1K5lCDjJ4PkfVXGlZ2DkE+1BmF2XmV\n MSAJUZ5+3jX67rul5q6/QQ2gangAhUXrvcH/bvBOCWJj6MD8Z14ADhDVzpSacHx+MD\n XDcA/6rnqIEDHniHuXicl6pI=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774486299; x=1775091099;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=renne2swZ1RdEuowXNXDRDggnPpsbwYsjXULzBurRJg=;\n b=mhCbv3tKeOZhkVK+V8EGaysEjflwjhHsCx7mCjK3K4g8Rcxkrr+Wxj3RZySK96nYSw\n RwUVZNHk97GwcB9xBVNnU21wVroFlOgyNSabQ9BJfOGnY4MDawb//xNVq9YdgQ8I7GKW\n 4Bf1k6HgdEnhRZIo/bgHWD6MoFy6iZuGR7JTLqAbq9eVvzZQWoMOTdOasJgMGFCfTgjD\n 0/deGsxJhWYfAsI8KeXf0TsVB3aZUhfCI32w1kPKRzyFMsYjw22tKlRkBxOcoNNXXEpb\n ake3sm4dJTGSVV24U4pQAw9A1x8aD6qe3p/TRBRwcp2DbEOtyHF0w6+If7do6dWKz9wV\n O1/A==",
        "X-Gm-Message-State": "AOJu0YzDG4qGm85Syuzsg0DHBDU8GTnfcAJbBr6LtODtPEKxuxXdFRd0\n avHoIo/4+4tnmuqZ0TmYNbHAHT0WoukKVxzrEKYl75ah4awejUX2JTChUut4CTovvjd3VjVrwiG\n 1n/waqym+8AZyvtnztalaGRKEpw3WW+zYolFl1/knCZ4A6vXm1kSiqhWFcqjUdWbP12wIa5WNcu\n 6QY8u+aGD4oFPm2w==",
        "X-Gm-Gg": "ATEYQzwSyl/2KLJg7VjRCOT6KA6l0fL7xKrpA9I1k2zxnJuXc3QsegFPiDTTrHzymzu\n kKY1xGiZEA4VkmQIgG8NQOHe5j11bZzppUlfKE2+zwIk7UZvbqROD9XfQSQyGxZ43yEtTE/qlJk\n zVD/1D+o6eO9MoCDd+w4Cp6wxFhcDFXmi6qXY7f9+FSzvYrcDzRLHrBqdO1ASQI/hLoLm2FS4D4\n MyH9Okz+sjFS/wLllKF8U0yIRsqgVaOioEfcYj0Uzr2DvTnLsA/nYFK7p3k8jHqjX7wBEezX4Yk\n nhVxRYQ9oF0+R+qZLTIHWi2s9dy2VJi5LRIW440Y0SvzrYHVx/uHYSYOdBDSAhVJleIH6n2qUHg\n XF4rgpZ0kA7nhN/MGYHKNmHRS8BooNLm1DGnFvE3ilEIVVK504QSJliaZKW8fLGizJFdi+KnPL1\n GHhg==",
        "X-Received": [
            "by 2002:a05:690c:ec9:b0:79a:40fb:933f with SMTP id\n 00721157ae682-79acf6988fdmr62538317b3.51.1774486299533;\n Wed, 25 Mar 2026 17:51:39 -0700 (PDT)",
            "by 2002:a05:690c:ec9:b0:79a:40fb:933f with SMTP id\n 00721157ae682-79acf6988fdmr62538197b3.51.1774486299187;\n Wed, 25 Mar 2026 17:51:39 -0700 (PDT)"
        ],
        "From": "Tim Whisonant <tim.whisonant@canonical.com>",
        "To": "kernel-team@lists.ubuntu.com",
        "Subject": "[SRU][J/N][PATCH 1/1] netfilter: xt_IDLETIMER: reject rev0 reuse of\n ALARM timer labels",
        "Date": "Wed, 25 Mar 2026 17:51:25 -0700",
        "Message-ID": "<20260326005129.535152-2-tim.whisonant@canonical.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260326005129.535152-1-tim.whisonant@canonical.com>",
        "References": "<20260326005129.535152-1-tim.whisonant@canonical.com>",
        "MIME-Version": "1.0",
        "X-BeenThere": "kernel-team@lists.ubuntu.com",
        "X-Mailman-Version": "2.1.20",
        "Precedence": "list",
        "List-Id": "Kernel team discussions <kernel-team.lists.ubuntu.com>",
        "List-Unsubscribe": "<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>",
        "List-Archive": "<https://lists.ubuntu.com/archives/kernel-team>",
        "List-Post": "<mailto:kernel-team@lists.ubuntu.com>",
        "List-Help": "<mailto:kernel-team-request@lists.ubuntu.com?subject=help>",
        "List-Subscribe": "<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "kernel-team-bounces@lists.ubuntu.com",
        "Sender": "\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"
    },
    "content": "From: Yuan Tan <tanyuan98@outlook.com>\n\nIDLETIMER revision 0 rules reuse existing timers by label and always call\nmod_timer() on timer->timer.\n\nIf the label was created first by revision 1 with XT_IDLETIMER_ALARM,\nthe object uses alarm timer semantics and timer->timer is never initialized.\nReusing that object from revision 0 causes mod_timer() on an uninitialized\ntimer_list, triggering debugobjects warnings and possible panic when\npanic_on_warn=1.\n\nFix this by rejecting revision 0 rule insertion when an existing timer with\nthe same label is of ALARM type.\n\nFixes: 68983a354a65 (\"netfilter: xtables: Add snapshot of hardidletimer target\")\nCo-developed-by: Yifan Wu <yifanwucs@gmail.com>\nSigned-off-by: Yifan Wu <yifanwucs@gmail.com>\nCo-developed-by: Juefei Pu <tomapufckgml@gmail.com>\nSigned-off-by: Juefei Pu <tomapufckgml@gmail.com>\nSigned-off-by: Yuan Tan <tanyuan98@outlook.com>\nSigned-off-by: Xin Liu <dstsmallbird@foxmail.com>\nSigned-off-by: Florian Westphal <fw@strlen.de>\n(cherry picked from commit 329f0b9b48ee6ab59d1ab72fef55fe8c6463a6cf)\nCVE-2026-23274\nSigned-off-by: Tim Whisonant <tim.whisonant@canonical.com>\n---\n net/netfilter/xt_IDLETIMER.c | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/net/netfilter/xt_IDLETIMER.c b/net/netfilter/xt_IDLETIMER.c\nindex a097686adbbd7..ba831c0e6d11e 100644\n--- a/net/netfilter/xt_IDLETIMER.c\n+++ b/net/netfilter/xt_IDLETIMER.c\n@@ -320,6 +320,12 @@ static int idletimer_tg_checkentry(const struct xt_tgchk_param *par)\n \n \tinfo->timer = __idletimer_tg_find_by_label(info->label);\n \tif (info->timer) {\n+\t\tif (info->timer->timer_type & XT_IDLETIMER_ALARM) {\n+\t\t\tpr_debug(\"Adding/Replacing rule with same label and different timer type is not allowed\\n\");\n+\t\t\tmutex_unlock(&list_mutex);\n+\t\t\treturn -EINVAL;\n+\t\t}\n+\n \t\tinfo->timer->refcnt++;\n \t\tmod_timer(&info->timer->timer,\n \t\t\t  msecs_to_jiffies(info->timeout * 1000) + jiffies);\n",
    "prefixes": [
        "SRU",
        "J/N",
        "1/1"
    ]
}