Kestrel
대시보드로 돌아가기
CVE-2026-53125MEDIUM· 5.5MITRENVD대응게시일: 2026. 06. 24.수정일: 2026. 07. 23.CNA: 416baaa9-dc9f-4396-8d5f-8c081fb06d67Analyzed

In the Linux kernel, the following vulnerability has been resolved: md: fix array_state=clear sysfs deadlock When "clear" is written to ar

위협 신호 · CVSS · EPSS · KEV

정기 패치· 높은 악용 신호 없음
CVSS
5.5medium

이론적 심각도 점수

EPSS
0.1%상위 99.4%

30일 내 악용 확률 예측

KEV
미등재

실측 악용 기록 없음

권장 대응 기한차기 업그레이드 시CISA SSVC 기준

별도 긴급 패치 불필요 — 정기 시스템 업그레이드 주기에 맞춰 조치

· KEV 미등재 · 자동화 어려움 · 부분 영향 · 내부 한정

CVSS 벡터 · 메트릭

악용 경로
공격 벡터로컬
공격 복잡도낮음
필요 권한낮음
사용자 상호작용불필요
범위불변
영향
기밀성 영향없음
무결성 영향없음
가용성 영향높음
버전별 점수
CVSS 3.15.5MEDIUM· 악용성 1.8· 영향도 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

약점 (CWE)

상세 설명

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

md: fix array_state=clear sysfs deadlock

When "clear" is written to array_state, md_attr_store() breaks sysfs
active protection so the array can delete itself from its own sysfs
store method.

However, md_attr_store() currently drops the mddev reference before
calling sysfs_unbreak_active_protection(). Once do_md_stop(..., 0)
has made the mddev eligible for delayed deletion, the temporary
kobject reference taken by sysfs_break_active_protection() can become
the last kobject reference protecting the md kobject.

That allows sysfs_unbreak_active_protection() to drop the last
kobject reference from the current sysfs writer context. kobject
teardown then recurses into kernfs removal while the current sysfs
node is still being unwound, and lockdep reports recursive locking on
kn->active with kernfs_drain() in the call chain.

Reproducer on an existing level:

  1. Create an md0 linear array and activate it:
    mknod /dev/md0 b 9 0
    echo none > /sys/block/md0/md/metadata_version
    echo linear > /sys/block/md0/md/level
    echo 1 > /sys/block/md0/md/raid_disks
    echo "$(cat /sys/class/block/sdb/dev)" > /sys/block/md0/md/new_dev
    echo "$(($(cat /sys/class/block/sdb/size) / 2))" >
    /sys/block/md0/md/dev-sdb/size
    echo 0 > /sys/block/md0/md/dev-sdb/slot
    echo active > /sys/block/md0/md/array_state
  2. Wait briefly for the array to settle, then clear it:
    sleep 2
    echo clear > /sys/block/md0/md/array_state

The warning looks like:

WARNING: possible recursive locking detected
bash/588 is trying to acquire lock:
(kn->active#65) at __kernfs_remove+0x157/0x1d0
but task is already holding lock:
(kn->active#65) at sysfs_unbreak_active_protection+0x1f/0x40
...
Call Trace:
kernfs_drain
__kernfs_remove
kernfs_remove_by_name_ns
sysfs_remove_group
sysfs_remove_groups
__kobject_del
kobject_put
md_attr_store
kernfs_fop_write_iter
vfs_write
ksys_write

Restore active protection before mddev_put() so the extra sysfs
kobject reference is dropped while the mddev is still held alive. The
actual md kobject deletion is then deferred until after the sysfs
write path has fully returned.

AI 심층 분석

공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.

영향받는 제품·버전

  • linux linux_kernel6.17 - 6.18.33
    linux
  • linux linux_kernel6.19 - 7.0.10
    linux

영향받는 구성 (CPE) 1

  • linux linux_kernel≥ 6.17 < 6.18.33cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*