I was able to pinpoint the apparmor profile down. It definitely has a number of child profiles like these:
``` /usr/bin/smbclient Cx, profile /usr/bin/smbclient { ``` I've updated the profile per your suggestion and it actually helped. Thanks a lot! However this is still seems to be a software defect. Kernel should not Oops, apparmor tools should catch an backward incompatible issue with a profile. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2048951 Title: Kernel Oops - kernel NULL pointer dereference (apparmor_bprm_creds_for_exec, profile_transition) with linux- image-6.5.0-18-generic (linux-image-generic-hwe-22.04) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.5/+bug/2048951/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs