# CVE-2024-50165: linux: In the Linux kernel, the following vulnerability has been resolved:  bpf: Preserve param->string when parsing mount o...

CVE-2024-50165 is fixed in linux on 1 platform, first by DEBIAN-CVE-2024-50165, released November 7, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-50165
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0020
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 7, 2024

## Description

In the Linux kernel, the following vulnerability has been resolved:  bpf: Preserve param->string when parsing mount options  In bpf_parse_param(), keep the value of param->string intact so it can be freed later. Otherwise, the kmalloc area pointed to by param->string will be leaked as shown below:  unreferenced object 0xffff888118c46d20 (size 8):   comm "new_name", pid 12109, jiffies 4295580214   hex dump (first 8 bytes):     61 6e 79 00 38 c9 5c 7e                          any.8.\~   backtrace (crc e1b7f876):     [<00000000c6848ac7>] kmemleak_alloc+0x4b/0x80     [<00000000de9f7d00>] __kmalloc_node_track_caller_noprof+0x36e/0x4a0     [<000000003e29b886>] memdup_user+0x32/0xa0     [<0000000007248326>] strndup_user+0x46/0x60     [<0000000035b3dd29>] __x64_sys_fsconfig+0x368/0x3d0     [<0000000018657927>] x64_sys_call+0xff/0x9f0     [<00000000c0cabc95>] do_syscall_64+0x3b/0xc0     [<000000002f331597>] entry_SYSCALL_64_after_hwframe+0x4b/0x53

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 13.5 (trixie) | 6.11.6-1 | [DEBIAN-CVE-2024-50165](https://patchblox.com/security/data/fix/linux/debian-cve-2024-50165.md) | Nov 7, 2024 |
| Linux | linux Debian 14 | 6.11.6-1 | [DEBIAN-CVE-2024-50165](https://patchblox.com/security/data/fix/linux/debian-cve-2024-50165.md) | Nov 7, 2024 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
