CVE-2026-89484 lockd: fix NULL dereference on lockowner allocation failure
설명
In the Linux kernel, the following vulnerability has been resolved: lockd: fix NULL dereference on lockowner allocation failure nlmclnt_locks_init_private() installs NLM file lock operations even when nlmclnt_find_lockowner() fails to allocate a lockowner. nlmclnt_proc() then returns -ENOMEM, but the VFS still tears down the partially initialized file_lock and calls locks_release_private(). That invokes nlmclnt_locks_release_private(), which dereferences fl->fl_u.nfs_fl.owner and crashes because the owner was never installed. Clear fl_ops before attempting to initialize the NLM private state, and install the NLM lock operations only after a lockowner has been allocated successfully.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 2.6.12
해결 버전
- 2.6.12 미만
- 6.1.191 이상
- 6.6.160 이상
- 6.12.109 이상
- 6.18.50 이상
- 7.2.4 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/07adfbb3de7529f58ca708a97ead7fa4fdb71056 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4c7fc129db061c7daab841c4f3c342d894832362 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/51af080ca4e553256c59a75a877b9b4fff828311 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6db5af172ccc3223c8f730a9a4212f6427feee3e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b61053a3795c2913a7af3ab6218acfdaf52fcafe (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d662f7fc04fde305a27f304b3cd19b614d366839 (새 창)