Bug 1224593 (CVE-2024-35859) - VUL-0: CVE-2024-35859: kernel: block: fix module reference leakage from bdev_open_by_dev error path
Summary: VUL-0: CVE-2024-35859: kernel: block: fix module reference leakage from bdev_...
Status: RESOLVED FIXED
Alias: CVE-2024-35859
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/406459/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-35859:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-20 15:29 UTC by SMASH SMASH
Modified: 2024-06-10 12:33 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-05-20 15:29:53 UTC
In the Linux kernel, the following vulnerability has been resolved:

block: fix module reference leakage from bdev_open_by_dev error path

At the time bdev_may_open() is called, module reference is grabbed
already, hence module reference should be released if bdev_may_open()
failed.

This problem is found by code review.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-35859
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-35859.mbox
https://git.kernel.org/stable/c/0e9327c67410b129bf85e5c3a5aaea518328636f
https://git.kernel.org/stable/c/9617cd6f24b294552a817f80f5225431ef67b540
https://www.cve.org/CVERecord?id=CVE-2024-35859
https://bugzilla.redhat.com/show_bug.cgi?id=2281243
Comment 1 Joey Lee 2024-05-21 08:50:54 UTC
https://www.suse.com/security/cve/CVE-2024-35859.html
cvss 5.5
Comment 3 Joey Lee 2024-05-24 10:14:27 UTC
Nothing to be done
Comment 4 Gabriele Sonnu 2024-06-10 12:33:56 UTC
All done, closing.