CVE-2022-49918

Summary

In the Linux kernel, the following vulnerability has been resolved:

ipvs: fix WARNING in __ip_vs_cleanup_batch()

During the initialization of ip_vs_conn_net_init(), if file ip_vs_conn or ip_vs_conn_sync fails to be created, the initialization is successful by default. Therefore, the ip_vs_conn or ip_vs_conn_sync file doesn't be found during the remove.

The following is the stack information: name 'ip_vs_conn_sync' WARNING: CPU: 3 PID: 9 at fs/proc/generic.c:712 remove_proc_entry+0x389/0x460 Modules linked in: Workqueue: netns cleanup_net RIP: 0010:remove_proc_entry+0x389/0x460 Call Trace: <TASK> __ip_vs_cleanup_batch+0x7d/0x120 ops_exit_list+0x125/0x170 cleanup_net+0x4ea/0xb00 process_one_work+0x9bf/0x1710 worker_thread+0x665/0x1080 kthread+0x2e4/0x3a0 ret_from_fork+0x1f/0x30 </TASK>

Affected Software

VendorProductVersion RangeStatus
LinuxLinux61b1ab4583e275af216c8454b9256de680499b19 < f08ee2aa24c076f81d84e26e213d8c6f4efd9f50affected
LinuxLinux61b1ab4583e275af216c8454b9256de680499b19 < 7effc4ce3d1434ce6ff286866585a6e905fdbfc1affected
LinuxLinux61b1ab4583e275af216c8454b9256de680499b19 < 931f56d59c854263b32075bfac56fdb3b1598d1baffected
LinuxLinux61b1ab4583e275af216c8454b9256de680499b19 < 5ee2d6b726b0ce339e36569e5849692f4cf4595eaffected
LinuxLinux61b1ab4583e275af216c8454b9256de680499b19 < e724220b826e008764309d2a1f55a9434a4e1530affected
LinuxLinux61b1ab4583e275af216c8454b9256de680499b19 < 3d00c6a0da8ddcf75213e004765e4a42acc71d5daffected
LinuxLinux2.6.39affected
LinuxLinux0 < 2.6.39unaffected
LinuxLinux4.19.265 <= 4.19.*unaffected
LinuxLinux5.4.224 <= 5.4.*unaffected
LinuxLinux5.10.154 <= 5.10.*unaffected
LinuxLinux5.15.78 <= 5.15.*unaffected
LinuxLinux6.0.8 <= 6.0.*unaffected
LinuxLinux6.1 <= *unaffected

Weaknesses

References