CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's Bluetooth L2CAP implementation, specifically in the handling of channel references during timeout operations. An improper reference management can lead to a memory leak, potentially impacting system stability and resource utilization. Linux system administrators and developers working with Bluetooth functionalities should prioritize addressing this issue to ensure optimal performance and reliability.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: fix chan ref leak in l2cap_chan_timeout() on !conn __set_chan_timer() takes a l2cap_chan reference via l2cap_chan_hold() before scheduling the delayed work. The normal path in l2cap_chan_timeout() drops this reference with l2cap_chan_put() at the end, but the early return when chan->conn is NULL skips the put, leaking the reference. Add the missing l2cap_chan_put() before the early return.