CVE-2024-50024

Source
https://cve.org/CVERecord?id=CVE-2024-50024
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50024.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50024
Downstream
Related
Published
2024-10-21T19:39:29.203Z
Modified
2026-05-07T04:17:01.396315Z
Summary
net: Fix an unsafe loop on the list
Details

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] netlinkupdatesocket_mc+0x3c/0xc0 LR [c000000000c0f764] __netlinkclearmulticast_users+0x74/0xc0 Call Trace: _netlinkclearmulticastusers+0x74/0xc0 genlunregisterfamily+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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50024.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.32
Fixed
4.19.323
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.285
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.227
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.168
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.113
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.57
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50024.json"