CVE-2024-50130: linux Use After Free
Vulnerability summary
CVE-2024-50130 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 12.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 23 · Related 22Timeline
- 05-11-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: bpf: must hold reference on net namespace BUG: KASAN: slab-use-after-free in __nf_unregister_net_hook+0x640/0x6b0 Read of size 8 at addr ffff8880106fe400 by task repro/72= bpf_nf_link_release+0xda/0x1e0 bpf_link_free+0x139/0x2d0 bpf_link_release+0x68/0x80 __fput+0x414/0xb60 Eric says: It seems that bpf was able to defer the __nf_unregister_net_hook() after exit()/close() time. Perhaps a netns reference is missing, because the netns has been dismantled/freed already. bpf_nf_link_attach() does : link->net = net; But I do not see a reference being taken on net. Add such a reference and release it after hook unreg. Note that I was unable to get syzbot reproducer to work, so I do not know if this resolves this splat.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
0.00 pp
From 0.23% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu103 products
- linux< 6.8.0-58.60
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1027.29
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 84601d6ee68ae820dec97450934797046d62db4b, < f41bd93b3e0508edc7ba820357f949071dcc0acc | ≥ 84601d6ee68ae820dec97450934797046d62db4b, < d0d7939543a1b3bb93af9a18d258a774daf8f162 | ≥ 84601d6ee68ae820dec97450934797046d62db4b, < 1230fe7ad3974f7bf6c78901473e039b34d4fb1f | 6.4
- linux_kernel≥ 6.4, < 6.6.59 | ≥ 6.7, < 6.11.6 | 6.12:rc1 | 6.12:rc2 | 6.12:rc3 | 6.12:rc4
Debian1 product
- linux< 6.11.6-1
3 vendors · 106 products