CVE-2024-49957: vulnerability in Linux
ocfs2: fix null-ptr-deref when journal load failed.
Published · Updated
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.3%
exploitation probability
0.3%top 85% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: fix null-ptr-deref when journal load failed.
During the mounting process, if journal_reset() fails because of too short
journal, then lead to jbd2_journal_load() fails with NULL j_sb_buffer.
Subsequently, ocfs2_journal_shutdown() calls
jbd2_journal_flush()->jbd2_cleanup_journal_tail()->
__jbd2_update_log_tail()->jbd2_journal_update_sb_log_tail()
->lock_buffer(journal->j_sb_buffer), resulting in a null-pointer
dereference error.
To resolve this issue, we should check the JBD2_LOADED flag to ensure the
journal was properly loaded. Additionally, use journal instead of
osb->journal directly to simplify the code.
Affected products
Linux · LinuxRelated CVEs — Linux
In the same product, most dangerous first.
CVE-2024-53197HIGHALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devicesEPSS 4.1%KEVCVE-2026-31431HIGHcrypto: algif_aead - Revert to operating out-of-placeEPSS 3.4%KEVCVE-2024-53104HIGHmedia: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_formatEPSS 3.4%KEVCVE-2025-39682CRITICALtls: fix handling of zero-length records on the rx_listEPSS 2.9%KEVCVE-2024-36971HIGHnet: fix __dst_negative_advice() raceEPSS 2.7%KEVCVE-2024-53150HIGHALSA: usb-audio: Fix out of bounds reads when finding clock sourcesEPSS 1.4%KEV
References
https://git.kernel.org/stable/c/387bf565cc03e2e8c720b8b4798efea4aacb6962https://git.kernel.org/stable/c/5784d9fcfd43bd853654bb80c87ef293b9e8e80ahttps://git.kernel.org/stable/c/703b2c7e0798d263154dc8593dc2345f75dc077fhttps://git.kernel.org/stable/c/82dfdd1e31e774578f76ce6dc90c834f96403a0fhttps://git.kernel.org/stable/c/86a89e75e9e4dfa768b97db466ad6bedf2e7ea5bhttps://git.kernel.org/stable/c/bf605ae98dab5c15c5b631d4d7f88898cb41b649https://git.kernel.org/stable/c/f60e94a83db799bde625ac8671a5b4a6354e7120https://git.kernel.org/stable/c/fd89d92c1140cee8f59de336cb37fa65e359c123https://git.kernel.org/stable/c/ff55291fb36779819211b596da703389135f5b05https://lists.debian.org/debian-lts-announce/2025/01/msg00001.htmlhttps://lists.debian.org/debian-lts-announce/2025/03/msg00002.html