CVE-2024-49877
JSON

5.5medium

ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate When doing cleanup, if flags without OCFS2_BH_READAHEAD, it may trigger NULL pointer dereference in the following ocfs2_set_buffer_uptodate() if bh is NULL.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6c150df9c2e80b5cf86f5a0d98beb7390ad63bfc before 190d98bcd61117a78fe185222d162180f061a6ca, from cf76c78595ca87548ca5e45c862ac9e0949c4687 before e68c8323355e8cedfbe0bec7d5a39009f61640b6, from cf76c78595ca87548ca5e45c862ac9e0949c4687 before 61b84013e560382cbe7dd56758be3154d43a3988, from cf76c78595ca87548ca5e45c862ac9e0949c4687 before df944dc46d06af65a75191183d52be017e6b9dbe, from cf76c78595ca87548ca5e45c862ac9e0949c4687 before 01cb2e751cc61ade454c9bc1aaa2eac1f8197112, from cf76c78595ca87548ca5e45c862ac9e0949c4687 before d52c5652e7dcb7a0648bbb8642cc3e617070ab49, from cf76c78595ca87548ca5e45c862ac9e0949c4687 before 46b1edf0536a5291a8ad2337f88c926214b209d9, from cf76c78595ca87548ca5e45c862ac9e0949c4687 before 4846e72ab5a0726e49ad4188b9d9df091ae78c64 and 9 more
Not affected: before 4.20, 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
linux linux_kernelfrom 4.20 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.3, 4.4.204, 4.9.204 and 2 moreNVD

Classification

CWE-476

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: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate When doing cleanup, if flags without OCFS2_BH_READAHEAD, it may trigger NULL pointer dereference in the following ocfs2_set_buffer_uptodate() if bh is NULL.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ocfs2: se corrige una posible desreferencia de puntero nulo en ocfs2_set_buffer_uptodate. Al realizar una limpieza, si hay indicadores sin OCFS2_BH_READAHEAD, puede provocar una desreferencia de puntero NULL en el siguiente ocfs2_set_buffer_uptodate() si bh es NULL.

References

https://git.kernel.org/stable/c/190d98bcd61117a78fe185222d162180f061a6ca
https://git.kernel.org/stable/c/e68c8323355e8cedfbe0bec7d5a39009f61640b6
https://git.kernel.org/stable/c/61b84013e560382cbe7dd56758be3154d43a3988patch
https://git.kernel.org/stable/c/df944dc46d06af65a75191183d52be017e6b9dbepatch
https://git.kernel.org/stable/c/01cb2e751cc61ade454c9bc1aaa2eac1f8197112patch
https://git.kernel.org/stable/c/d52c5652e7dcb7a0648bbb8642cc3e617070ab49patch
https://git.kernel.org/stable/c/46b1edf0536a5291a8ad2337f88c926214b209d9patch
https://git.kernel.org/stable/c/4846e72ab5a0726e49ad4188b9d9df091ae78c64patch
https://git.kernel.org/stable/c/33b525cef4cff49e216e4133cc48452e11c0391epatch
https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Sources

SourceRecordLicence
CVE ListCVE-2024-49877 changed 2026-05-23CVE Terms of Use
NVDCVE-2024-49877 changed 2026-06-17Public domain