vulnerability
Amazon Linux AMI 2: CVE-2024-49957: Security patch for kernel (Multiple Advisories)
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 5 | (AV:L/AC:L/Au:S/C:N/I:N/A:C) | Oct 21, 2024 | Mar 14, 2025 | May 20, 2026 |
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.
Solutions
References
- AMAZON-AL2/ALAS2KERNEL-5.10-2024-072
- AMAZON-AL2/ALAS2KERNEL-5.15-2024-056
- AMAZON-AL2/ALAS2KERNEL-5.4-2025-090
- AMAZON-AL2/ALASKERNEL-5.10-2024-072
- AMAZON-AL2/ALASKERNEL-5.15-2024-056
- AMAZON-AL2/ALASKERNEL-5.4-2025-090
- CVE-2024-49957
- https://attackerkb.com/topics/CVE-2024-49957
- CWE-476
- EUVD-EUVD-2024-43636
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-43636
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.