CVE-2024-50024

net: Fix an unsafe loop on the list

State
Published
Severity
7.3 High
Published
Oct 21, 2024
Updated
Aug 5, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

Description

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

net: Fix an unsafe loop on the list

The kernel may crash when deleting a genetlink family if there are still listeners for that family:

Oops: Kernel access of bad area, sig: 11 [#1] ... NIP [c000000000c080bc] netlink_update_socket_mc+0x3c/0xc0 LR [c000000000c0f764] __netlink_clear_multicast_users+0x74/0xc0 Call Trace: __netlink_clear_multicast_users+0x74/0xc0 genl_unregister_family+0xd4/0x2d0

Change the unsafe loop on the list to a safe one, because inside the loop there is an element removal from this list.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b8273570f802a7658827dcb077b0b517ba75a289 to before 464801a0f6ccb52b21faa33bac6014fd74cc5e10Affected
  • b8273570f802a7658827dcb077b0b517ba75a289 to before 8e0766fcf37ad8eed289dd3853628dd9b01b58b0Affected
  • b8273570f802a7658827dcb077b0b517ba75a289 to before 68ad5da6ca630a276f0a5c924179e57724d00013Affected
  • b8273570f802a7658827dcb077b0b517ba75a289 to before 1cdec792b2450105b1314c5123a9a0452cb2c2f0Affected
  • b8273570f802a7658827dcb077b0b517ba75a289 to before 5f03a7f601f33cda1f710611625235dc86fd8a9eAffected
  • b8273570f802a7658827dcb077b0b517ba75a289 to before 3be342e0332a7c83eb26fbb22bf156fdca467a5dAffected
  • b8273570f802a7658827dcb077b0b517ba75a289 to before 49f9b726bf2bf3dd2caf0d27cadf4bc1ccf7a7ddAffected
  • b8273570f802a7658827dcb077b0b517ba75a289 to before 1dae9f1187189bc09ff6d25ca97ead711f7e26f9Affected
LinuxLinux
  • 2.6.32Affected
  • before 2.6.32Not 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.57 through 6.6.*Not affected
  • 6.11.4 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.