Description
In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fixup hang in nvmet_tcp_listen_data_ready() When the socket is closed while in TCP_LISTEN a callback is run to flush all outstanding packets, which in turns calls nvmet_tcp_listen_data_ready() with the sk_callback_lock held. So we need to check if we are in TCP_LISTEN before attempting to get the sk_callback_lock() to avoid a deadlock.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
675b453e024154dd547921c6e6d5b58747ba7e0e to < 6e0c7503a5803d568d56a9f9bca662cd94a14908affected675b453e024154dd547921c6e6d5b58747ba7e0e to < 1c90f930e7b410dd2d75a2a19a85e19c64e98ad5affected675b453e024154dd547921c6e6d5b58747ba7e0e to < 2fa8961d3a6a1c2395d8d560ffed2c782681badeaffected
Linux Linux
Default version status: affected
6.7affected0 to < 6.7unaffected6.12.70 to ≤ 6.12.*unaffected6.18.10 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected