On 6.2.0-21-generic I also get:

sudo ./stress-ng --apparmor 1 --klog-check

stress-ng: error: [1083] klog-check: alert: [66.442338] 'BUG: kernel NULL 
pointer dereference, address: 0000000000000030'
stress-ng: error: [1083] klog-check: alert: [66.442538] '#PF: supervisor read 
access in kernel mode'
stress-ng: error: [1083] klog-check: alert: [66.442718] '#PF: 
error_code(0x0000) - not-present page'
stress-ng: info:  [1083] klog-check: warning: [66.443080] 'Oops: 0000 [#1] 
PREEMPT SMP PTI'
stress-ng: info:  [1083] klog-check: warning: [66.443256] 'CPU: 3 PID: 1088 
Comm: stress-ng-appar Not tainted 6.2.0-21-generic #21-Ubuntu'
stress-ng: info:  [1083] klog-check: warning: [66.443438] 'Hardware name: QEMU 
Standard PC (Q35 + ICH9, 2009), BIOS 1.16.0-debian-1.16.0-5 04/01/2014'
stress-ng: info:  [1083] klog-check: warning: [66.443628] 'RIP: 
0010:aafs_create.constprop.0+0x7f/0x130'
stress-ng: info:  [1083] klog-check: warning: [66.443819] 'Code: 4c 63 e0 48 83 
c4 18 4c 89 e0 5b 41 5c 41 5d 41 5e 41 5f 5d 31 d2 31 c9 31 f6 31 ff 45 31 c0 
45 31 c9 45 31 d2 c3 cc cc cc cc <4d> 8b 55 30 4d 8d ba a0 00 00 00 4c 89 55 c0 
4c 89 ff e8 8a 59 a1'
stress-ng: info:  [1083] klog-check: warning: [66.444227] 'RSP: 
0018:ffffbeb940907bd8 EFLAGS: 00010246'
stress-ng: info:  [1083] klog-check: warning: [66.444433] 'RAX: 
0000000000000000 RBX: 00000000000041ed RCX: 0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.444646] 'RDX: 
0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.444862] 'RBP: 
ffffbeb940907c18 R08: 0000000000000000 R09: 0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.445074] 'R10: 
0000000000000000 R11: 0000000000000000 R12: ffffffff93db8b18'
stress-ng: info:  [1083] klog-check: warning: [66.445291] 'R13: 
0000000000000000 R14: 0000000000000000 R15: 0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.445503] 'FS:  
00007f60f5c07740(0000) GS:ffff9578bbcc0000(0000) knlGS:0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.445721] 'CS:  0010 DS: 0000 
ES: 0000 CR0: 0000000080050033'
stress-ng: info:  [1083] klog-check: warning: [66.445939] 'CR2: 
0000000000000030 CR3: 0000000124ffa004 CR4: 0000000000370ee0'
stress-ng: info:  [1083] klog-check: warning: [66.446163] 'DR0: 
0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.446387] 'DR3: 
0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400'
stress-ng: info:  [1083] klog-check: warning: [66.446608] 'Call Trace:'
stress-ng: info:  [1083] klog-check: warning: [66.446829] ' <TASK>'
stress-ng: info:  [1083] klog-check: warning: [66.447059] ' 
__aafs_profile_mkdir+0x3d6/0x480'
stress-ng: info:  [1083] klog-check: warning: [66.447290] ' 
aa_replace_profiles+0x862/0x1270'
stress-ng: info:  [1083] klog-check: warning: [66.447518] ' 
policy_update+0xe0/0x180'
stress-ng: info:  [1083] klog-check: warning: [66.447750] ' 
profile_replace+0xb9/0x150'
stress-ng: info:  [1083] klog-check: warning: [66.447981] ' 
vfs_write+0xc8/0x410'
stress-ng: info:  [1083] klog-check: warning: [66.448213] ' ? 
kmem_cache_free+0x1e/0x3b0'
stress-ng: info:  [1083] klog-check: warning: [66.448442] ' 
ksys_write+0x73/0x100'
stress-ng: info:  [1083] klog-check: warning: [66.448670] ' 
__x64_sys_write+0x19/0x30'
stress-ng: info:  [1083] klog-check: warning: [66.448892] ' 
do_syscall_64+0x58/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.449115] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.449337] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.449551] ' ? 
exit_to_user_mode_loop+0xe0/0x130'
stress-ng: info:  [1083] klog-check: warning: [66.449775] ' ? 
exit_to_user_mode_prepare+0x30/0xb0'
stress-ng: info:  [1083] klog-check: warning: [66.449996] ' ? 
syscall_exit_to_user_mode+0x29/0x50'
stress-ng: info:  [1083] klog-check: warning: [66.450220] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.450449] ' ? 
exit_to_user_mode_prepare+0x30/0xb0'
stress-ng: info:  [1083] klog-check: warning: [66.450681] ' ? 
syscall_exit_to_user_mode+0x29/0x50'
stress-ng: info:  [1083] klog-check: warning: [66.450915] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.451151] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.451384] ' 
entry_SYSCALL_64_after_hwframe+0x72/0xdc'
stress-ng: info:  [1083] klog-check: warning: [66.451614] 'RIP: 
0033:0x7f60f5b0b9e4'
stress-ng: info:  [1083] klog-check: warning: [66.451848] 'Code: 15 39 a4 0e 00 
f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 80 3d fd 2b 0f 
00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 
28 48 89 54 24 18 48'
stress-ng: info:  [1083] klog-check: warning: [66.452341] 'RSP: 
002b:00007ffdaa28bfb8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001'
stress-ng: info:  [1083] klog-check: warning: [66.452601] 'RAX: 
ffffffffffffffda RBX: 000055fd4274c2b0 RCX: 00007f60f5b0b9e4'
stress-ng: info:  [1083] klog-check: warning: [66.452854] 'RDX: 
0000000000015b3a RSI: 000055fd4274e780 RDI: 0000000000000005'
stress-ng: info:  [1083] klog-check: warning: [66.453111] 'RBP: 
0000000000015b3a R08: 000055fd4274c870 R09: 00000000ffffffff'
stress-ng: info:  [1083] klog-check: warning: [66.453364] 'R10: 
0000000000000000 R11: 0000000000000202 R12: 000055fd4274e780'
stress-ng: info:  [1083] klog-check: warning: [66.453617] 'R13: 
0000000000000005 R14: 000055fd4274e780 R15: 0000000000000008'
stress-ng: info:  [1083] klog-check: warning: [66.453875] ' </TASK>'
stress-ng: info:  [1083] klog-check: warning: [66.454125] 'Modules linked in: 
cfg80211 binfmt_misc intel_rapl_msr snd_hda_codec_generic intel_rapl_common 
ledtrig_audio snd_hda_intel kvm_intel snd_intel_dspcfg snd_intel_sdw_acpi 
snd_hda_codec snd_hda_core snd_hwdep kvm snd_pcm snd_timer irqbypass rapl snd 
soundcore joydev input_leds mac_hid serio_raw dm_multipath scsi_dh_rdac 
scsi_dh_emc scsi_dh_alua msr efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 
multipath linear crct10dif_pclmul crc32_pclmul hid_generic polyval_clmulni 
polyval_generic ghash_clmulni_intel usbhid sha512_ssse3 hid qxl drm_ttm_helper 
ttm aesni_intel drm_kms_helper crypto_simd cryptd syscopyarea virtio_rng 
sysfillrect sysimgblt virtio_net psmouse drm net_failover i2c_i801 ahci 
i2c_smbus lpc_ich libahci virtio_blk failover'
stress-ng: info:  [1083] klog-check: warning: [66.456245] 'CR2: 
0000000000000030'
stress-ng: info:  [1083] klog-check: warning: [66.456508] '---[ end trace 
0000000000000000 ]---'
stress-ng: info:  [1083] klog-check: warning: [66.456772] 'RIP: 
0010:aafs_create.constprop.0+0x7f/0x130'
stress-ng: info:  [1083] klog-check: warning: [66.457034] 'Code: 4c 63 e0 48 83 
c4 18 4c 89 e0 5b 41 5c 41 5d 41 5e 41 5f 5d 31 d2 31 c9 31 f6 31 ff 45 31 c0 
45 31 c9 45 31 d2 c3 cc cc cc cc <4d> 8b 55 30 4d 8d ba a0 00 00 00 4c 89 55 c0 
4c 89 ff e8 8a 59 a1'
stress-ng: info:  [1083] klog-check: warning: [66.457581] 'RSP: 
0018:ffffbeb940907bd8 EFLAGS: 00010246'
stress-ng: info:  [1083] klog-check: warning: [66.457856] 'RAX: 
0000000000000000 RBX: 00000000000041ed RCX: 0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.458185] 'RDX: 
0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.458460] 'RBP: 
ffffbeb940907c18 R08: 0000000000000000 R09: 0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.458740] 'R10: 
0000000000000000 R11: 0000000000000000 R12: ffffffff93db8b18'
stress-ng: info:  [1083] klog-check: warning: [66.459056] 'R13: 
0000000000000000 R14: 0000000000000000 R15: 0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.459340] 'FS:  
00007f60f5c07740(0000) GS:ffff9578bbcc0000(0000) knlGS:0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.459630] 'CS:  0010 DS: 0000 
ES: 0000 CR0: 0000000080050033'
stress-ng: info:  [1083] klog-check: warning: [66.459918] 'CR2: 
0000000000000030 CR3: 0000000124ffa004 CR4: 0000000000370ee0'
stress-ng: info:  [1083] klog-check: warning: [66.460212] 'DR0: 
0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000'
stress-ng: info:  [1083] klog-check: warning: [66.460502] 'DR3: 
0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400'


** Also affects: apparmor (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2024599

Title:
  linux-image-5.15.0-1032-realtime locks up under scheduler test load

Status in apparmor package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in apparmor source package in Jammy:
  New
Status in linux source package in Jammy:
  Incomplete

Bug description:
  lsb_release -a
  No LSB modules are available.
  Distributor ID:       Ubuntu
  Description:  Ubuntu 22.04.2 LTS
  Release:      22.04
  Codename:     jammy

  uname -a
  Linux jammie-amd64-efi 5.15.0-1032-realtime #35-Ubuntu SMP PREEMPT_RT Tue Jan 
24 11:45:03 UTC 2023 x86_64
  x86_64 x86_64 GNU/Linux

  free
                 total        used        free      shared  buff/cache   
available
  Mem:         4013888      200984     3439012        1204      373892     
3744628
  Swap:        4014076           0     4014076

  Running in a kvm-qemu, 8 cpus, cpu Intel Core Processor (Skylake,
  IBRS):

  how to reproduce issue:

  git clone https://github.com/ColinIanKing/stress-ng
  sudo apt-get update
  sudo apt-get build-dep stress-ng
  sudo apt-get install libeigen3-dev libmpfr-dev libkmod-dev libxxhash-dev 
libglvnd-dev libgbm-dev
  cd stress-ng
  make clean
  make -j 8
  sudo ./stress-ng --class scheduler --all 1 -v --vmstat 1 -t 30m

  ..wait for all the stressors to get invoked, system becomes
  unresponsive, can't ^C stress-ng, can't swap consoles on the VM,
  appears to be hard locked.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to