From: "Jürgen Groß" <jgross@suse.com>
To: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Cc: sstabellini@kernel.org, oleksandr_tyshchenko@epam.com,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH] xen/scsiback: fix potential memory leak in scsiback_remove()
Date: Mon, 5 Jan 2026 13:31:34 +0100 [thread overview]
Message-ID: <2cd0de6b-ebae-4542-ad84-a17ed9216d6b@suse.com> (raw)
In-Reply-To: <20251223063012.119035-1-nihaal@cse.iitm.ac.in>
[-- Attachment #1.1.1: Type: text/plain, Size: 508 bytes --]
On 23.12.25 07:30, Abdun Nihaal wrote:
> Memory allocated for struct vscsiblk_info in scsiback_probe() is not
> freed in scsiback_remove() leading to potential memory leaks on remove,
> as well as in the scsiback_probe() error paths. Fix that by freeing it
> in scsiback_remove().
>
> Cc: stable@vger.kernel.org
> Fixes: d9d660f6e562 ("xen-scsiback: Add Xen PV SCSI backend driver")
> Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Reviewed-by: Juergen Gross <jgross@suse.com>
Juergen
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3743 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
next prev parent reply other threads:[~2026-01-05 12:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-23 6:30 Abdun Nihaal
2026-01-05 12:31 ` Jürgen Groß [this message]
2026-01-12 3:15 ` Martin K. Petersen
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=2cd0de6b-ebae-4542-ad84-a17ed9216d6b@suse.com \
--to=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=nihaal@cse.iitm.ac.in \
--cc=oleksandr_tyshchenko@epam.com \
--cc=sstabellini@kernel.org \
--cc=stable@vger.kernel.org \
/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
all inboxes | Powered by JetHome®