GPF in lru_put_end called from nfsd_cache_lookup

Bug #1396065 reported by Philipp Kern on 2014-11-25
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned
Trusty
Medium
Unassigned
linux-lts-trusty (Ubuntu)
Medium
Unassigned
Precise
Medium
Unassigned
Trusty
Undecided
Unassigned

Bug Description

https://access.redhat.com/solutions/720473 still applies to the trusty kernel. In fact https://lists.ubuntu.com/archives/kernel-team/2014-July/045459.html did apply one of the two patches to 3.11, but it was not applied to 3.13 and is not present in master-next. The other one is http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=blobdiff;f=fs/nfsd/nfscache.c;h=e5e4675b7e755fd5c69ea52bc194a25501ef286b;hp=02e8e9ad57502fa2ff294181d6f261425bbc5969;hb=92f9180a0bdcec4a579a4b380cc0fa664f88d47d;hpb=9696a6f0ee3a1ea18b9b705a70eb76883cebe7a0 -- which also landed in 3.11 but didn't make it to 3.13.

Please apply both to fix this backtrace:

Nov 20 16:41:28 REDACTED kernel: [319683.547563] general protection fault: 0000 [#1] SMP
Nov 20 16:41:28 REDACTED kernel: [319683.552668] Modules linked in: cts des_generic nfsv3 nfsv4 autofs4 binfmt_misc gpio_ich rpcsec_gss_krb5 nfsd nfs_acl auth_rpcgss nfs fscache lockd sunrpc cdc_acm sb_edac edac_core lpc_ich serio_raw mei_me mei mac_hid lp parport raid10 raid456 async_pq async_xor xor async_memcpy async_raid6_recov raid6_pq async_tx bnx2x mpt2sas raid1 ahci scsi_transport_sas libcrc32c libahci mdio raid_class raid0 multipath linear
Nov 20 16:41:28 REDACTED kernel: [319683.590384] CPU: 14 PID: 2576 Comm: nfsd Not tainted 3.13.0-39-generic #66~precise1-Ubuntu
Nov 20 16:41:28 REDACTED kernel: [319683.598737] Hardware name: <REDACTED>
Nov 20 16:41:28 REDACTED kernel: [319683.605802] task: ffff88202704b000 ti: ffff882025e7a000 task.ti: ffff882025e7a000
Nov 20 16:41:28 REDACTED kernel: [319683.613379] RIP: 0010:[<ffffffffa030be70>] [<ffffffffa030be70>] lru_put_end+0x20/0x70 [nfsd]
Nov 20 16:41:28 REDACTED kernel: [319683.622040] RSP: 0018:ffff882025e7bd58 EFLAGS: 00010206
Nov 20 16:41:28 REDACTED kernel: [319683.627440] RAX: dead000000200200 RBX: ffff880135386e70 RCX: dead000000100100
Nov 20 16:41:28 REDACTED kernel: [319683.634654] RDX: ffff880135386e80 RSI: ffff8802c2a9904c RDI: ffff880135386e70
Nov 20 16:41:28 REDACTED kernel: [319683.641878] RBP: ffff882025e7bd58 R08: ffff88207fcd7220 R09: ffff88103f803b00
Nov 20 16:41:28 REDACTED kernel: [319683.649108] R10: ffffffffa030c908 R11: 0000000000014480 R12: ffff882025b6a000
Nov 20 16:41:28 REDACTED kernel: [319683.656332] R13: 0000000000000002 R14: ffff8802c2a9901c R15: 0000000000000030
Nov 20 16:41:28 REDACTED kernel: [319683.663565] FS: 0000000000000000(0000) GS:ffff88207fcc0000(0000) knlGS:0000000000000000
Nov 20 16:41:28 REDACTED kernel: [319683.671749] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 20 16:41:28 REDACTED kernel: [319683.677581] CR2: 00007fc557e3b504 CR3: 0000000001c0d000 CR4: 00000000000407e0
Nov 20 16:41:28 REDACTED kernel: [319683.684799] Stack:
Nov 20 16:41:28 REDACTED kernel: [319683.686913] ffff882025e7bda8 ffffffffa030c896 ffff8820289c9240 0000000000000030
Nov 20 16:41:28 REDACTED kernel: [319683.694477] ffffffffa0339ff8 ffff882025b6a000 ffffffffa0339ff8 ffff8802c2a99018
Nov 20 16:41:28 REDACTED kernel: [319683.702026] 000000000000001c ffff8802c2a99000 ffff882025e7bde8 ffffffffa0300e7a
Nov 20 16:41:28 REDACTED kernel: [319683.709575] Call Trace:
Nov 20 16:41:28 REDACTED kernel: [319683.712132] [<ffffffffa030c896>] nfsd_cache_update+0x86/0x150 [nfsd]
Nov 20 16:41:28 REDACTED kernel: [319683.718653] [<ffffffffa0300e7a>] nfsd_dispatch+0x1ba/0x230 [nfsd]
Nov 20 16:41:28 REDACTED kernel: [319683.724936] [<ffffffffa0238565>] svc_process_common+0x345/0x680 [sunrpc]
Nov 20 16:41:28 REDACTED kernel: [319683.731812] [<ffffffffa0238bf3>] svc_process+0x103/0x160 [sunrpc]
Nov 20 16:41:28 REDACTED kernel: [319683.738084] [<ffffffffa03008ff>] nfsd+0xbf/0x130 [nfsd]
Nov 20 16:41:28 REDACTED kernel: [319683.743490] [<ffffffffa0300840>] ? nfsd_destroy+0x80/0x80 [nfsd]
Nov 20 16:41:28 REDACTED kernel: [319683.749679] [<ffffffff8108fb29>] kthread+0xc9/0xe0
Nov 20 16:41:28 REDACTED kernel: [319683.754640] [<ffffffff8108fa60>] ? flush_kthread_worker+0xb0/0xb0
Nov 20 16:41:28 REDACTED kernel: [319683.760932] [<ffffffff8176b5bc>] ret_from_fork+0x7c/0xb0
Nov 20 16:41:28 REDACTED kernel: [319683.766417] [<ffffffff8108fa60>] ? flush_kthread_worker+0xb0/0xb0
Nov 20 16:41:28 REDACTED kernel: [319683.772697] Code: 5b 5d c3 0f 1f 84 00 00 00 00 00 66 66 66 66 90 48 8b 05 a4 11 a1 e1 55 48 8d 57 10 48 8b 4f 10 48 89 e5 48 89 47 58 48 8b 47 18 <48> 89 41 08 48 89 08 b9 30 75 00 00 48 8b 05 55 0d 03 00 48 c7
Nov 20 16:41:28 REDACTED kernel: [319683.792771] RIP [<ffffffffa030be70>] lru_put_end+0x20/0x70 [nfsd]
Nov 20 16:41:28 REDACTED kernel: [319683.799061] RSP <ffff882025e7bd58>
Nov 20 16:41:28 REDACTED kernel: [319683.802679] ---[ end trace e4c61e4b0608416b ]---

Philipp Kern (pkern) on 2014-11-25
Changed in linux-lts-trusty (Ubuntu Trusty):
status: New → Invalid

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1396065

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Trusty):
status: New → Incomplete
tags: added: trusty
tags: added: kernel-da-key
Changed in linux (Ubuntu Trusty):
importance: Undecided → Medium
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu Precise):
status: New → Confirmed
Changed in linux (Ubuntu Trusty):
status: Incomplete → Confirmed
Changed in linux (Ubuntu Precise):
importance: Undecided → Medium
Changed in linux (Ubuntu):
importance: Undecided → Medium
Changed in linux-lts-trusty (Ubuntu Precise):
importance: Undecided → Medium
Changed in linux-lts-trusty (Ubuntu):
importance: Undecided → Medium
Changed in linux-lts-trusty (Ubuntu Precise):
status: New → Confirmed
Changed in linux-lts-trusty (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu Precise):
status: Confirmed → Incomplete
no longer affects: linux (Ubuntu Precise)
Joseph Salisbury (jsalisbury) wrote :

Request sent to have both commits included in 3.13 upstream stable. Also requested commit 1b19453d in upstream 3.14. Commit a0ef5e19 is already in upstream 3.14 since it was in mainline as of 3.14-rc1.

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Changed in linux (Ubuntu Trusty):
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers