From: Greg KH <greg@kroah.com>
To: bugzilla-daemon@kernel.org
Cc: linux-usb@vger.kernel.org
Subject: Re: [Bug 219951] New: Missing null check in ast_vhub_init_dev
Date: Fri, 28 Mar 2025 12:27:20 +0100 [thread overview]
Message-ID: <2025032800-tamale-amendment-c049@gregkh> (raw)
In-Reply-To: <bug-219951-208809@https.bugzilla.kernel.org/>
On Fri, Mar 28, 2025 at 11:15:22AM +0000, bugzilla-daemon@kernel.org wrote:
> When devm_kasprintf() fails, it returns a NULL pointer. However, this return
> value is not properly checked in the function ast_vhub_init_dev.
>
> A NULL check should be added after the devm_kasprintf call to prevent potential
> NULL pointer dereference error.
Please submit a patch for this if you feel it needs to be fixed up.
thanks,
greg k-h
next prev parent reply other threads:[~2025-03-28 11:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-28 11:15 [Bug 219951] New: Missing null check in ast_vhub_init_dev bugzilla-daemon
2025-03-28 11:27 ` Greg KH [this message]
2025-03-28 11:27 ` [Bug 219951] " bugzilla-daemon
2025-03-28 12:41 ` bugzilla-daemon
2025-03-28 13:14 ` bugzilla-daemon
2025-03-28 21:06 ` Greg KH
2025-03-28 21:08 ` bugzilla-daemon
2025-03-29 0:32 ` bugzilla-daemon
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=2025032800-tamale-amendment-c049@gregkh \
--to=greg@kroah.com \
--cc=bugzilla-daemon@kernel.org \
--cc=linux-usb@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