{"cve":"CVE-2024-50165","nvd":{"published":"2024-11-07T10:15:07.770","modified":"2026-08-04T11:21:27.853","status":"Modified","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Preserve param->string when parsing mount options\n\nIn bpf_parse_param(), keep the value of param->string intact so it can\nbe freed later. Otherwise, the kmalloc area pointed to by param->string\nwill be leaked as shown below:\n\nunreferenced object 0xffff888118c46d20 (size 8):\n  comm \"new_name\", pid 12109, jiffies 4295580214\n  hex dump (first 8 bytes):\n    61 6e 79 00 38 c9 5c 7e                          any.8.\\~\n  backtrace (crc e1b7f876):\n    [<00000000c6848ac7>] kmemleak_alloc+0x4b/0x80\n    [<00000000de9f7d00>] __kmalloc_node_track_caller_noprof+0x36e/0x4a0\n    [<000000003e29b886>] memdup_user+0x32/0xa0\n    [<0000000007248326>] strndup_user+0x46/0x60\n    [<0000000035b3dd29>] __x64_sys_fsconfig+0x368/0x3d0\n    [<0000000018657927>] x64_sys_call+0xff/0x9f0\n    [<00000000c0cabc95>] do_syscall_64+0x3b/0xc0\n    [<000000002f331597>] entry_SYSCALL_64_after_hwframe+0x4b/0x53","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-401"],"references":["https://git.kernel.org/stable/c/1f97c03f43fadc407de5b5cb01c07755053e1c22","https://git.kernel.org/stable/c/5d7a0a426540319327309035509cb768a2f5c2c4"],"products":["linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-19T21:57:07.693694550+00:00"},"epss":{"cve":"CVE-2024-50165","score":0.002,"percentile":0.09864,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}