* [GIT PULL] nvme fixes for 6.19, final
@ 2026-02-05 15:38 Keith Busch
2026-02-05 15:47 ` Jens Axboe
0 siblings, 1 reply; 7+ messages in thread
From: Keith Busch @ 2026-02-05 15:38 UTC (permalink / raw)
To: axboe; +Cc: linux-nvme, hch, linux-block
Hi Jens,
Some late fixes for nvme that should go in this release. One for a pci
regression that causes a kernel panic during certain dma conditions. The
other fixes a vulnerability in the tcp target.
The following changes since commit 4da7c5c3ec34d839bba6e035c3d05c447a2f9d4f:
bcache: fix I/O accounting leak in detached_dev_do_request (2026-01-28 19:06:55 -0700)
are available in the Git repository at:
git://git.infradead.org/nvme.git tags/nvme-6.19-2026-02-05
for you to fetch changes up to 52a0a98549344ca20ad81a4176d68d28e3c05a5c:
nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec (2026-02-05 07:29:10 -0800)
----------------------------------------------------------------
nvme fixes for Linux 6.19
- Fix NULL pointer access setting up dma mappings (Keith)
- Fix invalid memory access from malformed TCP PDU (YunJe)
----------------------------------------------------------------
Keith Busch (1):
nvme-pci: handle changing device dma map requirements
YunJe Shin (1):
nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec
drivers/nvme/host/pci.c | 45 ++++++++++++++++++++++++++++++---------------
drivers/nvme/target/tcp.c | 17 +++++++++++++++++
2 files changed, 47 insertions(+), 15 deletions(-)
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [GIT PULL] nvme fixes for 6.19, final
2026-02-05 15:38 [GIT PULL] nvme fixes for 6.19, final Keith Busch
@ 2026-02-05 15:47 ` Jens Axboe
2026-02-05 15:49 ` Christoph Hellwig
2026-02-05 15:49 ` Jens Axboe
0 siblings, 2 replies; 7+ messages in thread
From: Jens Axboe @ 2026-02-05 15:47 UTC (permalink / raw)
To: Keith Busch; +Cc: linux-nvme, hch, linux-block
On 2/5/26 8:38 AM, Keith Busch wrote:
> Hi Jens,
>
> Some late fixes for nvme that should go in this release. One for a pci
> regression that causes a kernel panic during certain dma conditions. The
> other fixes a vulnerability in the tcp target.
>
> The following changes since commit 4da7c5c3ec34d839bba6e035c3d05c447a2f9d4f:
>
> bcache: fix I/O accounting leak in detached_dev_do_request (2026-01-28 19:06:55 -0700)
>
> are available in the Git repository at:
>
> git://git.infradead.org/nvme.git tags/nvme-6.19-2026-02-05
>
> for you to fetch changes up to 52a0a98549344ca20ad81a4176d68d28e3c05a5c:
>
> nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec (2026-02-05 07:29:10 -0800)
>
> ----------------------------------------------------------------
> nvme fixes for Linux 6.19
>
> - Fix NULL pointer access setting up dma mappings (Keith)
> - Fix invalid memory access from malformed TCP PDU (YunJe)
>
> ----------------------------------------------------------------
> Keith Busch (1):
> nvme-pci: handle changing device dma map requirements
After this one, iod in nvme_pci_prp_iter_next() is now unused, which
will trigger a compiler warning...
--
Jens Axboe
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] nvme fixes for 6.19, final
2026-02-05 15:47 ` Jens Axboe
@ 2026-02-05 15:49 ` Christoph Hellwig
2026-02-05 15:51 ` Jens Axboe
2026-02-05 15:49 ` Jens Axboe
1 sibling, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2026-02-05 15:49 UTC (permalink / raw)
To: Jens Axboe; +Cc: Keith Busch, linux-nvme, hch, linux-block
On Thu, Feb 05, 2026 at 08:47:48AM -0700, Jens Axboe wrote:
> After this one, iod in nvme_pci_prp_iter_next() is now unused, which
> will trigger a compiler warning...
Must be compiler dependent, because it does not for me. But yeah,
it should go away.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] nvme fixes for 6.19, final
2026-02-05 15:49 ` Christoph Hellwig
@ 2026-02-05 15:51 ` Jens Axboe
0 siblings, 0 replies; 7+ messages in thread
From: Jens Axboe @ 2026-02-05 15:51 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Keith Busch, linux-nvme, linux-block
On 2/5/26 8:49 AM, Christoph Hellwig wrote:
> On Thu, Feb 05, 2026 at 08:47:48AM -0700, Jens Axboe wrote:
>> After this one, iod in nvme_pci_prp_iter_next() is now unused, which
>> will trigger a compiler warning...
>
> Must be compiler dependent, because it does not for me. But yeah,
> it should go away.
Probably gcc vs clang, gcc often lets these slip by.
--
Jens Axboe
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] nvme fixes for 6.19, final
2026-02-05 15:47 ` Jens Axboe
2026-02-05 15:49 ` Christoph Hellwig
@ 2026-02-05 15:49 ` Jens Axboe
2026-02-05 15:54 ` Keith Busch
1 sibling, 1 reply; 7+ messages in thread
From: Jens Axboe @ 2026-02-05 15:49 UTC (permalink / raw)
To: Keith Busch; +Cc: linux-nvme, hch, linux-block
On 2/5/26 8:47 AM, Jens Axboe wrote:
> On 2/5/26 8:38 AM, Keith Busch wrote:
>> Hi Jens,
>>
>> Some late fixes for nvme that should go in this release. One for a pci
>> regression that causes a kernel panic during certain dma conditions. The
>> other fixes a vulnerability in the tcp target.
>>
>> The following changes since commit 4da7c5c3ec34d839bba6e035c3d05c447a2f9d4f:
>>
>> bcache: fix I/O accounting leak in detached_dev_do_request (2026-01-28 19:06:55 -0700)
>>
>> are available in the Git repository at:
>>
>> git://git.infradead.org/nvme.git tags/nvme-6.19-2026-02-05
>>
>> for you to fetch changes up to 52a0a98549344ca20ad81a4176d68d28e3c05a5c:
>>
>> nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec (2026-02-05 07:29:10 -0800)
>>
>> ----------------------------------------------------------------
>> nvme fixes for Linux 6.19
>>
>> - Fix NULL pointer access setting up dma mappings (Keith)
>> - Fix invalid memory access from malformed TCP PDU (YunJe)
>>
>> ----------------------------------------------------------------
>> Keith Busch (1):
>> nvme-pci: handle changing device dma map requirements
>
> After this one, iod in nvme_pci_prp_iter_next() is now unused, which
> will trigger a compiler warning...
Actually this is only true in the 7.0 based branches. Should be fine
for 6.19, I'll add a commit for the 7.0 merge.
--
Jens Axboe
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] nvme fixes for 6.19, final
2026-02-05 15:49 ` Jens Axboe
@ 2026-02-05 15:54 ` Keith Busch
2026-02-05 15:55 ` Jens Axboe
0 siblings, 1 reply; 7+ messages in thread
From: Keith Busch @ 2026-02-05 15:54 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-nvme, hch, linux-block
On Thu, Feb 05, 2026 at 08:49:35AM -0700, Jens Axboe wrote:
> On 2/5/26 8:47 AM, Jens Axboe wrote:
> > On 2/5/26 8:38 AM, Keith Busch wrote:
> >> Hi Jens,
> >>
> >> Some late fixes for nvme that should go in this release. One for a pci
> >> regression that causes a kernel panic during certain dma conditions. The
> >> other fixes a vulnerability in the tcp target.
> >>
> >> The following changes since commit 4da7c5c3ec34d839bba6e035c3d05c447a2f9d4f:
> >>
> >> bcache: fix I/O accounting leak in detached_dev_do_request (2026-01-28 19:06:55 -0700)
> >>
> >> are available in the Git repository at:
> >>
> >> git://git.infradead.org/nvme.git tags/nvme-6.19-2026-02-05
> >>
> >> for you to fetch changes up to 52a0a98549344ca20ad81a4176d68d28e3c05a5c:
> >>
> >> nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec (2026-02-05 07:29:10 -0800)
> >>
> >> ----------------------------------------------------------------
> >> nvme fixes for Linux 6.19
> >>
> >> - Fix NULL pointer access setting up dma mappings (Keith)
> >> - Fix invalid memory access from malformed TCP PDU (YunJe)
> >>
> >> ----------------------------------------------------------------
> >> Keith Busch (1):
> >> nvme-pci: handle changing device dma map requirements
> >
> > After this one, iod in nvme_pci_prp_iter_next() is now unused, which
> > will trigger a compiler warning...
>
> Actually this is only true in the 7.0 based branches. Should be fine
> for 6.19, I'll add a commit for the 7.0 merge.
Yeah, I initially applied this to 7.0 with it removed, but we decided
this was a nasty and easy to hit bug that 6.19 is better of having fixed
on release. I had to leave the 'iod' in for the 6.19 port, so looks like
we'll have a merge conflict for the next cycle.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] nvme fixes for 6.19, final
2026-02-05 15:54 ` Keith Busch
@ 2026-02-05 15:55 ` Jens Axboe
0 siblings, 0 replies; 7+ messages in thread
From: Jens Axboe @ 2026-02-05 15:55 UTC (permalink / raw)
To: Keith Busch; +Cc: linux-nvme, hch, linux-block
On 2/5/26 8:54 AM, Keith Busch wrote:
> On Thu, Feb 05, 2026 at 08:49:35AM -0700, Jens Axboe wrote:
>> On 2/5/26 8:47 AM, Jens Axboe wrote:
>>> On 2/5/26 8:38 AM, Keith Busch wrote:
>>>> Hi Jens,
>>>>
>>>> Some late fixes for nvme that should go in this release. One for a pci
>>>> regression that causes a kernel panic during certain dma conditions. The
>>>> other fixes a vulnerability in the tcp target.
>>>>
>>>> The following changes since commit 4da7c5c3ec34d839bba6e035c3d05c447a2f9d4f:
>>>>
>>>> bcache: fix I/O accounting leak in detached_dev_do_request (2026-01-28 19:06:55 -0700)
>>>>
>>>> are available in the Git repository at:
>>>>
>>>> git://git.infradead.org/nvme.git tags/nvme-6.19-2026-02-05
>>>>
>>>> for you to fetch changes up to 52a0a98549344ca20ad81a4176d68d28e3c05a5c:
>>>>
>>>> nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec (2026-02-05 07:29:10 -0800)
>>>>
>>>> ----------------------------------------------------------------
>>>> nvme fixes for Linux 6.19
>>>>
>>>> - Fix NULL pointer access setting up dma mappings (Keith)
>>>> - Fix invalid memory access from malformed TCP PDU (YunJe)
>>>>
>>>> ----------------------------------------------------------------
>>>> Keith Busch (1):
>>>> nvme-pci: handle changing device dma map requirements
>>>
>>> After this one, iod in nvme_pci_prp_iter_next() is now unused, which
>>> will trigger a compiler warning...
>>
>> Actually this is only true in the 7.0 based branches. Should be fine
>> for 6.19, I'll add a commit for the 7.0 merge.
>
> Yeah, I initially applied this to 7.0 with it removed, but we decided
> this was a nasty and easy to hit bug that 6.19 is better of having fixed
> on release. I had to leave the 'iod' in for the 6.19 port, so looks like
> we'll have a merge conflict for the next cycle.
It actually merges cleanly, but you then end up with that leftover
iod. If it hadn't merged cleanly, I would've seen it before building
it :-)
--
Jens Axboe
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-02-05 15:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-05 15:38 [GIT PULL] nvme fixes for 6.19, final Keith Busch
2026-02-05 15:47 ` Jens Axboe
2026-02-05 15:49 ` Christoph Hellwig
2026-02-05 15:51 ` Jens Axboe
2026-02-05 15:49 ` Jens Axboe
2026-02-05 15:54 ` Keith Busch
2026-02-05 15:55 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox