CVE 목록
High7.1유형: 운영체제

CVE-2025-39735

공개
2025년 4월 18일
수정
2026년 6월 17일
조회
0
상태
Modified
관련 내용 구글 검색하기한국어English
번역 대상이 아니에요. 원문(영어)만 제공돼요.
7.1High

개요

이 취약점이 무엇인지

In the Linux kernel, the following vulnerability has been resolved:

jfs: fix slab-out-of-bounds read in ea_get()

During the "size_check" label in ea_get(), the code checks if the extended attribute list (xattr) size matches ea_size. If not, it logs "ea_get: invalid extended attribute" and calls print_hex_dump().

Here, EALIST_SIZE(ea_buf->xattr) returns 4110417968, which exceeds INT_MAX (2,147,483,647). Then ea_size is clamped:

int size = clamp_t(int, ea_size, 0, EALIST_SIZE(ea_buf->xattr));

Although clamp_t aims to bound ea_size between 0 and 4110417968, the upper limit is treated as an int, causing an overflow above 2^31 - 1. This leads "size" to wrap around and become negative (-184549328).

The "size" is then passed to print_hex_dump() (called "len" in print_hex_dump()), it is passed as type size_t (an unsigned type), this is then stored inside a variable called "int remaining", which is then assigned to "int linelen" which is then passed to hex_dump_to_buffer(). In print_hex_dump() the for loop, iterates through 0 to len-1, where len is 18446744073525002176, calling hex_dump_to_buffer() on each iteration:

for (i = 0; i < len; i += rowsize) { linelen = min(remaining, rowsize); remaining -= rowsize;

hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, linebuf, sizeof(linebuf), ascii);

... }

The expected stopping condition (i < len) is effectively broken since len is corrupted and very large. This eventually leads to the "ptr+i" being passed to hex_dump_to_buffer() to get closer to the end of the actual bounds of "ptr", eventually an out of bounds access is done in hex_dump_to_buffer() in the following for loop:

for (j = 0; j < len; j++) { if (linebuflen < lx + 2) goto overflow2; ch = ptr[j]; ... }

To fix this we should validate "EALIST_SIZE(ea_buf->xattr)" before it is utilised.

실제 악용 사례 · 아직 확인된 사례가 없어요

CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.

패치 현황

어떤 버전이 위험하고, 몇 버전으로 올리면 되는지

제품시작끝이 버전 이상으로
linux_kernellinux4.19.325≤취약<4.204.20이상
5.4.287≤취약<5.4.2925.4.292이상
5.10.231≤취약<5.10.2365.10.236이상
5.15.174≤취약<5.15.1805.15.180이상
6.1.120≤취약<6.1.1346.1.134이상
6.6.64≤취약<6.6.876.6.87이상
6.11.11≤취약<6.126.12이상
6.12.2≤취약<6.12.236.12.23이상
6.13≤취약<6.13.116.13.11이상
6.14≤취약<6.14.26.14.2이상

NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.

할당 기관(CNA)이 적은 버전 19줄도 보기
제품시작끝이 버전 이상으로
LinuxLinux5.4.287≤취약<5.4.2925.4.292이상
5.10.231≤취약<5.10.2365.10.236이상
5.15.174≤취약<5.15.1805.15.180이상
6.1.120≤취약<6.1.1346.1.134이상
6.6.64≤취약<6.6.876.6.87이상
6.12.2≤취약<6.12.236.12.23이상
4.19.325≤취약<4.204.20이상
6.11.11≤취약<6.126.12이상
이 버전만취약=6.13벤더 공지 확인
최초 버전≤영향 없음<6.13—
5.4.292≤영향 없음≤5.4.*—
5.10.236≤영향 없음≤5.10.*—
5.15.180≤영향 없음≤5.15.*—
6.1.134≤영향 없음≤6.1.*—
6.6.87≤영향 없음≤6.6.*—
6.12.23≤영향 없음≤6.12.*—
6.13.11≤영향 없음≤6.13.*—
6.14.2≤영향 없음≤6.14.*—
6.15≤영향 없음≤최신 버전—

참고 링크

NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.