Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

severe bug in OracleLinux R6 U0, U1, and U2

570b566e-b438-4ba4-8ad0-b73ea8105944Aug 14 2014 — edited Sep 4 2014

Hi guys,

there is a severe bug in OracleLinux R6 U0,U1, and U2.

in the kernel source code fs/ext4/inode.c, there are 3 functions: flush_aio_dio_completed_IO, ext4_end_io_dio, and ext4_end_aio_dio_work, which will manipulate the list i_aio_dio_complete_list of the inode.

but there is NO spinlock to protect the operation on the i_aio_dio_complete_list, therefore there has the risk for the i_aio_dio_complete_list corruption when these functions manipulate i_aio_dio_complete_list concurrently.


When I use ext4 filesystem, using aio(async IO) and dio(direct IO) type, there will occur kernel panic/oops or mutex deadlock.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2014
Added on Aug 14 2014
7 comments
2,708 views