Skip to main content
Network Thinking Solutions Logo

CVE-2024-49957

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix null-ptr-deref when journal load failed

All CVEs
CVE-2024-49957Published 10/21/2024

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix null-ptr-deref when journal load failed

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
10/21/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.32, < 5.10.227

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.168

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.113

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.55

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.10.14

Verify advisory

Source
linux kernel
linux
≥ 6.11, < 6.11.3

Verify advisory

Source
Linux
Linux
≥ f6f50e28f0cb8d7bcdfaacc83129f005dede11b1, < fd89d92c1140cee8f59de336cb37fa65e359c123

Verify advisory

Source
Linux
Linux
≥ f6f50e28f0cb8d7bcdfaacc83129f005dede11b1, < 703b2c7e0798d263154dc8593dc2345f75dc077f

Verify advisory

Source
Linux
Linux
≥ f6f50e28f0cb8d7bcdfaacc83129f005dede11b1, < bf605ae98dab5c15c5b631d4d7f88898cb41b649

Verify advisory

Source
Linux
Linux
≥ f6f50e28f0cb8d7bcdfaacc83129f005dede11b1, < ff55291fb36779819211b596da703389135f5b05

Verify advisory

Source
Linux
Linux
≥ f6f50e28f0cb8d7bcdfaacc83129f005dede11b1, < 82dfdd1e31e774578f76ce6dc90c834f96403a0f

Verify advisory

Source
Linux
Linux
≥ f6f50e28f0cb8d7bcdfaacc83129f005dede11b1, < 86a89e75e9e4dfa768b97db466ad6bedf2e7ea5b

Verify advisory

Source
Linux
Linux
≥ f6f50e28f0cb8d7bcdfaacc83129f005dede11b1, < f60e94a83db799bde625ac8671a5b4a6354e7120

Verify advisory

Source
Linux
Linux
≥ f6f50e28f0cb8d7bcdfaacc83129f005dede11b1, < 387bf565cc03e2e8c720b8b4798efea4aacb6962

Verify advisory

Source
Linux
Linux
≥ f6f50e28f0cb8d7bcdfaacc83129f005dede11b1, < 5784d9fcfd43bd853654bb80c87ef293b9e8e80a

Verify advisory

Source
Linux
Linux
2.6.32

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.