CVE-2023-53290Published Sep 16, 2025 · Sep 16Updated Oct 28
samples/bpf: Fix fout leak in hbm's run_bpf_prog
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a1270fe95b74eb3195b107c494ed1f11b932a278 · < 23acb14af1914010dd0aae1bbb7fab28bf518b8e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
samples/bpf: Fix fout leak in hbm's run_bpf_prog
Fix fout being fopen'ed but then not subsequently fclose'd. In the affected branch, fout is otherwise going out of scope.
From the CVE record · Linux
In the Linux kernel's samples/bpf hbm code, run_bpf_prog can leave a file opened without closing it when the variable goes out of scope. The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their version includes the affected samples/bpf hbm code; affected versions are not specified.