CVE-2024-49966
JSON

7.8high

ocfs2: cancel dqi_sync_work before freeing oinfo

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 before fc5cc716dfbdc5fd5f373ff3b51358174cf88bfc, from 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 before 89043e7ed63c7fc141e68ea5a79758ed24b6c699, from 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 before 14114d8148db07e7946fb06b56a50cfa425e26c7, from 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 before 4173d1277c00baeedaaca76783e98b8fd0e3c08d, from 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 before bbf41277df8b33fbedf4750a9300c147e8f104eb, from 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 before ef768020366f47d23f39c4f57bcb03af6d1e24b3, from 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 before a4346c04d055bf7e184c18a73dbd23b6a9811118, from 171bf93ce11f4c9929fdce6ce63df8da2f3c4475 before 0d707a33c84b371cb66120e198eed3374726ddd8 and 2 more
Not affected: before 2.6.29, from 4.19.323 up to 4.19.*, from 5.4.285 up to 5.4.*, from 5.10.227 up to 5.10.*, from 5.15.168 up to 5.15.*, from 6.1.113 up to 6.1.*
CVE List
debian debian_linux11.0NVD
linux linux_kernelfrom 2.6.29 before 4.19.323, from 4.20 before 5.4.285, from 5.5 before 5.10.227, from 5.11 before 5.15.168, from 5.16 before 6.1.113, from 6.2 before 6.6.55, from 6.7 before 6.10.14, from 6.11 before 6.11.3NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ocfs2: cancelar dqi_sync_work antes de liberar oinfo ocfs2_global_read_info() inicializará y programará dqi_sync_work al final, si ocurre un error después de leer exitosamente la cuota global, activará la siguiente advertencia con CONFIG_DEBUG_OBJECTS_* habilitado: ODEBUG: free active (active state 0) object: 00000000d8b0ce28 object type: timer_list hint: qsync_work_fn+0x0/0x16c Esto informa que hay un trabajo retrasado activo al liberar oinfo en el manejo de errores, así que cancele dqi_sync_work primero. POR CIERTO, devuelva el estado en lugar de -1 cuando .read_file_info falle.

References

https://git.kernel.org/stable/c/fc5cc716dfbdc5fd5f373ff3b51358174cf88bfcpatch
https://git.kernel.org/stable/c/89043e7ed63c7fc141e68ea5a79758ed24b6c699patch
https://git.kernel.org/stable/c/14114d8148db07e7946fb06b56a50cfa425e26c7patch
https://git.kernel.org/stable/c/4173d1277c00baeedaaca76783e98b8fd0e3c08dpatch
https://git.kernel.org/stable/c/bbf41277df8b33fbedf4750a9300c147e8f104ebpatch
https://git.kernel.org/stable/c/ef768020366f47d23f39c4f57bcb03af6d1e24b3patch
https://git.kernel.org/stable/c/a4346c04d055bf7e184c18a73dbd23b6a9811118patch
https://git.kernel.org/stable/c/0d707a33c84b371cb66120e198eed3374726ddd8patch
https://git.kernel.org/stable/c/35fccce29feb3706f649726d410122dd81b92c18patch
https://lists.debian.org/debian-lts-announce/2025/03/msg00002.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.htmlmailing-list, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-49966 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-49966 changed 2026-08-04Public domain