Bug 1149414

Summary: bcache Oops at bch_btree_node_read_done+0x4c/0x450 [bcache]
Product: [Fedora] Fedora Reporter: Larkin Lowrey <llowrey>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-3.16.6-200.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 08:39:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Larkin Lowrey 2014-10-04 19:37:12 UTC
Description of problem:
Bcache will cause an Oops due to a null pointer dereference. This has apparently been fixed in 3.17 but the maintainers seem to have no interest in backporting.


Version-Release number of selected component (if applicable):
kernel-3.16.3-200.fc20.x86_64

How reproducible:
Not easily reproducible as it requires memory pressure such that mempool_alloc will return null due to GFP_NOWAIT.

Steps to Reproduce:
1. Set up bcache device and fs on top
2. Apply load to the bcache backed fs
3. Consume RAM with another process
4. Wait for the Oops

Actual results:
Kernel Oops

Expected results:
No kernel Oops

Additional info:

Here's the commit for 3.17:

http://evilpiepirate.org/git/linux-bcache.git/commit/?h=bcache-dev&id=bcf090e0040e30f8409e6a535a01e6473afb096f

It's a simple change with no other consequences. It should be safe and will keep things stable while we wait for 3.17.

Comment 1 Josh Boyer 2014-10-10 18:27:32 UTC
Applied for F20.  Thanks for the pointer to the patch!

Comment 2 Fedora Update System 2014-10-16 05:14:50 UTC
kernel-3.16.6-200.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-3.16.6-200.fc20

Comment 3 Fedora Update System 2014-10-17 08:39:48 UTC
kernel-3.16.6-200.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.