Bug 2320525 (CVE-2024-49966) - CVE-2024-49966 kernel: ocfs2: cancel dqi_sync_work before freeing oinfo
Summary: CVE-2024-49966 kernel: ocfs2: cancel dqi_sync_work before freeing oinfo
Keywords:
Status: NEW
Alias: CVE-2024-49966
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2321071
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:08 UTC by OSIDB Bzimport
Modified: 2024-10-22 19:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 19:08:16 UTC
In the Linux kernel, the following vulnerability has been resolved:

ocfs2: cancel dqi_sync_work before freeing oinfo

ocfs2_global_read_info() will initialize and schedule dqi_sync_work at the
end, if error occurs after successfully reading global quota, it will
trigger the following warning with CONFIG_DEBUG_OBJECTS_* enabled:

ODEBUG: free active (active state 0) object: 00000000d8b0ce28 object type: timer_list hint: qsync_work_fn+0x0/0x16c

This reports that there is an active delayed work when freeing oinfo in
error handling, so cancel dqi_sync_work first.  BTW, return status instead
of -1 when .read_file_info fails.


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