get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2216191,
    "url": "http://patchwork.ozlabs.org/api/patches/2216191/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260326005129.535152-3-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-3-tim.whisonant@canonical.com>",
    "list_archive_url": null,
    "date": "2026-03-26T00:51:26",
    "name": "[SRU,Q,1/1] netfilter: xt_IDLETIMER: reject rev0 reuse of ALARM timer labels",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "979d0cbd1eb979ef0c661bd8fb83df504c97e427",
    "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-3-tim.whisonant@canonical.com/mbox/",
    "series": [
        {
            "id": 497523,
            "url": "http://patchwork.ozlabs.org/api/series/497523/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=497523",
            "date": "2026-03-26T00:51:24",
            "name": "CVE-2026-23274",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497523/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2216191/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2216191/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=XITbdoEd;\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 4fh4wl4XlMz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 11:51:50 +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 1w5Ywq-0000hW-NS; Thu, 26 Mar 2026 00:51:44 +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 1w5Ywp-0000gO-7n\n for kernel-team@lists.ubuntu.com; Thu, 26 Mar 2026 00:51:43 +0000",
            "from mail-yw1-f199.google.com (mail-yw1-f199.google.com\n [209.85.128.199])\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 1864F3F1F0\n for <kernel-team@lists.ubuntu.com>; Thu, 26 Mar 2026 00:51:43 +0000 (UTC)",
            "by mail-yw1-f199.google.com with SMTP id\n 00721157ae682-794b74a8b2bso12409947b3.3\n for <kernel-team@lists.ubuntu.com>; Wed, 25 Mar 2026 17:51:43 -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-79b10c64964sm5937057b3.7.2026.03.25.17.51.40\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:40 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1774486303;\n bh=jKODTcrR41hFfPrS24SS28vu8RAoJWmX0FTYHsymbvs=;\n h=From:To:Subject:Date:Message-ID:In-Reply-To:References:\n MIME-Version;\n b=XITbdoEddxyp0mbiwvfpizpRCqZzugpA63TVKFxMiAZjamuFJPN3UJbRa5IQuCn9V\n fwi8TxA5TBRvGuLCXmdxLYGkxDxzwBidqMYSe7KTR/7J/pBonV0fMow7xDNcBwjg85\n h/+AvIZ0mE6EclMnkVeOIt+3PHcIXOh5pHN5KfiVwgNUdoigQ+WsaVRJYVZ9Kcycx/\n RYHFDW7qAGFgRj+kZEPr9LcXaessFiTqjqOEDyH2Br69m9lSt89NXNpmUJ5Zqtvp/z\n O5S5/rsUgmPXcPES06FhxdRWZvQKMEKSCbJSAUc6SbzUolwo7gRwFykfZTGaUrtX17\n Oa+K07wF6idW6O7eb1SSNBhKdu2Z/9FmHR9LuxdZsZD86ZPc8AqrZkVxI6atUldRn3\n X2sq/Ni7zFnJSjGe8XbGcayOcd5qo/wBL7VFDo45fq8CFLobYSN6a0ecwnjhO2OShW\n GMW7eKgjaKBtXCpgxkaVrfMmKQM5pHFJMt7bnPwsnXL7ToTr9eqlu+PON38/ouByt/\n Xjndtnej/HnGxPTxWX7LjK7uD0OtBbD+/ivngpHjskT9izyAiDCLNK8N7e6HMFdZpl\n b6HiH5tdPvHqpTYtEEIRmv0sCxzVmKrGrlDBS0vBh/NKXde1EDyXmhwg7th/fgOYFN\n STTMzSqtL1oUMfHBn2KbKaUo=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774486301; x=1775091101;\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=jKODTcrR41hFfPrS24SS28vu8RAoJWmX0FTYHsymbvs=;\n b=f/sTOd0lweq40JwDOCNFyWQb7h9elobh0VMGHW0wkg6LPVHTktXCkKcR79QOmaRn97\n ++ljbzy+YRBX+3TV9pN52hnjsauPEJYZ0oJ5TLcx7D14gYMNIgdPolgD0cpdE8nzrcTo\n gBsOaQCFbP7dzE/bsyQop9uwf3g8DTthLXVDwmPbFBJeePK3xYiDiE/XAICToXFPznxm\n Jq4xRwNH5Qc+fe/mgJOenpxfWK2Qo/raRL1IrVaUeBrkU65j1MwyeurSfCPvNaqzw/zd\n I/KooiYytMOh/6U9wkj7SeklE+pa4HlqKtEuP3TY6jqL7O+NCvIOqdFxeSE/IZ4Iys8v\n XIdw==",
        "X-Gm-Message-State": "AOJu0Yw8GxobZpM2O/RJJ0ib5TveLOc5yvDQSqFI7Glz1mhyjGWqRBvE\n sJLYn+cttNsgervFYJQ9TZT/8uM578ocZXkqqs5jKmBZhJAH1kXxxhCp57ivFnOltFuht/wtq2B\n 1Z6560S8Sivchl+LC3rxLLSUSQEG8C79hQMdQMCYXMnh0q7HqNL5m52GnR/12dtTVR87Y5q6qis\n oM2ypoPvs+B6cAuw==",
        "X-Gm-Gg": "ATEYQzzact8h2MpvGarlXQrfT/Y34SeQjbf2D0qOThB71VOb1C3z7Dxis7MK+s6PODS\n aXYpG4qcGefGVqAIHcLnN0cutFmkY/xhV9R8mb2fhvLuGblubtDVJuwT93R1U03+TOLk3RZDebI\n KxXEA5Ng6n5bQn6hBFaFC22Hu9U/D1IL5uiyjZabLTmoSdvhyanlZw09Mjn+EF8PM7sx0x4ic1C\n 4l5Y5B+rr2E5+OHEC3Llcr0iZQAUSv+TrDsNxMHo7qkiz/kMqHb3neso9BKtCH7OXhc+COFgF+n\n AzCZjN1DzAs/B3nWeUg0rkrvA+5GSyS5kWA/mglfqisFuXxNW+8NmNZSjjvMTkezurgnSXEClFy\n CcuBLfgt/0xeATYGE/vOR3AaHdT9/RJqkvBESUmyOVX+KUkyQg0RQV7mwCxb1YerD/9UmjwIx6Z\n LIPw==",
        "X-Received": [
            "by 2002:a05:690c:a00c:b0:792:7828:b709 with SMTP id\n 00721157ae682-79acf3b60femr49920127b3.22.1774486301657;\n Wed, 25 Mar 2026 17:51:41 -0700 (PDT)",
            "by 2002:a05:690c:a00c:b0:792:7828:b709 with SMTP id\n 00721157ae682-79acf3b60femr49920067b3.22.1774486301323;\n Wed, 25 Mar 2026 17:51:41 -0700 (PDT)"
        ],
        "From": "Tim Whisonant <tim.whisonant@canonical.com>",
        "To": "kernel-team@lists.ubuntu.com",
        "Subject": "[SRU][Q][PATCH 1/1] netfilter: xt_IDLETIMER: reject rev0 reuse of\n ALARM timer labels",
        "Date": "Wed, 25 Mar 2026 17:51:26 -0700",
        "Message-ID": "<20260326005129.535152-3-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 d73957592c9d9..bb7af92ac82a4 100644\n--- a/net/netfilter/xt_IDLETIMER.c\n+++ b/net/netfilter/xt_IDLETIMER.c\n@@ -318,6 +318,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  secs_to_jiffies(info->timeout) + jiffies);\n",
    "prefixes": [
        "SRU",
        "Q",
        "1/1"
    ]
}