🔍 CVE-2026-52927

7.8
CVSS Score
HIGH
2026-06-24
2026-10-19 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 netfilter ebtables 구성 요소에서 compat_mtw_from_user 함수가 사용자 제공 크기를 적절히 검증하지 않아 발생하는 경계 외 읽기(OOB Read) 취약점입니다. 32비트 사용자 구조체를 커널 네이티브 구조체로 변환할 때, 제공된 크기가 확장 프로그램에 필요한 크기보다 작으면 메모리 경계를 벗어난 읽기가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터 운영체제의 네트워크 관리 기능에서 데이터의 크기를 제대로 확인하지 않아 발생하는 문제입니다. 공격자가 조작된 데이터를 보내면 시스템이 허용되지 않은 메모리 영역을 읽어 들여 정보가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfilter: ebtables: fix OOB read in compat_mtw_from_user Luxiao Xu says: The function compat_mtw_from_user() converts ebtables extensions from 32-bit user structures to kernel native structures. However, it lacks proper validation of the user-supplied match_size/target_size. When certain extensions are processed, the kernel-side translation logic may perform memory accesses based on the extension's expected size. If the user provides a size smaller than what the extension requires, it results in an out-of-bounds read as reported by KASAN. This fix introduces a check to ensure match_size is at least as large as the extension's required compatsize. This covers matches, watchers, and targets, while maintaining compatibility with standard targets. AFAIU this is relevant for matches that need to go though match->compat_from_user() call. Those that use plain memcpy with the user-provided size are ok because the caller checks that size vs the start of the next rule entry offset (which itself is checked vs. total size copied from userspace). The ->compat_from_user() callbacks assume they can read compatsize bytes, so they need this extra check. Based on an earlier patch from Luxiao Xu.

📍 영향받는 시스템

Linux Kernel (ebtables/netfilter 관련 모듈 사용 시스템)

⚔️ 공격 벡터

로컬 사용자가 조작된 크기 값을 가진 ebtables 확장 구조체를 커널에 전달하여 발생

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 match_size 검증 로직을 적용해야 함

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인합니다.

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