kcve.ai취약점 정보 · 내 자산 확인

CVE-2025-23138 watch_queue: fix pipe accounting mismatch

설명

In the Linux kernel, the following vulnerability has been resolved: watch_queue: fix pipe accounting mismatch Currently, watch_queue_set_size() modifies the pipe buffers charged to user->pipe_bufs without updating the pipe->nr_accounted on the pipe itself, due to the if (!pipe_has_watch_queue()) test in pipe_resize_ring(). This means that when the pipe is ultimately freed, we decrement user->pipe_bufs by something other than what than we had charged to it, potentially leading to an underflow. This in turn can cause subsequent too_many_pipe_buffers_soft() tests to fail with -EPERM. To remedy this, explicitly account for the pipe usage in watch_queue_set_size() to match the number set via account_pipe_buffers() (It's unclear why watch_queue_set_size() does not update nr_accounted; it may be due to intentional overprovisioning in watch_queue_set_size()?)

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.10.210 이상 5.10.236 미만
    • 5.15.149 이상 5.15.180 미만
    • 6.1.76 이상 6.1.134 미만
    • 6.6.15 이상 6.6.87 미만
    • 6.7.3 이상 6.8 미만
    • 6.8

    해결 버전

    • 5.10.236 이상
    • 5.15.180 이상
    • 6.1.134 이상
    • 6.6.87 이상
    • 6.8 이상
    • 6.8 미만
    • 6.12.23 이상
    • 6.13.11 이상
    외 1개 구간 펼치기
    • 6.14.2 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의