CVE-2026-74735 l2tp: fix tunnel and session refcount leak on seq_file release
설명
In the Linux kernel, the following vulnerability has been resolved: l2tp: fix tunnel and session refcount leak on seq_file release In pppol2tp_proc_open() and l2tp_dfs_seq_open(), iteration state (pd->tunnel and pd->session) is kept in seq_file private data to allow iteration across multiple read() system calls. However, if userspace closes /proc/net/pppol2tp or /sys/kernel/debug/l2tp/tunnels before reading to end-of-file (EOF), any tunnel or session reference stored in pd->tunnel / pd->session is left un-dropped when seq_file private data is freed. Fix this by dropping any remaining pd->tunnel and pd->session references in pppol2tp_proc_release() and l2tp_dfs_seq_release() when closing the file.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 3.16.60 이상 3.17 미만
- 4.16.6 이상 4.17 미만
- 4.17
해결 버전
- 3.17 이상
- 4.17 이상
- 4.17 미만
- 6.1.191 이상
- 6.6.160 이상
- 6.12.111 이상
- 6.18.53 이상
- 7.1.10 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/8c4fde01bcf91f22b9c7ded8c3e14addd7ddd500 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9006c116dd111d457bf5d074990210f70a4ad2c8 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bd897e414451fb34dfdf08b31899180e5ab7149b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bdf83613781956cc39798ed08321f74ab0467f4d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c38b723858a51d6ca4e56470b9f1087f23276772 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ebe2774e956482dd3c70b8991f6f7654356339e6 (새 창)