🇰🇷 한글 설명
Linux 커널의 i2c-i801 드라이버에서 버스 리셋 시 인터럽트가 생성되는 취약점입니다. 타임아웃 발생 시 복구를 위해 KILL 비트를 설정하면 인터럽트 핸들러가 이를 정상적인 트랜잭션 종료로 오인하여 범위를 벗어난 메모리에 접근할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품 간 통신을 담당하는 드라이버가 오류를 복구하는 과정에서 실수로 잘못된 메모리 영역을 건드릴 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
i2c: i801: Don't generate an interrupt on bus reset
Now that the i2c-i801 driver supports interrupts, setting the KILL bit
in a attempt to recover from a timed out transaction triggers an
interrupt. Unfortunately, the interrupt handler (i801_isr) is not
prepared for this situation and will try to process the interrupt as
if it was signaling the end of a successful transaction. In the case
of a block transaction, this can result in an out-of-range memory
access.
This condition was reproduced several times by syzbot:
https://syzkaller.appspot.com/bug?extid=ed71512d469895b5b34e
https://syzkaller.appspot.com/bug?extid=8c8dedc0ba9e03f6c79e
https://syzkaller.appspot.com/bug?extid=c8ff0b6d6c73d81b610e
https://syzkaller.appspot.com/bug?extid=33f6c360821c399d69eb
https://syzkaller.appspot.com/bug?extid=be15dc0b1933f04b043a
https://syzkaller.appspot.com/bug?extid=b4d3fd1dfd53e90afd79
So disable interrupts while trying to reset the bus. Interrupts will
be enabled again for the following transaction.
📍 영향받는 시스템
Linux kernel (i2c-i801 driver 포함 버전)
⚔️ 공격 벡터
I2C 버스 트랜잭션 타임아웃을 유도하여 잘못된 메모리 접근을 일으키는 로컬 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.