Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-39296

MEDIUM 4.7EPSS 7%

bonding: fix oops during rmmod

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= cc317ea3d9272fab4f6fef527c865f30ca479394, < f07224c16678a8af54ddc059b3d2d51885d7f35e; >= cc317ea3d9272fab4f6fef527c865f30ca479394, < cf48aee81103ca06d09d73d33fb72f1191069aa6; >= cc317ea3d9272fab4f6fef527c865f30ca479394, < a45835a0bb6ef7d5ddbc0714dd760de979cb6ece
  • Anyone running Linux 6.6

Vulnerability facts

Affected
Linux >= cc317ea3d9272fab4f6fef527c865f30ca479394, < f07224c16678a8af54ddc059b3d2d51885d7f35e; >= cc317ea3d9272fab4f6fef527c865f30ca479394, < cf48aee81103ca06d09d73d33fb72f1191069aa6; >= cc317ea3d9272fab4f6fef527c865f30ca479394, < a45835a0bb6ef7d5ddbc0714dd760de979cb6ece; Linux 6.6
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
CWE
CWE-362, CWE-476
Published
Modified

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 rmmod bonding bonding_exit() bond_destroy_debugfs() debugfs_remove_recursive(bonding_debug_root); CPU2 echo -bond0 > /sys/class/net/bonding_masters bond_uninit() bond_debug_unregister() if (!bonding_debug_root) CPU1 bonding_debug_root = NULL; So do NOT revert the bad commit (since the removed checks were racy anyway), and instead change the order of actions taken during module removal. The same oops can also happen if there is an error during module init, so apply the same fix there.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= cc317ea3d9272fab4f6fef527c865f30ca479394, < f07224c16678a8af54ddc059b3d2d51885d7f35e; >= cc317ea3d9272fab4f6fef527c865f30ca479394, < cf48aee81103ca06d09d73d33fb72f1191069aa6; >= cc317ea3d9272fab4f6fef527c865f30ca479394, < a45835a0bb6ef7d5ddbc0714dd760de979cb6ece—cvelist
Linux6.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-39296. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-39296.md
Affected: Linux >= cc317ea3d9272fab4f6fef527c865f30ca479394, < f07224c16678a8af54ddc059b3d2d51885d7f35e; >= cc317ea3d9272fab4f6fef527c865f30ca479394, < cf48aee81103ca06d09d73d33fb72f1191069aa6; >= cc317ea3d9272fab4f6fef527c865f30ca479394, < a45835a0bb6ef7d5ddbc0714dd760de979cb6ece; Linux 6.6
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-39296 being exploited?

There is no confirmed exploitation: CVE-2024-39296 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-39296?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-39296?

Linux >= cc317ea3d9272fab4f6fef527c865f30ca479394, < f07224c16678a8af54ddc059b3d2d51885d7f35e; >= cc317ea3d9272fab4f6fef527c865f30ca479394, < cf48aee81103ca06d09d73d33fb72f1191069aa6; >= cc317ea3d9272fab4f6fef527c865f30ca479394, < a45835a0bb6ef7d5ddbc0714dd760de979cb6ece; Linux 6.6.

Is there a fix for CVE-2024-39296?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-39296?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors