*** This bug is a duplicate of bug 1830433 ***
https://bugs.launchpad.net/bugs/1830433
I think this one is a duplicate of #1830433 (and the fix has been
already applied to bionic).
** This bug has been marked a duplicate of bug 1830433
32-bit x86 kernel 4.15.0-50 crash in vmalloc_sync_all
--
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/1828632
Title:
bionic i386 kernel crashes in memory pressure situations
Status in linux package in Ubuntu:
Confirmed
Status in linux source package in Bionic:
New
Bug description:
The linux-image-4.15.0-49-generic (currently in bionic-proposed) can
be made to crash in a kvm guest with memory pressure. The reproducer
used is to attempt to run netbeans with openjdk-8-jre installed as the
only jvm. It will fail to run, and when it fails, it also causes
gnome-shell to crash. After 3 to 5 repeats of this, the kernel will
crash with the following oops in dmesg:
[ 545.926175] rfkill: input handler enabled
[ 546.117550] ------------[ cut here ]------------
[ 546.117552] kernel BUG at
/build/linux-S9wgEU/linux-4.15.0/arch/x86/mm/fault.c:268!
[ 546.117564] invalid opcode: 0000 [#1] SMP PTI
[ 546.117565] Modules linked in: snd_hda_codec_generic snd_hda_intel
snd_hda_codec snd_hda_core snd_hwdep snd_pcm kvm_intel kvm snd_seq_midi
snd_seq_midi_e
vent snd_rawmidi irqbypass snd_seq snd_seq_device input_leds joydev snd_timer
serio_raw snd soundcore qemu_fw_cfg mac_hid binfmt_misc sch_fq_codel ib_iser r
dma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi
scsi_transport_iscsi parport_pc ppdev lp parport ip_tables x_tables autofs4
btrfs zstd_compress r
aid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor
raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid crc32_pc
lmul pcbc qxl ttm drm_kms_helper syscopyarea aesni_intel aes_i586 sysfillrect
sysimgblt crypto_simd cryptd fb_sys_fops psmouse virtio_blk virtio_net floppy
drm pata_acpi i2c_piix4
[ 546.117600] CPU: 0 PID: 1335 Comm: Xorg Not tainted 4.15.0-49-generic
#53-Ubuntu
[ 546.117600] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.10.2-1ubuntu1 04/01/2014
[ 546.117618] EIP: vmalloc_fault+0x229/0x240
[ 546.117618] EFLAGS: 00010086 CPU: 0
[ 546.117619] EAX: 026c0000 EBX: c3e20c50 ECX: f80000eb EDX: 00000000
[ 546.117620] ESI: f1400000 EDI: f8000000 EBP: eddc1934 ESP: eddc1918
[ 546.117621] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 546.117621] CR0: 80050033 CR2: f1400000 CR3: 25f16000 CR4: 001406f0
[ 546.117624] Call Trace:
[ 546.117637] ? kvm_async_pf_task_wait+0x1b0/0x1b0
[ 546.117638] __do_page_fault+0x39d/0x510
[ 546.117640] ? kvm_async_pf_task_wait+0x1b0/0x1b0
[ 546.117641] do_page_fault+0x27/0xf0
[ 546.117644] ? kvm_async_pf_task_wait+0x1b0/0x1b0
[ 546.117645] do_async_page_fault+0x55/0x90
[ 546.117655] common_exception+0x130/0x136
[ 546.117659] EIP: qxl_image_init+0x338/0x390 [qxl]
[ 546.117659] EFLAGS: 00010286 CPU: 0
[ 546.117660] EAX: fffbb000 EBX: 00000fec ECX: fffbb014 EDX: 00300000
[ 546.117661] ESI: f1400000 EDI: fffbb018 EBP: eddc1a18 ESP: eddc19e4
[ 546.117661] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 546.117663] ? ioremap_nocache+0x12/0x20
[ 546.117665] qxl_draw_dirty_fb+0x1cd/0x3d0 [qxl]
[ 546.117668] qxl_primary_atomic_update+0x159/0x2c0 [qxl]
[ 546.117680] drm_atomic_helper_commit_planes+0xe8/0x240 [drm_kms_helper]
[ 546.117684] drm_atomic_helper_commit_tail+0x23/0x50 [drm_kms_helper]
[ 546.117688] commit_tail+0x5d/0x60 [drm_kms_helper]
[ 546.117691] drm_atomic_helper_commit+0xf7/0x100 [drm_kms_helper]
[ 546.117695] ? drm_atomic_helper_setup_commit+0x3f0/0x3f0 [drm_kms_helper]
[ 546.117715] drm_atomic_commit+0x3f/0x50 [drm]
[ 546.117719] restore_fbdev_mode_atomic+0x16b/0x1c0 [drm_kms_helper]
[ 546.117723] restore_fbdev_mode+0x2c/0x150 [drm_kms_helper]
[ 546.117725] ? _cond_resched+0x17/0x40
[ 546.117729] drm_fb_helper_restore_fbdev_mode_unlocked.part.32+0x21/0x70
[drm_kms_helper]
[ 546.117732] drm_fb_helper_set_par+0x45/0x80 [drm_kms_helper]
[ 546.117743] fb_set_var+0x1a9/0x440
[ 546.117750] ? wakeup_preempt_entity+0x73/0x80
[ 546.117752] ? check_preempt_wakeup+0x108/0x230
[ 546.117753] ? check_cfs_rq_runtime+0x70/0x70
[ 546.117755] ? check_preempt_curr+0x27/0x80
[ 546.117757] ? ttwu_do_wakeup+0x17/0x190
[ 546.117760] fbcon_blank+0x29e/0x370
[ 546.117772] ? __switch_to_asm+0x27/0x4c
[ 546.117774] ? fbcon_cursor+0x1b0/0x1b0
[ 546.117782] do_unblank_screen+0xaa/0x1b0
[ 546.117784] vt_ioctl+0x4e3/0x11e0
[ 546.117786] ? complete_change_console+0xe0/0xe0
[ 546.117788] tty_ioctl+0xec/0x910
[ 546.117793] ? jbd2_journal_stop+0xd7/0x3e0
[ 546.117797] ? ext4_free_inode+0x3c7/0x560
[ 546.117798] ? ext4_free_inode+0x1f2/0x560
[ 546.117812] ? intel_pmu_lbr_init_atom+0x46/0x50
[ 546.117819] ? call_rcu_sched+0x14/0x20
[ 546.117821] ? tty_vhangup+0x20/0x20
[ 546.117826] do_vfs_ioctl+0x93/0x6b0
[ 546.117831] ? destroy_inode+0x34/0x60
[ 546.117833] ? __raw_callee_save___pv_queued_spin_unlock+0x9/0x10
[ 546.117834] ? putname+0x47/0x60
[ 546.117836] ? __fdget+0x12/0x20
[ 546.117840] ? SyS_epoll_ctl+0x5b/0x990
[ 546.117841] ? putname+0x47/0x60
[ 546.117844] ? do_unlinkat+0x7f/0x2c0
[ 546.117846] SyS_ioctl+0x58/0x70
[ 546.117848] do_fast_syscall_32+0x7f/0x1e0
[ 546.117850] entry_SYSENTER_32+0x6b/0xbe
[ 546.117860] EIP: 0xb7f9fd09
[ 546.117861] EFLAGS: 00200296 CPU: 0
[ 546.117861] EAX: ffffffda EBX: 0000000b ECX: 00004b3a EDX: 00000000
[ 546.117862] ESI: 006a2680 EDI: 006ba0e8 EBP: 00000000 ESP: bfe644e8
[ 546.117863] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 546.117863] Code: cf 89 7d ec 8b 45 ec 0f ac d0 0c 89 c2 8d 04 80 c1 ea 11
c1 e2 04 8b 92 40 32 eb c3 83 e2 f8 8d 04 c2 39 45 e4 0f 84 d0 fe ff ff <0f> 0b
90 8d 74 26 00 83 c4 10 b8 ff ff ff ff 5b 5e 5f 5d c3 8d
[ 546.117879] EIP: vmalloc_fault+0x229/0x240 SS:ESP: 0068:eddc1918
[ 546.117881] ---[ end trace ad5a9b0380b2bec7 ]---
This is reproducable in an i386 guest with 768M of RAM allocated.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-49-generic 4.15.0-49.53
ProcVersionSignature: User Name 4.15.0-49.53-generic 4.15.18
Uname: Linux 4.15.0-49-generic i686
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 7611 F.... pulseaudio
Date: Fri May 10 14:26:37 2019
IwConfig:
ens3 no wireless extensions.
lo no wireless extensions.
Lsusb:
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
ProcEnviron:
LANG=en_US.UTF-8
TERM=screen
SHELL=/bin/bash
XDG_RUNTIME_DIR=<set>
PATH=(custom, no user)
ProcFB: 0 qxldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-49-generic
root=UUID=e1bc06fb-6749-4cd4-ae2d-247f5858db5f ro quiet
RelatedPackageVersions:
linux-restricted-modules-4.15.0-49-generic N/A
linux-backports-modules-4.15.0-49-generic N/A
linux-firmware 1.173.5
RfKill:
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.10.2-1ubuntu1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-bionic
dmi.modalias:
dmi:bvnSeaBIOS:bvr1.10.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-bionic:cvnQEMU:ct1:cvrpc-i440fx-bionic:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-bionic
dmi.sys.vendor: QEMU
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1828632/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp