[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-18 Thread Clayton Severson
Follow-up, 16 days on:

- On 2026-10-02 I moved the affected guest (daringly) from
7.0.0-1017-azure to noble's 6.8.0-1070-azure. Everything else stayed the
same: the install, the workload and the host. It has had no oopses
since. Three more Ubuntu 26.04 guests on the same host have also run
6.8.0-1070-azure since 2026-10-11/12, with no crashes. The last guest
crash in the Hyper-V log was on a 7.0 kernel, on 2026-10-04.

- Host confounder: the host has logged no WHEA errors since 2026-10-03,
and its last crash was on 2026-10-06. All the 7.0 oopses in this report
fall inside the window when the host was unstable, so I can't fully rule
the host out for those.

- I haven't run 7.0 since 2026-10-07. The second VM ("kernel-lab", where
apport-collect ran) is still available, with a reproducer that crashed
7.0 within minutes, most reliably during depmod. If it helps, I can boot
a specific test kernel, a mainline build or a patch there and report
whether it crashes. I can also try to bisect between 6.8 and 7.0.

Please let me know which you'd find most useful.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-16 Thread Changwei Zou
** Changed in: linux (Ubuntu)
   Importance: Low => Medium

** Changed in: linux-azure (Ubuntu)
   Importance: Low => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-15 Thread Changwei Zou
Admittedly, some bugs are really difficult to reproduce.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-15 Thread Changwei Zou
** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Changed in: linux-azure (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-15 Thread Changwei Zou
Thanks a lot for your updates.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-06 Thread Clayton Severson
apport-collect data above is from the second VM ("kernel-lab") on the
same Hyper-V host, booted into 7.0.0-38-generic (it did not oops during
collection).

Update on the host-CPU confounder: I ran a per-core test on the
i9-14900K host (2026-10-06, 43 min). Each of the 32 logical CPUs was
pinned one at a time (process affinity) and ran Intel Processor
Diagnostic Tool's self-checking modules (Math_FP, Math_PrimeNum, FMA3,
AVX) for 20 s each. Running on one core lets it boost to its maximum
single-core clock, where 13th/14th-gen Vmin-shift degradation usually
shows. The cores that logged WHEA errors (APIC 32/33/41, i.e. logical
CPUs 8-11) went first.

Result: 128/128 module runs passed, no computation errors, 0 new WHEA
events during the run. The earlier full IPDT run (all-core) also passed.

So I can't confirm a defective CPU: the 13 historical WHEA "internal
parity error" events (2026-08-18 to 10-03) and the host bugchecks are
still unexplained, but the CPU passes every test I can run on it. I'm
still treating the hardware as a possible confounder and will try to
reproduce on a different machine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-06 Thread Clayton Severson
apport information

** Tags added: apport-collected cloud-image resolute

** Description changed:

  An Ubuntu 26.04.1 LTS VM on Hyper-V repeatedly oopses in path_is_under(), 
called from
  complete_walk() during openat(). The faulting address is a different garbage 
value each time:
  either fff0 or a non-canonical pointer. That suggests a corrupted 
or freed struct mount
  being walked through mnt_parent. With panic_on_oops=0 the task dies holding a 
lock, every
  later bubblewrap (bwrap) process soft-locks in create_user_ns -> 
alloc_ucounts /
  current_chrooted -> _raw_spin_lock, and the system wedges. With 
panic_on_oops=1 it panics and
  reboots.
  
  Reproduced on three kernel builds within ~28 hours:
- 7.0.0-34-generic: 3 oopses (Comm: MainThread x2, depmod)
- 7.0.0-38-generic: 1 oops (Comm: MainThread)
- 7.0.0-1017-azure (7.0.14 base): 1 oops (Comm: git)
  
  == Environment ==
  - Ubuntu 26.04.1 LTS (resolute), cloud image 
(ubuntu-26.04-server-cloudimg-amd64.img)
  - Hyper-V Gen 2 VM on Windows 11 Pro 26200, Secure Boot (MS UEFI CA), 8 vCPU, 
8 GB static RAM
(Dynamic Memory was enabled for the first incident; disabled since), 8 GB 
swapfile, ext4 root
  - Host CPU: Intel Core i9-14900K
  - kernel.apparmor_restrict_unprivileged_userns=1 (default)
  
  == Trace (7.0.0-1017-azure, representative) ==
  Oops: general protection fault, probably for non-canonical address 
0xaa72f400ffef:  [#1] SMP NOPTI
  CPU: 0 UID: 1000 PID: 45217 Comm: git Not tainted 7.0.0-1017-azure #17-Ubuntu 
PREEMPTLAZY
  Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 
Hyper-V UEFI Release v4.1 09/25/2025
  RIP: 0010:path_is_under+0x60/0xa0
  Call Trace:
   complete_walk+0x9c/0xc0
   do_open+0x1b3/0x400
   path_openat+0x113/0x290
   do_file_open+0xdf/0x1a0
   do_sys_openat2+0x7a/0xe0
   __x64_sys_openat+0x5f/0xa0
   do_syscall_64+0x105/0x5a0
   entry_SYSCALL_64_after_hwframe+0x76/0x7e
  Kernel panic - not syncing: Fatal exception
  
  On -generic the first oops was "BUG: unable to handle page fault for address: 
fff0"
  at path_is_under+0x50/0x90 with the same call chain.
  
  == Workload / when it happens ==
  - The VM ran cleanly for ~24h, then oopsed repeatedly once it was used as a 
development box:
Claude Code (Node/Bun), git, pnpm, Chrome under XFCE/xrdp, and Tailscale.
  - Faulting tasks are ordinary file opens by unprivileged processes 
(MainThread = Claude Code's
main thread, git) and root (depmod during a kernel package postinst).
  - Intervals between oopses ranged from ~1 minute to ~2 hours of uptime.
  
  == Ruled out ==
  - Filesystem: a forced e2fsck of root was clean apart from an "extent tree 
could be narrower"
optimisation note.
  - Memory pressure: it reproduces with static RAM and >5 GB free; no OOM 
events.
  - Host problems: no host errors, and a WSL2 guest on the same host is 
unaffected.
  
  == Possibly related ==
  The first incident followed Hyper-V Dynamic Memory hot-add failures 6 minutes 
earlier:
  "40-vm-hotadd.rules: Failed to write 'online'" and "workqueue: hot_add_req 
[hv_balloon] hogged
  CPU". Dynamic Memory has been off since, and the oopses continue.
  
  == Attachments ==
  - oops-all-6-crashes.txt: full oops texts from systemd-pstore (efi_pstore) 
for every incident
  - hyperv-guest-crash-events.txt: Hyper-V Worker event 18590, which includes 
the guest's final kmsg
  - system-info.txt: version_signature, uname, installed kernels, cmdline, 
CPU/memory, userns settings
+ --- 
+ ProblemType: Bug
+ AlsaDevices:
+  total 0
+  crw-rw 1 root audio 116,  1 Oct  6 21:56 seq
+  crw-rw 1 root audio 116, 33 Oct  6 21:56 timer
+ AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
+ ApportVersion: 2.34.1-0ubuntu0.1
+ Architecture: amd64
+ ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
+ AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
+ CRDA: N/A
+ CasperMD5CheckResult: unknown
+ CloudArchitecture: x86_64
+ CloudBuildName: server
+ CloudID: nocloud
+ CloudName: unknown
+ CloudPlatform: nocloud
+ CloudSerial: 20260927
+ CloudSubPlatform: config-disk (/dev/sdb1)
+ DistroRelease: Ubuntu 26.04
+ Lspci:
+  
+ Lspci-vt:
+  
+ Lsusb: Error: command ['lsusb'] failed with exit code 1:
+ Lsusb-t:
+  
+ Lsusb-v: Error: command ['lsusb', '-v'] failed with exit code 1:
+ MachineType: Microsoft Corporation Virtual Machine
+ Package: linux-azure (not installed)
+ PciMultimedia:
+  
+ ProcEnviron:
+  LANG=C.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=unknown
+ ProcFB: 0 hyperv_drmdrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-38-generic 
root=UUID=747687d9-c20c-41f8-bfb8-7f4a57910c51 ro console=tty1 console=ttyS0
+ ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
+ RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
+ Tags: cloud-image resolute
+ Uname: Linux 7.0.0-38-generic x86_64
+ 

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-06 Thread Clayton Severson
Thanks for picking this up. Before the apport-collect data arrives, I
need to correct my report, because it matters for triage.

The "Ruled out: host problems: no host errors" line in my description is
WRONG. I've since found that the Windows host (i9-14900K) itself shows
hardware instability:

- 13 x WHEA Event 19 "Corrected Machine Check / Processor Core / Internal 
parity error" between 2026-08-18 and 2026-10-03, concentrated on APIC IDs 41 
(9x), 33 (3x) and 32 (1x)
- about 18 host bugchecks since 2026-09-06: 0x20001 HYPERVISOR_ERROR (8x), 
0x50, 0x1E, 0x3B, plus resets with no bugcheck
- the host runs BIOS defaults (Intel Default Settings), microcode 0x133, XMP 
off. Intel's IPDT passes, but these symptoms fit 13th/14th-gen Vmin-shift 
degradation, and I'm pursuing an RMA.

So this could be a corrupted pointer from flaky hardware, not a kernel bug. 
Points that still suggest a real 7.0 regression:
- every one of the guest crashes hits the same place: path_is_under() via 
complete_walk() on plain openat(). In v7.0, complete_walk() only calls 
path_is_under() when nd->flags has LOOKUP_IS_SCOPED 
(LOOKUP_BENEATH|LOOKUP_IN_ROOT), which plain openat never sets. Random 
corruption would be unlikely to keep landing on the same check.
- after downgrading the same VM to 6.8.0-1070-azure (noble), there have been 0 
guest oopses in 4 days under the same workload. On 7.0 it crashed every 15-20 
minutes.
- a second, idle VM on the same host reproduced it on 7.0.0-38-generic (depmod; 
and once at mass process teardown), but not every run.

The confounder is real, though. I'll re-test on a different machine
before asking you to spend more time on this, and run apport-collect
from a 7.0 kernel once I have a clean reproduction. Sorry for the noise
in the original report.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-05 Thread Changwei Zou
Thank you very much for reporting this issue.
Could you please provide more information?
Please boot into the Ubuntu kernel and run the following command in a terminal 
to collect debugging information and attach it to this report.

$ sudo apport-collect 2169338

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-02 Thread Ubuntu Kernel Bot
** Tags added: kernel-daily-bug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-02 Thread Clayton Severson
** Attachment added: "hyperv-guest-crash-events.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/2169338/+attachment/6005086/+files/hyperv-guest-crash-events.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-02 Thread Clayton Severson
** Attachment added: "system-info.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+attachment/6005049/+files/system-info.txt

** Also affects: linux-azure (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-02 Thread Clayton Severson
** Attachment added: "lspci-vnvn.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+attachment/6005048/+files/lspci-vnvn.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2169338] Re: Kernel oops / GPF in path_is_under() from complete_walk() on openat — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

2026-10-02 Thread Clayton Severson
** Attachment added: "version.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+attachment/6005047/+files/version.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169338

Title:
  Kernel oops / GPF in path_is_under() from complete_walk() on openat
  — 7.0.0-34/-38-generic and 7.0.0-1017-azure, Hyper-V Gen2 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169338/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs