🔍 CVE-2026-98118

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

🇰🇷 한글 설명

Linux 커널의 netfs 구성 요소에서 readahead 동기화 문제가 발견되었습니다. 애플리케이션 스레드가 콜렉터 스레드가 작업 중인 롤링 버퍼에 새로운 folio를 추가할 때 발생하는 동기화 오류를 해결하기 위해, 모든 folio를 사전에 로드하는 방식으로 수정되었습니다.

💡 쉬운 설명

데이터를 미리 읽어오는 과정에서 데이터가 꼬이는 문제가 있었습니다. 이를 방지하기 위해 데이터를 읽기 전에 필요한 모든 공간을 미리 확보하도록 방식을 개선했습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix readahead synchronisation issues by loading all folios upfront There are some synchronisation issues that derive from the app thread adding more folios to the rolling buffer whilst the collector thread is looking at them or trying to clear them, such as determining the setting of front_folio_order when the next folio hasn't been added yet, The reason for the rolling buffer approach is that loading the buffer upfront and then dropping all the refs just acquired is quite a slow operation, and loading progressively allows some of the cost to be deferred until after at least some of the I/O is started. Instead, a better way is to load all the folios into the rolling buffer upfront - and then drop the refs later, once the I/O is in progress. (Even better would be for the refs not to be there at all.) Fix this by changing the rolling buffer loader to load all the folios selected by the VM for readahead upfront into the folio queue. The folio queue is allocated a batch worth at a time as we don't know how many folios are involved (the readahead_control struct, alas, has a page count, not a folio count). The folio refs acquired from readahead are then dropped in bulk once the first subrequest is dispatched as it's quite a slow operation. The collector waits for NETFS_RREQ_NEED_PUT_RA_REFS to be cleared so that it doesn't unlock folios before the xarray has been scanned for them. This simplifies the buffer handling later and isn't noticeably slower as the xarray doesn't need to be modified and the folios are all already pre-locked.

📍 영향받는 시스템

Linux kernel (netfs subsystem 사용 버전)

⚔️ 공격 벡터

특정 조건에서 메모리 동기화 오류를 유발하여 시스템 불안정성을 초래할 수 있는 로컬 공격 가능성

🛡️ 대응 방법

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

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel