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

CVE-2026-31532 can: raw: fix ro->uniq use-after-free in raw_rcv()

설명

In the Linux kernel, the following vulnerability has been resolved: can: raw: fix ro->uniq use-after-free in raw_rcv() raw_release() unregisters raw CAN receive filters via can_rx_unregister(), but receiver deletion is deferred with call_rcu(). This leaves a window where raw_rcv() may still be running in an RCU read-side critical section after raw_release() frees ro->uniq, leading to a use-after-free of the percpu uniq storage. Move free_percpu(ro->uniq) out of raw_release() and into a raw-specific socket destructor. can_rx_unregister() takes an extra reference to the socket and only drops it from the RCU callback, so freeing uniq from sk_destruct ensures the percpu area is not released until the relevant callbacks have drained. [mkl: applied manually]

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.1

    해결 버전

    • 4.1 미만
    • 5.10.258 이상
    • 5.15.209 이상
    • 6.1.175 이상
    • 6.6.136 이상
    • 6.12.83 이상
    • 6.18.24 이상
    • 6.19.14 이상
    외 1개 구간 펼치기
    • 7.0.1 이상

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의