Menu

Star on GitHub · 3.2k

CVE-2024-39296

4.7 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: bonding: fix oops during rmmod "rmmod bonding" causes an oops ever since commit cc317ea3d927 ("bonding: remove redundant NULL c…

Published Jun 25, 2024CWE-362EPSS 0.17%

Overview

CVE-2024-39296 is a medium-severity vulnerability. It was published on June 25, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

bonding: fix oops during rmmod

"rmmod bonding" causes an oops ever since commit cc317ea3d927 ("bonding:

remove redundant NULL check in debugfs function"). Here are the relevant

functions being called:

bonding_exit()

bond_destroy_debugfs()

debugfs_remove_recursive(bonding_debug_root);

bonding_debug_root = NULL; <--------- SET TO NULL HERE

bond_netlink_fini()

rtnl_link_unregister()

__rtnl_link_unregister()

unregister_netdevice_many_notify()

bond_uninit()

bond_debug_unregister()

(commit removed check for bonding_debug_root == NULL)

debugfs_remove()

simple_recursive_removal()

down_write() -> OOPS

However, reverting the bad commit does not solve the problem completely

because the original code contains a race that could cause the same

oops, although it was much less likely to be triggered unintentionally:

CPU1

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-39296?

CVE-2024-39296 is a medium-severity vulnerability. It was published on June 25, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2024-39296?

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-39296?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-39296?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-39296 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all