The SUNRPC subsystem in the Linux kernel through 5.17.2 can call xs_xprt_free before ensuring that sockets are in the intended state.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1a3b1bba7c7a5eb8a11513cf88427cb9d77bc60a | third party advisory patch |
http://www.openwall.com/lists/oss-security/2022/04/11/4 | patch mailing list issue tracking |
http://www.openwall.com/lists/oss-security/2022/04/11/3 | patch mailing list third party advisory |
http://www.openwall.com/lists/oss-security/2022/04/11/5 | patch mailing list third party advisory |
https://security.netapp.com/advisory/ntap-20220526-0002/ | third party advisory |
https://www.debian.org/security/2022/dsa-5161 | vendor advisory mailing list third party advisory |