My Oracle Support Banner

Oracle Linux : Console Access Results In Kernel Panic Exception RIP: n_tty_set_termios+51 OOPS in n_tty_receive_buf_common+0x6d/0xa88 (Doc ID 2679220.1)

Last updated on JUNE 10, 2020

Applies to:

Linux OS - Version Oracle Linux 7.0 to Oracle Linux 7.8 with Unbreakable Enterprise Kernel [4.14.35] [Release OL7 to OL7U8]
Linux x86-64

Symptoms

While trying to establish ssh connection instance crashes with kernel panic. 

[736206.277519] BUG: unable to handle kernel paging request at 0000000000002260
[736206.277622] IP: n_tty_receive_buf_common+0x6d/0xa88
[736206.277664] PGD 0 P4D 0
[736206.277694] Oops: 0000 [#1] SMP PTI
[736206.277726] Modules linked in: dsa_filter(POE) dsa_filter_hook(OE) nfnetlink_queue nfnetlink_log nfnetlink bluetooth ecdh_generic rfkill xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter bonding oracleasm sb_edac intel_powerclamp coretemp kvm_intel kvm iTCO_wdt iTCO_vendor_support irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel crypto_simd glue_helper cryptd dcdbas pcspkr mei_me lpc_ich mei ipmi_ssif dm_service_time sg ipmi_si ipmi_msghandler wmi acpi_power_meter shpchp pcc_cpufreq nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc dm_multipath ip_tables
[736206.278294] xfs libcrc32c sr_mod cdrom sd_mod mgag200 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm bfa crc32c_intel ahci libahci tg3 libata megaraid_sas ptp scsi_transport_fc pps_core dm_mirror dm_region_hash dm_log dm_mod
[736206.278504] CPU: 29 PID: 75387 Comm: kworker/u192:0 Tainted: P OE 4.14.35-1902.5.2.2.el7uek.x86_64 #2
[736206.278582] Hardware name: Dell Inc. PowerEdge R820/066N7P, BIOS 2.3.2 01/28/2015
[736206.278644] Workqueue: events_unbound flush_to_ldisc
[736206.278687] task: ffff9697d4e097c0 task.stack: ffffbcf0e71b4000
[736206.278738] RIP: 0010:n_tty_receive_buf_common+0x6d/0xa88
[736206.278783] RSP: 0018:ffffbcf0e71b7d40 EFLAGS: 00010246
[736206.278827] RAX: 0000000000000000 RBX: ffff9690f850aca0 RCX: 0000000000000009
[736206.278883] RDX: 0000000000000000 RSI: ffff968dae749020 RDI: ffff968dae74e0c0
[736206.278938] RBP: ffffbcf0e71b7dd0 R08: 0000000000000001 R09: ffffffff86581f00
[736206.278994] R10: 00000000000001aa R11: 00000000000001b1 R12: ffff968dae749020
[736206.279049] R13: 0000000000000000 R14: 0000000000000009 R15: ffff968dae74e000
[736206.279107] FS: 0000000000000000(0000) GS:ffff9697fe540000(0000) knlGS:0000000000000000
[736206.279169] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[736206.279216] CR2: 0000000000002260 CR3: 00000001f540a005 CR4: 00000000001606e0
[736206.279272] Call Trace:
[736206.279313] ? __switch_to_asm+0x34/0x62
[736206.279351] ? __switch_to_asm+0x40/0x62
[736206.279400] ? __switch_to_asm+0x34/0x62
[736206.279437] ? __switch_to_asm+0x40/0x62
[736206.279478] n_tty_receive_buf2+0x14/0x16
[736206.279515] tty_ldisc_receive_buf+0x25/0x4e
[736206.279554] tty_port_default_receive_buf+0x45/0x5f
[736206.279596] flush_to_ldisc+0x9d/0xa9
[736206.279635] process_one_work+0x169/0x399
[736206.279672] worker_thread+0x4d/0x3e5
[736206.279708] kthread+0x105/0x138
[736206.279739] ? rescuer_thread+0x380/0x375
[736206.279775] ? kthread_bind+0x20/0x15
[736206.279811] ret_from_fork+0x3e/0x49
[736206.279844] Code: 85 70 ff ff ff e8 44 61 37 00 49 8d 87 00 02 00 00 c7 45 b4 00 00 00 00 48 89 45 90 49 8d 87 20 02 00 00 48 89 45 88 48 8b 45 b8 <48> 8b b0 60 22 00 00 48 8b 08 89 f0 29 c8 41 f6 87 10 01 00 00
[736206.280041] RIP: n_tty_receive_buf_common+0x6d/0xa88 RSP: ffffbcf0e71b7d40
[736206.282026] CR2: 0000000000002260

Following call trace can be found in vmcore

 crash> bt
PID: 75387 TASK: ffff9697d4e097c0 CPU: 29 COMMAND: "kworker/u192:0"
#0 [ffffbcf0e71b79b0] machine_kexec at ffffffff85067741
#1 [ffffbcf0e71b7a10] __crash_kexec at ffffffff85133d02
#2 [ffffbcf0e71b7ae0] crash_kexec at ffffffff85134f2c
#3 [ffffbcf0e71b7b00] oops_end at ffffffff85031dda
#4 [ffffbcf0e71b7b28] no_context at ffffffff850779a3
#5 [ffffbcf0e71b7b80] __bad_area_nosemaphore at ffffffff85077cbe
#6 [ffffbcf0e71b7bd0] bad_area_nosemaphore at ffffffff85077db4
#7 [ffffbcf0e71b7be0] __do_page_fault at ffffffff8507855a
#8 [ffffbcf0e71b7c58] do_page_fault at ffffffff85078a18
#9 [ffffbcf0e71b7c90] page_fault at ffffffff85a03ef4
[exception RIP: n_tty_receive_buf_common+109]
RIP: ffffffff854f1bbd RSP: ffffbcf0e71b7d40 RFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff9690f850aca0 RCX: 0000000000000009
RDX: 0000000000000000 RSI: ffff968dae749020 RDI: ffff968dae74e0c0
RBP: ffffbcf0e71b7dd0 R8: 0000000000000001 R9: ffffffff86581f00
R10: 00000000000001aa R11: 00000000000001b1 R12: ffff968dae749020
R13: 0000000000000000 R14: 0000000000000009 R15: ffff968dae74e000
ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018
#10 [ffffbcf0e71b7dd8] n_tty_receive_buf2 at ffffffff854f25f4
#11 [ffffbcf0e71b7de8] tty_ldisc_receive_buf at ffffffff854f45d5
#12 [ffffbcf0e71b7e00] tty_port_default_receive_buf at ffffffff854f4f05
#13 [ffffbcf0e71b7e30] flush_to_ldisc at ffffffff854f476d
#14 [ffffbcf0e71b7e60] process_one_work at ffffffff850b1099
#15 [ffffbcf0e71b7ea8] worker_thread at ffffffff850b1b4d
#16 [ffffbcf0e71b7f08] kthread at ffffffff850b77e5
#17 [ffffbcf0e71b7f50] ret_from_fork at ffffffff85a0035e
crash>

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.