{"id":"CVE-2024-50024","summary":"net: Fix an unsafe loop on the list","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: Fix an unsafe loop on the list\n\nThe kernel may crash when deleting a genetlink family if there are still\nlisteners for that family:\n\nOops: Kernel access of bad area, sig: 11 [#1]\n  ...\n  NIP [c000000000c080bc] netlink_update_socket_mc+0x3c/0xc0\n  LR [c000000000c0f764] __netlink_clear_multicast_users+0x74/0xc0\n  Call Trace:\n__netlink_clear_multicast_users+0x74/0xc0\ngenl_unregister_family+0xd4/0x2d0\n\nChange the unsafe loop on the list to a safe one, because inside the\nloop there is an element removal from this list.","modified":"2026-03-20T12:39:32.106623Z","published":"2024-10-21T19:39:29.203Z","related":["MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4100-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:0034-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50024.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1cdec792b2450105b1314c5123a9a0452cb2c2f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1dae9f1187189bc09ff6d25ca97ead711f7e26f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3be342e0332a7c83eb26fbb22bf156fdca467a5d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/464801a0f6ccb52b21faa33bac6014fd74cc5e10"},{"type":"WEB","url":"https://git.kernel.org/stable/c/49f9b726bf2bf3dd2caf0d27cadf4bc1ccf7a7dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f03a7f601f33cda1f710611625235dc86fd8a9e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68ad5da6ca630a276f0a5c924179e57724d00013"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e0766fcf37ad8eed289dd3853628dd9b01b58b0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50024.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50024"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b8273570f802a7658827dcb077b0b517ba75a289"},{"fixed":"464801a0f6ccb52b21faa33bac6014fd74cc5e10"},{"fixed":"8e0766fcf37ad8eed289dd3853628dd9b01b58b0"},{"fixed":"68ad5da6ca630a276f0a5c924179e57724d00013"},{"fixed":"1cdec792b2450105b1314c5123a9a0452cb2c2f0"},{"fixed":"5f03a7f601f33cda1f710611625235dc86fd8a9e"},{"fixed":"3be342e0332a7c83eb26fbb22bf156fdca467a5d"},{"fixed":"49f9b726bf2bf3dd2caf0d27cadf4bc1ccf7a7dd"},{"fixed":"1dae9f1187189bc09ff6d25ca97ead711f7e26f9"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50024.json"}}],"schema_version":"1.7.5"}