From: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org,
"stable@vger.kernel.org" <stable@vger.kernel.org>,
Vegard Nossum <vegard.nossum@oracle.com>
Subject: Re: Testing stable backports for netfilter
Date: Tue, 11 Jun 2024 11:28:29 +0530 [thread overview]
Message-ID: <c3789a4c-f262-444b-8234-8431cded548b@oracle.com> (raw)
In-Reply-To: <Zmd3XaiC_GiCakyf@calendula>
On 11/06/24 03:29, Pablo Neira Ayuso wrote:
> On Mon, Jun 10, 2024 at 11:51:53PM +0530, Harshit Mogalapalli wrote:
>> Hello netfilter developers,
>>
>> Do we have any tests that we could run before sending a stable backport in
>> netfilter/ subsystem to stable@vger ?
>>
>> Let us say we have a CVE fix which is only backported till 5.10.y but it is
>> needed is 5.4.y and 4.19.y, the backport might need to easy to make, just
>> fixing some conflicts due to contextual changes or missing commits.
>
> Which one in particular is missing?
I was planning to backport the fix for CVE-2023-52628 onto 5.4.y and
4.19.y trees.
lts-5.10 : v5.10.198 - a7d86a77c33b netfilter:
nftables: exthdr: fix 4-byte stack OOB write
lts-5.15 : v5.15.132 - 1ad7b189cc14 netfilter:
nftables: exthdr: fix 4-byte stack OOB write
lts-6.1 : v6.1.54 - d9ebfc0f2137 netfilter:
nftables: exthdr: fix 4-byte stack OOB write
mainline : v6.6-rc1 - fd94d9dadee5 netfilter:
nftables: exthdr: fix 4-byte stack OOB write
>
>> One question that comes in my mind is did I test that particular code, often
>> testing that particular code is tough unless the reproducer is public. So I
>> thought it would be good to learn about any netfilter test suite(set of
>> tests) to run before sending a backport to stable kernel which might ensure
>> we don't introduce regressions.
>
> There is tests/shell under the nftables userspace tree, it also
> detected the features that are available in your kernel.
>
Thanks a lot for sharing. Will try running these before sending any
netfilter backports to stable.
Regards,
Harshit
next prev parent reply other threads:[~2024-06-11 5:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-10 18:21 Testing stable backports for netfilter Harshit Mogalapalli
2024-06-10 21:59 ` Pablo Neira Ayuso
2024-06-11 5:58 ` Harshit Mogalapalli [this message]
2024-06-11 8:41 ` Pablo Neira Ayuso
2024-06-11 8:59 ` Vegard Nossum
2024-06-11 9:00 ` Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c3789a4c-f262-444b-8234-8431cded548b@oracle.com \
--to=harshit.m.mogalapalli@oracle.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
--cc=stable@vger.kernel.org \
--cc=vegard.nossum@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).