From: Vincent Jardin <vjardin@free.fr>
To: sashiko-reviews@lists.linux.dev
Cc: imx@lists.linux.dev, Frank.Li@kernel.org
Subject: Re: [PATCH] i2c: imx: add I2C_M_REV_DIR_ADDR and I2C_M_NOSTART
Date: Fri, 7 Aug 2026 08:22:35 +0200 [thread overview]
Message-ID: <anV5q2AZG67FMvS_@L30177.local> (raw)
In-Reply-To: <20260806224803.8CF921F000E9@smtp.kernel.org>
Hi Mr. Bot,
> Pre-existing issues:
> - [High] Zero-length I2C reads cause a NULL pointer dereference and kernel panic in the interrupt handler due to integer underflow.
This analysis seems to be correct but it is not the purpose of this feature
update which does only "move" this block of code for the needed new feature.
The pre-existing issue/topic may needs its own specific "Fix" commit.
> Since the I2C core sets msg->buf to NULL for zero-length messages, does this
> result in the driver writing to a NULL pointer and causing a kernel panic?
I think your analysis it not correct.
thanks for the reviews,
Vincent
next prev parent reply other threads:[~2026-08-07 6:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-06 22:37 [PATCH] i2c: imx: add I2C_M_REV_DIR_ADDR and I2C_M_NOSTART Vincent Jardin via B4 Relay
2026-08-06 22:37 ` Vincent Jardin
2026-08-06 22:48 ` sashiko-bot
2026-08-07 6:22 ` Vincent Jardin [this message]
2026-08-11 10:18 ` Carlos Song (OSS)
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=anV5q2AZG67FMvS_@L30177.local \
--to=vjardin@free.fr \
--cc=Frank.Li@kernel.org \
--cc=imx@lists.linux.dev \
--cc=sashiko-reviews@lists.linux.dev \
/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.