System crash in do_coredump() when a process is restarted

This document (000019881) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 SP1
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP4 LTSS

Situation

During restart of an application or a single process the system may suffer a crash as well.
In the kernel log the following stack trace will be logged (from a SLES 12 SP4 LTSS kernel):
[518794.849968] BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
[518794.852060] IP: do_coredump+0xb66/0x1030
[518794.853046] PGD f73176067 P4D f73176067 PUD f73177067 PMD 0 
[518794.854284] Oops: 0000 [#1] SMP NOPTI
[518794.855216] CPU: 14 PID: 8508 Comm: streamfwd Not tainted 4.12.14-95.65-default #1 SLE12-SP4
[518794.856518] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[518794.858362] task: ffff910b9df80940 task.stack: ffffb7e9139b0000
[518794.859381] RIP: 0010:do_coredump+0xb66/0x1030
[518794.860220] RSP: 0018:ffffb7e9139b3c20 EFLAGS: 00010246
[518794.861149] RAX: 0000000000000000 RBX: ffff910bbb5e8180 RCX: 00006f0380000000
[518794.862311] RDX: 0000000000000001 RSI: ffffb7e9139b3c00 RDI: 0000000000000000
[518794.863462] RBP: ffffb7e9139b3d60 R08: 0000000000000000 R09: ffffb7e9139b3b88
[518794.864628] R10: ffffffffb105cdc0 R11: ffffb7e9139b3ae0 R12: ffffffffb11444c0
[518794.865794] R13: ffff910bbc87b680 R14: 0000000000000000 R15: 0000000000000004
[518794.866965] FS:  00007f7467883780(0000) GS:ffff910bf2b80000(0000) knlGS:0000000000000000
[518794.868248] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[518794.869265] CR2: 0000000000000020 CR3: 0000000fdd92e003 CR4: 00000000007606e0
[518794.870480] PKRU: 55555554
[518794.871151] Call Trace:
[518794.871792]  ? page_cache_tree_insert+0xb0/0xb0
[518794.872673]  get_signal+0x161/0x7d0
[518794.873437]  do_signal+0x23/0x5e0
[518794.874178]  ? do_send_sig_info+0x54/0x70
[518794.874993]  exit_to_usermode_loop+0x57/0x9c
[518794.875834]  do_syscall_64+0x145/0x160
[518794.876616]  entry_SYSCALL_64_after_hwframe+0x59/0xbe
[518794.877543] RIP: 0033:0x7f7465fd82a7
[518794.878307] RSP: 002b:00007fff7b75d378 EFLAGS: 00000206 ORIG_RAX: 00000000000000ea
[518794.879638] RAX: 0000000000000000 RBX: 00000000047976b8 RCX: 00007f7465fd82a7
[518794.880880] RDX: 0000000000000006 RSI: 000000000000213c RDI: 000000000000213c
[518794.882069] RBP: 0000000006722f88 R08: 000000000000000a R09: 00007f7467883780
[518794.883254] R10: 0000000000000008 R11: 0000000000000206 R12: 000000000662a390
[518794.884430] R13: 0000000000000008 R14: 0000000000000000 R15: 0000000000000000
[518794.885602] Code: 48 8b 7c 24 68 48 85 ff 74 05 e8 26 a3 fb ff 65 48 8b 04 25 80 6c 01 00 48 8b 00 a8 04 0f 85 bd 04 00 00 48 8b 84 24 f0 00 00 00 <48> 8b 50 20 0f b7 02 66 25 00 f0 66 3d 00 80 0f 84 1e 03 00 00 
[518794.888779] Modules linked in: br_netfilter bridge stp llc xfrm_user xfrm_algo binfmt_misc af_packet iscsi_ibft iscsi_boot_sysfs vmw_vsock_vmci_transport vsock xfs libcrc32c ext4 crc16 jbd2 mbcache nfit libnvdimm crc32_pclmul vmwgfx ghash_clmulni_intel pcbc dm_mod ttm drm_kms_helper aesni_intel aes_x86_64 vmw_balloon crypto_simd glue_helper cryptd joydev drm pcspkr drm_panel_orientation_quirks syscopyarea vmxnet3 sysfillrect sysimgblt fb_sys_fops i2c_piix4 vmw_vmci shpchp ac button btrfs sr_mod cdrom ata_generic xor raid6_pq sd_mod ata_piix crc32c_intel ahci libahci serio_raw libata vmw_pvscsi sg scsi_mod autofs4
[518794.897471] Supported: Yes
[518794.898171] CR2: 0000000000000020

The problem only happens with the following kernels:
SUSE Linux Enterprise Server 12 SP4 with Kernel 4.12.14-95.68.1 or older.
SUSE Linux Enterprise Server 12 SP5 with Kernel 4.12.14-122.46.1 or older.
SUSE Linux Enterprise Server 15 SP1 with Kernel 4.12.14-197.64.1 or older.

Resolution

For SLES 15 SP 1, please update to kernel 4.12.14-197.67.1 or newer.
For SLES 12 SP 5, please update to kernel 4.12.14-122.51.2 or newer.
For SLES 12 SP 4 LTSS, please update to kernel  4.12.14-95.74.1 or newer.
 

Status

Top Issue

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019881
  • Creation Date: 16-Feb-2021
  • Modified Date:27-Aug-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center