🔍 CVE-2025-38458

5.5
CVSS Score
MEDIUM
2025-07-25
2026-11-05 21:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ATM CLIP 모듈에서 atmarpd_dev_ops가 send 메서드를 구현하지 않아, vcc_sendmsg() 호출 시 NULL 함수 포인터 역참조가 발생합니다. 이로 인해 커널 패닉(Oops)이 일어날 수 있습니다.

💡 쉬운 설명

리눅스 커널의 ATM 네트워크 기능에 버그가 있어, 특정 조작을 하면 시스템이 멈추거나 비정상 종료될 수 있습니다. 주로 서비스 중단 위험이며 커널 패치로 해결됩니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: atm: clip: Fix NULL pointer dereference in vcc_sendmsg() atmarpd_dev_ops does not implement the send method, which may cause crash as bellow. BUG: kernel NULL pointer dereference, address: 0000000000000000 PGD 0 P4D 0 Oops: Oops: 0010 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.15.0-rc6-syzkaller-00346-g5723cc3450bc #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc9000d3cf778 EFLAGS: 00010246 RAX: 1ffffffff1910dd1 RBX: 00000000000000c0 RCX: dffffc0000000000 RDX: ffffc9000dc82000 RSI: ffff88803e4c4640 RDI: ffff888052cd0000 RBP: ffffc9000d3cf8d0 R08: ffff888052c9143f R09: 1ffff1100a592287 R10: dffffc0000000000 R11: 0000000000000000 R12: 1ffff92001a79f00 R13: ffff888052cd0000 R14: ffff88803e4c4640 R15: ffffffff8c886e88 FS: 00007fbc762566c0(0000) GS:ffff88808d6c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000041f1b000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> vcc_sendmsg+0xa10/0xc50 net/atm/common.c:644 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x219/0x270 net/socket.c:727 ____sys_sendmsg+0x52d/0x830 net/socket.c:2566 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2620 __sys_sendmmsg+0x227/0x430 net/socket.c:2709 __do_sys_sendmmsg net/socket.c:2736 [inline] __se_sys_sendmmsg net/socket.c:2733 [inline] __x64_sys_sendmmsg+0xa0/0xc0 net/socket.c:2733 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f

📍 영향받는 시스템

ATM CLIP(atm: clip) 기능이 포함된 Linux 커널 (수정 이전의 6.x 계열 등)

⚔️ 공격 벡터

로컬 사용자가 ATM 소켓을 생성해 sendmsg/sendmmsg를 호출하면 커널 NULL 포인터 역참조가 트리거되어 시스템 충돌을 유발할 수 있습니다.

🛡️ 대응 방법

배포판에서 제공하는 보안 업데이트된 커널로 업그레이드하거나, 불필요한 경우 ATM 모듈(clip)을 비활성화합니다.

🔧 검증 코드

출력된 커널 버전이 배포판의 수정된 패치 버전보다 낮고 clip 모듈이 로드되어 있다면 취약할 가능성이 있으므로 커널 업데이트를 권장합니다. 아무것도 출력되지 않으면 atm/clip 모듈이 로드되지 않은 상태입니다.

Shell / Script
uname -r; lsmod | grep -E '^(clip|atm)' 2>/dev/null

📊 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