CVE-2024-50218

Medium

In the Linux kernel, the following vulnerability has been resolved: ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow Syzbot reported a kernel BUG in ocfs2_truncate_inline. There are two reasons for this: first, the parameter value passed is greater than ocfs2_max_inline_data_with_xattr, second, the start and end parameters of ocfs2_truncate_inline are "unsigned int". So, we need to add a sanity check for byte_start and byte_len right before ocfs2_truncate_inline() in ocfs2_remove_inode_range(), if they are greater than ocfs2_max_inline_data_with_xattr return -EINVAL.

Package Linux Kernel
Published 2024-11-09
Last modified 2025-11-03
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected versions

Linux kernel versions 2.6.24 and later are affected. Fixed in 4.19.323, 5.4.285, 5.10.229, 5.15.171, 6.1.116, 6.6.60, 6.11.7, 6.12 and their respective stable series.

Affected from
≥ 2.6.24
Fixed in
✓ 4.19.323 4.19.x ✓ 5.4.285 5.4.x ✓ 5.10.229 5.10.x ✓ 5.15.171 5.15.x ✓ 6.1.116 6.1.x ✓ 6.6.60 6.6.x ✓ 6.11.7 6.11.x ✓ 6.12

References

The following references provide additional information about CVE-2024-50218 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2024-50218?

    CVE-2024-50218 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 2.6.24 onward and has been patched in 4.19.323, 5.4.285, 5.10.229 and others. CVE-2024-50218 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-50218?

    CVE-2024-50218 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-50218?

    Yes — CVE-2024-50218 has been patched. Fixed versions include 4.19.323, 5.4.285, 5.10.229 and others. If you are running Linux kernel 2.6.24 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-50218 actively exploited?

    No — CVE-2024-50218 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.