From: Dan Carpenter <dan.carpenter@linaro.org>
To: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Cc: error27@gmail.com, smatch@vger.kernel.org
Subject: Re: [PATCH smatch] check_idr_alloc: Add a new check to detect start values < 0
Date: Fri, 27 Feb 2026 13:10:16 +0300 [thread overview]
Message-ID: <aaFtiCiuKK35KuSr@stanley.mountain> (raw)
In-Reply-To: <20260226132137.4179762-1-harshit.m.mogalapalli@oracle.com>
On Thu, Feb 26, 2026 at 05:21:37AM -0800, Harshit Mogalapalli wrote:
> Motivation: https://lore.kernel.org/all/2026021413-CVE-2026-23149-8329@gregkh/
>
> When user controlled data can pass start values < 0 to idr_alloc()
> kernel hits a WARN_ON in run time. This check is to catch that using
> static analysis.
>
> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
> ---
Applied. Thanks, Harshit!
regads,
dan carpenter
prev parent reply other threads:[~2026-02-27 10:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-26 13:21 [PATCH smatch] check_idr_alloc: Add a new check to detect start values < 0 Harshit Mogalapalli
2026-02-27 10:10 ` Dan Carpenter [this message]
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=aaFtiCiuKK35KuSr@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=error27@gmail.com \
--cc=harshit.m.mogalapalli@oracle.com \
--cc=smatch@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.