[5.10,0/1] 9p/net: fix possible memory leak in p9_check_errors()

Message ID 20231221110122.9838-1-apanov@astralinux.ru
Headers
Series 9p/net: fix possible memory leak in p9_check_errors() |

Message

Alexey Panov Dec. 21, 2023, 11:01 a.m. UTC
  Syzkaller reports "memory leak in p9pdu_readf" in 5.10 stable releases.
I've attached reproducers in Bugzilla [1].

The problem has been fixed by the following patch which can be applied
to the 5.10 branch.
The fix is already present in all stable branches starting from 5.15.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=218235

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.