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

CVE-2026-98451 smb: client: use finish_no_open() for non-regular inodes

설명

In the Linux kernel, the following vulnerability has been resolved: smb: client: use finish_no_open() for non-regular inodes An O_CREAT open can find an existing symlink or another non-regular inode. cifs_atomic_open() calls finish_open() on it and attaches a cifsFileInfo. Symlink inodes have no CIFS release operation, so the dentry reference held by cifsFileInfo is leaked. FMODE_OPENED also prevents the VFS from following the symlink. Track whether cifs_do_create() returned an open server handle. For non-regular inodes, close the handle if present, remove the pending open, and call finish_no_open() so the VFS can continue the lookup. Do not set FMODE_CREATED unless a regular file was opened. For O_NOFOLLOW with __O_REGULAR, return -ELOOP before the VFS's -EFTYPE check. Defer closing a legacy POSIX handle on a non-regular inode until after inode lookup. This avoids closing it again if lookup fails.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 3.6

    해결 버전

    • 3.6 미만
    • 5.10.273 이상
    • 5.15.224 이상
    • 6.1.191 이상
    • 6.6.160 이상
    • 6.12.113 이상
    • 6.18.56 이상
    • 7.2.9 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의