HomeDefectsLIN1025-1778
Acknowledged

LIN1025-1778 : Security Advisory - linux - CVE-2022-49959

Created: Jun 18, 2025    Updated: Sep 4, 2026
Resolved Date: Jun 19, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel

Description

In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]openvswitch: fix memory leak at failed datapath creation[EOL][EOL]ovs_dp_cmd_new()->ovs_dp_change()->ovs_dp_set_upcall_portids()[EOL]allocates array via kmalloc.[EOL]If for some reason new_vport() fails during ovs_dp_cmd_new()[EOL]dp->upcall_portids must be freed.[EOL]Add missing kfree.[EOL][EOL]Kmemleak example:[EOL]unreferenced object 0xffff88800c382500 (size 64):[EOL]  comm "dump_state", pid 323, jiffies 4294955418 (age 104.347s)[EOL]  hex dump (first 32 bytes):[EOL]    5e c2 79 e4 1f 7a 38 c7 09 21 38 0c 80 88 ff ff  ^.y..z8..!8.....[EOL]    03 00 00 00 0a 00 00 00 14 00 00 00 28 00 00 00  ............(...[EOL]  backtrace:[EOL]    [<0000000071bebc9f>] ovs_dp_set_upcall_portids+0x38/0xa0[EOL]    [<000000000187d8bd>] ovs_dp_change+0x63/0xe0[EOL]    [<000000002397e446>] ovs_dp_cmd_new+0x1f0/0x380[EOL]    [<00000000aa06f36e>] genl_family_rcv_msg_doit+0xea/0x150[EOL]    [<000000008f583bc4>] genl_rcv_msg+0xdc/0x1e0[EOL]    [<00000000fa10e377>] netlink_rcv_skb+0x50/0x100[EOL]    [<000000004959cece>] genl_rcv+0x24/0x40[EOL]    [<000000004699ac7f>] netlink_unicast+0x23e/0x360[EOL]    [<00000000c153573e>] netlink_sendmsg+0x24e/0x4b0[EOL]    [<000000006f4aa380>] sock_sendmsg+0x62/0x70[EOL]    [<00000000d0068654>] ____sys_sendmsg+0x230/0x270[EOL]    [<0000000012dacf7d>] ___sys_sendmsg+0x88/0xd0[EOL]    [<0000000011776020>] __sys_sendmsg+0x59/0xa0[EOL]    [<000000002e8f2dc1>] do_syscall_64+0x3b/0x90[EOL]    [<000000003243e7cb>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

CREATE(Triage):(User=lchen-cn) [CVE-2022-49959 (https://nvd.nist.gov/vuln/detail/CVE-2022-49959)