🔍 CVE-2026-98218

0.0
CVSS Score
UNKNOWN
2026-10-06
2026-10-19 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 i2c: atr 드라이버에서 어댑터 추가 실패 시 dangling pointer(허상 포인터)가 발생하는 취약점이 해결되었습니다. i2c_add_adapter() 호출 실패 시 채널은 해제되지만 슬롯이 해제된 메모리를 계속 가리키고 있어, 이후 use-after-free 및 블록 재사용 오류를 유발할 수 있습니다.

💡 쉬운 설명

장치를 연결하는 과정에서 오류가 발생했을 때, 컴퓨터가 이미 사용이 끝난 메모리 주소를 여전히 붙잡고 있어 발생하는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안상 허점이 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: i2c: atr: fix dangling adapter pointer on add failure i2c_atr_add_adapter() stores atr->adapter[chan_id] before i2c_add_adapter() so that the I2C bus notifier can match child clients during registration. On failure the channel is freed but the slot was left pointing at freed memory, which can lead to use-after-free in i2c_atr_del_adapter() / cleanup and also block reuse with -EEXIST. Clear the slot on the i2c_add_adapter() error path before freeing chan.

📍 영향받는 시스템

Linux kernel (i2c: atr driver 포함 버전)

⚔️ 공격 벡터

로컬 공격자가 특정 I2C 장치 등록 실패 상황을 유도하여 Use-After-Free 취약점 악용

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel