Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #90012

Bug#1120602: hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1120602: hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0
Date Thu, 13 Nov 2025 15:00:01 +0100
Message-ID <LQG1H-cFBi-3@gated-at.bofh.it> (permalink)
References <LQrYJ-cvPu-1@gated-at.bofh.it> <LQz0d-cB5Q-5@gated-at.bofh.it> <LQFIm-cFss-5@gated-at.bofh.it> <LQrYJ-cvPu-1@gated-at.bofh.it> <LQFIm-cFss-5@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Nov 13 13:59:09 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.4
Reply-To Salvatore Bonaccorso <carnil@debian.org>, 1120602@bugs.debian.org
Original-Sender Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-kernel@lists.debian.org
X-Debian-Pr-Message followup 1120602
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords moreinfo
X-Debian-Pr-Source linux
X-Gm-Message-State AOJu0Yy3G4gLYHu1FyC0ygWweGAswJHPMbcB2K+SMvhE3UtxD9Jxsw// Q0yM5uYbaNq6e7siOpgHJdn2gYYA32AY+5qvbykg6d/52hXlXa8IDX1lI4VknwBU
X-Gm-Gg ASbGnctPzb0hIjeNouygYO8+lhxOyyDdqQAS5YE7G21TJiVVvXfKfPo1Dqccfl5vLrH E0H279pKRMIrPClQkvMqn1OmUf5cEu0jHhyJ8akQ+ziSmt+P6C5VvCsp0FgcEoUBEAuILdVHifw PrUeZKofLZdMH7IHNENCgAuP3WBlmSwW366bW7jCnV8EY4jFZoFrrmIvDcsbnwODWYii45NN9y7 jR2Pr6Ay6jOoD0TTuwCGCEAVPZMRtii645F8G6hxhJP/lIYQEN6puGMV/3lSQgVBl3B3S63OMJ8 9yWTaLKEo/OKcZqi8hLNwm/yXRXwo/fQMWG+NOtWs5tjThwaqTj6D3oopyWRkkyw/5UzzfxkaUe AwcT0iroy1g0HrhnHElASQUsogukJmQn+3TDxNK2rMBkt8yjqO4xQ/5cXxBryYuZbjcnGo525wj Cw4RxjsIos+Q4CsYGFcTG1dCrtAkG1D1T7hA==
X-Google-SMTP-Source AGHT+IFLnVmDkIR2K++7PWHyOJAXHL/iuU3yZA5yJkDUnL0p2R3Kd30WO7zAXQoHiLAuLVwEfBPK+g==
X-Received by 2002:a05:600c:1f8c:b0:471:16b1:b824 with SMTP id 5b1f17b1804b1-477871c47b6mr72437135e9.28.1763042223024; Thu, 13 Nov 2025 05:57:03 -0800 (PST)
Sender robomod@news.nic.it
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1936526
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 106
Organization linux.* mail to news gateway
X-Original-Cc 1120602@bugs.debian.org
X-Original-Date Thu, 13 Nov 2025 14:57:01 +0100
X-Original-Message-ID <aRXjrZwc_IM3hTQ5@eldamar.lan>
X-Original-References <176298819854.487825.11724175116974643582.reportbug@p15v.lan> <aRV4xoqev6fRCsE8@eldamar.lan> <CAFcZKTwjOXg7irTJoEqFy5WczT44Pc5qc4__zUKhXWiSrk6iPg@mail.gmail.com> <176298819854.487825.11724175116974643582.reportbug@p15v.lan> <CAFcZKTwjOXg7irTJoEqFy5WczT44Pc5qc4__zUKhXWiSrk6iPg@mail.gmail.com>
X-Original-Sender Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Xref csiph.com linux.debian.bugs.dist:1270019 linux.debian.kernel:90012

Cross-posted to 2 groups.

Show key headers only | View raw


Control: tags -1 + upstream
Control: tags -1 - moreinfo

Hi Peter,

On Thu, Nov 13, 2025 at 01:14:37PM +0000, Peter Morrow wrote:
> Hi Salvatore,
> 
> Thank you for your reply and maintainership!

Welcome :)

> On Thu, 13 Nov 2025 at 06:20, Salvatore Bonaccorso <carnil@debian.org> wrote:
> >
> > Control: tags -1 + moreinfo
> >
> > Hi Peter,
> >
> > Thanks a lot for the report.
> >
> > On Wed, Nov 12, 2025 at 10:56:38PM +0000, Peter Morrow wrote:
> > > Package: src:linux
> > > Version: 6.12.57-1
> > > Severity: important
> > > X-Debbugs-Cc: pdmorrow@gmail.com
> > >
> > > Dear Maintainer,
> > >
> > > I'm seeing a kernel crash quite soon after boot on a debian trixie based
> > > system running 6.12.57+deb13-amd64, unfortunately the kernel panics before
> > > I can access the system to gather more information. Thus I'll provide details
> > > of the system using a previously known good version. The panic is happening
> > > 100% of the time unfortunately. I have access to the serial console however
> > > so can enable any required verbose logging during boot if necessary.
> > >
> > > Crucially the crash is not seen with kernel version 6.12.41+deb13-amd64 with the
> > > same userspace. We had pinned to that version until very recently to in order
> > > to work around https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109676
> > >
> > > I'm running a dpdk application here (VPP) on Azure, VM form factor is a
> > > "Standard DS3 v2 (4 vcpus, 14 GiB memory)".
> > >
> > > The only relevant upstream commit in this area (as far as I can see) is:
> > >
> > > https://lore.kernel.org/linux-hyperv/1bb599ee-fe28-409d-b430-2fc086268936@linux.microsoft.com/
> > >
> > > The comment regarding avoiding races at start adds a bit more weight behind this
> > > hunch, though it's only a hunch as I am most definitely nowhere near an expert
> > > in this area.
> >
> > I have a couple of questions. As you pinned 6.12.41+deb13-amd64, but
> > this was not the most recent kernel for trixie, can you confirm you
> > are seeing or not seeing the issue as well with 6.12.48-1 (this was
> > released via security update).
> 
> I installed linux-image-6.12.48+deb13-amd64 and can confirm it's working fine,
> no crashes on boot.

