lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101113151022.GA29085@elte.hu>
Date:	Sat, 13 Nov 2010 16:10:22 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Greg KH <gregkh@...e.de>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: [boot crash] Re: [GIT PATCH] TTY/serial fixes for .37-rc1


* Greg KH <gregkh@...e.de> wrote:

> Here are a number of tty and serial fixes for your .37-rc1 tree.
> 
> Full details are below, but there's just a range of bug fixes all over
> the place, some of them having lived in the tree for quite some time,
> and it's nice to get them finally resolved.
> 
> Please pull from:
> 	master.kernel.org:/pub/scm/linux/kernel/git/gregkh/tty-2.6.git/ tty-linus
> 
> Patches will be sent to the linux-kernel mailing list, if anyone wants
> to see them.
> 
> thanks,
> 
> greg k-h
> 
> ------------
> 
>  MAINTAINERS                       |    4 +-
>  drivers/char/amiserial.c          |    1 -
>  drivers/char/nozomi.c             |    1 -
>  drivers/char/pcmcia/synclink_cs.c |    1 +
>  drivers/serial/8250.c             |    5 +++-
>  drivers/serial/8250_pci.c         |    5 ++++
>  drivers/serial/bfin_5xx.c         |   31 ++++++++++++++++-------
>  drivers/tty/n_gsm.c               |    5 ++-
>  drivers/tty/tty_buffer.c          |   14 +++++++++-
>  drivers/tty/tty_ldisc.c           |   49 +++++++++++++++++++++++++++++++-----
>  drivers/tty/vt/vc_screen.c        |    6 ++--
>  include/linux/tty.h               |    2 +-
>  12 files changed, 94 insertions(+), 30 deletions(-)

I think one of these commits is causing the following boot crash in -tip:

Console: colour VGA+ 80x25
BUG: unable to handle kernel NULL pointer dereference at 0000000000000158
IP: [<ffffffff811ebcb4>] serial8250_do_set_termios+0x1d4/0x430
PGD 0 
Oops: 0000 [#1] SMP 
last sysfs file: 
CPU 0 
Modules linked in:

Pid: 0, comm: swapper Not tainted 2.6.37-rc1-tip-02017-gba4813e-dirty #62970 /
RIP: 0010:[<ffffffff811ebcb4>]  [<ffffffff811ebcb4>] serial8250_do_set_termios+0x1d4/0x430
RSP: 0000:ffffffff8152fd88  EFLAGS: 00010082
RAX: 0000000000000000 RBX: ffffffff8207aa80 RCX: 0000000000002060
RDX: 0000000000000158 RSI: 0000000000000000 RDI: ffffffff8207aa80
RBP: ffffffff8152fdd8 R08: 000000000000000a R09: 000000000001c200
R10: 0000000000000025 R11: ffffffff81cec340 R12: 0000000000000013
R13: ffffffff8152fe08 R14: 0000000000000001 R15: 000000000001c200
FS:  0000000000000000(0000) GS:ffff88003e400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000158 CR3: 000000000153f000 CR4: 00000000000006b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process swapper (pid: 0, threadinfo ffffffff8152e000, task ffffffff81547020)
Stack:
 ffffffff815567e0 ffffffff8207aa00 0000000000000286 00ffffff8207aa10
 000000000000006e 000000000001c200 ffffffff8207aa80 ffffffff815762c0
 000000000000006e 000000000000006e ffffffff8152fde8 ffffffff811ebf35
Call Trace:
 [<ffffffff811ebf35>] serial8250_set_termios+0x25/0x30
 [<ffffffff811e6663>] uart_set_options+0xf3/0x170
 [<ffffffff81798f55>] serial8250_console_setup+0xa8/0xaf
 [<ffffffff8104ac1a>] register_console+0x22a/0x390
 [<ffffffff81799117>] serial8250_console_init+0x28/0x2c
 [<ffffffff81797a5c>] console_init+0x19/0x2a
 [<ffffffff81778b4d>] start_kernel+0x27d/0x407
 [<ffffffff81778347>] x86_64_start_reservations+0x132/0x136
 [<ffffffff81778451>] x86_64_start_kernel+0x106/0x115
Code: 98 00 00 00 41 f6 45 00 04 0f 85 a8 01 00 00 41 f6 45 08 80 75 07 83 8b 98 00 00 00 01 48 8b 83 a0 00 00 00 48 8d 90 58 01 00 00 <48> 39 90 58 01 00 00 0f 84 17 02 00 00 0f b6 93 c1 01 00 00 89 
RIP  [<ffffffff811ebcb4>] serial8250_do_set_termios+0x1d4/0x430
 RSP <ffffffff8152fd88>
CR2: 0000000000000158
---[ end trace a7919e7f17c0a725 ]---
Kernel panic - not syncing: Fatal exception
Pid: 0, comm: swapper Tainted: G      D     2.6.37-rc1-tip-02017-gba4813e-dirty #62970
Call Trace:
 [<ffffffff8139148f>] panic+0x8c/0x19c
 [<ffffffff8104b745>] ? kmsg_dump+0x155/0x170
 [<ffffffff8100f744>] oops_end+0xd4/0xf0
 [<ffffffff81030a50>] no_context+0xf0/0x260
 [<ffffffff81063910>] ? __kernel_text_address+0x40/0x70
 [<ffffffff81030ce5>] __bad_area_nosemaphore+0x125/0x1e0
 [<ffffffff81030dae>] bad_area_nosemaphore+0xe/0x10
 [<ffffffff81031841>] do_page_fault+0x3d1/0x4a0
 [<ffffffff8101867a>] ? save_stack_trace+0x2a/0x50
 [<ffffffff8107810d>] ? __lock_acquire.clone.20+0x6fd/0xab0
 [<ffffffff81395ad5>] page_fault+0x25/0x30
 [<ffffffff811ebcb4>] ? serial8250_do_set_termios+0x1d4/0x430
 [<ffffffff811ebc2d>] ? serial8250_do_set_termios+0x14d/0x430
 [<ffffffff811ebf35>] serial8250_set_termios+0x25/0x30
 [<ffffffff811e6663>] uart_set_options+0xf3/0x170
 [<ffffffff81798f55>] serial8250_console_setup+0xa8/0xaf
 [<ffffffff8104ac1a>] register_console+0x22a/0x390
 [<ffffffff81799117>] serial8250_console_init+0x28/0x2c
 [<ffffffff81797a5c>] console_init+0x19/0x2a
 [<ffffffff81778b4d>] start_kernel+0x27d/0x407
 [<ffffffff81778347>] x86_64_start_reservations+0x132/0x136
 [<ffffffff81778451>] x86_64_start_kernel+0x106/0x115
Rebooting in 1 seconds..Press any key to enter the menu

It crashed almost immediately after i merged Linus's 9457b24a0955 into -tip, we were 
on yesterday's f6614b7bb405 before that - so i think the crash is both pretty 
generic.

Thanks,

	Ingo

View attachment "config" of type "text/plain" (65594 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