Screen freezes or kernel panics after enabling permission prompting on 26.04

Ubuntu Version: Example: 26.04 LTS

Desktop Environment: GNOME

Problem Description:
Since I enabled permission prompting, I’ve been experiencing occasional freezes on my system when downloading files from either Vivaldi or Mattermost snaps. Sometimes they are a kernel panic, sometimes seemingly a graphical freeze only.

Relevant System Information:
```
$ uname -a
Linux rooster 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 GNU/Linux
$ sudo lspci -k | grep -EA3 ‘VGA|3D|Display’
65:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Strix [Radeon 880M / 890M] (rev c4)
Subsystem: AIstone Global Limited Device 5006
Kernel driver in use: amdgpu
Kernel modules: amdgpu
$ snap info mattermost-desktop | grep tracking -A10
tracking: latest/stable
refresh-date: yesterday at 19:52 CEST
channels:
latest/stable: 6.2.0 2026-05-20 (841) 137MB -
latest/candidate: 6.2.0 2026-05-20 (841) 137MB -
latest/beta: ^
latest/edge: ^
installed: 6.2.0 (841) 137MB -
```

Screenshots or Error Messages:
I am not finding anything remarkable on dmesg after I reboot.

I’d love to help the team debug this issue but I need more information on what to try.

For now, I’ll try to abstain from downloading images from Mattermost, and switch to the Vivaldi .deb package, which seems to be working fine.

1 Like

Does it stop when you turn off permission prompting again?

1 Like

Hi @astrojuanlu , thanks for the report. There’s a known issue with kernels 6.17+ leading to a soft lockup when prompting is enabled and then snapd restarts.

https://bugs.launchpad.net/apparmor/+bug/2143937

A fix is in the works but hasn’t been released yet AFAIK.

Do you know if snapd was restarting when this occurred, such as due to a refresh? Or did the lockup occur when doing an action which triggered a prompt? If the latter, did it occur when the action was attempted or after trying to reply to the prompt?

1 Like

I’ll try this later this week.

I see. Is this also affecting 7.0? (That’s my current kernel)

Edit: I see it’s 6.17**+** :+1:

I think it’s unlikely it happened during a refresh, I experienced this 3 times this morning in various moments. It occurred right after replying to the prompt if I’m not mistaken.

Is there any way I can enable some logging that I can share the next time it happens? Maybe connect to the machine via SSH after the graphics freeze, assuming it’s not a kernel panic?

1 Like

I can confirm the issue!

Ubuntu 26.04 with COSMIC desktop and the same issue happens. My though was it might be desktop related, but from what I see not.

Desktop freezes mostly. Needs to hard reset PC.

1 Like

Today I confirmed that

  • On Mattermost, download image → Show in File Manager freezes the system, and any incoming SSH sessions are interrupted (so it’s not just a graphics freeze)
  • Disabling Permissions Prompting and then rebooting makes the issue go away
3 Likes

I can also reproduce it on a fresh x86_64 26.04 LTS: (1) enable prompting → (2) open Firefox → (3) try to save a webpage to a disk → (4) panic.

1 Like
2 Likes

Thanks; I should correct the earlier post slightly by saying that what is described in the above GitHub issue is what I can reproduce; i.e., it indeed drops to initramfs.

1 Like

This comment is interesting.

If that has a bearing on permissions prompting, it should be fixable by this stopgap workaround. You might also need the follow-up to fix-up /etc/os-release, but that seemed to be unnecessary for the Ubuntu Pro system observation issue, so may just be a placebo on top.

That comment is a month old, though, and that Ubuntu Pro issue should have been fixed by now, I reckon; can’t hurt to try, though.

1 Like

Again, both of the issues I can reproduce too: having Ubuntu Pro enabled, neither disk encryption information is shown in the Security Center nor does an icon appear in the taskbar upon enabling the live-patching option and the associated GUI option. But I suppose these might only be GUI regressions from the previous LTS version, which I also have running with rather comparable hardware (cf., e.g., the disk certainly is encrypted).

1 Like