tipc: fix infinite loop in __tipc_nl_compat_dumpit
0Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Track
exploitation probability
—
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
tipc: fix infinite loop in __tipc_nl_compat_dumpit
cmd->dumpit callback can return a negative errno, causing an infinite
loop due to the while(len) condition. As the loop never terminates,
genl_mutex is never released, and other tasks waiting on it starve in D
state.
Check dumpit's return value, propagate it and jump to err_out on error.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/1ab78af2140189b735b8d3b889b0284128cb2013https://git.kernel.org/stable/c/22f8aa35964e8f2ab026578f45befc9605fd1b28https://git.kernel.org/stable/c/b8f3b8efa5f99081b14de1a7ffa68a81bf01bd48https://git.kernel.org/stable/c/e740e90ca8e7f70d9eac1aa31a8b3e0e4d32b2efhttps://git.kernel.org/stable/c/f9c669d9f4cac832fe31193cdbc24c6a9d99398b