Bug 2320611 (CVE-2024-50024) - CVE-2024-50024 kernel: net: Fix an unsafe loop on the list
Summary: CVE-2024-50024 kernel: net: Fix an unsafe loop on the list
Keywords:
Status: NEW
Alias: CVE-2024-50024
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320909
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 20:03 UTC by OSIDB Bzimport
Modified: 2024-10-22 13:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 20:03:17 UTC
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.

Comment 1 Avinash Hanwate 2024-10-22 10:37:33 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024102129-CVE-2024-50024-a052@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.