CVE-2024-49877

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49877
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49877.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49877
Downstream
Related
Published
2024-10-21T18:01:16.788Z
Modified
2025-11-28T02:34:20.118046Z
Summary
ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate
Details

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: fix possible null-ptr-deref in ocfs2setbuffer_uptodate

When doing cleanup, if flags without OCFS2BHREADAHEAD, it may trigger NULL pointer dereference in the following ocfs2setbuffer_uptodate() if bh is NULL.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49877.json"
}
References

Affected packages

Git / 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 Unknown introduced commit / All previous commits are affected
Last affected
01f93d5e36753fc4d06ec67f05ce78c9c6f2dd56
Last affected
65cbd1279f4b999d56a838344a30642db24cd215
Last affected
97e1db17bc1ef4c2e1789bc9323c7be44fba53f8

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.19.323
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.285
Fixed
5.10.227
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.15.168
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
6.1.113
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.6.55
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.10.14
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.3