Bug 2169487 - kernel: msb_init_disk in drivers/memstick/core/ms_block.c lacks check of the return value of alloc_ordered_workqueue() and will cause the NULL Pointer Dereference or memory leak
Summary: kernel: msb_init_disk in drivers/memstick/core/ms_block.c lacks check of the ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2169488
Blocks: 2167953
TreeView+ depends on / blocked
 
Reported: 2023-02-13 17:42 UTC by Alex
Modified: 2026-03-02 23:07 UTC (History)
38 users (show)

Fixed In Version: Linux kernel 6.1-rc8
Clone Of:
Environment:
Last Closed: 2023-02-15 06:28:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Alex 2023-02-13 17:42:51 UTC
An issue was discovered in the Linux kernel through 6.1-rc8.
msb_init_disk in drivers/memstick/core/ms_block.c lacks check of the
return value of alloc_ordered_workqueue() and will cause the
NULL Pointer Dereference. Moreover, the unreleased workqueue will
cause the Memory Leak.

Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4f431a047a5c8698ed4b67e2760cfbeb5fffb69d

Comment 1 Alex 2023-02-13 17:43:15 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2169488]

Comment 3 Justin M. Forbes 2023-03-01 19:34:18 UTC
This was fixed for Fedora with the 6.0.16 stable kernel updates.


Note You need to log in before you can comment on or make changes to this bug.