In the Linux kernel, the following vulnerability has been resolved:
block: fix module reference leakage from bdevopenby_dev error path
At the time bdevmayopen() is called, module reference is grabbed already, hence module reference should be released if bdevmayopen() failed.
This problem is found by code review.