From: Jens Axboe <axboe@kernel.dk>
To: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Cc: linux-block@vger.kernel.org, Changhui Zhong <czhong@redhat.com>,
Damien Le Moal <dlemoal@kernel.org>
Subject: Re: [PATCH] block: check if zone_wplugs_hash exists in queue_zone_wplugs_show
Date: Thu, 25 Apr 2024 07:48:15 -0600 [thread overview]
Message-ID: <171405289567.163506.2493622305669607904.b4-ty@kernel.dk> (raw)
In-Reply-To: <e5fec079dfca448cc21c425cfa5d7b291f5faa67.1714046443.git.johannes.thumshirn@wdc.com>
On Thu, 25 Apr 2024 05:02:39 -0700, Johannes Thumshirn wrote:
> Changhui reported a kernel crash when running this simple shell
> reproducer:
> # cd /sys/kernel/debug/block && find . -type f -exec grep -aH . {} \;
>
> The above results in a NULL pointer dereference if a device does not have
> a zone_wplugs_hash allocated.
>
> [...]
Applied, thanks!
[1/1] block: check if zone_wplugs_hash exists in queue_zone_wplugs_show
commit: 57787fa42f9fc12fe18938eefc2acb2dc2bde9ae
Best regards,
--
Jens Axboe
next prev parent reply other threads:[~2024-04-25 13:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-25 12:02 [PATCH] block: check if zone_wplugs_hash exists in queue_zone_wplugs_show Johannes Thumshirn
2024-04-25 12:14 ` Damien Le Moal
2024-04-25 13:48 ` Jens Axboe [this message]
2024-04-26 7:42 ` Changhui Zhong
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=171405289567.163506.2493622305669607904.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=czhong@redhat.com \
--cc=dlemoal@kernel.org \
--cc=johannes.thumshirn@wdc.com \
--cc=linux-block@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 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.