An issue was discovered in drivers/usb/gadget/function/rndis.c in the Linux kernel before 5.16.10. The RNDIS USB gadget lacks validation of the size of the RNDIS_MSG_SET command. Attackers can obtain sensitive information from kernel memory.
The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Link | Tags |
---|---|
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.10 | release notes patch vendor advisory |
https://github.com/torvalds/linux/commit/38ea1eac7d88072bbffb630e2b3db83ca649b826 | third party advisory patch |
https://github.com/szymonh/rndis-co | third party advisory |
http://www.openwall.com/lists/oss-security/2022/02/21/1 | mailing list third party advisory patch |
https://www.debian.org/security/2022/dsa-5092 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html | third party advisory mailing list |
https://www.debian.org/security/2022/dsa-5096 | third party advisory vendor advisory |