Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-49966

ocfs2: cancel dqi_sync_work before freeing oinfo

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 to < fc5cc716dfbdc5fd5f373ff3b51358174cf88bfcaffected
  • 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 to < 89043e7ed63c7fc141e68ea5a79758ed24b6c699affected
  • 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 to < 14114d8148db07e7946fb06b56a50cfa425e26c7affected
  • 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 to < 4173d1277c00baeedaaca76783e98b8fd0e3c08daffected
  • 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 to < bbf41277df8b33fbedf4750a9300c147e8f104ebaffected
  • 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 to < ef768020366f47d23f39c4f57bcb03af6d1e24b3affected
  • 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 to < a4346c04d055bf7e184c18a73dbd23b6a9811118affected
  • 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 to < 0d707a33c84b371cb66120e198eed3374726ddd8affected
  • 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 to < 35fccce29feb3706f649726d410122dd81b92c18affected

Linux Linux

Default version status: affected

  • 2.6.29affected
  • 0 to < 2.6.29unaffected
  • 4.19.323 to ≤ 4.19.*unaffected
  • 5.4.285 to ≤ 5.4.*unaffected
  • 5.10.227 to ≤ 5.10.*unaffected
  • 5.15.168 to ≤ 5.15.*unaffected
  • 6.1.113 to ≤ 6.1.*unaffected
  • 6.6.55 to ≤ 6.6.*unaffected
  • 6.10.14 to ≤ 6.10.*unaffected
  • 6.11.3 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References