🔍 CVE-2022-48883

7.8
CVSS Score
HIGH
2024-08-21
2026-08-04 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mlx5e 드라이버에서 IPoIB 자식 PKEY 인터페이스를 생성할 때 부모 인터페이스보다 적은 수의 RX 큐를 설정할 수 있는 취약점입니다. 이로 인해 channel_stats 배열 접근 시 인덱스 범위 초과(Out-of-bounds)가 발생할 수 있습니다.

💡 쉬운 설명

네트워크 장치 설정 과정에서 잘못된 숫자를 입력하면 시스템의 메모리 영역을 벗어나 접근할 수 있는 보안 허점이 발견되었습니다. 이는 시스템 불안정이나 예기치 않은 동작을 유발할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent A user is able to configure an arbitrary number of rx queues when creating an interface via netlink. This doesn't work for child PKEY interfaces because the child interface uses the parent receive channels. Although the child shares the parent's receive channels, the number of rx queues is important for the channel_stats array: the parent's rx channel index is used to access the child's channel_stats. So the array has to be at least as large as the parent's rx queue size for the counting to work correctly and to prevent out of bound accesses. This patch checks for the mentioned scenario and returns an error when trying to create the interface. The error is propagated to the user.

📍 영향받는 시스템

Linux kernel (mlx5e driver 사용 시스템)

⚔️ 공격 벡터

Netlink를 통해 자식 PKEY 인터페이스의 RX 큐 개수를 부모보다 적게 설정하여 메모리 범위 초과 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel