CVE-2024-49957ocfs2: fix null-ptr-deref when journal load failed.
- 5.5MediumCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 84% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By Linux
Published
- 19 months later
· 19 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 84% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected f6f50e28f0cb8d7bcdfaacc83129f005dede11b1 – < fd89d92c1140cee8f59de336cb37fa65e359c123
- affected f6f50e28f0cb8d7bcdfaacc83129f005dede11b1 – < 703b2c7e0798d263154dc8593dc2345f75dc077f
- affected f6f50e28f0cb8d7bcdfaacc83129f005dede11b1 – < bf605ae98dab5c15c5b631d4d7f88898cb41b649
- affected f6f50e28f0cb8d7bcdfaacc83129f005dede11b1 – < ff55291fb36779819211b596da703389135f5b05
- affected f6f50e28f0cb8d7bcdfaacc83129f005dede11b1 – < 82dfdd1e31e774578f76ce6dc90c834f96403a0f
- affected f6f50e28f0cb8d7bcdfaacc83129f005dede11b1 – < 86a89e75e9e4dfa768b97db466ad6bedf2e7ea5b
- affected f6f50e28f0cb8d7bcdfaacc83129f005dede11b1 – < f60e94a83db799bde625ac8671a5b4a6354e7120
- affected f6f50e28f0cb8d7bcdfaacc83129f005dede11b1 – < 387bf565cc03e2e8c720b8b4798efea4aacb6962
- affected f6f50e28f0cb8d7bcdfaacc83129f005dede11b1 – < 5784d9fcfd43bd853654bb80c87ef293b9e8e80a
- affected 2.6.32
- unaffected < 2.6.32
- unaffected 4.19.323 – ≤ 4.19.*
- unaffected 5.4.285 – ≤ 5.4.*
- unaffected 5.10.227 – ≤ 5.10.*
- unaffected 5.15.168 – ≤ 5.15.*
- unaffected 6.1.113 – ≤ 6.1.*
- unaffected 6.6.55 – ≤ 6.6.*
- unaffected 6.10.14 – ≤ 6.10.*
- unaffected 6.11.3 – ≤ 6.11.*
- unaffected 6.12 – ≤ *
References
References11
- https://git.kernel.org/stable/c/fd89d92c1140cee8f59de336cb37fa65e359c123 (opens in a new tab)
- https://git.kernel.org/stable/c/703b2c7e0798d263154dc8593dc2345f75dc077f (opens in a new tab)
- https://git.kernel.org/stable/c/bf605ae98dab5c15c5b631d4d7f88898cb41b649 (opens in a new tab)
- https://git.kernel.org/stable/c/ff55291fb36779819211b596da703389135f5b05 (opens in a new tab)
- https://git.kernel.org/stable/c/82dfdd1e31e774578f76ce6dc90c834f96403a0f (opens in a new tab)
- https://git.kernel.org/stable/c/86a89e75e9e4dfa768b97db466ad6bedf2e7ea5b (opens in a new tab)
- https://git.kernel.org/stable/c/f60e94a83db799bde625ac8671a5b4a6354e7120 (opens in a new tab)
- https://git.kernel.org/stable/c/387bf565cc03e2e8c720b8b4798efea4aacb6962 (opens in a new tab)
- https://git.kernel.org/stable/c/5784d9fcfd43bd853654bb80c87ef293b9e8e80a (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-43636 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-49957)Record last updated .