Thanks for doing so.

> >
> > This would help narrowing the range further.
> >
> > The commit b15b7d2a1b09 ("uio_hv_generic: Let userspace take care of
> > interrupt mask") was backported to 6.12.53, so if you do not see the
> > problem with 6.12.48-1 then this further weight for the offending
> > commit.
> >
> > Secondly: Would you have either the possibility to bisect the changes
> > between the given range of good/bad kernel to isolate the offending
> > commit with a proof? Alternatively could you build 6.12.57-1 with the
> > commit reverted only? (you can use the debian/bin/test-patches script
> > for that, instructions in
> > https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#id-1.6.6.4,
> > let me know though if you need help to make the patch to be used).
> 
> I was able to build 6.12.57-1 with b15b7d2a1b09 reverted using test-patches and
> confirm that the kernel does not panic on boot. So it looks fairly
> conclusive to me that
> b15b7d2a1b09 is the culprit for me.

Ok that is already a good result thank you. The next step is to
forward it upstream, will do shortly, still the following point:

> >
> > Could you additionally (just to test, then revert back to the regular
> > trixie kernel series) test the 6.17.7-2 kernel from unstable? This one
> > would include as well a backport of b15b7d2a1b09.
> 
> Would you still like this test done? I suspect it's not required now with the
> data we have on b15b7d2a1b09.

Not necessarily if it is a problem for deploying it for your
enviornment. If you can, then we have the benefit to confirm to
upstream that indeed it is still affecting more recent versions, and
unlikely that some other changes inbetween make the issue disapear
(even if there is no commit with fixes tag to the orginal commit).

So not necessary, but still helpful to confirm that even newer
branches are affected.

I will preapre the report upstream, and upstream might have questions
back to you.

Regards,
Salvatore

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1120602: hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0 Peter Morrow <pdmorrow@gmail.com> - 2025-11-13 00:00 +0100
  Processed: Re: Bug#1120602: hyper-v: BUG: kernel NULL pointer  dereference, address: 00000000000000a0 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-11-13 07:30 +0100
  Bug#1120602: hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0 Salvatore Bonaccorso <carnil@debian.org> - 2025-11-13 07:30 +0100
  Bug#1120602: hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0 Peter Morrow <pdmorrow@gmail.com> - 2025-11-13 14:40 +0100
  Processed: Re: Bug#1120602: hyper-v: BUG: kernel NULL pointer  dereference, address: 00000000000000a0 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-11-13 15:00 +0100
  Bug#1120602: hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0 Salvatore Bonaccorso <carnil@debian.org> - 2025-11-13 15:00 +0100
    Bug#1120602: hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0 Peter Morrow <pdmorrow@gmail.com> - 2025-11-13 15:40 +0100
  Bug#1120602: [REGRESSION 6.12.y] hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0: RIP: 0010:hv_uio_channel_cb+0xd/0x20 [uio_hv_generic] Naman Jain <namjain@linux.microsoft.com> - 2025-11-14 07:10 +0100
  Bug#1120602: [REGRESSION 6.12.y] hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0: RIP: 0010:hv_uio_channel_cb+0xd/0x20 [uio_hv_generic] Naman Jain <namjain@linux.microsoft.com> - 2025-11-14 15:40 +0100
    Bug#1120602: [REGRESSION 6.12.y] hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0: RIP: 0010:hv_uio_channel_cb+0xd/0x20 [uio_hv_generic] Salvatore Bonaccorso <carnil@debian.org> - 2025-11-14 22:50 +0100
      Bug#1120602: [REGRESSION 6.12.y] hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0: RIP: 0010:hv_uio_channel_cb+0xd/0x20 [uio_hv_generic] Naman Jain <namjain@linux.microsoft.com> - 2025-11-15 10:10 +0100
  Bug#1120602: [REGRESSION 6.12.y] hyper-v: BUG: kernel NULL pointer dereference, address: 00000000000000a0: RIP: 0010:hv_uio_channel_cb+0xd/0x20 [uio_hv_generic] Naman Jain <namjain@linux.microsoft.com> - 2025-11-26 07:20 +0100

csiph-web