From: ChenXiaoSong <chenxiaosong@chenxiaosong.com>
To: Werner Kasselman <werner@verivus.com>,
ChenXiaoSong <chenxiaosong@chenxiaosong.com>,
"linux-cifs@vger.kernel.org" <linux-cifs@vger.kernel.org>
Cc: "linkinjeon@kernel.org" <linkinjeon@kernel.org>,
"smfrench@gmail.com" <smfrench@gmail.com>,
"senozhatsky@chromium.org" <senozhatsky@chromium.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: [PATCH] ksmbd: fix use-after-free and NULL deref in smb_grant_oplock()
Date: Tue, 17 Mar 2026 14:43:21 +0800 [thread overview]
Message-ID: <1e0882ea-4e59-4b70-b1ae-90fde86c252b@chenxiaosong.com> (raw)
In-Reply-To: <ME0P300MB0853F9FCE2F9C416FE3820B0BD41A@ME0P300MB0853.AUSP300.PROD.OUTLOOK.COM>
I just saw your v2 patch, and it seems to be the same as v1:
https://lore.kernel.org/linux-cifs/20260317063456.1696853-1-werner@verivus.com/
Thanks,
ChenXiaoSong <chenxiaosong@chenxiaosong.com>
在 2026/3/17 14:36, Werner Kasselman 写道:
> I sent an earlier version of the patch by mistake. The version with the complete changes (including alloc_lease_table() split and add_lease_global_list() signature change) was committed locally but the email went out before the final amend. I apologise for the confusion.
>
> I will resend the correct patch as v2. The full diff is +45/-27 lines and includes:
> - New alloc_lease_table() helper (extracted from add_lease_global_list)
> - add_lease_global_list() changed to take preallocated lease_table, return type changed from int to void
> - smb_grant_oplock() restructured: set o_fp, preallocate, then publish
> - Error path uses opinfo_put() instead of __free_opinfo()
next prev parent reply other threads:[~2026-03-17 6:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-17 2:18 [PATCH] ksmbd: fix use-after-free and NULL deref in smb_grant_oplock() Werner Kasselman
2026-03-17 6:32 ` ChenXiaoSong
2026-03-17 6:36 ` Werner Kasselman
2026-03-17 6:43 ` ChenXiaoSong [this message]
2026-03-17 6:53 ` Werner Kasselman
-- strict thread matches above, loose matches on Subject: below --
2026-03-17 13:00 Werner Kasselman
2026-03-17 13:48 ` ChenXiaoSong
2026-03-17 20:07 ` Werner Kasselman
2026-03-17 13:05 Werner Kasselman
2026-03-17 13:34 ` Greg KH
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=1e0882ea-4e59-4b70-b1ae-90fde86c252b@chenxiaosong.com \
--to=chenxiaosong@chenxiaosong.com \
--cc=linkinjeon@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=senozhatsky@chromium.org \
--cc=smfrench@gmail.com \
--cc=stable@vger.kernel.org \
--cc=werner@verivus.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