Public bug reported:
Kernel: 7.0.0-43-generic (Ubuntu 26.04.1)
Hardware: Framework Laptop 13 Pro, Intel Core Ultra X7 358H (Panther Lake),
BIOS 03.04
Symptom
System hard-locks within ~20–60 s of a burst of AppArmor denials. Reproducible
by
starting the Thunderbird snap (denials on /proc/sys/dev/xe/observation_paranoid,
/sys/devices/virtual/dmi/id/product_sku, dbus). snapd prompting-client is
running.
Each lockup is preceded by one or more:
WARNING: kernel/workqueue.c:2351 at __queue_work.part.0+0x1e2/0x450
Call Trace: __queue_work <- delayed_work_timer_fn <- call_timer_fn <-
__run_timers
First WARN occurs on an untainted kernel. No panic is logged; the machine
freezes.
Identification of the work item
I put a kprobe on delayed_work_timer_fn that prints work->func
(-8(%di):symbol) and work->entry.next (-24(%di)), with traceoff_on_warning=1.
Last event on the warning CPU (CPU 9) before the WARN:
350.681459 dwtimer: fn=audit_cache_work_function entry_next=0x0
timer=0xffff8c826acdb028
WARN RBX (work pointer) = ffff8c826acdb008 = timer - 0x20. That's the same
object.
entry.next == NULL means the work_struct was zeroed (freed/reused or
re-initialized)
while its timer was still armed. A second WARN 2 s later hit ffff8c826acda950
(same slab region). An earlier capture's final traced event was also
audit_cache_work_function.
/proc/kallsyms neighbours of audit_cache_work_function: __aa_ip_localout,
notification_match, build_tagset, build_v35_unotif_common, insert_in_cache.
So this is in the AppArmor notification/prompting code.
Timeline (two captured events)
08:16:15 Thunderbird snap AppArmor denials -> 08:16:34 first WARN -> 08:16:54
lockup
09:05:34 Thunderbird snap AppArmor denials -> 09:05:51 first WARN -> lockup
Workaround under test: snap set system experimental.apparmor-
prompting=false
Attached: summary/trace/dmesg from the capture, kallsyms excerpt.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-43-generic 7.0.0-43.43
ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: s33thng 5855 F.... wireplumber
/dev/snd/seq: s33thng 5849 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 8 09:24:13 2026
InstallationDate: Installed on 2026-11-06 (2 days ago)
InstallationMedia: Ubuntu 26.04.1 LTS "Resolute Raccoon" - Release amd64
(20260826)
MachineType: Framework Laptop 13 Pro (Intel Core Ultra Series 3)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
ProcFB: 0 xedrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-43-generic
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/16/2026
dmi.bios.release: 3.4
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 03.04
dmi.board.asset.tag: *
dmi.board.name: FRANMJCP07
dmi.board.vendor: Framework
dmi.board.version: A7
dmi.chassis.asset.tag: FRANVZCPA76365002H
dmi.chassis.type: 10
dmi.chassis.vendor: Framework
dmi.chassis.version: A7
dmi.modalias:
dmi:bvnINSYDECorp.:bvr03.04:bd10/16/2026:br3.4:svnFramework:pnLaptop13Pro(IntelCoreUltraSeries3):pvrA7:rvnFramework:rnFRANMJCP07:rvrA7:cvnFramework:ct10:cvrA7:skuFRANVZCP07:pfaLaptop:
dmi.product.family: Laptop
dmi.product.name: Laptop 13 Pro (Intel Core Ultra Series 3)
dmi.product.sku: FRANVZCP07
dmi.product.version: A7
dmi.sys.vendor: Framework
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
** Attachment added: "dmesg-initramfs.txt dmesg-v2-2026-11-08-090553.txt
summary-v2-2026-11-08-090553.txt trace-v2-2026-11-08-090553.txt.gz"
https://bugs.launchpad.net/bugs/2173684/+attachment/6016060/+files/bugreport-submit.tgz
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173684
Title:
apparmor: use-after-free/uninitialized delayed_work in
audit_cache_work_function causes WARN at workqueue.c:2351 and hard
lockup (prompting, snap denials)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2173684/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs