{"id":"CVE-2024-49877","summary":"ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate\n\nWhen doing cleanup, if flags without OCFS2_BH_READAHEAD, it may trigger\nNULL pointer dereference in the following ocfs2_set_buffer_uptodate() if\nbh is NULL.","modified":"2026-04-15T23:59:18.026227889Z","published":"2024-10-21T18:01:16.788Z","related":["SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4100-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:0034-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49877.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01cb2e751cc61ade454c9bc1aaa2eac1f8197112"},{"type":"WEB","url":"https://git.kernel.org/stable/c/190d98bcd61117a78fe185222d162180f061a6ca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/33b525cef4cff49e216e4133cc48452e11c0391e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46b1edf0536a5291a8ad2337f88c926214b209d9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4846e72ab5a0726e49ad4188b9d9df091ae78c64"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61b84013e560382cbe7dd56758be3154d43a3988"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d52c5652e7dcb7a0648bbb8642cc3e617070ab49"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df944dc46d06af65a75191183d52be017e6b9dbe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e68c8323355e8cedfbe0bec7d5a39009f61640b6"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49877.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49877"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6c150df9c2e80b5cf86f5a0d98beb7390ad63bfc"},{"fixed":"190d98bcd61117a78fe185222d162180f061a6ca"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cf76c78595ca87548ca5e45c862ac9e0949c4687"},{"fixed":"e68c8323355e8cedfbe0bec7d5a39009f61640b6"},{"fixed":"61b84013e560382cbe7dd56758be3154d43a3988"},{"fixed":"df944dc46d06af65a75191183d52be017e6b9dbe"},{"fixed":"01cb2e751cc61ade454c9bc1aaa2eac1f8197112"},{"fixed":"d52c5652e7dcb7a0648bbb8642cc3e617070ab49"},{"fixed":"46b1edf0536a5291a8ad2337f88c926214b209d9"},{"fixed":"4846e72ab5a0726e49ad4188b9d9df091ae78c64"},{"fixed":"33b525cef4cff49e216e4133cc48452e11c0391e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"01f93d5e36753fc4d06ec67f05ce78c9c6f2dd56"},{"last_affected":"65cbd1279f4b999d56a838344a30642db24cd215"},{"last_affected":"97e1db17bc1ef4c2e1789bc9323c7be44fba53f8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49877.json"}}],"schema_version":"1.7.5"}