Divide By Zero Affecting kernel-modules-extra package, versions <0:4.18.0-305.148.1.el8_4


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-KERNELMODULESEXTRA-8605290
  • published9 Jan 2025
  • disclosed2 Dec 2024

Introduced: 2 Dec 2024

CVE-2024-53122  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade RHEL:8 kernel-modules-extra to version 0:4.18.0-305.148.1.el8_4 or higher.
This issue was patched in RHSA-2025:0061.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-modules-extra package and not the kernel-modules-extra package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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

mptcp: cope racing subflow creation in mptcp_rcv_space_adjust

Additional active subflows - i.e. created by the in kernel path manager - are included into the subflow list before starting the 3whs.

A racing recvmsg() spooling data received on an already established subflow would unconditionally call tcp_cleanup_rbuf() on all the current subflows, potentially hitting a divide by zero error on the newly created ones.

Explicitly check that the subflow is in a suitable state before invoking tcp_cleanup_rbuf().

CVSS Scores

version 3.1