Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751919AbaJPJcF (ORCPT ); Thu, 16 Oct 2014 05:32:05 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:58122 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751106AbaJPJcC (ORCPT ); Thu, 16 Oct 2014 05:32:02 -0400 From: Dmitry Monakhov To: Dave Jones , Linux Kernel Cc: linux-ext4@vger.kernel.org Subject: Re: kernel BUG at fs/ext4/inode.c:2982! In-Reply-To: <20141016055718.GA17655@redhat.com> References: <20141016055718.GA17655@redhat.com> User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-redhat-linux-gnu) Date: Thu, 16 Oct 2014 13:31:51 +0400 Message-ID: <871tq8pdh4.fsf@openvz.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Dave Jones writes: > Just hit this on Linus' current tree while running my fuzz-tester. > (No logs unfortunatly, so no idea what actually happened). > > kernel BUG at fs/ext4/inode.c:2982! Looks familiar.http://web.nvd.nist.gov/view/vuln/detail?vulnId=3DCVE-2014-8086 Are you playing with fcntl? Try this patch http://www.spinics.net/lists/linux-ext4/msg45683.html > invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC > Modules linked in: hidp rfcomm af_key llc2 can_bcm sctp libcrc32c can_raw= nfc caif_socket caif af_802154 ieee802154 phonet af_rxrpc bluetooth can pp= poe pppox ppp_generic slhc irda crc_ccitt rds rose x25 atm netrom appletalk= ipx p8023 p8022 psnap llc ax25 nouveau cfg80211 rfkill kvm_intel kvm video= backlight mxm_wmi wmi i2c_algo_bit drm_kms_helper ttm drm microcode tg3 se= rio_raw pcspkr ptp pps_core libphy i2c_core lpc_ich mfd_core rtc_cmos shpch= p nfsd auth_rpcgss oid_registry nfs_acl lockd grace sunrpc raid0 floppy > CPU: 3 PID: 24261 Comm: trinity-c10 Not tainted 3.17.0+ #5=20 > Hardware name: Dell Inc. Precision WorkStation 490 /0D= T031, BIOS A08 04/25/2008 > task: ffff8802094ccb40 ti: ffff8800bc168000 task.ti: ffff8800bc168000 > RIP: 0010:[] [] ext4_direct_IO+0x713= /0x750 > RSP: 0018:ffff8800bc16ba78 EFLAGS: 00010246 > RAX: 0000000000020000 RBX: 0000000000000001 RCX: 000000000000000f > RDX: 0000000000000008 RSI: ffff880033e368d0 RDI: ffff8802094cd3b8 > RBP: ffff8800bc16baf8 R08: 0000000000000001 R09: 0000000000000000 > R10: 0000000000000001 R11: 0000000000000001 R12: ffff8800bc16bd40 > R13: ffff880033e368d0 R14: ffff8800bc16bb30 R15: 000000000000001f > FS: 00007f8cc4e8f740(0000) GS:ffff880226400000(0000) knlGS:0000000000000= 000 > CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > CR2: 0000000000000001 CR3: 00000000b7747000 CR4: 00000000000007e0 > DR0: 0000000001c16000 DR1: 000000000160a000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 > Stack: > ffffea000560a600 ffffea00060dc480 ffffea000503d880 ffffea0005cbfc80 > ffffea00056e6500 ffffea00049b1780 ffff880033e368d0 ffffea0005da7980 > 0000000000010000 0000000000010000 ffff8800bc16baf8 ffff880033e36ae0 > Call Trace: > [] generic_file_direct_write+0xa9/0x170 > [] __generic_file_write_iter+0x2ac/0x350 > [] ext4_file_write_iter+0x109/0x3f0 > [] ? __kmalloc+0x39c/0x420 > [] ? sched_clock_cpu+0xa8/0xd0 > [] ? iter_file_splice_write+0x91/0x450 > [] ? local_clock+0x16/0x30 > [] iter_file_splice_write+0x263/0x450 > [] direct_splice_actor+0x36/0x40 > [] splice_direct_to_actor+0xc3/0x1f0 > [] ? generic_pipe_buf_nosteal+0x10/0x10 > [] do_splice_direct+0x82/0xb0 > [] do_sendfile+0x1af/0x3a0 > [] SyS_sendfile64+0x8a/0xa0 > [] ? tracesys_phase2+0x75/0xd9 > [] tracesys_phase2+0xd4/0xd9 > Code: e8 83 57 e4 ff 85 c0 0f 85 a0 fc ff ff e9 47 ff ff ff 48 c7 c7 e0 f= 4 c3 9a e8 6a 57 e4 ff 85 c0 0f 85 e7 fc ff ff e9 6c ff ff ff <0f> 0b be fe= 0b 00 00 48 c7 c7 f9 4d a2 9a e8 7a 3b df ff e9 c8=20 > RIP [] ext4_direct_IO+0x713/0x750 > RSP > ---[ end trace d80209ec68bf10b8 ]--- > > > That BUG_ON is.. > > 2982 BUG_ON(iocb->private =3D=3D NULL); > > I'll try and reproduce it in the morning. > > Dave > -- > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUP5CHAAoJEFzOBSYIXfvecb0P/RyxFBHes9AGuifYUi3NlUIu JIlmSVgY3sqNXebxnRaDwUFyPuyqqVLC6P6k2HapJbVkATZ6lHURKEsdiPAT8aAf UaRSO3i6TILd8GxGFUG+iQqoeW/J9oFmy5ML5RkRR55Y10kAR8ux8UtN0qrBqTRw Ytfd2lczm6ZKKRbsbo1h5+9e+0JbUQZTdiWIa4jxOMTy0X5gpfT85M3o1p4t29rF IY1bsOushR2bU0znNCii0Sxx7jvPHJIp2XLgRp9TcJURfVc/1Pkh0/0FygTxD3f0 1hgIP6hRNT64L2iEVklXof0cTFtgBn0ZmCVy/Nyi8SS4f30dj4dIVwGeeHNXuseO P60/8xlc3Ezlcogcmedg/gBUiPcZdxOIEmJfUiqZJoEOk7H11CNkETPdYEBHLbrR ur5WsjkBYh3wjP5ANUVLjrJjAvDPlORPNHnTOGu3GICNw+S7w6PZlm8Edv+Oe/vx cO2dQwfvQGlvDyJD5uxPvzDNMufYSxiSFVb7O9AY/PudTpAYUmqCDE5Z4hRBLheT nJH5sj4dltygtkQWbhE8rYdpoFoFwnD2nMBbHPxjUH5qOmFYHj2t2vJO21EKY0qc 6Ft0UhIgHLk7Z36Qf/3Cw+sw3X3BFhTJgbQm/8fi04u6Dkpk92Z3cQtG390ra2QL RMJij4wFV8eX6k+6nA1F =kvru -----END PGP SIGNATURE----- --=-=-=-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/