Skip to contentSkip to conversation

Linux kernel 2.4.20-18.7smp bug

DISCUSSION jike 4 participants 4 messages Jan 14, 2005 2 messages not in the archive

lore
Share & tools
lore

jike

author
#0 lore raw

Hi,all

I use the RedHat Linux 7.3 , kernel version is 2.4.20-18.7smp. Today, i find one bug info in /var/log/message, the bug info as following:

Jan 13 11:00:02 zjip142 kernel: SCSI disk error : host 0 channel 0 id 0 lun 2 return code = 10000
Jan 13 11:00:02 zjip142 kernel:  I/O error: dev 08:01, sector 26376
Jan 13 11:02:47 zjip142 kernel: Assertion failure in do_get_write_access() at transaction.c:742: "(((jh2bh(jh))->b_state & (1UL << BH_Uptodate)) != 0)"
Jan 13 11:02:47 zjip142 kernel: ------------[ cut here ]------------
Jan 13 11:02:47 zjip142 kernel: kernel BUG at transaction.c:742!
Jan 13 11:02:47 zjip142 kernel: invalid operand: 0000
Jan 13 11:02:47 zjip142 kernel: lpfcdd autofs tg3 usb-ohci usbcore ext3 jbd cciss sd_mod scsi_mod
Jan 13 11:02:47 zjip142 kernel: CPU:    2
Jan 13 11:02:47 zjip142 kernel: EIP:    0010:[<f883fc95>]    Tainted: P
Jan 13 11:02:47 zjip142 kernel: EFLAGS: 00010286
Jan 13 11:02:47 zjip142 kernel:
Jan 13 11:02:47 zjip142 kernel: EIP is at do_get_write_access [jbd] 0x485 (2.4.20-18.7smp)
Jan 13 11:02:47 zjip142 kernel: eax: 0000007b   ebx: f6815e94   ecx: 00000086   edx: 00000001
Jan 13 11:02:47 zjip142 kernel: esi: f4414520   edi: f6815e00   ebp: f318ef00   esp: c3297980
Jan 13 11:02:47 zjip142 kernel: ds: 0018   es: 0018   ss: 0018
Jan 13 11:02:47 zjip142 kernel: Process TrendOne (pid: 11110, stackpage=c3297000)
Jan 13 11:02:47 zjip142 kernel: Stack: f8846480 f88484ae f8848410 000002e6 f8846720 00000001 00000000 00000000
Jan 13 11:02:47 zjip142 kernel:        f123cc80 e901fd80 00000000 f6815e00 00000000 f543b480 e75d7d00 e75d7d00
Jan 13 11:02:47 zjip142 kernel:        f88539f9 f543b480 00000000 f8840fbf f318edb0 f543b480 f7764c00 f4414520
Jan 13 11:02:47 zjip142 kernel: Call Trace:   [<f8846480>] .rodata.str1.32 [jbd] 0xe0 (0xc3297980))
Jan 13 11:02:47 zjip142 kernel: [<f88484ae>] .rodata.str1.1 [jbd] 0xae (0xc3297984))
Jan 13 11:02:47 zjip142 kernel: [<f8848410>] .rodata.str1.1 [jbd] 0x10 (0xc3297988))
Jan 13 11:02:47 zjip142 kernel: [<f8846720>] .rodata.str1.32 [jbd] 0x380 (0xc3297990))
Jan 13 11:02:47 zjip142 kernel: [<f88539f9>] ext3_dirty_inode [ext3] 0xa9 (0xc32979c0))
Jan 13 11:02:47 zjip142 kernel: [<f8840fbf>] __journal_file_buffer [jbd] 0x10f (0xc32979cc))
Jan 13 11:02:47 zjip142 kernel: [<f883ffc1>] journal_get_undo_access_Rsmp_4d348160 [jbd] 0x41 (0xc32979e4))
Jan 13 11:02:47 zjip142 kernel: [<f884e0e7>] ext3_new_block [ext3] 0x447 (0xc3297a08))
Jan 13 11:02:47 zjip142 kernel: [<f883fd4a>] do_get_write_access [jbd] 0x53a (0xc3297a40))
Jan 13 11:02:47 zjip142 kernel: [<f88533f9>] ext3_do_update_inode [ext3] 0x2f9 (0xc3297a5c))

i have searched this info on google, but got nothing. how to patch this bug,I really appreciate your help. thank you!

#1 lore raw
Quoted 6 lines · jike

Hi,all

I use the RedHat Linux 7.3 , kernel version is 2.4.20-18.7smp. Today, i find one bug info in /var/log/message, the bug info as following:

Jan 13 11:02:47 zjip142 kernel: EIP:    0010:[<f883fc95>]    Tainted: P
Jan 13 11:02:47 zjip142 kernel: EFLAGS: 00010286

you are running a very old kernel, and you are using at least one binary only module... I don't think linux-kernel is the right forum for such an issue ;)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Well sorry for not making me clear, i forgot to say that im not using 2.4.20 or any other default kernel. Im using 2.6.10 from kernel.org.

the "vulnerability" im talking about is the following:

http://www.isec.pl/vulnerabilities/isec-0022-pagefault.txt

Best regards
David Jacoby

Quoted 19 lines · Arjan van de Ven
Quoted 5 lines · David Jacoby

Hi everyone...

Does anyknow know if there is patch for this vulnerability?

"vulnerability" ???

You first need to go to far far more recent kernel (the fedora-legacy project keeps providing kernel updates for the otherwise End Of Life RHL7.x series), and the kernel is tainted by a binary module so you want to try without that first as well.

#5 lore raw
Quoted 7 lines · David Jacoby

Well sorry for not making me clear, i forgot to say that im not using 2.4.20 or any other default kernel. Im using 2.6.10 from kernel.org.

the "vulnerability" im talking about is the following:

http://www.isec.pl/vulnerabilities/isec-0022-pagefault.txt

Try running a 2.6-ac kernel (the one that fixes this vulnerability is 2.6.10-ac9). The patch from 2.6.10 to 2.6.10-ac9 is linked on the kernel.org web site. Here's the URL anyway:

http://kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.10/patch-2.6.10-ac9.bz2

-Barry K. Nathan <[email protected]>