From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Sicong Huang <congei42@163.com>,
nbd@nbd.name, ryder.lee@mediatek.com, shayne.chen@mediatek.com,
sean.wang@mediatek.com, kvalo@kernel.org, matthias.bgg@gmail.com
Cc: linux-wireless@vger.kernel.org, linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v1] wifi: mt76: mt7615: fix null pointer dereference bug
Date: Mon, 13 May 2024 15:23:22 +0200 [thread overview]
Message-ID: <dd997ba8-3d66-422a-b5df-ff2c0e6b96d1@collabora.com> (raw)
In-Reply-To: <20240513122329.170380-1-congei42@163.com>
Il 13/05/24 14:23, Sicong Huang ha scritto:
> Function mt7615_coredump_work will call vzalloc to allocate a large amount
> of memory space, the size of which is 1300KB. There should be a null
> pointer check after vzalloc. Otherwise, when the memory allocation fails
Otherwise, if the memory allocation fails ...
> and returns NULL, the function will cause a Kernel crash.
> > Signed-off-by: Sicong Huang <congei42@163.com>
Please add the relevant Fixes tag and resend.
Cheers,
Angelo
next prev parent reply other threads:[~2024-05-13 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-13 12:23 [PATCH v1] wifi: mt76: mt7615: fix null pointer dereference bug Sicong Huang
2024-05-13 13:23 ` AngeloGioacchino Del Regno [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-13 14:34 sicong
2024-05-13 16:13 ` Lorenzo Bianconi
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=dd997ba8-3d66-422a-b5df-ff2c0e6b96d1@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=congei42@163.com \
--cc=kvalo@kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=nbd@nbd.name \
--cc=ryder.lee@mediatek.com \
--cc=sean.wang@mediatek.com \
--cc=shayne.chen@mediatek.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.