Wind River Support Network

HomeDefectsLIN1021-18491
Fixed

LIN1021-18491 : Security Advisory - linux - CVE-2022-50466

Created: Oct 10, 2025    Updated: Oct 19, 2025
Resolved Date: Oct 19, 2025
Found In Version: 10.21.20.1
Fix Version: 10.21.20.15
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

In the Linux kernel, the following vulnerability has been resolved:[EOL][EOL]fs/binfmt_elf: Fix memory leak in load_elf_binary()[EOL][EOL]There is a memory leak reported by kmemleak:[EOL][EOL]  unreferenced object 0xffff88817104ef80 (size 224):[EOL]    comm "xfs_admin", pid 47165, jiffies 4298708825 (age 1333.476s)[EOL]    hex dump (first 32 bytes):[EOL]      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................[EOL]      60 a8 b3 00 81 88 ff ff a8 10 5a 00 81 88 ff ff  `.........Z.....[EOL]    backtrace:[EOL]      [<ffffffff819171e1>] __alloc_file+0x21/0x250[EOL]      [<ffffffff81918061>] alloc_empty_file+0x41/0xf0[EOL]      [<ffffffff81948cda>] path_openat+0xea/0x3d30[EOL]      [<ffffffff8194ec89>] do_filp_open+0x1b9/0x290[EOL]      [<ffffffff8192660e>] do_open_execat+0xce/0x5b0[EOL]      [<ffffffff81926b17>] open_exec+0x27/0x50[EOL]      [<ffffffff81a69250>] load_elf_binary+0x510/0x3ed0[EOL]      [<ffffffff81927759>] bprm_execve+0x599/0x1240[EOL]      [<ffffffff8192a997>] do_execveat_common.isra.0+0x4c7/0x680[EOL]      [<ffffffff8192b078>] __x64_sys_execve+0x88/0xb0[EOL]      [<ffffffff83bbf0a5>] do_syscall_64+0x35/0x80[EOL][EOL]If "interp_elf_ex" fails to allocate memory in load_elf_binary(),[EOL]the program will take the "out_free_ph" error handing path,[EOL]resulting in "interpreter" file resource is not released.[EOL][EOL]Fix it by adding an error handing path "out_free_file", which will[EOL]release the file resource when "interp_elf_ex" failed to allocate[EOL]memory.

CVEs


Live chat
Online