CVE-2024-49877

ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
May 23, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6c150df9c2e80b5cf86f5a0d98beb7390ad63bfc to before 190d98bcd61117a78fe185222d162180f061a6caAffected
  • cf76c78595ca87548ca5e45c862ac9e0949c4687 to before e68c8323355e8cedfbe0bec7d5a39009f61640b6Affected
  • cf76c78595ca87548ca5e45c862ac9e0949c4687 to before 61b84013e560382cbe7dd56758be3154d43a3988Affected
  • cf76c78595ca87548ca5e45c862ac9e0949c4687 to before df944dc46d06af65a75191183d52be017e6b9dbeAffected
  • cf76c78595ca87548ca5e45c862ac9e0949c4687 to before 01cb2e751cc61ade454c9bc1aaa2eac1f8197112Affected
  • cf76c78595ca87548ca5e45c862ac9e0949c4687 to before d52c5652e7dcb7a0648bbb8642cc3e617070ab49Affected
  • cf76c78595ca87548ca5e45c862ac9e0949c4687 to before 46b1edf0536a5291a8ad2337f88c926214b209d9Affected
  • cf76c78595ca87548ca5e45c862ac9e0949c4687 to before 4846e72ab5a0726e49ad4188b9d9df091ae78c64Affected
  • cf76c78595ca87548ca5e45c862ac9e0949c4687 to before 33b525cef4cff49e216e4133cc48452e11c0391eAffected
  • 01f93d5e36753fc4d06ec67f05ce78c9c6f2dd56Affected
  • 65cbd1279f4b999d56a838344a30642db24cd215Affected
  • 97e1db17bc1ef4c2e1789bc9323c7be44fba53f8Affected
  • 4.19.87 to before 4.19.323Affected
  • 4.4.204 to before 4.5Affected
  • 4.9.204 to before 4.10Affected
  • 4.14.157 to before 4.15Affected
LinuxLinux
  • 4.20Affected
  • before 4.20Not affected
  • 4.19.323 through 4.19.*Not affected
  • 5.4.285 through 5.4.*Not affected
  • 5.10.227 through 5.10.*Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.55 through 6.6.*Not affected
  • 6.10.14 through 6.10.*Not affected
  • 6.11.3 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.