🔍 CVE-2026-52939

5.5
CVSS Score
MEDIUM
2026-06-24
2026-07-08 19:14
✅ 완료

🇰🇷 한글 설명

Linux 커널의 net/rds 구성 요소에서 masked atomic opcode 처리 시 NULL 포인터 역참조가 발생하는 취약점입니다. RDS/IB 연결을 통해 특정 원자적 명령(atomic cmsg)을 전송할 경우, 커널이 이를 적절히 처리하지 못해 시스템 패닉(Kernel Panic)이 발생할 수 있습니다.

💡 쉬운 설명

리눅스 운영체제의 네트워크 통신 기능 중 특정 명령을 처리할 때 오류가 발생하여 컴퓨터가 갑자기 멈추거나 꺼질 수 있는 문제입니다. 공격자가 특수한 네트워크 메시지를 보내면 시스템을 강제로 중단시킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/rds: fix NULL deref in rds_ib_send_cqe_handler() on masked atomic completion rds_ib_xmit_atomic() always programs a masked atomic opcode (IB_WR_MASKED_ATOMIC_CMP_AND_SWP or IB_WR_MASKED_ATOMIC_FETCH_AND_ADD) for every RDS atomic cmsg. But the completion-side switch in rds_ib_send_unmap_op() only handles the non-masked opcodes, so a masked atomic completion falls through to default and returns rm == NULL while send->s_op is left set. rds_ib_send_cqe_handler() then dereferences the NULL rm via rm->m_final_op, oopsing in softirq context. An unprivileged AF_RDS sendmsg() of an atomic cmsg over an active RDS/IB connection triggers it; on hardware that natively accepts masked atomics (mlx4, mlx5) no extra setup is needed. RDS/IB: rds_ib_send_unmap_op: unexpected opcode 0xd in WR! Oops: general protection fault [#1] SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000190-0x0000000000000197] RIP: rds_ib_send_cqe_handler+0x25c/0xb10 (net/rds/ib_send.c:282) Call Trace: <IRQ> rds_ib_send_cqe_handler (net/rds/ib_send.c:282) poll_scq (net/rds/ib_cm.c:274) rds_ib_tasklet_fn_send (net/rds/ib_cm.c:294) tasklet_action_common (kernel/softirq.c:943) handle_softirqs (kernel/softirq.c:573) run_ksoftirqd (kernel/softirq.c:479) </IRQ> Kernel panic - not syncing: Fatal exception in interrupt Handle the masked atomic opcodes in the same case as the non-masked ones: they map to the same struct rds_message.atomic union member, so the existing container_of()/rds_ib_send_unmap_atomic() body is correct for them.

📍 영향받는 시스템

Linux kernel (RDS/IB 모듈을 사용하는 시스템)

⚔️ 공격 벡터

권한이 없는 사용자가 AF_RDS 소켓을 통해 활성화된 RDS/IB 연결로 특정 atomic cmsg를 전송

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 rds_ib_send_unmap_op()의 opcode 처리 로직을 수정해야 합니다.

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel