🔍 CVE-2026-64158

7.3
CVSS Score
HIGH
2026-07-19
2026-08-17 15:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 netfs 구성 요소에서 파일 디스크립터가 O_RDWR 모드로 열려 있을 때 쓰기 스트리밍 기능이 비활성화되는 취약점이 해결되었습니다. 이로 인해 불필요한 데이터 읽기 작업이 발생하여 성능 저하가 일어날 수 있었으나, 이제는 읽기/쓰기 모드에서도 효율적인 쓰기 스트리밍이 가능합니다.

💡 쉬운 설명

파일을 읽고 쓰는 작업을 동시에 할 때, 컴퓨터가 불필요하게 데이터를 다시 읽느라 속도가 느려지는 문제가 있었습니다. 이번 수정을 통해 데이터를 덮어쓰기 전에 미리 읽는 과정을 생략하여 성능을 최적화했습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix write streaming disablement if fd open O_RDWR In netfs_perform_write(), "write streaming" (the caching of dirty data in dirty but !uptodate folios) is performed to avoid the need to read data that is just going to get immediately overwritten. However, this is/will be disabled in three circumstances: if the fd is open O_RDWR, if fscache is in use (as we need to round out the blocks for DIO) or if content encryption is enabled (again for rounding out purposes). The idea behind disabling it if the fd is open O_RDWR is that we'd need to flush the write-streaming page before we could read the data, particularly through mmap. But netfs now fills in the gaps if ->read_folio() is called on the page, so that is unnecessary. Further, this doesn't actually work if a separate fd is open for reading. Fix this by removing the check for O_RDWR, thereby allowing streaming writes even when we might read. This caused a number of problems with the generic/522 xfstest, but those are now fixed.

📍 영향받는 시스템

Linux kernel (netfs 구성 요소가 포함된 버전)

⚔️ 공격 벡터

직접적인 공격보다는 시스템 성능 저하 및 비효율적인 I/O 자원 소모를 유발할 수 있는 구조적 결함입니다.

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전이 해당 패치가 적용된 최신 버전인지 배포판 보안 공지를 통해 확인하십시오.

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:L

💻 영향받는 소프트웨어

Linux Kernel