CVE-2023-53999 in Linux
요약
\~에 의해 VulDB • 2026. 05. 30.
리눅스 커널에서 다음 취약점이 해결되었습니다:
net/mlx5e: TC, 내부 포트 메모리 누수 수정
플로우 규칙이 분할될 수 있으며, 추가된 post_act 규칙이 post_act 테이블에 추가됩니다. 예를 들어 CT 'new' 상태 오프로딩이 허용되는 경우, 규칙이 내부 포트와 터널을 통해 패킷을 전달할 때 메모리 누수(memleak)를 트리거할 수 있습니다. int_port 객체가 post_act 규칙의 플로우 속성에 할당되고 mlx5e_tc_int_port_get()에 의해 refcnt가 증가하지만 mlx5e_tc_int_port_put()가 호출되지 않으므로, refcnt가 감소하지 않아 int_port가 해제되지 않습니다.
kmemleak은 다음 오류를 보고합니다: unreferenced object 0xffff888128204b80 (size 64): comm "handler20", pid 50121, jiffies 4296973009 (age 642.932s) hex dump (first 32 bytes): 01 00 00 00 19 00 00 00 03 f0 00 00 04 00 00 00 ................ 98 77 67 41 81 88 ff ff 98 77 67 41 81 88 ff ff .wgA.....wgA.... backtrace: [<00000000e992680d>] kmalloc_trace+0x27/0x120
[<000000009e945a98>] mlx5e_tc_int_port_get+0x3f3/0xe20 [mlx5_core]
[<0000000035a537f0>] mlx5e_tc_add_fdb_flow+0x473/0xcf0 [mlx5_core]
[<0000000070c2cec6>] __mlx5e_add_fdb_flow+0x7cf/0xe90 [mlx5_core]
[<000000005cc84048>] mlx5e_configure_flower+0xd40/0x4c40 [mlx5_core]
[<000000004f8a2031>] mlx5e_rep_indr_offload.isra.0+0x10e/0x1c0 [mlx5_core]
[<000000007df797dc>] mlx5e_rep_indr_setup_tc_cb+0x90/0x130 [mlx5_core]
[<0000000016c15cc3>] tc_setup_cb_add+0x1cf/0x410
[<00000000a63305b4>] fl_hw_replace_filter+0x38f/0x670 [cls_flower]
[<000000008bc9e77c>] fl_change+0x1fd5/0x4430 [cls_flower]
[<00000000e7f766e4>] tc_new_tfilter+0x867/0x2010
[<00000000e101c0ef>] rtnetlink_rcv_msg+0x6fc/0x9f0
[<00000000e1111d44>] netlink_rcv_skb+0x12c/0x360
[<0000000082dd6c8b>] netlink_unicast+0x438/0x710
[<00000000fc568f70>] netlink_sendmsg+0x794/0xc50
[<0000000016e92590>] sock_sendmsg+0xc5/0x190
따라서 이 문제를 해결하기 위해 int_port 정리 코드를 모든 속성 정리 케이스에서 사용되는 플로우 속성 free 헬퍼로 이동합니다.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.